geost.base.BoreholeCollection.select_with_lines#
- BoreholeCollection.select_with_lines(lines: str | Path | GeoDataFrame, buffer: float | int, invert: bool = False)#
Make a selection of the collection based on line geometries.
- Parameters:
lines (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:
New instance of the current object containing only the selection resulting from application of this method. e.g. if you are calling this method from a Collection, you will get an instance of a Collection back.
- Return type:
New instance of the current object.