@turf/union
Advanced tools
Comparing version 3.2.0 to 3.3.1
{ | ||
"name": "@turf/union", | ||
"version": "3.2.0", | ||
"version": "3.3.1", | ||
"description": "find the union of geographic features", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,8 +5,7 @@ # @turf/union | ||
Takes two [polygons](http://geojson.org/geojson-spec.html#polygon) and returns a combined polygon. If the input polygons are not contiguous, this function returns a [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon) feature. | ||
Takes two or more [polygons](http://geojson.org/geojson-spec.html#polygon) and returns a combined polygon. If the input polygons are not contiguous, this function returns a [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon) feature. | ||
**Parameters** | ||
- `poly1` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** input polygon | ||
- `poly2` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** another input polygon | ||
- `A` **...[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** polygon to combine | ||
@@ -13,0 +12,0 @@ **Examples** |
5106
80