Whats your point?
Each zone is contained within a minimal rectangle.
We get a point and use these rectangles to determine the desired geofence.
Next, we look for the point to fall into the zone. If you hit it, then this is the entrance.
Next, you need to remember the zone in which the device is located (for example, in a table field with dots). All subsequent points will duplicate this value
And wait for the moment to leave the zone. After exiting, clear this field
So you have an issue with it ?
Yes. It turns out I’m in the zone, but the server doesn’t see it. I immediately get out of it.
The car arrived at the place and immediately left, but in fact it was there
Server sees whatever your device reports.
@Secrieru Victor
Yes, so if you want to investigate why this happens you logicly look at traccar server log and check what the device actually reports by translating the HEX seen in the log from that device at that time.
Sorry. I defined the rectangular area with a line. The zone setting interface is not intuitive.
Since you actually do not reply to the questions asked. I'm Out :)
The entry event is recorded at a position in front of one of the zone boundaries.
The exit event is recorded at the next position in the zone. Further in the zone there are many more points.
What if I make a stop in the zone? I checked positions along the route.
This is a very important point in zone control. I entered the zone in the evening and left in the morning.
Now I moved in and immediately left.
Entering a zone is a transition from an external position to an internal one.
Leaving the zone is a transition from an internal position to an external one.