Skip to content

PostprocessingPipeline

Pre-built postprocessing pipeline

PARAMETER DESCRIPTION
gdf

geodataframe

TYPE: gpd.GeoDataFrame

geodata_postprocessor

geodata postprocessor

TYPE: GeodataPostprocessor

path

path to export the geodataframe (if None, the geodataframe is not exported)

TYPE: Path | None DEFAULT: None

from_config classmethod

Creates a postprocessing pipeline from the configuration.

PARAMETER DESCRIPTION
config

configuration

TYPE: PostprocessingPipelineConfig

RETURNS DESCRIPTION
PostprocessingPipeline

postprocessing pipeline

__call__

Runs the postprocessing pipeline.


PostprocessingPipelineConfig

Bases: pydantic.BaseModel

Configuration for the from_config class method of PostprocessingPipeline

ATTRIBUTE DESCRIPTION
gdf

path to the geodataframe

TYPE: Path

geodata_postprocessor_config

configuration of the geodata postprocessor

TYPE: GeodataPostprocessorConfig

path

path to export the geodataframe

TYPE: Path


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 | CompositePostprocessorConfig | FieldNamePostprocessorConfig | FillPostprocessorConfig | SievePostprocessorConfig | SimplifyPostprocessorConfig | ValuePostprocessorConfig