Skip to content

Adding NewRoutes to GTFS Realtime #606

@cleveramarquet

Description

@cleveramarquet

Describe the problem

Currently, GTFS Realtime lacks a standard way to provide information about new transit routes that do not yet exist in the static GTFS schedule. This creates a gap for riders when agencies introduce temporary or brand-new service that hasn't been included in the latest static feed update.

Use cases

  1. Providing information for new routes that have been launched but are not yet present in the current static GTFS dataset.

  2. Displaying route details like names, descriptions, and colors for these new services to ensure riders have complete information.

Proposed solution

Introduce a NewRoutes message to the GTFS Realtime FeedEntity. This message will include a list of Route objects, each containing fields like route_id, agency_id, route_short_name, route_long_name, route_desc, route_type, route_url, route_color, and route_text_color. This allows real-time feeds to define the properties of new routes dynamically.

gtfs-realtime.proto.txt

Additional information

As part of a joint effort between Clever Devices and Transit App, we would like to move forward with the NewRoutes use case specifically of the GTFS-ServiceChanges_v3.1 proposal. We saw the need for a more focused specification tailored to consistent and accurate representation of bus bridges or additional service. This change allows producers to define new, temporary, or dynamic routes entirely within the real-time feed.
For these reasons, we came up with GTFS-NewRoutes. In many real-time scenarios—such as emergency bus bridges, unplanned shuttle services, or dynamic on-demand routing—the static GTFS does not contain the necessary route_id. Without this change, agencies are forced to "reuse" existing IDs or omit information. By allowing a Route to be defined in the feed, consumers can display accurate names, colors, and branding for service that didn't exist when the static feed was published.

We welcome your feedback either here, or directly in the Google doc! Note that GTFS-NewRoutes builds on GTFS-ServiceChanges v3.1 and GTFS-TripModifications and uses some parts of it. This proposal doesn’t prevent the remaining features in that specification from being adopted in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions