- fill_polygon_holes(gpd_results: GeoDataFrame, threshold: Optional[float] = None) GeoDataFrame #
Fill holes over a given threshold on the hole area (in meters) for all polygons of a GeoDataFrame. If the threshold is set to None, every hole is filled.
gpd_results (gpd.GeoDataFrame) – Geodataframe filled whith drilled polygons
threshold (float) – Holes area threshold, in meters. If set to None, every hole is filled.
GeoDataFrame with filled holes
- Return type: