lineSegment
Description
Creates a FeatureCollection of 2-vertex LineString segments from a (Multi)LineString or (Multi)Polygon.
Parameters
Name | Type | Description |
---|---|---|
geojson | GeoJSON | GeoJSON Polygon or LineString |
Returns
FeatureCollection<LineString> 2-vertex line segments