Transportation method

When building a route, RouteQ uses default routing for couriers traveling by car or truck. However, couriers often use other means of transportation, such as public transport. In other situations, keep in mind that different routes may be optimal for couriers in trucks and passenger vehicles.

You can select the couriers' mode of transportation using the parameter options.routing_mode.

Possible values:

  • driving: The default method, routing for vehicles whose load capacity is less than 2.5 tons.

  • truck: Routing for trucks whose default load capacity starts at 2.5 tons. You can specify additional parameters in vehicle characteristics.

  • walking: A pedestrian route. The route uses only roads that can be walked.

  • transit: A route that includes traveling by public transit and walking from the public transit stop to the delivery location.

The parameter specified this way is used for all vehicles in the task. If the couriers have different delivery methods, you can set them up using the vehicle parameter vehicle.routing_mode.

Note

The vehicle.routing_mode parameter has a higher priority than the options.routing_mode parameter.

Example 1

The example below uses the transit transportation method for all couriers. In the result, couriers deliver orders using public transit with the optimal order allocation.

API request (JSON)API responseView on map

Note

In the routes built, the mileage is specified only for the distances where the courier walks. The distances traveled in public transport are taken into account for optimization purposes, but are not counted in metrics.

Example 2

The example below uses the transit travel method for one courier and the driving method for another courier. Orders are distributed among couriers so that the vehicle delivers to points further away from public transit stops or from each other.

API request (JSON)API responseView on map

Contact support