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

    Class GTFSTrip

    Trip Information

    Required - Trips for each route. A trip is a sequence of two or more stops that occur during a specific time period.

    Index

    Constructors

    • Parameters

      • data: Record<string, string>

        the parsed GTFS CSV data

      Returns GTFSTrip

    Properties

    bikesAllowed?: GTFSBikesAllowed

    Updated to use an enum for bikes allowed. 0 = NoInfo, 1 = Allowed, 2 = NotAllowed.

    blockId?: string

    Optional Identifies the block this trip belongs to. Sequential trips with the same block_id typically use the same vehicle.

    directionId?: GTFSDirectionId

    Updated to use an enum for direction. 0 = Outbound, 1 = Inbound.

    headsign?: string

    Optional Destination sign text that identifies the trip’s destination to riders.

    id: string

    Required Unique identifier for a trip (trip_id).

    routeId: string

    Required Identifies which route this trip belongs to (routes.route_id).

    serviceId: string

    Required Identifies a set of dates when service is available (calendar.service_id or calendar_dates.service_id).

    shapeId?: string

    Conditionally Required References a geospatial shape describing the vehicle's travel path (shapes.shape_id). Required if the trip uses continuous pickup or drop-off rules; otherwise optional.

    shortName?: string

    Optional Public-facing text used to identify the trip (e.g., train numbers).

    wheelchairAccessible?: GTFSWheelchairAccessibility

    Updated to use an enum for wheelchair accessibility. 0 = NoInfo, 1 = Accessible, 2 = NotAccessible.