Module Geometry.MultiPolygon

type t

A multi-polygon object

val polygons : t -> Polygon.t array

Access the polygons

val v : Polygon.t array -> t

Create a multi-polygon object from an array of Polygon.ts

val of_json : json -> (t[ `Msg of string ]) Stdlib.result
val to_json : t -> json