Entity Geo Tracker
Stateful based geo tracking using geofencing. State is held per tracking object for entry, dwelling and exit. As events enter, dwell and exit geofence an alert are generated. The event is tracked once it has entered a geofence.
Example
Attributes
Attribute | Description | Data Type | Required |
---|---|---|---|
geofences | List of geofences to trigger entity | See geofence attribute section | |
entity key | Entity value to track. provide unique key | String Default: id | |
geo tracking info | StreamEvent key to place tracking information | String Default: geoTrackingInfo | |
latitude field | StreamEvent field holding latitude value | String Default: latitude | |
longitude field | StreamEvent field holding longitude value | String Default: longitude | |
dwelling time | Minimum dwelling time within a geofence | Long Default: 15 Seconds | |
timeUnit | Time unit used to assess dwelling time. Supported units:
| TimeUnit Default: SECONDS | |
default radius | Geofence radius override to be applied if reference data is missing | Float Default: 4.0f ( xx feet) | |
spatial index | An area is set out as a search tree. The default area is a flattened world divided out in to rectangles. |
Geofence Attribute
A geofence is a circle defined up a unique Id, its centre point(latitude and longitude coordinates) and radius. One or more geofences are defined as a list.
Attributes
Attribute | Description | Data Type | Required |
---|---|---|---|
id | Unique Id for the geofence | Integer | |
coordinates | Centre latitude and longitute coordinates defined as string to ensure correct resolution | String Array | |
radius | Radius of geofence in feet | Float |
Geo Tracking Info Field
The geoTrackingInfo field, or the one specified by the developer, is added to the processed StreamEvent object on processing completion. A GeoTrackingInfo
object is assigned to the field. Below are the attributes held within the object.
Last updated