ExAws. Location. Routes. RouteAvoidanceOptions
(ex_aws_location v0.1.0)
Copy Markdown
Specifies options for areas to avoid when calculating the route. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.
Fields
:areas- Areas to be avoided. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:car_shuttle_trains- Avoid car-shuttle-trains while calculating the route. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:controlled_access_highways- Avoid controlled access highways while calculating the route.:dirt_roads- Avoid dirt roads while calculating the route. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:ferries- Avoid ferries while calculating the route.:seasonal_closure- Avoid roads that have seasonal closure while calculating the route. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:toll_roads- Avoids roads where the specified toll transponders are the only mode of payment.:toll_transponders- Avoids roads where the specified toll transponders are the only mode of payment. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:truck_road_types- Truck road type identifiers.BK1throughBK4apply only to Sweden.A2,A4,B2,B4,C,D,ET2,ET4apply only to Mexico. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:tunnels- Avoid tunnels while calculating the route. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:u_turns- Avoid U-turns for calculation on highways and motorways. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.:zone_categories- Zone categories to be avoided. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.
See https://docs.aws.amazon.com/location/latest/APIReference/API_RouteAvoidanceOptions.html
Summary
Types
@type t() :: %ExAws.Location.Routes.RouteAvoidanceOptions{ areas: [ExAws.Location.Routes.RouteAvoidanceArea.t()] | nil, car_shuttle_trains: boolean() | nil, controlled_access_highways: boolean() | nil, dirt_roads: boolean() | nil, ferries: boolean() | nil, seasonal_closure: boolean() | nil, toll_roads: boolean() | nil, toll_transponders: boolean() | nil, truck_road_types: [String.t()] | nil, tunnels: boolean() | nil, u_turns: boolean() | nil, zone_categories: [ExAws.Location.Routes.RouteAvoidanceZoneCategory.t()] | nil }