VehiclePosition.current_status default value

14 views
Skip to first unread message

ismaila diouf

unread,
Apr 15, 2026, 11:33:43 AM (2 days ago) Apr 15
to GTFS-realtime
Hello all,
I currently have a doubt regarding VehiclePosition.current_status default value

When HasCurrentStatus = false, current_status default value is supposed to be 0 (INCOMING_AT = 0; as a first enum value) or 4 as mentioned below (Protobuf - General Transit Feed Specification)

enum VehicleStopStatus { // The vehicle is just about to arrive at the stop (on a stop // display, the vehicle symbol typically flashes). INCOMING_AT = 0; // The vehicle is standing at the stop. STOPPED_AT = 1; // The vehicle has departed and is in transit to the next stop. IN_TRANSIT_TO = 2; } // The exact status of the vehicle with respect to the current stop. // Ignored if current_stop_sequence is missing. optional VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];

Thank for your support
HasCurrentStatus.png
Reply all
Reply to author
Forward
0 new messages