You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am integrating GTFS-RT to retrieve real-time updates on delays for a given train. However, it seems to be quite complicated to identify a given trip based on the information provided by the "connections" resource. I wonder if there is a way to query the trip object or retrieve the internal trip_id in the sections of a connection?
Actually, now I am identifying a trip with the transport number (e.g. IR 717) and the start time of the original station... Maybe there is a better way of doing this? It's also possible to query the static GTFS stop_times data but this requires a lot more optimizations...
Thanks
EDIT: actually I just found out that maybe with the transport number (e.g. IR 717) and the final destination (e.g. Zurich HB) I can identify a unique trip?
The text was updated successfully, but these errors were encountered:
Matching trips with hrdf ids with gtfsrt (using gtfs static ids) is quite a mess.
I reactivated the gtfsrt integration on the timetable.search.ch API. See #181
Hi,
I am integrating GTFS-RT to retrieve real-time updates on delays for a given train. However, it seems to be quite complicated to identify a given trip based on the information provided by the "connections" resource. I wonder if there is a way to query the trip object or retrieve the internal trip_id in the sections of a connection?
By query the trip object I mean something similar to this screen in search.ch (by clicking on a train selected from a station and departing times): https://timetable.search.ch/trip/T2017_03127_000011_101_31e5359_0?time=16.42&date=11%2F06%2F2017&in=lausanne
Actually, now I am identifying a trip with the transport number (e.g. IR 717) and the start time of the original station... Maybe there is a better way of doing this? It's also possible to query the static GTFS stop_times data but this requires a lot more optimizations...
Thanks
EDIT: actually I just found out that maybe with the transport number (e.g. IR 717) and the final destination (e.g. Zurich HB) I can identify a unique trip?
The text was updated successfully, but these errors were encountered: