turf-polygon-to-line
v0.0.1
Published
[![build status](https://secure.travis-ci.org/stepankuzmin/turf-polygon-to-line.png)](http://travis-ci.org/stepankuzmin/turf-polygon-to-line)
Downloads
6
Maintainers
Readme
turf-polygon-to-line
turf.polygonToLine(geojson)
Transforms Polygons and MultiPolygons to LineStrings.
Parameters
| parameter | type | description |
| --------- | ------ | ------------------ |
| geojson
| Object | any GeoJSON object |
Returns Object
, FeatureCollection where Polygons and MultiPolygons transformed to LineStrings.
Installation
Requires nodejs.
$ npm install turf-polygon-to-line
Tests
$ npm test