-
Notifications
You must be signed in to change notification settings - Fork 207
Description
Introduce yourself
I have previously contributed some code changes to the GTFS validator; I'm not associated with any particular feed.
Ask a question
I recently noticed contradictory data creating a poor display with the feed for Park City Transit as displayed by Transit App. I believe other feeds that use block_id may do the same thing.
https://mobilitydatabase.org/feeds/gtfs/tld-1325
Transit App displays two arrivals with different headsigns and sometimes different times (within a few minutes) when in reality there is a single vehicle. I attached a screenshot showing the situation. This is a bad user experience, of course, since it's not clear which headsign is correct or which time is correct.
I first describe the technical issue and then mention two possible ways to improve the situation.
Technical issue:
The feed uses block_id for vehicles, both at end stations and at a significant transit station where they have trips starting and ending but to some passengers is just an intermediate stop.
The arrival_time and departure_time for the last stop of trip A do not match the arrival_time and departure_time for the first stop of trip B.
Example: Vehicle arrives at 9:00 and departs at 9:02.
Feed shows:
trip A and trip B in the same block
trip A final stop: stop alpha, arrive 9:00, depart 9:00
trip B first stop: stop alpha, arrive 9:02, depart 9:02
Since arrival_time and departure_time are both required, even at starting and ending stops, the feed uses the recommended approach of using the same time for both. But this creates contradictory data.
Transit App shows a departure at 9:00 using the headsign for trip A and a departure at 9:02 using the headsign for trip B.
Ideas to improve the situation; either one or both would help, I think:
-
Require that arrival_time and departure_time both match (or are omitted, if the second suggestion is adopted) for trips connected by a block_id. We can add a check in the validator tool to help feeds avoid the inconsistent data.
-
Do not require a departure_time on the final stop of a trip or an arrival time for the first stop of a trip. Encourage feeds to omit these times unless they are meaningful. Why are they required when they are generally meaningless?
