turf-combine
Advanced tools
| language: node_js | ||
| node_js: | ||
| - "0.8" | ||
| - "0.10" | ||
| before_install: | ||
| - npm install -g npm@~1.4.6 |
+1
-1
| { | ||
| "name": "turf-combine", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "turf combine module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+17
-0
| turf-combine | ||
| ============ | ||
| [](http://travis-ci.org/Turfjs/turf-combine) | ||
| Combines feature collection of point, linestring, or polygon features into multipoint, multilinestring, or multipolygon features. | ||
| ```js | ||
| var combine = require('turf-combine') | ||
| var point = require('turf-point') | ||
| var featurecollection = require('turf-featurecollection') | ||
| var pt1 = point(50, 1) | ||
| var pt2 = point(100, 101) | ||
| var fc = featurecollection([pt1, pt2]) | ||
| var combined = combine(fc) | ||
| console.log(combined) | ||
| ``` |
5729
12.14%7
16.67%20
566.67%