Magidoc

VehiclePosition
Object

Real-time vehicle position

Fields

#

heading

Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. This can be the compass bearing, or the direction towards the next stop or intermediate location.

label

Human-readable label of the vehicle, eg. a publicly visible number or a license plate

lastUpdated

When the position of the vehicle was recorded in seconds since the UNIX epoch.

lat

Latitude of the vehicle

lon

Longitude of the vehicle

speed

Speed of the vehicle in meters/second

stopRelationship

The current stop where the vehicle will be or is currently arriving.

trip

Non-null

Which trip this vehicles runs on.

vehicleId

Feed-scoped ID that uniquely identifies the vehicle in the format FeedId:VehicleId

Usages

#

References

#