Also, when displaying the departure time, we should stick to the
"official" time (arrival time). It would be very confusing to show
different time than indicated on paper schedules. Same applies to
planning, because in 80-90% of cases (that's my guess) trains don't
depart early.
In my software, all I do is show an "early departure" icon to warn the
user. In a way, specifying departure time 1 second before the arrival
time will be sufficient for this.
I would be very helpful to understand why railroads have "possible
early departure" stops to begin with. Anyone has an idea?
Invalid value value in field departure_time. The departure time at this stop (%s) is before the arrival time (%s). This is often caused by problems in the feed exporter's time conversion (E14)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Transit Feed Spec Changes" group.
To post to this group, send email to gtfs-c...@googlegroups.com
To unsubscribe from this group, send email to gtfs-changes...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gtfs-changes?hl=en
-~----------~----~----~----~------~----~------~--~---
"train may leave early" leaves a lot of room for interpretation. I suggest that either the stop be made pickup_type=1 or use departure_time < arrival_time. The later is a little counter-intuitive but you can think of departure_time as "latest time you can arrive and be sure to see the door close" (ie a real trip planner will make sure you arrive before departure_time - planner_defined_safety_buffer) and arrival_time as "latest time door will open when everything is running perfectly" (again a trip planner should provide some padding from arrival_time to when a rider could start the next leg, even if it is at the same stop). If arrival_time < departure_time the vehicle is scheduled to wait at the stop.
A vehicle should never leave before departure_time; a late departure is harmless.
A vehicle should never arrive after arrival_time; an early arrival is harmless.
On 27 Nov 2017, at 15:55, Sean Barbeau <sjba...@gmail.com> wrote:I don’t like allowing stop_times.txt departure_time to be < than arrival_time. IMHO this is a step backwards in terms of trying to enforce better feed quality, as you couldn’t tell if the producer intended this or it’s an error, and given that the GTFS validator flags this as an error it's likely to break some consumers. I’m prefer an explicit flag or field saying that the vehicle may departure before the departure_time.