Add optional carriage_positions.txt specification#22
Open
Conversation
fc371f8 to
86ae446
Compare
Defines optimal carriage positioning for transfers and platform exits. Enables trip planners to recommend which carriage to board for minimal walking time at destinations. Fields: - from_stop_id: boarding platform - to_stop_id: destination stop/facility - recommended_carriage: 1-indexed from front - carriage_count: total positions (can be logical) - front_car_position: left/right platform side - facility_type: elevator/escalator/stairs (optional) Placed after pathways.txt as it complements station navigation.
86ae446 to
fec8338
Compare
timMillet
reviewed
Feb 4, 2026
Address PR review feedback by specifying stop_id references. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
This proposal adds a new optional file carriage_positions.txt that defines optimal carriage positioning for transfers and platform exit access. It enables trip planners to recommend which carriage passengers should board to minimize walking time at transfer points and alighting stations.
Motivation
There is at least one example of this type of public data in production, but it does not use a standardized format: Île-de-France Mobilités publishes carriage positioning data for the Paris métro, and Transit ingests this information from IDFM.
While pathways.txt handles navigation within stations, it does not address where to stand on the platform before boarding. This file complements pathways by providing carriage-level boarding recommendations, including information about where passengers should board a vehicle to most easily access stairs, escalators, and elevators at transfer points and alighting stations.
Transit also supports displaying this information based upon crowdsourced data collected through its own app. Receiving carriage position information directly from producers in a standardized format within GTFS would improve data reliability and be beneficial to the entire ecosystem.
Proposed Solution
Add a
carriage_positions.txtcontaining the recommended carriage for boarding, based on a carriage count, for each from/to stop id pair.Type of change
GTFS Schedule Functional Change
Proposed Discussion Period
Testing Details
Proposal Update Tracker