Comparing version 0.0.4 to 0.1.0
{ | ||
"name": "turf-count", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "turf count module", | ||
@@ -27,11 +27,11 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tape": "^2.13.1", | ||
"tape": "^2.13.3", | ||
"turf-featurecollection": "^0.1.0", | ||
"turf-point": "^0.1.0", | ||
"turf-polygon": "^0.1.0", | ||
"turf-point": "^0.1.1", | ||
"turf-polygon": "^0.1.1", | ||
"deep-freeze": "0.0.1" | ||
}, | ||
"dependencies": { | ||
"turf-inside": "^0.1.1" | ||
"turf-inside": "^0.1.3" | ||
} | ||
} |
@@ -7,3 +7,25 @@ turf-count | ||
###Install | ||
```sh | ||
npm install turf-count | ||
``` | ||
###Parameters | ||
|name|description| | ||
|---|---| | ||
|polyFC|a FeatureCollection of polygons| | ||
|pointFC|a FeatureCollection of points| | ||
|countField|field to append to the polygon features representing point counts| | ||
###Usage | ||
```js | ||
count(polyFC, pointFC, countField) | ||
``` | ||
###Example | ||
```js | ||
var point = require('turf-point') | ||
@@ -10,0 +32,0 @@ var polygon = require('turf-polygon') |
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
4815
45
Updatedturf-inside@^0.1.3