Class: Aws::GeoRoutes::Types::IsolineAvoidanceOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::IsolineAvoidanceOptions
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Specifies features of the road network to avoid when calculating reachable areas. These preferences guide route calculations but may be overridden when no reasonable alternative exists. For example, if avoiding toll roads would make an area unreachable, toll roads may still be used.
Avoidance options include physical features (like ferries and tunnels), road characteristics (like dirt roads and highways), and regulated areas (like congestion zones). They can be combined to match specific routing needs, such as avoiding both toll roads and ferries.
Constant Summary collapse
- SENSITIVE =
[:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns]
Instance Attribute Summary collapse
-
#areas ⇒ Array<Types::IsolineAvoidanceArea>
Specifies geographic areas to avoid where possible.
-
#car_shuttle_trains ⇒ Boolean
Indicates a preference to avoid car shuttle trains (auto trains) where possible.
-
#controlled_access_highways ⇒ Boolean
Indicates a preference to avoid controlled-access highways (such as interstate highways or motorways) where possible.
-
#dirt_roads ⇒ Boolean
Indicates a preference to avoid unpaved or dirt roads where possible.
-
#ferries ⇒ Boolean
Indicates a preference to avoid ferries where possible.
-
#seasonal_closure ⇒ Boolean
Indicates a preference to avoid roads that may be subject to seasonal closures where possible.
-
#toll_roads ⇒ Boolean
Indicates a preference to avoid toll roads where possible.
-
#toll_transponders ⇒ Boolean
Indicates a preference to avoid roads that require electronic toll collection transponders where possible.
-
#truck_road_types ⇒ Array<String>
For truck travel modes, indicates specific road classification types in Sweden (
BK1throughBK4) and Mexico (A2, A4, B2, B4, C, D, ET2, ET4) to avoid where possible. -
#tunnels ⇒ Boolean
Indicates a preference to avoid tunnels where possible.
-
#u_turns ⇒ Boolean
Indicates a preference to avoid U-turns where possible.
-
#zone_categories ⇒ Array<Types::IsolineAvoidanceZoneCategory>
Indicates types of regulated zones (such as congestion pricing or environmental zones) to avoid where possible.
Instance Attribute Details
#areas ⇒ Array<Types::IsolineAvoidanceArea>
Specifies geographic areas to avoid where possible. Routes may still pass through these areas if no reasonable alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#car_shuttle_trains ⇒ Boolean
Indicates a preference to avoid car shuttle trains (auto trains) where possible. These may still be included if no reasonable alternative route exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#controlled_access_highways ⇒ Boolean
Indicates a preference to avoid controlled-access highways (such as interstate highways or motorways) where possible. If a viable route cannot be calculated using only local roads, controlled-access highways may still be included.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#dirt_roads ⇒ Boolean
Indicates a preference to avoid unpaved or dirt roads where possible. Routes may still include dirt roads if no reasonable paved alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#ferries ⇒ Boolean
Indicates a preference to avoid ferries where possible. If a viable route cannot be calculated without using ferries, they may still be included.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#seasonal_closure ⇒ Boolean
Indicates a preference to avoid roads that may be subject to seasonal closures where possible. These roads may still be included if no reasonable year-round alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#toll_roads ⇒ Boolean
Indicates a preference to avoid toll roads where possible. If a viable route cannot be calculated without using toll roads, they may still be included.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#toll_transponders ⇒ Boolean
Indicates a preference to avoid roads that require electronic toll collection transponders where possible. These roads may still be included if no viable alternative route exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#truck_road_types ⇒ Array<String>
For truck travel modes, indicates specific road classification types
in Sweden (BK1 through BK4) and Mexico (A2, A4, B2, B4, C, D,
ET2, ET4) to avoid where possible. These road types may still be
used if no reasonable alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#tunnels ⇒ Boolean
Indicates a preference to avoid tunnels where possible. If a viable route cannot be calculated without using tunnels, they may still be included.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#u_turns ⇒ Boolean
Indicates a preference to avoid U-turns where possible. U-turns may still be included if necessary to reach certain areas or when no reasonable alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |
#zone_categories ⇒ Array<Types::IsolineAvoidanceZoneCategory>
Indicates types of regulated zones (such as congestion pricing or environmental zones) to avoid where possible. Routes may still pass through these zones if no reasonable alternative exists.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1160 class IsolineAvoidanceOptions < Struct.new( :areas, :car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns, :zone_categories) SENSITIVE = [:car_shuttle_trains, :controlled_access_highways, :dirt_roads, :ferries, :seasonal_closure, :toll_roads, :toll_transponders, :truck_road_types, :tunnels, :u_turns] include Aws::Structure end |