Proposal: exact_times

112 vistas
Ir al primer mensaje no leído

Brian Ferris

no leída,
30 ago 2011, 7:54:50 a.m.30/8/11
para gtfs-c...@googlegroups.com
Original Discussion:

http://groups.google.com/group/gtfs-changes/browse_frm/thread/e6ef325c1ae92b6c

Summary of proposal:

The addition to the frequencies.txt section of the GTFS spec:

exact_times (optional):
The exact_times field determines if frequency-based trips should be
exactly scheduled based on the specified headway information. Valid
values for this field are:
“0” or (empty) - Frequency-based trips are not exactly scheduled.
This is the default behavior.
“1” - Frequency-based trips are exactly scheduled. For a
frequencies.txt row, trips are scheduled starting with trip start time
= start_time + x * headway_secs for all x in (0, 1, 2, ...) where trip
start time < end_time.

The value of exact_times must be the same for all frequencies.txt rows
with the same trip_id. If exact_times is 1 and a frequencies.txt row
has a start_time equal to end_time, no trip must be scheduled. When
exact_times is 1, care must be taken to choose an end_time value that
is greater than the last desired trip start time but less than the
last desired trip start time + headway_secs.

Initial implementation from a GTFS producer and consumer:

Producers: Over 6% of the feeds in the current Google Transit corpus
define an exact_times field.
Consumers: The field is validated in the googletransit extension of
the feed validator and used in the Google Transit product.
Status: Prime candidate for acceptance.

Unless there are objections in the next week (Sept 6), we will
formally add this proposal to the GTFS spec.

Thanks,
Brian

Brian Ferris

no leída,
6 sept 2011, 2:49:34 a.m.6/9/11
para gtfs-c...@googlegroups.com
Seeing no objections, I'm making this one official.

Brian

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos