Wiki
Clone wikiNumera.LibrisAPI / event.LocationFix
Home > Event Dictionary > LocationFix
LocationFix
The LocationFix event type populates the location
property of the event with an object using the following fields. No address
is set on this event as this is just used for the device to report the current fix it obtained, not translate it into an address.
OPTIONAL - We have the ability to change the event type to GPSLoc
or NetworkLoc
based on whether a satellite method or network assisted method was used for the fix. This can be configured as part of the data format used for your event receiver.
Field | Description |
---|---|
time | Time the fix was obtained. Formatted using the same format as the event time:2012-08-14T16:40:35 |
address | Only included when the fix has been translated into an address server side, for Classify, Normal, and Fall events |
lat | The latitude of the location in string format:37.476632 |
lon | The longitude of the location in string format:-122.197194 |
method | A comma separated list of string values that give you information about how the fix was obtained:satellite,assisted The complete list of possible strings is shown below: * local - position is computed on the device* network - position is computed on the server* assisted - network or location server assistance is used * standalone - no network assistance is used* satellite - GPS satellites are used as a reference* cellid - position is determined from single cell transmitter or antenna sector* aflt - position is triangulated using multiple cell transmitters as reference* webapi - position was returned from external location service at the server levelThe important string to watch for is satellite , if you see that in this field it means it was obtained using the satellites. If that word does not appear, then this fix was calculated from the network and is less accurate. |
time_to_fix | Number of seconds it took for the GPS to obtain the fix |
The location
is also set by the Classify, Normal, and Fall events.
Updated