gis-tools-ts - v0.6.0
    Preparing search index...

    Class GTFSRealtimeStopTimeUpdate

    Realtime update for arrival and/or departure events for a given stop on a trip. Updates can be supplied for both past and future events. The producer is allowed, although not required, to drop past events.

    The update is linked to a specific stop either through stop_sequence or stop_id, so one of the fields below must necessarily be set. See the documentation in TripDescriptor for more information.

    Index

    Constructors

    Properties

    departureOccupancyStatus?: GTFSRealtimeOccupancyStatus

    Expected occupancy after departure from the given stop. Should be provided only for future stops. In order to provide departure_occupancy_status without either arrival or departure StopTimeEvents, ScheduleRelationship should be set to NO_DATA.

    scheduleRelationship: GTFSRealtimeScheduleRelationshipUpdate = GTFSRealtimeScheduleRelationshipUpdate.SCHEDULED

    The relation between the StopTimeEvents and the static schedule.

    stopId?: string

    Must be the same as in stops.txt in the corresponding GTFS feed.

    stopSequence?: number

    Must be the same as in stop_times.txt in the corresponding GTFS feed.

    stopTimeProperties?: GTFSRealtimeStopTimeProperties

    Realtime updates for certain properties defined within GTFS stop_times.txt NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.