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

Copy Markdown

Geometry of the routing boundary.

Fields

  • :auto_circle - AutoCircle requests the route matrix service to define a Circle boundary that best attempts to include most waypoints (Origins and Destinations) using the AutoCircle settings. Any waypoints outside of the auto-defined Circle boundary will be considered out of the routing boundary, which results in a route matrix entry error.

  • :bounding_box - Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.

  • :circle - Geometry defined as a circle. The circle defines the routing boundary area. Any waypoints outside the circle will result in a route matrix entry error.

  • :polygon - Geometry defined as a polygon with only one linear ring. A linear ring is a closed sequence of four or more coordinates. The first and last coordinates are the same, forming a closed boundary. Each coordinate is a position in [longitude, latitude] format.

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

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.RouteMatrixBoundaryGeometry{
  auto_circle: ExAws.Location.Routes.RouteMatrixAutoCircle.t() | nil,
  bounding_box: [number()] | nil,
  circle: ExAws.Location.Routes.Circle.t() | nil,
  polygon: [[[number()]]] | nil
}