turf-donuts

0.1.0 • Public • Published

turf-donuts

build status

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('donuts')
var fs = require('fs')
 
var polys = JSON.parse(fs.readFileSync('/path/to/polys.geojson'))
 
var donutPolys = donuts(donutsIn)
 
console.log(donutPolys)

Readme

Keywords

Package Sidebar

Install

npm i turf-donuts

Weekly Downloads

3

Version

0.1.0

License

ISC

Last publish

Collaborators

  • tmcw
  • morganherlocker