ExAws.Location.Routes.IsolineAvoidanceAreaGeometry (ex_aws_location v0.1.0)

Copy Markdown

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.

Fields

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

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

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

  • :polyline_corridor - 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.

  • :polyline_polygon - 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.

See https://docs.aws.amazon.com/location/latest/APIReference/API_IsolineAvoidanceAreaGeometry.html

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.IsolineAvoidanceAreaGeometry{
  bounding_box: [number()] | nil,
  corridor: ExAws.Location.Routes.Corridor.t() | nil,
  polygon: [[[number()]]] | nil,
  polyline_corridor: ExAws.Location.Routes.PolylineCorridor.t() | nil,
  polyline_polygon: [String.t()] | nil
}