Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

How (travel mode, avoidance, and exclusion)

Focus mode
How (travel mode, avoidance, and exclusion) - Amazon Location Service

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 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

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

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.