Geofence creation guide
Getting the coordinates
Proceed to https://geojson.io, there will be a world map where geofencing boundaries can be drawn and coordinates of points will be provided. Those coordinates can be used in our API explorer to create same geofence in our system.
In this example we have created a geofence:
Coordinates of the points are visible in the right window, in our example those are:
"coordinates": [
[
[
6.957239730898948,
50.93892367514573
],
[
6.958509831039635,
50.93836584192053
],
[
6.959702958010666,
50.93945723847878
],
[
6.9596259993105605,
50.934266755623526
],
[
6.961550428436993,
50.93431526288117
],
[
6.961434941100492,
50.94059711468901
],
[
6.959087148954154,
50.94059710732816
],
[
6.957239730898948,
50.93892367514573
]
]
],
Creating a geofence
Now proceed to API Explorer, enter all required fields and provide point coordinates received in previous step:
Execute API request by pressing the Try it! button and validate the response has returned code 201
:
After geofence is created, Cloud integrator will create ENTER and EXIT events on every geofence border crossing by device, depending on the configuration of geofence event types and device location update frequency.
Reference Cloud integrator output format for details of geofence events.
Updated 3 months ago