turf-donuts
Advanced tools
Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "turf-donuts", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "", | ||
@@ -24,13 +24,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"glob": "~4.0.0", | ||
"tape": "~2.13.1" | ||
"glob": "~4.0.4", | ||
"tape": "~2.13.4" | ||
}, | ||
"dependencies": { | ||
"turf-point": "~0.1.0", | ||
"turf-point": "~0.1.1", | ||
"turf-featurecollection": "~0.1.0", | ||
"turf-inside": "~0.1.1", | ||
"turf-inside": "~0.1.4", | ||
"lodash": "~2.4.1", | ||
"turf-union": "0.0.0", | ||
"turf-erase": "0.0.0" | ||
"turf-erase": "0.1.3" | ||
} | ||
} |
@@ -7,11 +7,31 @@ turf-donuts | ||
###Install | ||
```sh | ||
npm install turf-donuts | ||
``` | ||
###Parameters | ||
|name|description| | ||
|---|---| | ||
|polygons|a FeatureCollection of overlapping polygons| | ||
###Usage | ||
```js | ||
donuts(polygons) | ||
``` | ||
###Example | ||
```js | ||
var donuts = require('donuts') | ||
var js = require('fs') | ||
var fs = require('fs') | ||
var polys = JSON.parse(fs.readFileSync('/path/to/polys.geojson')) | ||
var donutPolys = donuts(donutsIn, function(err, donuts) | ||
var donutPolys = donuts(donutsIn) | ||
console.log(donutPolys) | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
250347
36
+ Addedturf-erase@0.1.3(transitive)
- Removedturf-erase@0.0.0(transitive)
Updatedturf-erase@0.1.3
Updatedturf-inside@~0.1.4
Updatedturf-point@~0.1.1