Skip to main content
Qargo

CONFIGURATION - Geofencing

Geofencing auto-detects vehicle arrivals/departures via virtual boundaries, improving ETA accuracy, stop updates & reducing manual input.

Table of contents
  1. What is Geofencing?
  2. Benefits of Geofencing
  3. How does Qargo use Geofencing?
  4. Configuration
  5. Autocompleting stops
  6. Polygon geofences: follow the outline of a site
  7. Limitations

What is Geofencing?

Geofencing is a feature that automatically detects when vehicles enter or exit defined geographical areas around locations.⁠⁠ It creates virtual boundaries (typically circular areas with customisable radius) around stop locations to provide more accurate arrival and departure timestamps without relying solely on driver input.

Benefits of Geofencing

  • More reliable stop updates
  • Improve accuracy of stop arrival & departure by using autocomplete
  • Improved ETA calculations
  • Less manual updates
  • Fewer calls between driver / office to update on arrivals

How does Qargo use Geofencing?

  • Geofences trigger “Arrived at location” and “Departed at location”.

  • Geofences are defined by a circle radius around the location

    • This is defined on the tenant and on the location.
  • The stop is completed when the geofence associated to the location is triggered.

  • Once the stop is completed (green) Qargo logs the events and the times are recorded

Configuration

On the tenant level the following values can be configured for geofencing

  • Enable geofencing for resources: this makes it possible to define which types of resources should have geofencing enabled or disabled.
  • Update stop times based on geofence: Automatic completion of the stop once the enabled resource ‘triggers’ the geofence radius.
  • Default geofence location radius (meter): this defines how large the geofencing area should be by default. It is possible to override this on location level as well.

  • Locations - a radius can be defined that will override the radius defined on tenant level.

  • Click ‘Customise’ button to enable column in the Stops view

View Geofence times in the STOPS VIEW

Autocompleting stops

  • Trip must be completely dispatched to Driver

  • Automatically complete arrival and departure stops based on geofenced areas

  • Mobile app is only supported when used along with a Telematics system

  • Previous stop must be completed prior to the autocomplete stop

    • If previous stop was not successfully completed, geofence times still captured, but stop is not completed.
  • If autocomplete geofencing is used to depart stop, stop is marked complete

    • In mobile app, question path will not be show to the driver automatically
    • Driver can still update the information for the completed stop

Arrival at stop

  • Driver enters geofence area arrival is automatically completed

    • If using mobile app, the ‘Arrive’ stop is completed
    • Date / Time stamp for arrival is logged
    • If no arrival detected from geofence, driver must manually arrive to complete task

Departure from stop

  • Depart from stop completed when leaving location and passing through geofence

    • If using mobile app, driver will typically already complete the ‘Depart’ stop, in which case geofence is retained as ‘backup’.

Polygon geofences: follow the outline of a site

As mentioned above, geofencing records when a vehicle arrives at and leaves a stop, and it can complete the stop automatically. By default, the geofence is a circle around the stop’s location.

On large or irregular sites, such as a port terminal, a circle also covers nearby roads and neighbouring sites. Passing traffic can then complete a stop, or complete it at the wrong site. A polygon geofence follows the outline of the site instead.

Each location has one geofence: a single closed shape, with no holes and no separate areas. If customers share a location, they also share its geofence.

Polygon geofence: draw, change or remove

  1. OPEN the location under Locations > Locations.
  2. LOCATE the Geofencing section.
  3. SELECT Polygon in the Geofence shape field. Trigger radius (meter) is greyed out.
  4. CLICK the map to place each corner of the outline, then double-click to finish. The outline turns red and the Adjust geofence button appears above the map. Geofences of neighbouring locations are not shown while drawing.
  5. SAVE the location.

To change it, click Adjust geofence and draw it again, because corners cannot be dragged. To keep the saved outline, click Cancel.

After you save, the route map in Trip detail and Order detail shows the polygon geofence (the red outline) around every stop at this location.

To go back to a circle, select Circle, enter a radius in Trigger radius (meter) and save. To reset, clear the Geofence shape field with its x and save.

Location import: geofence columns

The location import file has two optional geofence columns. Fill in one of them per location to set a circle or an outline.

Column What to enter
geofence_radius_meters Radius of the circle around the location, in metres.
geofence_polygon Outline of the site, written as POLYGON((longitude latitude, longitude latitude, …)).

Example of a geofence_polygon value:
POLYGON((4.4800 51.0250, 4.4860 51.0250, 4.4860 51.0262, 4.4830 51.0262, 4.4830 51.0280, 4.4800 51.0280, 4.4800 51.0250))

Import rules: what to know

  • Closed outline: repeat the first corner at the end. The closing corner does not count towards the maximum of 40 corners.
  • Checks: the import applies the same checks as the location screen. The outline needs 3 to 40 corners, edges that do not cross or touch, and the location pin inside.
  • One outline: a location has one outline, with no holes and no second area.
  • One shape per row: a row with both columns filled fails with an error on that row.
  • Empty cells: an empty cell leaves the saved geofence unchanged.
  • Changing shape: a filled cell switches the location to that shape. The saved shape of the other kind stays stored. A radius on a location with an outline makes it a circle. Switching back to Polygon restores the outline.
  • Export: the export writes the same values under translated column labels, for the active shape only. An exported file cannot be imported back unchanged.

Limitations

  • The autocomplete will only work if the previous stops were successfully completed.

    • If the previous stop was not successfully completed, the geofencing times will still be captured but the the arrival/departure will not be autocompleted.
  • If the autocomplete geofencing is used for departing from a stop, the stop will be marked as completed.

    • If using the mobile app, question paths will not be shown to the driver
    • Driver can manually go back to the completed stop to fill in the question paths.