Union
Splits two polygon layers where they overlap and keeps every piece, with the attributes of whichever layers cover it.
Pitfall. Not the same as merging shapes into one (that is dissolve, which many SQL and Python libraries call union).
| Also called | overlay union, Union (Analysis), identity of both layers |
|---|---|
| Group | vector/overlay |
| Checks | crs.agreement, geometry.valid, extent.plausible |
| Pitfalls | 1 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
Not stated
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | a | vector | polygon | Not stated |
| Input | b | vector | polygon | Not stated |
| Output | output | vector | polygon | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
gdal | gdal vector layer-algebra |
| None noted
Preset: {"operation":"union"} |
grass | v.overlay |
|
Preset: {"operator":"or"} |
qgis | native:union |
| None noted |
terra | terra::union |
|
|
whiteboxtools | Union |
| None noted |