VehiclePosition.current_status default value #623
ismailadioufy-beep
started this conversation in
GTFS Realtime
Replies: 1 comment
-
|
@ismailadioufy-beep the default value is "IN_TRANSIT_TO". 0 and 4 are field numbers used in protobuf, just an id for the field. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 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

Beta Was this translation helpful? Give feedback.
All reactions