turf-median
Advanced tools
Comparing version 0.0.2 to 0.1.1
{ | ||
"name": "turf-median", | ||
"version": "0.0.2", | ||
"version": "0.1.1", | ||
"description": "turf median module", | ||
@@ -26,11 +26,11 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tape": "^2.13.1", | ||
"tape": "^2.13.4", | ||
"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" | ||
}, | ||
"dependencies": { | ||
"simple-statistics": "^0.8.0", | ||
"turf-inside": "^0.1.1" | ||
"simple-statistics": "^0.8.1", | ||
"turf-inside": "^0.1.4" | ||
} | ||
} |
@@ -7,3 +7,26 @@ turf-median | ||
###Install | ||
```sh | ||
npm install turf-median | ||
``` | ||
###Parameters | ||
|name|description| | ||
|---|---| | ||
|polys|featurecollection of polygons| | ||
|points|featurecollection of points| | ||
|inField|field to map| | ||
|outField|new field| | ||
###Usage | ||
```js | ||
median(polyFC, ptFC, inField, outField) | ||
``` | ||
###Example | ||
```js | ||
var median = require('turf-median') | ||
@@ -10,0 +33,0 @@ var point = require('turf-point') |
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
5136
50
Updatedsimple-statistics@^0.8.1
Updatedturf-inside@^0.1.4