Skip to content

CompositePostprocessor

Bases: GeodataPostprocessor

Geodata postprocessor that composes multiple geodata postprocessors

PARAMETER DESCRIPTION
geodata_postprocessors

geodata postprocessors

TYPE: list[GeodataPostprocessor]

from_config classmethod

Creates a composite postprocessor from the configuration.

PARAMETER DESCRIPTION
config

configuration

TYPE: CompositePostprocessorConfig

RETURNS DESCRIPTION
CompositePostprocessor

composite postprocessor

__call__

Postprocesses the geodata with each geodata postprocessor.

PARAMETER DESCRIPTION
gdf

geodataframe

TYPE: gpd.GeoDataFrame

RETURNS DESCRIPTION
gpd.GeoDataFrame

postprocessed geodataframe


CompositePostprocessorConfig

Bases: pydantic.BaseModel

Configuration for the from_config class method of CompositePostprocessor

ATTRIBUTE DESCRIPTION
geodata_postprocessors_configs

configurations of the geodata postprocessors

TYPE: list[GeodataPostprocessorConfig]


GeodataPostprocessorConfig

Bases: pydantic.BaseModel

Configuration for geodata postprocessors

ATTRIBUTE DESCRIPTION
name

name of the geodata postprocessor

TYPE: str

config

configuration of the geodata postprocessor

TYPE: ClipPostprocessorConfig | FieldNamePostprocessorConfig | FillPostprocessorConfig | SievePostprocessorConfig | SimplifyPostprocessorConfig | ValuePostprocessorConfig