geopandas.sjoin_nearest
How GeoPandas runs Nearest Join: geopandas.sjoin_nearest.
| Engine | GeoPandas |
|---|---|
| Tool name | geopandas.sjoin_nearest |
| Interface | python |
| Implements | Nearest Join |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
left_df | GeoDataFrame | yes | Not stated | Not stated | Not stated |
right_df | GeoDataFrame | yes | Not stated | Not stated | Not stated |
how | str | no | inner | Not stated | Not stated |
max_distance | Union | no | Not stated | Not stated | Not stated |
lsuffix | str | no | left | Not stated | Not stated |
rsuffix | str | no | right | Not stated | Not stated |
distance_col | Union | no | Not stated | Not stated | Not stated |
exclusive | bool | no | no | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
left | left_df | Not stated |
right | right_df | Not stated |
max_distance | max_distance | Not stated |
distance_field | distance_col | Not stated |
how | how | Not stated |
Differences from the operation
- Defaults to an inner join; Columbus's default is left.
- Ties give one row per tied feature.
Harvested by the python-libs harvester from engine version
1.2.0. Names can change when an engine is harvested again.