Proposal: exact_times

87 kali dilihat
Langsung ke pesan pertama yang belum dibaca

Brian Ferris

belum dibaca,
30 Agu 2011, 07.54.5030/08/11
kepadagtfs-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

belum dibaca,
6 Sep 2011, 02.49.3406/09/11
kepadagtfs-c...@googlegroups.com
Seeing no objections, I'm making this one official.

Brian

Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru