train_schedule
Projects the space-time curves and paths of a number of train schedules onto a given path.
- Returns 404 if the infra or any of the train schedules are not found
- Returns 200 with a hashmap of train_id to ProjectPathTrainResult
Important:
- The main train projected is the model train schedule without exceptions.
- If there are exceptions defined for the train schedule that have a different projection than the main train, they are included in the exceptions field of the result.
- The following train schedules are excluded from the result:
- train schedules for which pathfinding fails
- train schedules for which the simulation fails
- Trains that have a simulation but that does not honor their schedule, use their schedule with straight lines between the known points.
post/train_schedules/project_path
Request body
Response
Project Path Output
object required