DEV Community

Cover image for Building Fleet Tracking for Industrial Sites: Events, Geofences and Data Joins
Suraj Informatics
Suraj Informatics

Posted on Originally published at surajinformatics.com

Building Fleet Tracking for Industrial Sites: Events, Geofences and Data Joins

Fleet tracking looks simple from the outside: put a GPS device in a truck and draw dots on a map. In industrial environments, the interesting engineering starts after the dot appears.

Events, not just coordinates

A plant or port cares less about latitude and longitude and more about events: vehicle entered gate 2, stopped at weighbridge 1, idled 18 minutes at bay 4, exited at 14:32. Turning raw GPS pings into these events means:

  • defining geofences as polygons around gates, weighbridges and bays,
  • handling GPS drift (a stationary truck can "move" a few metres every minute),
  • debouncing entry/exit so one wobble at a fence line does not create ten events.

Joining data from different systems

Fleet data becomes useful when it is joined with other sources:

Source Key What it adds
GPS tracker device ID + time position, speed, ignition
Fuel dispenser vehicle ID + time litres issued
Weighbridge number plate + time gross and tare weight
Gate ANPR number plate + time entry and exit stamps

The hard part is identity: the tracker knows a device ID, the gate camera knows a plate, the dispenser knows an RFID tag. A clean vehicle master table that maps all three is the backbone of the system.

Useful derived metrics

fuel_per_km      = litres_issued / km_driven
idle_ratio       = idle_minutes / ignition_on_minutes
site_turnaround  = exit_time - entry_time
Enter fullscreen mode Exit fullscreen mode

Outliers in these three numbers explain most fleet cost problems on industrial sites.

Alerts that people act on

Too many alerts and supervisors ignore them all. Start with three: long idling inside the site, fuel-per-km above the vehicle's own average, and overdue maintenance. Tune thresholds during a pilot before scaling.

For the operational side of this, covering features, weekly KPIs and a rollout plan, read this guide to vehicle fleet management for plants and ports.

Top comments (0)