package geojsone

  1. Overview
  2. Docs

Module Geometry.LineStringSource

Sourcetype t

A line string is two or more points

Sourceval coordinates : t -> Position.t array

Convert the line into a position array

Sourceval v : Position.t array -> t

Create a line string from positions, will raise Invalid_argument if the array doesn't have at least two positions.

OCaml

Innovation. Community. Security.