A.2 Geofencing

The optimiser can be restricted to only consider orders and vehicles that are located within a specific geographic area. This area is called a geofence. It takes the form of a bounding box that is defined by the latitudes of its southern and northern boundaries, and by the longitudes of its western and eastern boundaries.

The geofence can operate in one of two modes: hard or soft.

In hard mode, the optimiser will report an error for orders that have pickup or delivery locations outside the geofence. It will also report an error for a vehicle that has start or finish locations outside the geofence. In the event of such errors being detected, optimisation will not proceed.

In soft mode, the optimiser will not assign an order whose pickup or delivery location is outside the geofence. It will not use a vehicle whose start or finish location is outside the geofence. In this mode, optimisation will proceed using only those orders and vehicles that are within the geofence.

The geocoder can be configured with the same geofence as the optimiser. It will report an error for locations outside the geofence.

The geocoder also has an additional geofence that is defined by the map data that the instance of DTO is configured to use. For example, if the DTO instance is set up to use Australian map data then locations that lie outside of Australia are flagged with an error.