MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
41 stars 10 forks source link

Frequency type 1 GTFS-rt trip start_date should match GTFS data #41

Open isabelle-dr opened 2 years ago

isabelle-dr commented 2 years ago

Issue by barbeau Wednesday Apr 26, 2017 Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/165


Summary:

Frequency type 1 (trips in frequencies.txt with exact_times=1) GTFS-rt start_date should match the service date in the GTFS data (from calendar.txt and calendar_dates.txt). If not, this is an error.

isabelle-dr commented 2 years ago

Comment by barbeau Friday Jul 07, 2017


Note that start_date is actually a little tricky to calculate, because it requires loading/extrapolating calendar.txt as well as calendar_dates (including agencies that just add all service to calendar_dates).

Similar issue exists for normal trips (i.e., trips not defined in frequencies.txt), ticketed at #42.