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 containers #342
Add fare containers #342
Conversation
Clearly indicate that fare_containers.txt falls under GTFS-Fares v2 and not v1 Add fare_containers to the dataset files table
So I can have the empty magnetic card, and charge it with $5 credit by paying $4.50. Then I can use it to pay a fare that costs $3. So the balance of my card (fare container) then becomes $2. I can't buy the next card (because it costs more than $2), so before I do my next trip I need to charge it. Let's say I charge it with $10 (by paying only $8) and now my balance becomes $12.... Anyway there are some things that I am missing in the proposal: a. A way to represent the different options I have to charge the card (that preferrably has the credit I get (i.e: $10) and the amount I pay (i.e: $8)). I think that these options could be probably listed somehow (with some additional field(s) in fare_products.txt vs b. A way to represent the fare prices I pay when I use the container (this is actually in the proposal, I just list it here so we see it's different from the amount I need to pay when I charge the card) |
The primary key of |
I wonder whether there is appetite to re-think containers and take a broader look at "payment types". We see a strong need to be able to discriminate fares by the method of purchase and payment. As an example, take TfL London which has different prices and terms for : Further complicating matters are reduced rate fares for children etc which require the rider to have a specific child oyster card - which becomes proof of entitlement to the reduced fare. It is very tempting to use the container to differentiate these cases but clearly this is not the current specifications intention. With many agencies such as TfL implementing contactless payments it seems to me to be worthwhile to consider a broader remit for containers. |
as always I am for rethinking :) |
Thanks all for the feedback - this is what we propose to move forward:
@npaun @davidlewis-ito, there is a broader proposal titled GTFS-TravelRules, which contains the file |
So this proposal is kind of useless alone (if I can't re-charge the container). I mean it kind of gives me a one-time throw-away container and even that is only the cheapest possible option. The GTFS-TravelRules just make everything even more complicated... It also contradicts the example you gave in the proposal: from the proposal it looks to me that a producer would be able to tell that a certain ride either costs $4 if paid using a container or $5 otherwise by only using the files we already have + fare_containers.txt. However after looking at GTFS-TravelRules it's not clear if this is even the intention, or even the simplest cases would need the travel_rules.txt? |
Is the Interline MTC Regional feed the one we should be looking at as a Data producer example? |
I'll also echo @flocsy 's comment that the semantics of fare container |
@bdferris-v2 Interline is in the process of updating MTC data - we're still producing a slightly older version of the spec. Our new implementation of adopted fares v2 + containers should be available shortly, I will update this thread when it is. |
Hey everyone - just a reminder that MobilityData is hosting a roundtable discussion on Thursday 25 August at 11:00 AM ET to discuss the outstanding items regarding fare containers. If you would like to attend, please react to this message or send an email to specifications@mobilitydata.org and we will send you the invite. For a summary and more details, please check out this post. |
Summary of roundtable discussion on fare containers:August 25 11:00 AM ETAttended by: @Cristhian-HA, @omar-kabbani, @e-lo, and Chris Erickson (Trillium). Scope of this extension
Fare container type
Payment options
Fare container cost
|
Hey everybody, I will close this pull request since I will be leaving MobilityData and therefore I cannot remain the advocate for this proposal. In order to preserve the conversation history, I will open an issue in google/transit and reference this pull request. Please continue the discussion here, and provide feedback on how to move forward with this proposal. I also wanted to thank you all for your constant engagement in these GTFS extension proposals and for all the valuable feedback! |
Opened PR #355 to continue the work on this proposal |
Hi everyone, MobilityData is moving forward with the second iteration of GTFS-Fares v2, for more information about the overall plan, you can check this issue.
This pull request covers Fare Containers, which is a section of the entire GTFS-Fares v2 proposal.
Fare containers correspond to cards or mobile applications that are used to load and use fares. In many cases, fares loaded on a fare container are cheaper than fares purchased as individual tickets outside a fare container.
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.