-
Notifications
You must be signed in to change notification settings - Fork 173
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
GTFS Fares v2 #252
Comments
@scmcca within OTPv1 we have implemented a specific fare model for the Dutch (overly complex national) fare systems. I think the primary thing that currently lacks within GTFS fares is the ability to have to have distances (or virtual distances) as part of the fares. In addition to that our national train system even uses a degenerative fare, the longer you travel the cheaper the cost per meter gets, eventually having a price cap. Even if a fare system could be consolidated to an A-B matrix, things like transfer allowances mess everything up. In my ideal situation the fares should be consolidated to a URI that can be send to a remote system exposing the trip cost. I think we already have discussed this in in #190 |
We (The California Integrated Travel Project) believe that travelers should have complete and accurate information about:
The current GTFS fares is lacking in several dimensions to be able to achieve our objective above.
cc: @mcplanner |
Update on Fares v2:
@skinkie The Fares v2 extension project tries to address the complexity you described. If you see any needs not handled or handled badly by the proposal please feel free to comment on the document or reach out to specifications@mobilitydata.org for your input. It should be kept in mind that Fares v2 aims to significantly broaden the ability to describe fares in GTFS from what is possible in Fares v1, ultimately to provide many more transit riders with this important information. As for the discussions in #190, GTFS-Ticketing is a separate project that will redirect riders to purchase tickets for their travel directly, while Fares v2 aims to display the cost of travel and other fare information in-app. Further work on GTFS-Ticketing will likely come later. @e-lo There are now proposals for distance-based fares, fare caps, and rider categories in the Fares v2 document. I invite Cal-ITP to review these and whether they cover your use cases. As for how to purchase fares, there is currently a proposal in the Fares v2 document called GTFS-FareDistributions. However, we (MobilityData) want to re-evaluate the proposal to provide more descriptive payment methods and points-of-sale. This may involve a separate but closely related proposal, GTFS-TravelRules, and will likely come after the initial Fares v2 PRs. |
The current draft covers the use cases with which Cal-ITP is concerned and I don't anticipate any compatibility issues. |
@scmcca which part of the spec handles virtual distances, with a degenerative fares per operator, applied over certain operators including transfers? |
Fares v2 handles distances in
Speaking to the duration of travel, these are modeled using
The current proposal for
Using the concept of defining fares for individual legs of travel in
This will be handled distinctively in a subsequent project. The goal of Fares v2 is to display the cost or estimated cost of travel in-app. GTFS-Ticketing will provide the redirect link to purchase tickets.
For an example dataset of Fares V2 with multiple agencies, see MTC's Regional (RG) GTFS dataset produced by Interline (cc: @drewda). If we missed something major, we are always open to scope emergent needs and produce a needs analysis for modeling additional features. |
Hi, @scmcca is there any reference implementation/tool where producers can check if their fare definition works correctly in various scenarios? |
Similar to @jakluk, we're looking for sample data set to work with for our implementation on the consumer side. |
Hi @jakluk and @gcamp, for an example feed created following the draft spec, see the SF Bay Area's Regional GTFS Feed. Overview in this blog post (with download instructions at the end): https://www.interline.io/blog/mtc-regional-gtfs-feed-additions/#fares-and-transfer-discounts |
Maybe I didn't explain myself well, we (Prague Integrated Transport) would like to try Fares v2 with our GTFS feed, but we need a tool or existing routing engine where we could check if the data produced by us is correctly understood by the consumer. The spec is quite comprehensive and there could be misunderstandings about correct behavior on both sides. |
An update from Interline and MTC. We have now released a new version of fares v2 data for 8 of the San Francisco Bay Area's key transit agencies. This is an update to both our tooling (to support the latest version of the proposed spec) and to the data itself (to reflect some changes to agency's fares since last year). Quick instructions on how to download the Bay Area Regional GTFS Feed, including the latest fares data, are as before at the bottom of the blog post at https://www.interline.io/blog/mtc-regional-gtfs-feed-additions/#using-fares-and-transfer-discounts We are assembling a few notes on the experience of implementing data in the current version of the spec, as well as running a "rules engine" against it to calculate the costs of journeys. Will share some bullet points for others shortly. |
Hi everyone, here's a quick update on GTFS Fares v2. Producers and ConsumersOver the past few months MobilityData has been supporting early implementors in getting this project up and running. I'm pleased to say that as of now we have at least 3 producers and 1 consumer for a subset of the proposal. Here is a collection of producers, consumers, and open data sets with a detailed account of what exactly is being produced/consumed: https://bit.ly/gtfs-fares-adoption. If there are any other producers and consumers out there please contact specifications@mobilitydata.org with the subset that you are producing/consuming so we can take inventory! A summary of whats in the spreadsheet:
Note that only the base of Fares v2 is covered (and technically adoptable), but is already more detailed than the current Transit's Fares v2 ValidatorTransit App has made public their internal Fares v2 validator. It covers the subset that they are consuming, and may be useful to producers putting together data. SlackI highly recommend everyone join the #gtfs-fares MobilityData Slack channel. A ton of great brainstorming and problem solving has been happening over there that has been integral to the progress made on fares thus far. If you aren't already a part of MobilityData's slack workspace, contact specifications@mobilitydata.org and we'll send you an invite :) Next stepsFares are a key part of rider decision making. Being able to model fares properly using GTFS has the potential to improve that decision making and improve the rider experience. With this, the end goal here is to have an official way to model fares in GTFS where the current model lacks. We've seen a ton of effort and collaboration across parties to solve this problem with the detailed proposal of Fares v2. With a base implementation in effect, the potential to expand Fares v2 as the way to model fares in GTFS is clear. However, it is up to the community what becomes official. If there are any concerns about the proposed model and what it covers or will be able to cover, now is the time to voice those concerns. I invite a thorough review of the proposal document if you have not done so already, and to add any comments or suggestions. Otherwise, we are continuing the momentum to support implementors in anyway we can. Feel free to reach out! |
Hi everyone,
We (MobilityData) are opening this issue in regards to fare information in GTFS.
Currently, fares in GTFS are described using
fare_attributes.txt
andfare_rules.txt
. We noticed 2 main issues regarding this current specification:Therefore, we would like to know your thoughts on describing fares with the current GTFS:
fare_attributes.txt
andfare_rules.txt
enough to describe fares? Do they allow accurate fare representation?As you may know, MobilityData has drafted GTFS-Fares v2 to allow for broader descriptions of simple or complex fare structures. But before going further with this project, we would like the input of the GTFS community to know if we are capturing all needs as much and as accurately as possible.
Don’t hesitate to voice your concerns, needs, or general feedback in this issue!
Thanks!
Edits
2021-08-18: Issue renamed from "Fares in GTFS" to "GTFS Fares v2"
The text was updated successfully, but these errors were encountered: