package geojson

  1. Overview
  2. Docs
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 to_positions : t -> Position.t array array array

Convert directly to the positions that make up the polygons

val of_positions : Position.t array array array -> t

Convert directly from positions to polygons


Innovation. Community. Security.