gtfs-realtime-validator icon indicating copy to clipboard operation
gtfs-realtime-validator copied to clipboard

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

Open barbeau opened this issue 7 years ago • 1 comments

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 avatar Apr 26 '17 20:04 barbeau

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.

barbeau avatar Jul 07 '17 20:07 barbeau