Proposal: exact_times

113 просмотров
Перейти к первому непрочитанному сообщению

Brian Ferris

не прочитано,
30 авг. 2011 г., 07:54:5030.08.2011
– 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

не прочитано,
6 сент. 2011 г., 02:49:3406.09.2011
– gtfs-c...@googlegroups.com
Seeing no objections, I'm making this one official.

Brian

Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений