Module Values.IsolineShapeGeometrySource

Represents the shape of a reachable area. The geometry can be provided either as coordinate pairs (Polygon) or in encoded format (PolylinePolygon), matching the format specified in the request.

Sourcetype nonrec t = {
  1. polygon : LinearRings.t option;
    (*

    A series of coordinate rings defining the reachable area when Simple geometry format is requested. Each ring is a list of [longitude, latitude] coordinate pairs. The first ring defines the outer boundary; subsequent rings define holes representing unreachable areas. Polygon and PolylinePolygon are mutually exclusive properties.

    *)
  2. polylinePolygon : PolylineRingList.t option;
    (*

    An encoded representation of the reachable area when FlexiblePolyline geometry format is requested. Provides a compact representation suitable for transmission and storage. The first string defines the outer boundary; subsequent strings define holes representing unreachable areas. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline. Polygon and PolylinePolygon are mutually exclusive properties.

    *)
}
Sourceval make : ?polygon:??? -> ?polylinePolygon:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `List of [> `List of [> `Double of Double.t ] list ] list | `String of PolylineRing.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