Module Values.IsolineConnectionGeometrySource

Represents the geometry of connections between non-contiguous parts of an isoline. These connections can be provided in either coordinate pairs (LineString) or encoded (Polyline) format, matching the format specified in the request.

Sourcetype nonrec t = {
  1. lineString : LineString.t option;
    (*

    A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation. LineString and Polyline are mutually exclusive properties.

    *)
  2. polyline : Polyline.t option;
    (*

    An encoded representation of the connection path when FlexiblePolyline geometry format is requested. This provides a more compact representation suitable for transmission and storage. To convert to GeoJSON, first decode to obtain coordinate pairs, then use those coordinates as the coordinates array in a GeoJSON LineString. LineString and Polyline are mutually exclusive properties.

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