Class: Aws::GeoRoutes::Types::IsolineAvoidanceAreaGeometry

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#bounding_boxArray<Float>

A rectangular area defined by its southwest and northeast corners: [min longitude, min latitude, max longitude, max latitude].

Returns:

  • (Array<Float>)


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

#corridorTypes::Corridor

A buffer zone around a line, defined by a series of coordinates and a radius in meters.

Returns:



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

#polygonArray<Array<Array<Float>>>

A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.

Returns:

  • (Array<Array<Array<Float>>>)


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_corridorTypes::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_polygonArray<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.

Returns:

  • (Array<String>)


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