Skip to content

Takes a set of overlapping polygons and returns non overlapping donuts.

Notifications You must be signed in to change notification settings

Turfjs/turf-donuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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('turf-donuts')
var fs = require('fs')

var polys = JSON.parse(fs.readFileSync('/path/to/polys.geojson'))

var donutPolys = donuts(donutsIn)

console.log(donutPolys)

About

Takes a set of overlapping polygons and returns non overlapping donuts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published