One to One relationship between GeoFence and GeoEvent

2907
1
04-29-2015 09:18 AM
UndralBatsukh
Esri Regular Contributor

Hi there,

We am trying to create a GeoEvent service where GeoEvents (moving points) have one to one relationship with GeoFences.  We only want to get notified when let’s say vehicle A enters GeoFence A. We don’t need to know about where other vehicles (like C, D, F) enter geoFence A.  Basically, we are looking for a way to have one to one relationship between the GeoEvents and GeoFences. Currently, we are creating a new incident detector for each of this unique combination. But it seems like an inefficient way to do it especially if you have so many combinations. Is there a way to do it more efficiently? Is it possible to compare field values from two different GeoEvent definitions? In our case, our GeoFence and GeoEvent definitions have fields that contain same values.  I hope this @makes sense.  Thank you. 

Tags (1)
0 Kudos
1 Reply
RJSunderman
Esri Regular Contributor

Hello Undral –

I believe the functionality you are looking for is an enhancement being introduced in the 10.3.1 product.

Let’s say you design a GeoEvent Service with a filter as illustrated below:

In this example the GeoFence category is still specified as a constant String, AdminAreas. But the GeoFence name is dynamic: ${TrackID}. Notice the required decoration around the value indicating to GeoEvent that TrackID is the name of a field, not a literal string.

In this example, only GeoEvents whose TrackID attribute value matches the name of the GeoFence the event’s Geometry is found to be INSIDE will be allowed through the filter. Rather than a tcp-text-out you would use an output suitable for notification such as Send an Email.

Hope this information helps –

RJ

0 Kudos