Managing GeoFences
A GeoFence is a geometry, most commonly a polygon, used for spatial proximity analysis. For example, an Incident Detector Processor might be configured to detect when the coordinates of a received event are inside or outside a specified set of GeoFences. A GeoTagger Processor might be configured to include the name of a GeoFence and whether an event is discovered to be inside in the event's attribute data.
Administrators can create GeoFences from existing feature datasets (typically polygon feature classes). The following are a few items to remember when working with GeoFences in the GeoEvent Extension:
- Individual GeoFences must have a unique name. When importing GeoFences from a feature service, you will be asked for the field that contains each feature's name; ideally, this should be a string field type.
- GeoFences are organized within named categories. When importing GeoFences from a feature service, you have the option to either specify the field that contains the category name or enter a literal string and import all of the GeoFences into the named category.
- Administrators can rename individual GeoFences or move them into another category by clicking the Edit button to the right of the listed GeoFence in GeoEvent Manager.
- The GeoEvent Extension can update its known set of GeoFences based on the contents of a published feature service. Synchronization with the feature service is conducted periodically based on a refresh interval specified by an administrator; every 15 minutes is the system default.
- GeoFences are included in the configuration of a filter or processor within a GeoEvent Service to support spatial proximity analysis. Examples include spatial filters for filter elements as well as the Incident Detector Processor and GeoTagger Processor.
View available GeoFences by browsing to Site > GeoEvent > GeoFences in GeoEvent Manager.
The Introduction to GeoEvent Extension tutorial contains exercises illustrating how to import GeoFences from a feature dataset and how to configure synchronization so that the GeoEvent Extension will automatically update its GeoFences based on the contents of a published feature service. Access the tutorial from GeoEvent Extension tutorials.