You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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)
enumVehicleStopStatus{// 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.optionalVehicleStopStatuscurrent_status=4[default=IN_TRANSIT_TO];