turf-aggregate
Advanced tools
Comparing version 0.0.3 to 0.1.1
{ | ||
"name": "turf-aggregate", | ||
"version": "0.0.3", | ||
"version": "0.1.1", | ||
"description": "turf aggregate module", | ||
@@ -28,17 +28,17 @@ "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" | ||
}, | ||
"dependencies": { | ||
"turf-average": "0.0.1", | ||
"turf-count": "0.0.1", | ||
"turf-deviation": "0.0.1", | ||
"turf-max": "0.0.1", | ||
"turf-median": "0.0.1", | ||
"turf-min": "0.0.1", | ||
"turf-sum": "0.0.1", | ||
"turf-variance": "0.0.1" | ||
"turf-average": "0.0.2", | ||
"turf-count": "0.0.4", | ||
"turf-deviation": "0.0.2", | ||
"turf-max": "0.0.3", | ||
"turf-median": "0.0.2", | ||
"turf-min": "0.0.2", | ||
"turf-sum": "0.0.2", | ||
"turf-variance": "0.0.2" | ||
} | ||
} |
@@ -7,4 +7,26 @@ turf-aggregate | ||
###Install | ||
```sh | ||
npm install turf-aggregate | ||
``` | ||
###Parameters | ||
|name|description| | ||
|---|---| | ||
|polygonFC|a FeatureCollection containing Polygons| | ||
|pointFC|a FeatureCollection containing Points| | ||
|aggregations|an array of aggregation objects (options in the example below)| | ||
###Usage | ||
```js | ||
aggregate(polygonFC, pointFC, aggregations) | ||
``` | ||
###Example | ||
```javascript | ||
var t = require('turf-aggregate') | ||
var aggregate = require('turf-aggregate') | ||
var point = require('turf-point') | ||
@@ -68,4 +90,3 @@ var polygon = require('turf-polygon') | ||
console.log(polys) | ||
console.log(polys) | ||
``` | ||
======= |
Sorry, the diff of this file is not supported yet
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
8461
91
+ Addedturf-average@0.0.2(transitive)
+ Addedturf-count@0.0.4(transitive)
+ Addedturf-deviation@0.0.2(transitive)
+ Addedturf-max@0.0.3(transitive)
+ Addedturf-median@0.0.2(transitive)
+ Addedturf-min@0.0.2(transitive)
+ Addedturf-sum@0.0.2(transitive)
+ Addedturf-variance@0.0.2(transitive)
- Removedturf-average@0.0.1(transitive)
- Removedturf-count@0.0.1(transitive)
- Removedturf-deviation@0.0.1(transitive)
- Removedturf-max@0.0.1(transitive)
- Removedturf-median@0.0.1(transitive)
- Removedturf-min@0.0.1(transitive)
- Removedturf-sum@0.0.1(transitive)
- Removedturf-variance@0.0.1(transitive)
Updatedturf-average@0.0.2
Updatedturf-count@0.0.4
Updatedturf-deviation@0.0.2
Updatedturf-max@0.0.3
Updatedturf-median@0.0.2
Updatedturf-min@0.0.2
Updatedturf-sum@0.0.2
Updatedturf-variance@0.0.2