Position Struct Reference
A position. More...
Public Attributes | |
required float | latitude = 1 |
Degrees North, in the WGS-84 coordinate system. | |
required float | longitude = 2 |
Degrees East, in the WGS-84 coordinate system. | |
optional float | bearing = 3 |
Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. More... | |
optional double | odometer = 4 |
Odometer value, in meters. | |
optional float | speed = 5 |
Momentary speed measured by the vehicle, in meters per second. | |
extensions | to |
The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec. More... | |
Detailed Description
A position.
Member Data Documentation
optional float Position::bearing = 3 |
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. This should not be direction deduced from the sequence of previous positions, which can be computed from previous data.
extensions Position::to |
The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec.
The documentation for this struct was generated from the following file:
- gtfs-realtime.proto