Skip to content

GTFS-RT alerts as NO_SERVICE but no CANCELLED/DELETED trip updates #90

Closed

Description

@mmathieum

We might have to merge information from GTFS alerts & trip updates as some providers might only publish one of the 2 for cancelled trips.
At the very least, find a way to show it in the UI.

GTFS-RT documentation:

When canceling trips over a number of days, producers should provide TripUpdates referencing the given trip_ids and start_dates as CANCELED as well as an Alert with NO_SERVICE referencing the same trip_ids and TimeRange that can be shown to riders explaining the cancellation (e.g., detour).
https://gtfs.org/documentation/realtime/realtime-best-practices/#alert

When canceling trips over a number of days, producers should provide TripUpdates referencing the given trip_ids and start_dates as CANCELED as well as an Alert with NO_SERVICE referencing the same trip_ids and TimeRange that can be shown to riders explaining the cancellation (e.g., detour).
https://gtfs.org/documentation/realtime/realtime-best-practices/#tripupdate

Ex:

  • on March 18, 2026 link1 link2, multiple trips cancelled for 🇨🇦 exo Trains 11 Vaudreuil/Hudson: only NO_SERVICE GTFS-RT alert published not GTFS-RT trip updates... (can see GTFS-RT vehicle on map 🤯 )

Related:

Activity

  1. self-assigned this
    on Mar 18, 2026
  2. added
    P2
    on Mar 18, 2026
  3. added theissue type on Mar 18, 2026
  4. changed the issue type fromtoon Mar 18, 2026
  5. added
    P4
    and removed
    P2
    on Mar 18, 2026
  6. removed their assignment
    on Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions