Hello,
I am currently trying to build a fairly simple GeoEvent Service using our truck's AVL to flag whenever a truck is entering or exiting a service center.
However, the Exit Any and Enter Any logics are not flagging correctly. When the truck enters the GeoFence's polygon it does not flag an Enter Any, likewise when it leaves the polygon.
I set up a test for it this time just using the logic "Inside Any" and got these results, so I know that it is correctly noticing when the truck is inside the polygon's geometry. This is the result when I used the new Event log tracker tool inside the service:
{
"GED_Name": "AVL_GeoTagged_ServiceCenter",
"displayname": "v1234",
"equipmenttype": "test 1",
"exit_center": "Pole Yard",
"timestamp": "null",
"heading": "90.0",
"uniqueid": "ca1234",
"geometry": "{\"x\":-10255767.1122,\"y\":5913466.291500002,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}}"
}
{
"GED_Name": "AVL_GeoTagged_ServiceCenter",
"displayname": "v1234",
"equipmenttype": "test 1",
"exit_center": "null",
"timestamp": "null",
"heading": "90.0",
"uniqueid": "ca1234",
"geometry": "{\"x\":-10249805.024,\"y\":5895006.749200001,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}}"
}
{
"GED_Name": "AVL_GeoTagged_ServiceCenter",
"displayname": "v1234",
"equipmenttype": "test 1",
"exit_center": "null",
"timestamp": "null",
"heading": "90.0",
"uniqueid": "ca1234",
"geometry": "{\"x\":-10249805.024,\"y\":5895006.749200001,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}}"
}
{
"GED_Name": "AVL_GeoTagged_ServiceCenter",
"displayname": "v1234",
"equipmenttype": "test 1",
"exit_center": "null",
"timestamp": "null",
"heading": "90.0",
"uniqueid": "ca1234",
"geometry": "{\"x\":-10249805.024,\"y\":5895006.749200001,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}}"
}
{
"GED_Name": "AVL_GeoTagged_ServiceCenter",
"displayname": "v1234",
"equipmenttype": "test 1",
"exit_center": "Service Center",
"timestamp": "null",
"heading": "90.0",
"uniqueid": "ca1234",
"geometry": "{\"x\":-10250072.5536,\"y\":5893936.630800001,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}}"
}
When the truck started out, inside of the pole yard, the Geotagger set to Enter Any did correctly geotag the event as inside the pole yard. This makes sense because I have the "
First GeoEvent triggers Enter" set to true. But when it left the pole yard, where the inside any geotag said Null, but the Exit Any processor did not produce an event. Likewise, when the Truck point entered the service center, the inside any correctly tagged it, but the Enter Any did not.
The UniqueID field is set to be my TRACK_ID in the GED, and the log isn't producing any errors, and the server is running fine on memory, so I believe the Cache is working but for some reason, the processor is not working as expected.
Any input or help troubleshooting would be helpful!
Thanks!
Update, I did do some more testing and figured out that if I change the GeoTag processor to create a new field and new GED instead of using an existing field. It does work as intended?