Add network sets and relax constraint on networks in fare_leg_join_rules.txt#74
Add network sets and relax constraint on networks in fare_leg_join_rules.txt#74
Conversation
|
|
gtfs/spec/en/reference.md
Outdated
|
|
||
| File: **Conditionally Forbidden** | ||
|
|
||
| Primary key (`route_id`) |
There was a problem hiding this comment.
primary key seems incorrect for this file.
gtfs/spec/en/reference.md
Outdated
|
|
||
| ### 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 |
|
@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. |
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