Geofencing Extension API Developer's Guide

Retrieve Geofence Geometry

Geofencing Extension API operates on the assuption that your application knows the geometry itself, to display or modify it. Hence, queries only return the ID of each geometry instead of the full geofence geometries, to reduce network traffic and increase the speed of the device and service.

To support a simple display in devices and asset manager centers, the API can optionally return the relevant fragments of the geometry – the part that is within the search radius. However, this may cause excessive load. To manage load efficiently, applications should cache the geometry piece of recently displayed geometries and only resend a query requesting for geometry fragments if:
  • a non-cached geometry ID is returned
  • the asset has moved around a lot since the last cached geometry fragment