Skip to main content

Hard compatibility - Zones

When to use

When delivery has to be planned with performers — drivers and vehicles — tied to specific zones (for example, the neighbourhoods they know well). Violations of this rule are not allowed.

Diagram

image

How to implement

  • For each location, put the zone tag into transport_restrictions.
  • For each vehicle, put the tag of its assigned zone into transport_features.

Example

The location where order 1 has to be delivered is tagged petr. The location where order 2 has to be delivered is tagged centr. The matching tags are set for the vehicles.

Planning produces 2 trips: the transport tagged centr completes order #2, and the transport tagged petr delivers order 1.