Skip to content

GTFS-RT > Trip Updates > support for NEW (ADDED) #225

Open

Description

@mmathieum

Support for NEW trip_update.trip.schedule_relationship.

NEW: An extra trip unrelated to any existing trips, for example, to respond to sudden passenger load.
ADDED: This value has been deprecated as the behavior was unspecified. Use [...] NEW for an extra trip that is unrelated to an existing trip.

This one, create a brand new trip for a specific route.

If the route_id doesn't match with a known static route, ignore for now.

  trip_update {
    trip {
      trip_id: "-1446035087"
      schedule_relationship: NEW
      route_id: "600"
    }
    stop_time_update {
      stop_sequence: 1
      departure {
        time: 1794476601
      }
      stop_id: "3359"
      schedule_relationship: SCHEDULED
    }
    stop_time_update {
      stop_sequence: 2
      arrival {
        time: 1794486081
      }
      stop_id: "18414"
      schedule_relationship: SCHEDULED
    }
    stop_time_update {
      stop_sequence: 3
      arrival {
        time: 1794505041
      }
      stop_id: "3359"
      schedule_relationship: SCHEDULED
    }
    timestamp: 1794491154
  }

Activity

  1. added theissue type on Nov 12, 2026
  2. added
    P4
    on Nov 12, 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

    P4enhancement

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions