Logistics · Shipping clerk · 5 minutes

Driver Routes

Build a multi-stop route for the in-house driver, view on the map, dispatch.

When to use this

Your own driver is doing 3+ deliveries in one trip. You want them to take the shortest route and you want real-time GPS tracking.

Menu: Plating → Logistics → Routes — or Field Service → Map View for the live view.

Fusion Plating uses the forked fusion_tasks module for local delivery dispatch. Maps are powered by self-hosted OSRM + Nominatim (no Google Maps fees), running on LXC 112 at pve-worker6.

Building a route

Click + New Route:

Field What to set
Route Date Day of the trip
Driver Field service tech
Vehicle Van / truck record
Start Depot Usually the shop
End Depot Shop (round trip) or last stop

Then add stops. Each stop is a delivery or pickup:

  1. Click Add Stop.
  2. Pick the delivery from the dropdown (only Scheduled deliveries show).
  3. Enter estimated duration at stop (10 min typical, 30 for signature-required, etc.).
  4. Save.

Optimize the route

Click Optimize — OSRM computes the fastest order for the stops and writes the new sequence back to the route. Manual override: drag-reorder the stops in the list.

The map view shows:

  • The full route as a polyline
  • Stop markers numbered in order
  • Total distance + ETA at each stop

Dispatch

Click Dispatch:

  1. Route transitions to Active
  2. Driver receives the route on their tablet via fusion_tasks
  3. GPS breadcrumbs start logging to fusion.technician.location
  4. Each stop can be marked complete (with POD capture) from the tablet

Live tracking

Field Service → Map View shows all active drivers in real time. Click a driver pin to see:

  • Current location + heading
  • Next stop + ETA
  • Stops completed today
  • Stops remaining

Wrapping up

When the driver hits the last stop, they click End Route on the tablet. Route transitions to Completed. A summary PDF captures:

  • Planned vs actual times per stop
  • Total distance + driving hours
  • POD signatures
  • Any notes/photos from the driver

What can go wrong

OSRM returns no route

The OSRM server might be down. Check http://osrm.nexasystems.ca/health — if red, fall back to manual stop ordering using Google Maps in a browser tab.

Driver stuck at a stop

Loading dock queue, customer not answering, etc. Driver updates the stop note, keeps GPS logging. You can re-assign the remaining stops to another driver from the map view.

Vehicle breakdown

Mark the route Paused, create a new route for the remaining stops on a different vehicle, mark the old route Cancelled once stops are re-assigned.

Stop out-of-range

Customer address doesn't geocode. Open the customer, fix the address (postal code alone often works for geocoding), save, re-add the stop.