Module Values.IsolineAvoidanceAreaGeometrySource

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.

Sourcetype nonrec t = {
  1. boundingBox : BoundingBox.t option;
    (*

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

    *)
  2. corridor : Corridor.t option;
    (*

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

    *)
  3. polygon : IsolineAvoidanceAreaGeometryPolygonList.t option;
    (*

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

    *)
  4. polylineCorridor : PolylineCorridor.t option;
    (*

    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.

    *)
  5. polylinePolygon : IsolineAvoidanceAreaGeometryPolylinePolygonList.t option;
    (*

    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.

    *)
}
Sourceval make : ?boundingBox:??? -> ?corridor:??? -> ?polygon:??? -> ?polylineCorridor:??? -> ?polylinePolygon:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Double of Double.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of PolylineRing.t ] list | `Structure of (string * [> `Integer of Integer.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of Polyline.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t