turf-combine
Advanced tools
Comparing version
{ | ||
"name": "turf-combine", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "turf combine module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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%