package geojsone

  1. Overview
  2. Docs
type t

A line string is two or more points

val coordinates : t -> Position.t array

Convert the line into a position array

val 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.