Aerial view of a logistics park with a glowing polygon geofence
← Back to News

How to Set Geofences That Actually Work: 5 Rules and Parameter Tips

Published 2026-11-11 · 8 min read · Platform Selection

Geofencing is the most underrated feature in a GPS platform. Many companies are drowning in alerts within the first week: a vehicle merely passes on the road beside the site and the system reports "entered"; a driver queues at the gate for 20 minutes and the system repeatedly reports "left". Eventually the administrator turns alerts off — and the fence exists in name only.

The problem is usually not device accuracy but the fence's geometry and trigger logic. The five rules below come from fleet-management practice and published fence-configuration guidance, and they remove most false alerts.

1. Shape: a circle is convenient, a polygon is accurate

A circular fence is the fastest to draw, but it also encloses areas you do not want to manage. A circle with a 200-metre radius easily covers the adjacent road, a neighbouring plant or a customer car park, producing "alert on passing by".

The test is simple: if a normal vehicle route runs within 50 metres outside the fence boundary, switch to a polygon. For irregular sites such as parks, warehouses, fuel stations and loading docks, draw a polygon along the wall or fence line and false alerts drop noticeably.

Start slightly larger than the building outline: too small and you miss genuine arrivals (vehicles parked at the edge or waiting in a buffer), too large and unrelated areas get included.

2. Buffer and hysteresis: use different thresholds for entry and exit

GPS positions drift normally, and even a stationary vehicle's reported point jumps within a few metres. If entry and exit share the same boundary, a vehicle parked on the line will repeatedly trigger "enter–leave".

The fix is a hysteresis band: entry uses an inner threshold, exit uses an outer threshold, with 20–50 metres between them.

ParameterSuggested valueNotes
Nominal fence radius200 mDrawn to the actual site
Entry trigger≤ 180 mConfirms the vehicle is inside
Exit trigger≥ 220 mConfirms departure, avoids boundary jitter
Hysteresis band width20–50 mAdjust to positioning accuracy and site conditions
Rule of thumb: urban positioning error is typically 5–15 metres and better in the suburbs. Never make the hysteresis band smaller than the drift you actually observe, or the hysteresis does nothing.

3. Dwell time: a single boundary crossing does not count

The most effective noise reduction is adding dwell time. Instead of "alert the moment the boundary is crossed", the rule becomes "alert only after the vehicle has stayed inside or outside for N minutes". Published fence guidance generally suggests 3–10 minutes, depending on the business:

· Site entry and exit: 3–5 minutes — filters passing traffic without delaying gate confirmation
· Loading docks: 8–10 minutes — prevents queuing vehicles being judged as "not unloaded"
· Restricted zones: 0–1 minute — safety alerts should be sensitive, but pair them with human review

4. Time windows and shifts: only manage when management is needed

The same area can be a normal working zone by day and a no-parking zone at night. If a fence is active 24 hours, shift handovers and ad-hoc dispatch all become alerts.

Bind each fence to an active time window and a vehicle group: trigger only for on-duty vehicles, only during working hours, only for specific task types. This cuts noise and makes alerts explainable — "this vehicle entered a restricted zone outside working hours" is far more useful than "boundary crossed".

5. Graded alerts: different events, different channels

Event typeUrgencySuggested channel
SOS / collisionHighPhone call + app push + duty screen
Restricted-zone intrusionHighApp push + SMS
Normal site entry and exitLowRecord only, daily summary
Over-dwellMediumApp push, escalate after 30 minutes

Putting every event into the same alert channel is the same as having no alerts. Once graded, duty staff actually read the high-priority ones.

Checks before going live

Do not enable a new fence across the whole fleet. Run it on 5–10 vehicles for a week and collect three metrics: false alerts, missed alerts and average confirmation time. If the false-alert rate exceeds 10%, check shape and hysteresis before blaming the hardware.

Two other common traps: the fence and the map's coordinate system do not match, producing a systematic offset; and the platform judges status from "the last point", so a missing point is misread. The first requires verifying the base map's coordinate system; for the second, the platform should suspend judgement when missing points exceed a threshold rather than immediately declaring "left".

The GPSAI platform supports circular and polygon fences, separate entry/exit thresholds, dwell time and time-window conditions, with graded alerts configurable per vehicle group. If your current fences have been "switched off", the feature is usually not missing — the parameters are simply not tuned.

← Back to News