MobilityData / gtfs-realtime-validator

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

How long should TripUpdates appear before start of trip? #26

Open barbeau opened 2 years ago

barbeau commented 2 years ago

Issue by barbeau Saturday Feb 18, 2017 at 20:52 GMT Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/67


Summary:

From an OBA deployer:

a gtfs-realtime question: is there guidance somewhere around how long before a trip is scheduled to start that a trip update for it should appear in the feed? any idea what's normal for this? is it normal for a trip update to not show up until the trip has actually started (regardless of whether it was on schedule or not)?

As if now there isn't any official guidance. It's better for consumers if the TripUpdate is published before the bus starts rolling so riders have advanced notice of the trip status.

barbeau commented 2 years ago

Comment by danp Saturday Feb 18, 2017 at 20:57 GMT


The feed I'm looking at specifically is the relatively new Halifax Transit feed:

http://www.halifax.ca/opendata/transit.php

Based on what I've observed OBA, other tools (Google, Transit iOS app, etc), and my own analysis it seems trip updates do not appear for trips until the bus starts rolling, usually 0-5 minutes after the scheduled start time.

barbeau commented 2 years ago

Comment by barbeau Wednesday Feb 22, 2017 at 15:46 GMT


FWIW, this issue is loosely related to a best practice that we were able to get added to the GTFS-rt spec previously, regarding producers dropping StopTimeUpdates for stops too early: https://github.com/google/transit/pull/16

Sounds like this is the opposite problem.