geost.base.PointHeader.select_with_points#

PointHeader.select_with_points(points: str | Path | GeoDataFrame | PointGeometries, buffer: float | int, invert: bool = False)[source]#

Make a selection of the header based on point geometries.

Parameters:
  • points (str | Path | gpd.GeoDataFrame | PointGeometries) – Any type of point geometries that can be used for the selection: GeoDataFrame containing points or filepath to a shapefile like file, or Shapely Point, MultiPoint or list containing Point objects.

  • buffer (float | int) – Buffer distance for selection geometries.

  • invert (bool, optional) – Invert the selection, by default False.

Returns:

Instance of PointHeader containing only selected geometries.

Return type:

PointHeader