Coords¶
Geographic coordinates attached to a Location.
Members¶
accuracy¶
Horizontal accuracy radius in meters.
altitude¶
Altitude above a reference plane in meters.
iOS¶
Altitude above mean sea level.
Android¶
Altitude above the WGS84 reference ellipsoid. See also
ellipsoidal_altitude.
altitude_accuracy¶
Vertical accuracy in meters. Returns -1 if unavailable.
iOS¶
When positive, the altitude value is within ±altitude_accuracy meters.
When negative, altitude is invalid. Determining altitude accuracy
requires a GPS-capable device; on some devices this value is always
negative.
Android¶
Defined as the 1-sigma vertical accuracy at 68% confidence — the
half-width of the range above and below altitude within which the true
altitude has a 68% probability of falling.
ellipsoidal_altitude¶
Altitude above the WGS84 reference ellipsoid in meters.
floor¶
iOS only Floor within a building, when indoor-positioning hardware (e.g. Bluetooth beacons) is available.
heading¶
Direction of travel in degrees (0–360, clockwise from true north).
Note
Only present when the location came from GPS. Returns -1 otherwise.
heading_accuracy¶
Heading accuracy in degrees.
Note
Only present when the location came from GPS. Returns -1 otherwise.
latitude¶
Latitude in decimal degrees.
longitude¶
Longitude in decimal degrees.
speed¶
Ground speed in meters per second.
Note
Only present when the location came from GPS. Returns -1 otherwise.
speed_accuracy¶
Speed accuracy in meters per second.
Note
Only present when the location came from GPS. Returns -1 otherwise.