Intersect
Keeps the areas where features of two layers overlap, with the attributes of both.
Pitfall. Overlaps of polygons with lines or points produce lines or points, not polygons.
| Also called | Pairwise Intersect, Intersection, overlay intersection |
|---|---|
| Group | vector/overlay |
| Checks | crs.agreement, geometry.valid, extent.plausible |
| Pitfalls | 1 listed above |
| Columbus tool | vector_op · intersect |
| 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 | Not stated | Not stated |
| Input | b | vector | Not stated | Not stated |
| Output | output | vector | Not stated | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
apache-sedona | sedona.sql.ST_Intersection |
|
|
gdal | gdal vector layer-algebra |
|
Preset: {"operation":"intersection"} |
geopandas | geopandas.overlay |
|
Preset: {"how":"intersection"} |
grass | v.overlay |
|
Preset: {"operator":"and"} |
postgis | st_intersection |
|
|
qgis | native:intersection |
| None noted |
sf | sf::st_intersection |
|
|
shapely | shapely.intersection |
|
|
terra | terra::intersect |
| None noted |
whiteboxtools | Intersect |
| None noted |