-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add fare media #355
Add fare media #355
Conversation
Clearly indicate that fare_containers.txt falls under GTFS-Fares v2 and not v1 Add fare_containers to the dataset files table
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Based on the discussions that already happened, as of today the open items are:
|
I think this works well with Interline's current data and implementation. 👍 |
Thank you for the feedback!
For payment methods: I see the temptation to use the container to discriminate fares that depend on the payment method. Before modifying the proposal, I'd like to know if we have a general agreement on the following design. I used Interline's MTC dataset as an example:
Assuming Note that this field was initially designed as an
Looking forward to hear your thoughts on this. |
The combination of |
I agree with @bdferris-v2 regarding the issue with "clipper + cash", though I thought it's mainly a typo. The payment method in the clipper lines should be [6] However even after fixing that he's right, that it's repeating itself (fare_container_id: clipper and [6]) I don't understand some of the payment_methods:
I'll also drop in another thought/question: Let's say there's a container called "C". It can be loaded with $5 | $25 | $50. How would we indicate this information? We could add these as 3 lines in fare_products.txt but how do we indicate in fare_container.txt that it can be only loaded using these 3 amounts and not any amount I choose? Also maybe it's better to keep all the filenames either single or plural (currently we have fare_productS vs fare_container) |
Great to see this discussion moving forward. Payment Types
Transfers So given we are now proposing to introduce these discriminating factors into the product table it seems we need to revisit how fare_transfer_rules interact with fare_leg_rules and/or fare_products. We haven't thought this through in great detail but perhaps introducing a fare_group_id into fare_products would allow one to filter the available transfers appropriately. We note also that there is more work to be done with respect to fare_transfer_rules to make them fit for the real world. |
Hello everyone, MobilityData will host a roundtable discussion this week on Thursday 1 December 11:00 AM ET to discuss the open items in this PR. You can access both events via this calendar, and you can reach out to specifications@mobilitydata.org to get an invite on your e-mail. |
We'd love to see fare containers move forward as a simple, straightforward proposal. Minimum requirementsIf you strip the proposal down to the bare minimum, you have this:
With just this functionality, we can already tell riders whether they need to use a fare container for their trip, and what it's called. This proposal documents the existing data produced by Interline, consumed by Transit and Apple. It gives us room to expand as needs are identified concretely later. Payment typesI'd propose going one step further in this PR. We should add a
This has a number of advantages:
We're already using a similar approach internally (for example, we detect Interline's If necessary, I'd suggest proceding with a vote on just the 'bare minimum' proposal for now, with payment types being a 'nice to have' extension. |
As mentioned in today's meeting, I have thoughts and in the interest of not holding up the process (though my thoughts will inevitably hold up the process), let me be up-front about them: In general, I'm tentatively on-board with a pivot from "fare containers" to "fare payment". But if we make that pivot, then I think we need to be serious about it. The file and field names we choose here are going to be with us for years (if we do it right) and I don't want to spend the next decade explaining why we used confusing name for something. To that end, I think file and field naming should reflect "fare payment types", not "fare containers" (unless someone wants to convince me that cash is a fare container somehow?). To be specific:
Ok, maybe you just read that and groaned "omg we are never going to get this passed". Fair enough. Potentially-less-impactful alternatives considered:
Thoughts? |
|
- replaced container with payment type - made fare_payment_type required - changed the id to fare_payment_type_group as a non-unique ID field
Hello, We have worked on a modification for this proposal. We believe this would address the in-scope issues raised on this PR & during the roundtable discussions, and it could be extended to address the other needs expressed. Please note that Mobilitydata would like to open a vote on this proposal if there are no major concerns and if organizations already working with fare containers can confirm this proposal works in practice: Interline, Apple, TransitApp, Cal-ITP, Maryland Transit Administration, San Diego MTS. Here are the changes:
Functionalities this allows
Further possible iterations
This proposal is available in a google doc format with a data example at https://share.mobilitydata.org/fare-containers-to-fare-payment-types-proposal. Looking forward to hearing your thoughts! |
Hello everyone, We are opening a vote for adding Fare Media, which is part of the GTFS-fares v2 proposal. There are at least two producers: And at least one consumer: Voting ends on 2023-03-13 at 23:59:59 UTC. |
I guess someone needs to go first: +1 from Google Though I'll note most of the test feeds still reference |
Added a comment about what I think is a small typo. I'll let the native English speakers decide and fix that if it's necessary. Other than that I am voting for it: |
+1 Ito |
+1 Apple |
+1 LA Metro! 💃 |
+1 from Interline (as producer of the SF Bay Area Regional Feed) |
+1 🥳 👩🎤 🎸 Cal-ITP and Friends. 🙇♀️ to all who helped make this happen. We are really looking forward to getting this information to customers! |
+1 from Trillium! |
+1 Transcollines! |
The voting period ended on 2023-03-13 at 23:59:59 UTC. With 9 votes in favour and no votes against, the vote to extend GTFS with Fare Media passes! The votes came from: The GTFS Fares-v2 Google Doc (share.mobilitydata.org/gtfs-fares-v2) has been updated to reflect this change and also contains additional Fare Media fields that were not part of this Pull Request, mainly:
Many thanks to everyone who participated in this Pull Request and in the working group meetings! Your time and dedication have truly made this possible. Thank you all so much for your outstanding contributions! For those of you who want to stick around, the work continues in PR#357 to add time-variable fares! |
Thank you, @isabelle-dr and all. For those interested in how this will affect the SF Bay Area Regional Feed, our team will be taking the following steps to migrate:
We'll also be updating our tables at https://www.interline.io/blog/mtc-regional-gtfs-feed-fares-updates/#gtfs-fares-v2-base-implementation-and-future-additions-to-the-specification to reflect the adoption of (Any questions about this and other topics related to the SF Bay Area Regional Feed are welcome at https://groups.google.com/g/511sfbaydeveloperresources/ ) |
Hi everyone!
I am opening this Pull Request as part of the second implementation of Fares v2. I am opening it in the exact same state PR #342 was when closed, and I will update the proposal based on feedback already received so we can resume where we left off. For more information on the plan, please refer to issue #341.
This pull request covers Fare Containers, which is a section of the entire GTFS-Fares v2 proposal.
EDIT: this proposal has been slightly modified to represent a broader "fare media", that contains fare media and passes and can be used to travel. See the latest proposal here: https://share.mobilitydata.org/fare-container-updated-proposal
Scope of this PR:
containersmedia that an agency acceptscontainersmedia (vs. tickets not loaded on a fare container)Not doing as part of this PR:
[Original message posted by @omar-kabbani in PR #342]
The changes in this pull request are:
fare_containers.txt
, to define new fare containers.fare_products.txt
withfare_container_id
to assign fare products to fare containers and to define the price of a fare if a fare container is used to pay.The behaviour of
fare_leg_rules.txt
andfare_transfer_rules.txt
is unchanged as the cost of a fare leg or a transfer is tied to a fare product. The modelling of the cost of a one-way ticket purchased as a ticket vs. loaded on a fare container factors infare_products.txt
.Here's a quick example:
Define a fare container in
fare_containers.txt
Define the fare structure (paying for a fare with and without the fare container) in
fare_products.txt
Define fare legs using
fare_leg_rules.txt
Define transfer rules using
fare_transfer_rules.txt
Data consumer: Apple
Data producer: Interline
Please go through the changes and share your thoughts here!
Looking forward to feedback and contribution on this proposal.
For other questions/concerns, don’t hesitate to reach out to specifications@mobilitydata.org.