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

    Class GTFSStopTime

    Stop Time Information

    Required - Times that a vehicle arrives at and departs from stops for each trip.

    Index

    Constructors

    • Parameters

      • data: Record<string, string>

        the parsed GTFS CSV data

      Returns GTFSStopTime

    Properties

    arrivalTime?: string

    Conditionally Required Arrival time at the stop in HH:MM:SS (local) or possibly > 24:00:00 after midnight. Required for the first/last stop of the trip or if timepoint=1. Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined.

    continuousDropOff?: ContinuousDropOff

    Conditionally Forbidden Continuous drop-off from this stop_time to the next. 0 = Continuous, 1 or empty = None, 2 = Phone Agency, 3 = Coordinate with Driver Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined.

    continuousPickup?: ContinuousPickup

    Conditionally Forbidden Continuous pickup from this stop_time to the next. 0 = Continuous, 1 or empty = None, 2 = Phone Agency, 3 = Coordinate with Driver Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined.

    departureTime?: string

    Conditionally Required Departure time at the stop in HH:MM:SS (local) or possibly > 24:00:00 after midnight. Required if timepoint=1. Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined.

    dropOffBookingRuleId?: string

    Optional Alighting booking rule reference (booking_rules.booking_rule_id). Recommended if drop_off_type=2.

    dropOffType?: GTFSDropOffType

    Conditionally Forbidden Drop-off method: 0 or empty = Regular, 1 = None, 2 = Phone Agency, 3 = Coordinate with Driver Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined (for 0).

    endPickupDropOffWindow?: string

    Conditionally Required Time on-demand service ends at this location/stop/location group. Required if start_pickup_drop_off_window is defined, or if location_group_id or location_id is used. Forbidden if arrival_time or departure_time is defined.

    locationGroupId?: string

    Conditionally Forbidden References a location group (location_groups.location_group_id). Forbidden if stop_id or location_id is defined.

    locationId?: string

    Conditionally Forbidden References a GeoJSON location ID (locations.geojson). Forbidden if stop_id or location_group_id is defined.

    pickupBookingRuleId?: string

    Optional Boarding booking rule reference (booking_rules.booking_rule_id). Recommended if pickup_type=2.

    pickupType?: GTFSPickupType

    Conditionally Forbidden Pickup method: 0 or empty = Regular, 1 = None, 2 = Phone Agency, 3 = Coordinate with Driver Forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined (for 0 or 3).

    shapeDistTraveled?: number

    Optional Distance traveled along the associated shape from the first stop to this record’s stop. Must be in the same units used in shapes.txt.

    startPickupDropOffWindow?: string

    Conditionally Required Time on-demand service becomes available at this location/stop/location group. Required if end_pickup_drop_off_window is defined, or if location_group_id or location_id is used. Forbidden if arrival_time or departure_time is defined.

    stopHeadsign?: string

    Optional Overrides the trip’s headsign at this specific stop.

    stopId?: string

    Conditionally Required References a stop (stops.stop_id). Must be a location_type of 0 or empty. Required if neither location_group_id nor location_id is used. Forbidden if location_group_id or location_id is defined.

    stopSequence: number

    Required Order of stops (or location groups, or GeoJSON locations) for this trip. Must increase along the trip, but need not be consecutive.

    timepoint?: Timepoint

    Optional 0 = Times are approximate, 1 = Times are exact.

    tripId: string

    Required Identifies a trip (trips.trip_id).