Skip to content

Status > keep cancelled trips & skipped stop time from GTFS-RT Trip Updates #98

Closed

Description

@mmathieum

GTFS Real Time trip update can make a trip cancelled or a stop time skipped, these are currently removed from the data since the main app UI cannot yet handle cancelled Schedule.Timestamp.

  • update ScheduleStatusFilter to add "include cancelled timestamp" boolean (default false)
  • update Schedule.Timestamp to add cancelled boolean (default false)
  • in GTFSRealTimeTripUpdatesProviderExt. if the new filter boolean is true, keep the schedule timestamp instead of removing it and update it's "cancelled" boolean value to true.
  • do check for tripUpdate.trip.scheduleRelationship as CANCELLED (ignore DELETED since it means transit agency wants to hide trip( as well as stopTimeUpdate.scheduleRelationship` as SKIPPED
  • add unit test to cover for these new use cases (filter boolean and cancelled boolean(

UI change will be made in: mtransitapps/mtransit-for-android#163

Links:

Activity

  1. self-assigned this
    on Mar 23, 2026
  2. added
    P2
    on Mar 23, 2026
  3. added theissue type on Mar 23, 2026
  4. changed the title [-]Status > cancelled stop times[/-] [+]Status > keep cancelled trips & skipped stop time from GTFS-RT Trip Updates[/+] on Mar 23, 2026
  5. added a commit that references this issue on Apr 2, 2026
    0f1c6c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2enhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions