Skip to content

Add optional carriage_positions.txt specification#22

Open
gcamp wants to merge 3 commits intomasterfrom
feature/carriage-positions
Open

Add optional carriage_positions.txt specification#22
gcamp wants to merge 3 commits intomasterfrom
feature/carriage-positions

Conversation

@gcamp
Copy link
Member

@gcamp gcamp commented Feb 4, 2026

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.

image

Proposed Solution

Add a carriage_positions.txt containing 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

  • Consumer(s):
  • Producer(s):
  • Estimated Testing Period:

Proposal Update Tracker

Date Update Description
(YYYY-MM-DD) (Brief description of the update)

@gcamp gcamp force-pushed the feature/carriage-positions branch 2 times, most recently from fc371f8 to 86ae446 Compare February 4, 2026 20:50
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.
@gcamp gcamp force-pushed the feature/carriage-positions branch from 86ae446 to fec8338 Compare February 4, 2026 20:52
@gcamp gcamp changed the title Add carriage_positions.txt specification Add optional carriage_positions.txt specification Feb 5, 2026
gcamp and others added 2 commits February 5, 2026 09:55
Address PR review feedback by specifying stop_id references.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants