CUTR-at-USF / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds. See https://github.com/MobilityData/gtfs-realtime-validator for the latest!
Other
92 stars 40 forks source link

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

Open barbeau opened 7 years ago

barbeau commented 7 years ago

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.

barbeau commented 7 years ago

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 https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/170.