package geojson

  1. Overview
  2. Docs

Module Geometry.MultiPolygonSource

Sourcetype t

A multi-polygon object

Sourceval polygons : t -> Polygon.t array

Access the polygons

Sourceval v : Polygon.t array -> t

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

Sourceval to_positions : t -> Position.t array array array

Convert directly to the positions that make up the polygons

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

Convert directly from positions to polygons

OCaml

Innovation. Community. Security.