geost.spatial.select_points_near_points#
- geost.spatial.select_points_near_points(gdf: str | Path | GeoDataFrame, point_gdf: str | Path | GeoDataFrame, buffer: float | int, invert: bool = False) GeoDataFrame [source]#
Make a selection of point geometries based on point geometries and a buffer.
- Parameters:
gdf (str | Path | gpd.GeoDataFrame) – Geodataframe (or file that can be parsed to a geodataframe) to select from.
point_gdf (str | Path | gpd.GeoDataFrame) – Geodataframe (or file that can be parsed to a geodataframe) to select with.
buffer (float | int) – Buffer distance for selection geometries.
invert (bool, optional) – Invert the selection, by default False.
- Returns:
Geodataframe containing only selected geometries.
- Return type:
gpd.GeoDataFrame