Analytics Builder 10.9.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Utility | Geofence
 
Geofence
apama.analyticsbuilder.blocks.Geofence
Compares the input value against the defined geofence value to detect whether the device is within the geofence, and whether the device entered or exited the geofence.
The boundary line itself is considered to be outside of the geofence area.
Parameters
Name
Description
Type
Notes
Geofence
A polygon describing an area on the Earth's surface.
Note that crossing the international date line, namely the longitude of +/- 180 degrees, is not supported.
sequence<apama.analyticsbuilder.LngLat>
Input Port Details
Name
Description
Type
Position
The input value from which the properties for the longitude (lng) and latitude (lat) are to be extracted.
any
Output Port Details
Name
Description
Type
Within Geofence
Is set to true when the device is within the defined geofence.
boolean
Entered Geofence
Sends a signal when the device enters the defined geofence.
pulse
Exited Geofence
Sends a signal when the device leaves the defined geofence.
pulse