Add network sets and relax constraint on networks in fare_leg_join_rules.txt#74
Closed
Add network sets and relax constraint on networks in fare_leg_join_rules.txt#74
Conversation
|
|
||
| File: **Conditionally Forbidden** | ||
|
|
||
| Primary key (`route_id`) |
There was a problem hiding this comment.
primary key seems incorrect for this file.
|
|
||
| ### network_set_elements.txt | ||
|
|
||
| File: **Conditionally Forbidden** |
There was a problem hiding this comment.
Seems inconsistent with the "Dataset files" section
|
I'm curious... Why isn't this PR in the |
Author
|
@derhuerst this was just a draft PR that I did prior to raising the PR on Google's transit repo back in September (google#578). I will close this one. If there's any place where I linked this instead of the Google transit repo PR please let me know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This proposal:
fare_leg_rules.txtfare_leg_join_rules.txt, thus allowing joins across networks.Describe the Problem
fare_leg_join_rule.txtjoin) that spans multiple networks.fare_leg_join_rules.txtthat a leg with anetwork_idcan only be joined to another leg with the samenetwork_id, which is restrictive and does not represent multiple real-world cases,Use Cases
Network sets can be used in cases where routes from different networks can be priced together under the same fare scheme.
Three real-world cases are detailed in the Network sets real-world case research document, including STM's Airport bus, the ORCA fare scheme in Seattle, and the multiple fare tiers of LeCar in the Aix-Marseille-Provence region.
Proposed Solution
The full proposal can be found here. It includes:
fare_leg_rules.txt. These network sets are defined innetwork_sets.txtand mapped to routes innetwork_set_elements.txt.fare_leg_join_rules.txt. By allowing leg joins across different networks, the effective fare leg will contain multiplenetwork_ids.This proposal was discussed and its scope was defined in multiple Fares v2 Working Group meetings. For further details, please check:
Type of change
GTFS Schedule
GTFS Realtime
Additional Information
Proposed Discussion Period
We propose that the discussion period last 14 calendar days from the date this PR is raised.
Testing Details
Proposal Update Tracker
Checklist