Skip to content

Union of multiple Features/polygons yet in version 6 #2377

@jfoclpf

Description

@jfoclpf

turf-union in all its docs mentions the union of only two (multi)polygons or geojson's

https://www.npmjs.com/package/@turf/union

It would be nice and useful if we could unite several (multi)polygons or geojson's

let union
union = turf.union(poly1, poly2)
union = turf.union(poly1, poly2, poly3)
union = turf.union(poly1, poly2, poly3, ..., polyn)

const polygons = [poly1, poly2, poly3, ..., polyn]
union = turf.union(...polygons)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions