What geofencing is and how fleets use it
What is geofencing: a virtual boundary the platform checks vehicle positions against, to alert on entry, exit and long stays. How it works, zone shapes and kinds, the limits of its accuracy and what to ask a provider.
Key points
- A zone is held on the platform, not in the tracker. The verdict on entry or exit comes from the positions the tracker sends over the mobile network.
- A geofence measures three events: entry, exit and long stay, and adds presence outside permitted hours.
- A circle suits a single-structure site; a polygon suits an irregular yard or compound. The smallest useful zone is larger than the position error in that place.
- A moving vehicle is caught at the first record after the crossing. Records come every 30 seconds and on every 30 degree turn.
- Test a zone on the past days' movement before it fires alerts nobody acts on.
A geofence is a virtual boundary drawn on a map around a place: a depot, a customer's site or an area vehicles must keep out of. The platform compares every position a tracker sends with that boundary and records an event when a vehicle enters, leaves or stays longer than allowed.
| Zone kind | What it marks | The usual rule | The decision |
|---|---|---|---|
| Depot | The account's base | Entry and exit, presence outside working hours | Set the permitted days and hours, and start with a radius wider than the gate |
| Customer site | A customer's building or yard | Entry, long stay | Set the stay limit to the site's usual service time |
| Work site | A project or plant vehicles work at | Entry and exit, a speed limit | Draw a polygon along the site's boundary and set a speed limit inside it |
| Restricted area | A place vehicles must keep out of | Every presence unauthorised | Leave it without a permitted schedule, and name a recipient who acts at once |
| Workshop | Where vehicles are serviced | Entry, long stay | Compare the stay with the agreed repair time |
| Fuel station | A station vehicles fill up at | Usually no alert rule | A fuel-level drop inside it is not read as suspected, so mark only the stations you use |
What geofencing is and how it works
Geofencing runs on the platform, not in the device. A tracker does not carry the zones; it sends its position, and the platform decides whether that position is inside one. The check therefore depends on the device's mobile connection, not on the satellite signal alone. The steps run like this in geofencing on the PING platform:
- You draw the zone on the map, name it and set its kind.
- The tracker records the vehicle's position and sends it to the platform over the mobile network.
- The platform compares each position with the zones and works out whether the vehicle entered, left or stayed.
- The rule tied to the zone opens an alert, which reaches the recipients you set for it.
Alerts arrive on WhatsApp, SMS, email and push in the fleet app, and appear in the console, as the alert rules guide shows.
What a geofence measures: entry, exit and stay
Every rule rests on one question: is the vehicle inside the zone now? Four kinds of alert follow from the answer:
- Entry: a vehicle reaches a customer site or a depot. It confirms arrival and starts the service clock.
- Exit: a vehicle leaves the zone. It shows the departure time, or a vehicle leaving a permitted area.
- Long stay: the time inside passes a limit you set for the zone. The ready rule starts at one hour, and you change it per zone.
- Presence outside permitted times: you set the days and hours a zone is allowed, and presence outside them is a violation. With no schedule, any presence is unauthorised, which is what a restricted zone needs.
An entry or exit alert has no hold time, and at least five minutes separate two alerts for one vehicle in the same zone.
Circle or polygon: choosing a zone's shape
The platform takes a circle with a radius of 10 m to 50 km, or a polygon of any shape. The choice between them is practical:
- Circle: a point and a radius. It suits a depot gate, a station or a single-structure site.
- Polygon: a boundary with the corners you choose. It suits an irregular yard, a long industrial compound or an area that follows a street's edge.
Choose the polygon when a circle would cover surrounding streets or buildings you do not care about, and alerts would fire for passing vehicles.
Position accuracy sets the smallest useful zone
The GPS.gov accuracy page states that user accuracy depends on satellite geometry, signal blockage, atmospheric conditions and receiver design and quality. It reports that smartphones are typically accurate to within about 4.9 m under open sky, and that accuracy worsens near buildings, bridges and trees.
A vehicle's position is therefore a point inside an error margin. A boundary running along a building's door will show a standing vehicle inside at one moment and outside the next. What is GPS tracking covers the limits of accuracy.
- Do not draw a zone the size of the building. Leave a margin larger than the error expected in that place.
- In dense districts and covered car parks, widen the zone, or rely on a stay of set length instead of an alert at the first touch of the boundary.
- Leave a gap between neighbouring zones larger than the error, so a standing vehicle does not seem to move from one to the other.
When a crossing is detected: the effect of the recording interval
The platform judges from the records it receives, so a moving vehicle is caught at the first record after the crossing. On the approved profiles of the FMC vehicle trackers:
- Moving: a record every 30 seconds, and a record on every 30 degree turn.
- Parked: a position is recorded every 10 minutes and sent hourly, and an event record is sent at once.
At 80 km/h a vehicle covers about 670 m between two consecutive records, so it can cross a zone with a 50 m radius without a record landing inside it. A small zone therefore suits a site where the vehicle stops, not a street it drives through.
How fleets use zones
Fleets draw zones of six kinds, and each kind's use decides the rule to attach:
- Depot: departure and return times, vehicles present outside working hours, and stays longer than usual.
- Customer site: arrival. A stop in a dispatch job counts as arrived when the vehicle comes within its radius, and the driver closes it with proof of delivery, as in the dispatch guide.
- Restricted area: any entry is an alert, with a rule that has no permitted schedule.
- Zone speed limit: a work site or yard with a 30 km/h limit, for example, which overrides the vehicle's limit and the default.
- Workshop: how long a vehicle stays, from entry to exit.
- Fuel station: a fuel-level drop with the vehicle standing and the engine off, outside every fuel zone, is read as a suspected drop, as in preventing fuel theft.
Test a rule on the past days' movement
For each zone the console shows its visits over the last 30 days and replays its rule on the movement of those days. It reports the alerts per week, marks a noisy zone and lists sample visits.
Start with one zone of each kind and review its output for a week. A zone that raises dozens of alerts a week needs a longer stay or a wider size, not more recipients.
The limits of geofencing
A geofence has limits you should know before building a decision on it:
- Accuracy: a position is a point inside an error margin, so a zone narrower than it is not relied on.
- Recording interval: a crossing is caught at the first record after it, not at the moment of crossing.
- Connection: a device cut off from the network sends no positions, so no entry or exit is raised for it. An offline alert follows after two hours.
- An alert does not act: the geofence reports, and a person or a separate action such as the remote engine cut-off acts, under its own conditions.
What to ask a provider
Ask the provider before contracting:
- How accurate is the device's position, what is the recording interval while moving and parked, and is it set per vehicle?
- Are zones circles and polygons, and what are the minimum and maximum sizes?
- How do I set a recipient and a stay limit per zone, and can I apply a rule to a group of vehicles?
- Can I see what a rule would have raised on past movement before I adopt it?
- How do I import my existing sites, and how do I export visits and times of stay?
- What happens when a device drops off the network, and who is told? The other selection questions are in types of vehicle trackers.
A periodic review of geofence zones
- Every zone has a name and a kind that show its purpose: depot, customer site, work site, restricted area, workshop or fuel station.
- Every zone is larger than the position error in its place, with a gap between neighbouring zones.
- Every zone has at least one rule, and every rule a recipient who knows what to do with the alert.
- The long-stay limit of each zone matches the usual service time there.
- Restricted zones and zones with permitted hours have a schedule, or a rule that treats any presence as unauthorised.
- Each zone's alerts per week were reviewed on the last 30 days of movement, and the noisy ones adjusted.
- Zones for new sites are added when the site opens, and closed sites' zones are deleted.
Questions
Is geofencing the same as route adherence?
No. A geofence marks a place and reports crossings into and out of it. Following a route checks a path between points, which is a different test from presence inside an area.
How accurate is a geofence?
It is the accuracy of the device's position. The GPS.gov page states that smartphones are typically accurate to within about 4.9 m under open sky, and that accuracy worsens near buildings, bridges and trees. Draw the zone wider than the error expected at its location.
Must the vehicle be moving for its entry to be caught?
It need not be, but the verdict depends on a position record reaching the platform. A parked vehicle's regular record is sent hourly on the approved profiles, and its entry or exit is caught at the first movement record.
Can zone alerts apply to part of the fleet?
Yes. A rule applies to the whole account, a vehicle group or a single vehicle. Keep general rules on the account and the stricter ones on the groups that need them.
Can our existing sites be loaded in bulk?
Yes. Zones can be created through the API as GeoJSON circles or polygons, or from a WhatsApp message to the AI assistant.
Can a zone carry its own speed limit?
Yes. Each zone has its own speed limit. It overrides the vehicle's limit, which in turn overrides the rule's default of 120 km/h.
To set the rules tied to zones and who receives their alerts, see the guide to configuring alert rules. For a device recommendation for your vehicles or a quote, contact PING.