

# How (travel mode, avoidance, and exclusion)
<a name="concepts-how"></a>

Use the following options to specify the travel mode and related features to use for route calculation.

**Travel mode options**

Specifies the mode of transport when calculating a route. This setting influences the estimated speed of travel, road compatibility, and the potential use of ferries, public transit, or intermodal transport where needed.


| Parameter | Description | Routes | Routes Matrix | Isoline | Optimize Waypoint | Snap To Road | 
| --- | --- | --- | --- | --- | --- | --- | 
| Car | Car travel mode. | Yes, with options | Yes, with options | Yes, with options | Yes | Yes | 
| Scooter | Scooter travel mode. | Yes, with options | Yes | Yes, with options | Yes | Yes | 
| Pedestrian | Walking travel mode. | Yes, with options | Yes | Yes | Yes, with options | Yes | 
| Truck | Truck travel mode. | Yes, with options | Yes, with options | Yes, with options | Yes, with options | Yes, with options | 
| Transit | Public transit travel mode. Calculates routes using public transportation such as buses, subways, and trains. | Yes, with options | No | No | No | No | 
| Intermodal | Intermodal travel mode. Combines multiple transport types such as transit, pedestrian, rental, taxi, and vehicle to calculate intermodal routes. Pedestrian is always enabled. | Yes, with options | No | No | No | No | 

**Avoidance, exclusion, and allow options**

Determines whether a specific set of features should be included, excluded, or avoided during route calculation.


| Parameter | Description | Routes | Routes Matrix | Isoline | Optimize Waypoint | Snap To Road | 
| --- | --- | --- | --- | --- | --- | --- | 
| Avoidance | Features that are avoided on a best-case basis. If the router cannot find a valid route, the avoidance will be ignored, and a notice will indicate that the avoidance could not be honored. | Yes, with options | Yes, with options | Yes, with options | Yes, with options | No | 
| Exclusion | Features that are strictly excluded. If the router cannot find a valid route with the exclusion options, no routes are returned. | Yes, with options | Yes, with options | No | No | No | 
| Allow | Features that need to be explicitly enabled. | Yes, with options | Yes, with options | Yes, with options | Yes, with options | No | 

**List of avoidance**

Lists features that are avoided on a best-case basis. If the router cannot find a valid route, the avoidance will be ignored, and a notice will indicate that the avoidance could not be honored.


| Parameter | Description | Routes | Routes Matrix | Isoline | Optimize Waypoint | Snap To Road | 
| --- | --- | --- | --- | --- | --- | --- | 
| Areas | Areas to be avoided with exceptions. | Yes, with options | Yes, with options | Yes, with options | Yes, with options | No | 
| Controlled Access Highways | High-speed roads with limited entry points. | Yes | Yes | Yes | Yes | No | 
| Car Shuttle Trains | Trains transporting vehicles through tunnels. | Yes | Yes | Yes | No | No | 
| Dirt Roads | Unpaved roads with natural surfaces. | Yes | Yes | Yes | Yes | No | 
| Ferries | Boats carrying vehicles across water bodies | Yes | Yes | Yes | No | No | 
| Boat Ferries | Ferries transporting vehicles on rail tracks. | No | No | Yes | Yes | No | 
| Rail Ferries | Ferries transporting vehicles on rail tracks. | No | No | Yes | Yes | No | 
| Seasonal Closure | Roads closed during certain seasons. | Yes | No | Yes | No | No | 
| Tunnels | Underground passages for vehicular traffic. | Yes | Yes | Yes | Yes | No | 
| Toll Road | Roads requiring payment for access. | Yes | Yes | Yes | Yes | No | 
| Toll Transponders | Avoids roads where toll transponders are the only means of payment. | Yes | No | Yes | No | No | 
| U-Turns | Points allowing vehicles to turn in reverse direction. | Yes | Yes | Yes | Yes | No | 
| Zone Categories | Zone categories to be avoided. | Yes | Yes | Yes | No | No | 

**List of exclusions**

Lists features that are strictly excluded. If the router cannot find a valid route with the exclusion options, no routes are returned.


| Parameter | Description | Routes | Routes Matrix | Isoline | Optimize Waypoint | Snap To Road | 
| --- | --- | --- | --- | --- | --- | --- | 
| Countries | Country Code 2 or Country Code 3 for countries that should be strictly excluded from route calculation. | Yes | Yes | No | Yes | No | 

**List of allow**

Lists features that need to be explicitly enabled for route calculation.


| Parameter | Description | Routes | Routes Matrix | Isoline | Optimize Waypoint | Snap To Road | 
| --- | --- | --- | --- | --- | --- | --- | 
| HOV | Enable use of high occupancy vehicle lanes for route calculation. | Yes | Yes | Yes | No | No | 
| HOT | Enable use of high occupancy toll lanes for route calculation. | Yes | Yes | Yes | No | No | 