Geofencing in logistics defines virtual geographic perimeters tied to sites — plants, DCs, customers, yards — that generate automatic events when a GPS (satellite location) asset enters, dwells, or exits. It is the foundation for appointments, OTIF on-time, detention, and deviation alerts.

The carrier swears arrival at 10:00. The DC says 10:42. The GPS PDF shows a pin 1.2 km away. Without gate/dock geofences, both can be “right.” It lives in the fleet management cluster with GPS and telematics.

enter / exit / dwell
Event
typical appointment tolerance
±30 min
gate ≠ dock
2 fences
coverage target (calibrate)
≥95%

What geofencing is (usable answer)

It is not “a pretty circle on the vendor map.” It is an operating contract: site name, shape (circle or polygon), radius or vertices, and the business event it fires (T−45 alert, gate arrival, at dock, departure).

Without wiring to the trip ID in the transportation management system (TMS), the geofence stays in the GPS portal and your OTIF board keeps fighting illegible tickets.

Geofence layers: approach, gate, dock

Design distinct layers. One huge fence inflates “on time” and starts detention fights.

Approach (5–8 km)

Typical radius / shape: Wide circle

Business event: T−45 / late risk

OTIF use: Preventive alert

Gate

Typical radius / shape: 80–200 m or polygon

Business event: Arrived site

OTIF use: On time if SLA says so

Dock

Typical radius / shape: 30–80 m or polygon

Business event: At dock / unload

OTIF use: Strict on time + detention

Yard

Typical radius / shape: Irregular polygon

Business event: Waiting

OTIF use: Detention exclusions

Customer store

Typical radius / shape: 50–120 m

Business event: Delivery window

OTIF use: Last mile

Name fences the same as the SLA. Two clear events beat one ambiguous one.
Control tower acting on geofence and appointment alerts
A geofence with no alert owner is a timestamp nobody uses at 2 a.m.

Practical design at Mexico sites

Large DCs (Perinorte, FIDENA, Bajío parks): use polygons, not circles. Circles swallow avenues and mark false arrived while 25 minutes of queue remain.

Appointment tolerance: combine geofence timestamp ± SLA minutes (e.g. ±30). Without both, the number is not defensible to the retailer. Cross with delivery window and detention.

GPS vendor criteria (API vs mirror account, coverage) live in the 2026 comparison — no invented single winner.

Why it matters by role

RoleWhat they gainIf the fence is theater
Tower / trafficActionable T−2h alertRetrospective dashboard only
DC / customerDefensible appointment clockMinute disputes
CarrierDetention defenseTicket vs pin 1 km away
Accounts payableTimestamp in trip filePays accessorials blind

Implement operable geofencing in 5 steps

Prioritize sites for 80% of volume. Calibrate two weeks before celebrating the KPI.

  1. Inventory sites

    Top 80% volume

  2. Gate and dock

    Two events

  3. Wire to trip

    TMS, not portal

  4. Pilot calibrate

    False +/-

  5. Alerts + detention

    Owner acts

Critical sites first; then scale the full map.

Myths and expensive mistakes

Elige un paso para ver el detalle

Detalle del paso · 01

“Carrier GPS is enough”

Different rules = non-comparable scorecard
What breaks OTIF and detention.

OCL and the trip file

OCL Cargo is an autonomous TMS: it consumes geofence events for early alerts, detention, and on-time evidence without depending on chat. It does not draw your polygons or replace your FMS. When applicable, it can stamp invoices and Carta Porte; it audits the trip file. Pattern 5–7% when auditing 100% of freight — calibrate to your operation.

Key takeaways6 points
  1. Geofencing = a virtual GPS perimeter that fires enter/exit events: plant, dock, customer.
  2. Without a dock geofence, “on time” is neighborhood arrival — useless for a ±30 min appointment.
  3. Use layers: approach (alert), gate (arrival), dock (detention / strict OTIF).
  4. In Mexico: polygons at large DCs; not one huge “Mexico City” fence.
  5. Geofence + appointment in the TMS = auditable clock; WhatsApp is not.
  6. OCL wires events into the trip file. It does not draw your fences. It can stamp invoices and Carta Porte when applicable.

Do you measure on time with a geofence — or with opinions?

In a diagnosis we align gate/dock, SLA, and trip file for defensible OTIF.

Related reading

Frequently asked questions