Class: Aws::GeoRoutes::Types::IsolineAvoidanceAreaGeometry
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::IsolineAvoidanceAreaGeometry
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Defines an area to avoid during calculations using one of several supported geometry types. The service will prefer routes that avoid these areas when possible.
Constant Summary collapse
- SENSITIVE =
[:bounding_box, :corridor, :polyline_corridor, :polyline_polygon]
Instance Attribute Summary collapse
-
#bounding_box ⇒ Array<Float>
A rectangular area defined by its southwest and northeast corners:
[min longitude, min latitude, max longitude, max latitude]. -
#corridor ⇒ Types::Corridor
A buffer zone around a line, defined by a series of coordinates and a radius in meters.
-
#polygon ⇒ Array<Array<Array<Float>>>
A polygon defined by a list of coordinate rings.
-
#polyline_corridor ⇒ Types::PolylineCorridor
A buffer zone around a compressed polyline, defined by an encoded polyline string and a radius in meters.
-
#polyline_polygon ⇒ Array<String>
A polygon defined by encoded polyline strings.
Instance Attribute Details
#bounding_box ⇒ Array<Float>
A rectangular area defined by its southwest and northeast corners:
[min longitude, min latitude, max longitude, max latitude].
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1060 class IsolineAvoidanceAreaGeometry < Struct.new( :bounding_box, :corridor, :polygon, :polyline_corridor, :polyline_polygon) SENSITIVE = [:bounding_box, :corridor, :polyline_corridor, :polyline_polygon] include Aws::Structure end |
#corridor ⇒ Types::Corridor
A buffer zone around a line, defined by a series of coordinates and a radius in meters.
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1060 class IsolineAvoidanceAreaGeometry < Struct.new( :bounding_box, :corridor, :polygon, :polyline_corridor, :polyline_polygon) SENSITIVE = [:bounding_box, :corridor, :polyline_corridor, :polyline_polygon] include Aws::Structure end |
#polygon ⇒ Array<Array<Array<Float>>>
A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1060 class IsolineAvoidanceAreaGeometry < Struct.new( :bounding_box, :corridor, :polygon, :polyline_corridor, :polyline_polygon) SENSITIVE = [:bounding_box, :corridor, :polyline_corridor, :polyline_polygon] include Aws::Structure end |
#polyline_corridor ⇒ Types::PolylineCorridor
A buffer zone around a compressed polyline, defined by an encoded polyline string and a radius in meters. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1060 class IsolineAvoidanceAreaGeometry < Struct.new( :bounding_box, :corridor, :polygon, :polyline_corridor, :polyline_polygon) SENSITIVE = [:bounding_box, :corridor, :polyline_corridor, :polyline_polygon] include Aws::Structure end |
#polyline_polygon ⇒ Array<String>
A polygon defined by encoded polyline strings. The first string defines the outer boundary; subsequent strings will be ignored. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1060 class IsolineAvoidanceAreaGeometry < Struct.new( :bounding_box, :corridor, :polygon, :polyline_corridor, :polyline_polygon) SENSITIVE = [:bounding_box, :corridor, :polyline_corridor, :polyline_polygon] include Aws::Structure end |