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

    Class GTFSRealtimeMultiCarriageDetails

    Carriage specific details, used for vehicles composed of several carriages This message/field is still experimental, and subject to change. It may be formally adopted in the future.

    Index

    Constructors

    Properties

    carriageSequence?: number

    Identifies the order of this carriage with respect to the other carriages in the vehicle's list of CarriageDetails. The first carriage in the direction of travel must have a value of 1. The second value corresponds to the second carriage in the direction of travel and must have a value of 2, and so forth. For example, the first carriage in the direction of travel has a value of 1. If the second carriage in the direction of travel has a value of 3, consumers will discard data for all carriages (i.e., the multi_carriage_details field). Carriages without data must be represented with a valid carriage_sequence number and the fields without data should be omitted (alternately, those fields could also be included and set to the "no data" values). This message/field is still experimental, and subject to change. It may be formally adopted in the future.

    id?: string

    Identification of the carriage. Should be unique per vehicle.

    label?: string

    User visible label that may be shown to the passenger to help identify the carriage. Example: "7712", "Car ABC-32", etc... This message/field is still experimental, and subject to change. It may be formally adopted in the future.

    occupancyPercentage: number = -1

    Occupancy percentage for this given carriage, in this vehicle. Follows the same rules as "VehiclePosition.occupancy_percentage" -1 in case data is not available for this given carriage (as protobuf defaults to 0 otherwise) This message/field is still experimental, and subject to change. It may be formally adopted in the future.

    occupancyStatus: GTFSRealtimeOccupancyStatus = GTFSRealtimeOccupancyStatus.NO_DATA_AVAILABLE

    Occupancy status for this given carriage, in this vehicle This message/field is still experimental, and subject to change. It may be formally adopted in the future.