---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.kz/routing/doc/en/vrp/routing-mode.md
  - https://yandex.kz/routing/doc/kk/vrp/routing-mode.md
  - https://yandex.kz/routing/doc/ru/vrp/routing-mode.md
  - href: en/vrp/routing-mode.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
title: RouteQ — properties and options — routing modes
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.kz/routing/doc/en/llms.txt


# 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`.

<!-- source: en/vrp/_includes/values.md -->
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 properties](../../properties-of-vehicles#vehicle-properties).
    
- `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.
<!-- endsource: en/vrp/_includes/values.md -->

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](https://yandex.kz/routing/doc/en/vrp/properties-of-vehicles.md#routing-mode) `vehicle.routing_mode`.

<!-- source: en/vrp/_includes/priority.md -->
{% note info %}

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

{% endnote %}
<!-- endsource: en/vrp/_includes/priority.md -->

**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)](https://courier.yandex.ru/vrs/api/v1/log/request/821db8c8-61eaec13-22c23cc0-7e7fc3ba) ⋅ [API response](https://courier.yandex.ru/vrs/api/v1/result/821db8c8-61eaec13-22c23cc0-7e7fc3ba) ⋅  [View on map](https://yandex.com/courier/mvrp-map#821db8c8-61eaec13-22c23cc0-7e7fc3ba)

{% note info %}

For the built routes, the mileage is specified only for the distances that couriers walk. The distances traveled in public transport are taken into account for optimization purposes, but are not counted in metrics.

{% endnote %}

**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)](https://courier.yandex.ru/vrs/api/v1/log/request/378591de-513421d5-180c6c05-d97e970d) ⋅ [API response](https://courier.yandex.ru/vrs/api/v1/result/378591de-513421d5-180c6c05-d97e970d) ⋅  [View on map](https://yandex.com/courier/mvrp-map#378591de-513421d5-180c6c05-d97e970d)

<!-- source: en/vrp/_includes/feedback.md -->
<a href="feedback">
  <span class="button">Contact support</span>
</a>


<!-- endsource: en/vrp/_includes/feedback.md -->
