Description
It should be possible to take the real-time timetable updates into consideration during the routing and to integrate live information in the returned routes.
Proposed solution
A mapping of GtfsTripIds to corresponding internal RouteId and TripRouteIndex values should be exported when building the timetable. This would allow building a GTFS-RT stream processor, transforming it into a custom format containing updates linked RouteId and TripRouteIndex. This new stream could be fetched by the routing client, which would load it in an in-memory map and query it during routing / route building to fetch delays / cancellations.
Description
It should be possible to take the real-time timetable updates into consideration during the routing and to integrate live information in the returned routes.
Proposed solution
A mapping of
GtfsTripIds to corresponding internalRouteIdandTripRouteIndexvalues should be exported when building the timetable. This would allow building a GTFS-RT stream processor, transforming it into a custom format containing updates linkedRouteIdandTripRouteIndex. This new stream could be fetched by the routing client, which would load it in an in-memory map and query it during routing / route building to fetch delays / cancellations.