0.0.1 • Published 9 years ago

turf-polygon-to-line v0.0.1

Weekly downloads
7
License
ISC
Repository
github
Last release
9 years ago

turf-polygon-to-line

build status

turf.polygonToLine(geojson)

Transforms Polygons and MultiPolygons to LineStrings.

Parameters

parametertypedescription
geojsonObjectany GeoJSON object

Returns Object, FeatureCollection where Polygons and MultiPolygons transformed to LineStrings.

Installation

Requires nodejs.

$ npm install turf-polygon-to-line

Tests

$ npm test