SievePostprocessor
Bases: GeodataPostprocessor
Geodata postprocessor that sieves the polygons
PARAMETER | DESCRIPTION |
---|---|
min_area
|
minimum area of the polygons to retain in square meters
TYPE:
|
from_config
classmethod
Creates a sieve postprocessor from the configuration.
PARAMETER | DESCRIPTION |
---|---|
config
|
configuration
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
SievePostprocessor
|
sieve postprocessor |
__call__
Postprocesses the geodata by sieving the polygons.
PARAMETER | DESCRIPTION |
---|---|
gdf
|
geodataframe
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
gpd.GeoDataFrame
|
postprocessed geodataframe |
SievePostprocessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config
class method of SievePostprocessor
ATTRIBUTE | DESCRIPTION |
---|---|
min_area |
minimum area of the polygons to retain in square meters
TYPE:
|