Open iwpnd opened 3 years ago
Hi, I can certainly see a value in having geofence updates trigger the detection system. But right now, only changes to objects will send notifications, not the other way around.
thank you for getting back to me on this.
I'm not entirely sure if we talk about the same thing, so when in doubt that might be my fault. I picturing like the following:
In this scenario geofences are subject to change on a regular basis. I set them up to with DETECT enter,exit
because because inside,outside
would be causing to much traffic. A vehicle enters a geofence and the fence triggers enter
correctly. Now while the vehicle is in the geofence, constantly sending updates, the geofence shrinks but the vehicle does not change position, just sends the same one over and over. Would you not expect this to trigger an exit
event, when the underlying fence shrinks in this scenario?
Hi! 👋
Describe the bug (?) I create a
setchan
on a warehouse, andset
a point into it I receive anenter,inside
event. If I now shrink the polygon of that warehouse and set the point with the same coordinates again, I receive anoutside
event, where I would expect anexit
event. On the other hand, if I change the polygon to it's original size, I receive aninside
event, while I would expect anenter
event. If at this state I create the point outside, I receive anexit
To Reproduce create a warehouse
set point inside
shrink warehouse
set point inside again
Expected behavior On shrinking a hook/chan I would expect an
exit
event for vehicles that were previously inside the bigger version of it. Vice versa: If I start with a smaller polygon and set a point outside, I get anoutside
event. On expanding the hook/chan I would expect anenter
event for vehicles that were previouslyoutside
the smaller version of it, but I receive aninside
event.What do you think about that?