--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/dbeb8dd2-194d-42b6-98a5-b5db72782419n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/a858d939-90d7-47a1-8fa9-77fae55e7b91n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/CAJ%2BW7X9uDu%2BJyzgKeWJ4jt1QrKEmiNVcHbWtQp6dQrUZXAh_jw%40mail.gmail.com.
Hi everyone,
I have a quick question about trip_id semantics in GTFS.
I noticed that within the same agency, some trips share the same route_id, service_id, and identical stop sequences with the same arrival/departure times, but have different trip_id values. This seems to happen when comparing different GTFS feed versions.
Is trip_id only required to be unique within a single feed, and not stable or unique across feed updates? In other words, is it expected that the same service pattern can receive a new trip_id in a later feed version?
Thanks for any clarification or references to the spec or best practices.
Best,
Yuxuan
In my case, I’m appending all schedule versions into a single dataset and trying to retain unique trips across versions. Since versioning trip_id would treat the same underlying trip as different entries, I redefined a stable trip identifier based on route, timing, and other operational fields instead. This lets me deduplicate trips while keeping all service periods.
Thanks again for sharing your idea!!