-
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
Allow adding start and end dates to timeframes.txt #506
Comments
Hi @evansiroky—new Does this help with your example, or is there a reason to have trips and fares on the same |
The creation of new service ids specifically for the fare policy is the problem. It starts to be an invasive exercise that requires changing data outside of the Fares v2 files. This breaks any contract of modularity of being able to edit Fares v2 data without needing to touch the other data. Sure it's possible to create a new service id and duplicate the rest of the trips and stop times, etc. But that seems like way more work compared to just being able to specify dates that fare policies are active within the timeframes.txt file. Also, being able to set the dates in timeframes.txt enables editing Fares v2 data without needing to change the rest of the core GTFS Schedule data. |
+1 to this request-- I laid out the details in a reply to @evansiroky on Slack but in essence, since we manage and generate GTFS-static from our scheduling software, we have to create copies of schedules in order to generate different For us it's unintuitive to link the fare rules to the service, when in this context it has nothing to do with the service itself but a period of dates. |
The criteria mentioned in Criteria for Independent Publication document might help in considering whether it’s worthwhile to add these fields to support independent publication. |
-1 to this You can add You can even put a |
Describe the problem
The only way to currently indicate that a fare policy would apply on specific dates is to relate the records in
timeframes.txt
to aservice_id
found in eithercalendars.txt
orcalendar_dates.txt
. This however could be somewhat problematic as it may necessitate duplication of all associated data with the service_ids to properly encapsulate how the fare policy is applied.Use cases
As a transit agency,
I would like to promote my "fare free week" in GTFS Fares v2,
So that customers can see that transit is free this week, YAY!
Proposed solution
Add columns
start_date
andend_date
totimeframes.txt
. These columns would be conditionally forbidden if theservice_id
was present.Additional information
Example use case in real life:
Related to #450.
The text was updated successfully, but these errors were encountered: