Geolocation Data Type

Device geo point.

Properties
Name Type constraints Description
links array of Link   Links from this geo location to related resources. Possible link relationships include:
  • user: User detail associated with this geo location.
  • userDevice: User device detail associated with this geo location.
latitude number required Device geo point latitude. The range of this value is between -90.0 and +90.0.
longitude number required Device geo point longitude.
altitude number   Device geo point altitude in meters above the WGS 84 reference ellipsoid.
speed number   Device geo point speed. This is the speed that the device was moving at in meters per second.
direction number   Gets the value of the direction property. The returned value will be >= 0 and < 360. This value can be interpreted as follows:
- 0 - North
- 90 - East
- 180 - South
- 270 - West
A value of 45 implies northeast, for example. This field will not be set when the direction isn't reported by the device.
accuracy number   Device geo point estimated accuracy in meters.
type string   Geo point type of GPS point: cell GPS/hardware GPS or user provided. Possible values : GPS, AGPS, USER, UNAVAILABLE.
timestamp string   Geo point timestamp. This value reflects the last time the location of the device was reported to the server.

Example

{
  "latitude" : 35.4342193603516,
  "longitude" : -91.21865759666542,
  "altitude" : 172.4342193603516,
  "speed" : 0.5,
  "direction" : 85.83,
  "accuracy" : 2.0,
  "type" : "GPS",
  "timestamp" : "2017-01-01T11:04:30.45Z"
}