Skip to content

Defining a route type at the trip level #358

@vpaturet

Description

@vpaturet

The current GTFS specification allows for defining a route type ("route_type" in routes.txt) at the route level which applies to every trips in that route.
There are cases however where some trips in a given route are scheduled with an alternate transport mode. A typical example is replacement bus, where train trips are temporarily replaced by bus trips due to construction work on the railways.
From a passenger's perspective, these replacement bus trips belong to the original route.
There is no way to model this with the current GTFS specification.

MBTA came up with a solution for this use case: adding a custom field "trip_route_type" in trips.txt
See:

Would it make sense to standardize this custom field "trip_route_type" in the GTFS specification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Change type: FunctionalRefers to modifications that significantly affect specification functionalities.GTFS ScheduleIssues and Pull Requests that focus on GTFS Schedule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions