-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTFS-realtime TripUpdate.delay field not supported #2733
Comments
How common is this use case? I'm noticing this is actually non-compliant with the spec, which states:
If this kind of GTFS-RT is common, I don't see any harm in including this code, since it won't affect TripUpdates with do contain StopTimeUpdates, and will improve the handling of TripUpdates without StopTimeUpdates. I might even add code to propagate TripUpdate.delay to StopTimeUpdates which don't contain an arrival or departure time (though again, this would be supporting noncompliant GTFS-RT). (Kurt - sorry, looking into this more, what I said offline wasn't relevant) |
@sdjacobs The Related issue - CUTR-at-USF/gtfs-realtime-validator#329, where based on TransitFeeds.com directory of GTFS-rt feeds we didn't find anyone using |
Also, Google's validator will throw an error on feeds if they contain both stop_time_updates and |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
I think we want to keep this open as a reminder. @demory Is this something that IBI would like to use? |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Expected behavior
GTFS-realtime
TripUpdate
messages withTripUpdate.delay
set are applied to the graph.Observed behavior
GTFS-realtime
TripUpdate
messages withTripUpdate.delay
set are ignored because they contain zeroStopTimeUpdate
s, and the value inTripUpdate.delay
is not applied.Version of OTP used (exact commit hash or JAR name)
23d3191
Data sets in use (links to GTFS and OSM PBF files)
google_transit.zip
Command line used to start OTP
java -jar otp-1.3.0.jar --build data --inMemory --port 9000 --securePort 9001
Router config and graph build config JSON
router-config.json
Steps to reproduce the problem
TripUpdate
source which makes use of theTripUpdate.delay
field (and does not provide stop-level delays or timestamps).TripUpdate contains no updates, skipping.
is logged, and trips do not reflect real-time status when queried in the OTP UI or API.The text was updated successfully, but these errors were encountered: