FillPostprocessor
Bases: GeodataPostprocessor
Geodata postprocessor that fills holes in the polygons
PARAMETER | DESCRIPTION |
---|---|
max_area
|
maximum area of the holes to retain in square meters
TYPE:
|
from_config
classmethod
Creates a fill postprocessor from the configuration.
PARAMETER | DESCRIPTION |
---|---|
config
|
configuration
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
FillPostprocessor
|
fill postprocessor |
__call__
Postprocesses the geodata by filling holes in the polygons.
PARAMETER | DESCRIPTION |
---|---|
gdf
|
geodataframe
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
gpd.GeoDataFrame
|
postprocessed geodataframe |
FillPostprocessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config
class method of FillPostprocessor
ATTRIBUTE | DESCRIPTION |
---|---|
max_area |
maximum area of the holes to retain in square meters
TYPE:
|