MobilityData / gtfs-realtime-validator

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

trip_id not provided for blocks with reoccurring stop_ids #36

Open barbeau opened 2 years ago

barbeau commented 2 years ago

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


Summary:

If a GTFS block contains multiple references to the same stopId (i.e., the bus visits the same stopId more than once in the same block), but in different trips, then in the GTFS-rt data the tripId for each TripUpdate.TripDescriptor must be provided. If not, this is an error. In this case, the bus wouldn't visit the same stopId more than once in the same trip.

This is currently defined as E008 in ValidationRules but is not implemented.