Module Values.GeometrySource

The structure representing a Geometry in terms of Type and Coordinates as per GeoJson spec.

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

    The coordinates of the GeoJson Geometry.

    *)
  2. type_ : String_.t option;
    (*

    GeoJson Geometry types like Polygon and MultiPolygon.

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