IsolineAvoidanceAreaGeometry - Amazon Location Service

IsolineAvoidanceAreaGeometry

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.

Contents

BoundingBox

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

Type: Array of doubles

Array Members: Fixed number of 4 items.

Required: No

Corridor

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

Type: Corridor object

Required: No

Polygon

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

Type: Array of arrays of arrays of doubles

Array Members: Fixed number of 1 item.

Array Members: Minimum number of 4 items.

Array Members: Fixed number of 2 items.

Required: No

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.

Type: PolylineCorridor object

Required: No

PolylinePolygon

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.

Type: Array of strings

Array Members: Fixed number of 1 item.

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: