-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frequencies.txt primary key: add end_time, headway_secs & exact_times? #514
Comments
To be honest, I don't think this is a valid solution. And I even wonder if the trip_id + start_time is actually valid from documentation perspective. My assumption is that it is currently prohibited to have multiple frequencies on the same trip_id. If this is not the case, than I wonder why you want to create ambiguity by introducing a trip_id + start_time + exact_times=1 as variant 1 and trip_id + start_time + exact_times=0. Lets have a discussion on this, also from consumer perspective if this is correctly implemented in multiple systems. |
I'd argue that I trip can run on schedules that a) appear real-world and b) are a great fit for
|
@derhuerst I looked into all GTFS feeds we had in the Mobility Database that have frequencies.txt. Looks like all of them are using Adding to @skinkie 's comments, I think we either should add an explicit rule to the documentation regarding As for the case of having supporting buses during rush hour. I think that should be a different Also with the case of two windows having everything common except for But there is a case to be made for having |
This is functionally how I've understood it. The The same running time trip could run every 10 minutes throughout the middle of the day and every 5 minutes during morning and afternoon peaks. This would be modeled as a single trip, with three separate entries in the frequencies.txt file to represent the three windows. |
@stevenmwhite that is currently possible with |
Describe the problem
Currently,
frequencies.txt
's primary key does not includeexact_times
:Use cases
Isn't it a perfectly valid use case to have >1 frequencies entries* for the same trip and starting at the same time? Some examples:
end_time
&headway_secs
– e.g.trip_id=t1
/start_time=07:00:00
/end_time=22:00:00
/headway_secs=600
, andtrip_id=t1
/start_time=07:00
/end_time=09:00
/headway_secs=300
for additional "supporting" buses during rush hourexact_times
Proposed solution
I propose to extend the primary key to the other columns (
end_time
,headway_secs
,exact_times
), too.Additional information
No response
The text was updated successfully, but these errors were encountered: