dystonse / dystonse-gtfs-data

Read gtfs and gtfs-realtime data, write them into a database, perform and export analyses and make predictions based on them.
9 stars 2 forks source link

Add `start_time` to uniquely identify journeys. #4

Closed lenaschimmel closed 4 years ago

lenaschimmel commented 4 years ago

We currently use trip_id and start_date to identify specific trips. As @derhuerst pointed out here and in a private conversation, this is not enough to identify journeys in frequency-based trips. This is also clarified in the GTFS-RT spec.

We need to:

This issue has low priority because (to our current knowledge) no service in Germany has frequency-based trips.

Anyway, we need to check if this issue also affects "Verstärkerfahren", that is, additional trips that are not found in the schule but resemble scheduled trips and might re-use their trip_id.

lenaschimmel commented 4 years ago

This is now fixed in the code and just need some testing.