Add network sets and relax constraint on networks in fare_leg_join_rules.txt #74
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