gtfs-sqljs
    Preparing search index...

    Interface ResolvedStopTimeFields

    Computed fields added to each stop time by resolveRealtime.

    interface ResolvedStopTimeFields {
        arrival_delay?: number;
        departure_delay?: number;
        display_delay?: number;
        display_epoch?: number;
        display_is_realtime: boolean;
        is_first: boolean;
        is_last: boolean;
        no_data: boolean;
        rt_arrival_epoch?: number;
        rt_departure_epoch?: number;
        rt_source: RealtimeSource;
        scheduled_arrival_epoch?: number;
        scheduled_arrival_seconds?: number;
        scheduled_departure_epoch?: number;
        scheduled_departure_seconds?: number;
        skipped: boolean;
        uncertainty?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arrival_delay?: number

    Arrival delay in seconds (negative = early). Set whenever realtime is known.

    departure_delay?: number

    Departure delay in seconds (negative = early). Set whenever realtime is known.

    display_delay?: number

    Delay backing display_epoch, set only when it is a realtime estimate.

    display_epoch?: number

    Best time to display: realtime if known, scheduled otherwise. Departure for regular stops and arrival at the terminus (flipped in 'arrival' display mode).

    display_is_realtime: boolean

    Whether display_epoch is a realtime estimate rather than the schedule.

    is_first: boolean

    First stop of the trip.

    is_last: boolean

    Last stop of the trip.

    no_data: boolean

    Feed explicitly signalled no realtime data for this stop (GTFS-RT NO_DATA).

    rt_arrival_epoch?: number

    Estimated arrival as unix epoch seconds (realtime).

    rt_departure_epoch?: number

    Estimated departure as unix epoch seconds (realtime).

    rt_source: RealtimeSource

    How the realtime information was obtained.

    scheduled_arrival_epoch?: number

    Scheduled arrival as unix epoch seconds.

    scheduled_arrival_seconds?: number

    Scheduled arrival in seconds since the start of the service day (may exceed 86400).

    scheduled_departure_epoch?: number

    Scheduled departure as unix epoch seconds.

    scheduled_departure_seconds?: number

    Scheduled departure in seconds since the start of the service day (may exceed 86400).

    skipped: boolean

    Stop is skipped (GTFS-RT SKIPPED). Scheduled times remain for reference.

    uncertainty?: number

    Prediction uncertainty in seconds, when the feed provides one.