Skip to content
RollerReiner Fleet Systems
Workshop index

Give geofence alerts a margin at the gate

Use a yard boundary, a short position trace and an explicit arrival rule to reduce noisy fleet alerts.

A dashed boundary with a margin surrounds a gate where nearby location readings vary.
Editorial illustration.

Draw a box tight to a loading yard and a truck parked beside the gate can appear to leave and return without moving. Its reported position moves across the line. Start with the decision dispatch needs to make. The entrance to the property, the moment a truck reaches the bay and the time it stays there are three different observations.

Place the line where the event means something

A depot next to a public road may be a poor fit for a large circle. A polygon can follow the gate and leave the through lane outside. Give the boundary some breathing room around the place where trucks actually wait. First inspect a day’s position samples from vehicles in the lane and in the yard. GPS accuracy varies with the equipment and surroundings. Structures can block or reflect signals, so a margin that works in an open yard may need a second look beside metal buildings. GPS.gov accuracy factors ยท Traccar geofence geometry

Replay a trace before changing the alert

In a fictional trace, the first two points are outside the yard. The next sits just inside and the fourth returns to the road. Points five and six are both near the loading bay on the inside. A raw boundary event would send two arrivals. A dashboard that confirms arrival using two consecutive inside samples would report one. The one-point crossing remains visible for diagnosis.

The confirmation rule has a cost. If the tracker reports every minute, dispatch waits for another report. A vehicle that only crosses a narrow zone briefly might produce a single point there. Give that use case a different operational label or keep the raw gate event available. A bay stop is a better candidate for confirmation than a quick passage.

Save the trace with the event

For the first week after a change, inspect a handful of recorded arrivals and apparent misses against the raw points and yard logs where available. Separate two buckets. A boundary miss suggests revising the map. A gap in the reports suggests reviewing device coverage before drawing another polygon. Keep the geometry version and the confirmation rule with the review. That record explains why the same depot shows different counts before and after a rule change.