Skip to content

Conversation

@tzujenchanmbd
Copy link
Collaborator

This PR covers the following questions regarding multi-leg transfer fares:

  • Should fare transfers require that the same fare product is used on both legs?
  • For a leg-to-leg transfer to match a row in fare_transfer_rules.txt, is it required that both legs have the same fare media type?
  • Is it intended that multiple rows in fare_transfer_rules.txt can match a single leg-to-leg transfer?

In the November 2023 meeting, the working group leaned towards option one proposed in the spec modeling proposal, which allows producers to indicate in the fare_transfer_rules.txt whether specific transfer rules require the same fare product/media between two legs.

(For more detailed context, please see issue#420)

Changes in this PR

  • Add fare_product_behavior, fare_media_behavior, and filter_fare_product_id fields to fare_transfer_rules.txt.

There are some data examples in the spec modeling proposal. For previous discussions, please see working group meeting minutes.

Please go through the changes and feel free to share your thoughts/questions here.

@tzujenchanmbd tzujenchanmbd added the GTFS-Fares Issues and Pull Requests that focus on GTFS-Fares Extension label Jan 8, 2024
@eliasmbd eliasmbd added GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule Change type: Functional Refers to modifications that significantly affect specification functionalities. labels Jan 9, 2024
@tzujenchanmbd tzujenchanmbd changed the title [GTFS-Fares v2] Same fare product/media transfer behaivor [GTFS-Fares v2] Fare product/media transfer behaivor Mar 28, 2024
@jfabi
Copy link
Contributor

jfabi commented May 29, 2024

The @mbta plans to begin producing fare_product_behavior, fare_media_behavior, and filter_fare_product_id, tentatively by 1 July. We'll check back here once these fields are up and running in production.

@jfabi
Copy link
Contributor

jfabi commented Jul 29, 2024

The @mbta plans to begin producing fare_product_behavior, fare_media_behavior, and filter_fare_product_id, tentatively by 1 July. We'll check back here once these fields are up and running in production.

As of last week, the @mbta is now producing all three of these new fields in its GTFS-static feed, downloadable here.

@isabelle-dr isabelle-dr changed the title [GTFS-Fares v2] Fare product/media transfer behaivor [GTFS-Fares v2] Fare product/media transfer behavior Aug 1, 2024
@github-actions
Copy link

This pull request has been automatically marked as stale because of lack of recent activity. It may be closed manually after one month of inactivity. Thank you for your contributions.

@github-actions github-actions bot added the Status: Stale Issues and Pull Requests that have remained inactive for 30 calendar days or more. label Feb 14, 2025
@tzujenchanmbd
Copy link
Collaborator Author

Not stale

@tzujenchanmbd tzujenchanmbd removed the Status: Stale Issues and Pull Requests that have remained inactive for 30 calendar days or more. label Feb 18, 2025
@tzujenchanmbd
Copy link
Collaborator Author

@felixguendling would Motis be interested in implementing this?

@felixguendling
Copy link

Yes, I think this makes sense and should be easy to implement in case it gets standardized.

@miklcct
Copy link
Contributor

miklcct commented May 27, 2025

@leonardehrenfried

@leonardehrenfried
Copy link
Contributor

Should it also apply to rider categories?

@leonardehrenfried
Copy link
Contributor

For me this is no longer a theoretical question as Trimet's (Portland) feed would lead to a large number of possible combinations for each transfer.

For now I can add a frontend filter option that stipulates that rider category and medium must match but it would be nice if the spec would be more explicit.

@tzujenchanmbd
Copy link
Collaborator Author

tzujenchanmbd commented May 29, 2025

Update:
The Fares v2 Working Group revisited this proposal during the May 27 meeting and confirmed the proposed changes.

Based on the discussion, to facilitate testing and adoption, we agreed to narrow the scope of this PR to focus on fare product/media behavior. The filter_fare_product_id field will be removed for now and can be added later if needed.

The behavior related to rider categories can be addressed in a separate change as well.

cc @jfabi @jll01

@Sergiodero Sergiodero added the Former Governance Applies This proposal is subject to the former governance process which predates July 7, 2025. label Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Change type: Functional Refers to modifications that significantly affect specification functionalities. Former Governance Applies This proposal is subject to the former governance process which predates July 7, 2025. GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule GTFS-Fares Issues and Pull Requests that focus on GTFS-Fares Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GTFS-Fares v2] Multi-leg Transfer: Same product/media transfer behavior

7 participants