MobilityData / gtfs-realtime-validator

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

Vehicle timestamps should not all be equal #65

Open isabelle-dr opened 2 years ago

isabelle-dr commented 2 years ago

Issue by barbeau Feb 19, 2019 Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/347


Summary:

New rule - if all vehicle timestamps in a VehiclePosition feed have the same timestamp, that is an error. VehiclePosition timestamps should be independent.

Steps to reproduce:

Run PSTA's VP feed (right now) through validator: http://ridepsta.net/gtfsrt/vehicles?debug

Gist of current response: https://gist.github.com/barbeau/025732d5bfa73a6fbba01b37824e5b2a

Expected behavior:

Validator should through an error and say that all timestamps for all vehicles are the same

Observed behavior:

No such rule currently exists