Hi There,
Currently if a track geometry enters or leaves or otherwise interacts with a GeoFence the output incident geoevent definition only includes the trackId of the geometry, but no way to know which GeoFence the track intersected. It would be great, and only a small change to include the name of the GeoFence as well. I think this is sort of discussed here: https://geonet.esri.com/thread/90928#comment-445058 and it appears to be difficult at present.
Current incident schema:
{"type": "FeatureCollection", "features": [{
"type" : "Feature",
"geometry" : {
"type" : "Point",
"coordinates" : [ 174.805307, -41.23765 ],
"crs" : {
"type" : "name",
"properties" : {
"name" : "EPSG:4326"
}
}
},
"properties" : {
"id" : "1aea19ed-a853-42a0-90bc-142737ed6528",
"name" : "Vehicle has entered a depot",
"type" : "Cumulative",
"status" : "Started",
"alertType" : "Notification",
"openCondition" : "(ENTER_ANY (200mBuffer/.*))",
"closeCondition" : "NOT((ENTER_ANY (200mBuffer/.*)))",
"description" : "Started at 3/08/16 9:32 AM",
"timestamp" : 1470173555000,
"definitionName" : "input-rest-xml-eroads",
"definitionOwner" : "mgraham",
"trackId" : "BZG123 Truck",
"duration" : 0,
"dismissed" : false,
"assignedTo" : "",
"note" : ""
}
}
I'd love to see:
...
"definitionName" : "input-rest-xml-eroads",
"definitionOwner" : "mgraham",
"trackId" : "BZG123 Truck",
"geoFence" : "Auckland Depot 1"
"duration" : 0,
...
RJ Sunderman GeoEvent Team