Takes a set of overlapping polygons and returns non overlapping donuts.
###Install
npm install turf-donuts###Parameters
| name | description |
|---|---|
| polygons | a FeatureCollection of overlapping polygons |
###Usage
donuts(polygons)###Example
var donuts = require('turf-donuts')
var fs = require('fs')
var polys = JSON.parse(fs.readFileSync('/path/to/polys.geojson'))
var donutPolys = donuts(donutsIn)
console.log(donutPolys)