geopandas.overlay
How GeoPandas runs Intersect: geopandas.overlay.
| Engine | GeoPandas |
|---|---|
| Tool name | geopandas.overlay |
| Interface | python |
| Implements | Intersect |
| Preset | {"how":"intersection"} |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
df1 | GeoDataFrame | yes | Not stated | Not stated | Not stated |
df2 | GeoDataFrame | yes | Not stated | Not stated | Not stated |
how | Literal | no | intersection | Not stated | Not stated |
keep_geom_type | Union | no | Not stated | Not stated | Not stated |
make_valid | bool | no | yes | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
a | df1 | Not stated |
b | df2 | Not stated |
Differences from the operation
- keep_geom_type drops results of a different geometry type (lines from polygon overlaps) unless set to false.
Harvested by the python-libs harvester from engine version
1.2.0. Names can change when an engine is harvested again.