Context
The building filter is hardcoded to BDTOPO (French national building dataset). This makes the pipeline unusable outside France without modifying core code.
Goal
Abstract the building filter behind a common interface that accepts any polygon layer — BDTOPO, OpenStreetMap, Microsoft Building Footprints, or a user-supplied shapefile. The BDTOPO implementation becomes the default.
Relevant files
pipeline/aggregation.py — building filter logic
config.yml — source_topo_dir currently points to BDTOPO
Out of scope
No new footprint sources need to be bundled — the interface + BDTOPO adapter is the deliverable.
Expected difficulty
Medium — requires understanding how the spatial join works between detected polygons and building footprints.
Context
The building filter is hardcoded to BDTOPO (French national building dataset). This makes the pipeline unusable outside France without modifying core code.
Goal
Abstract the building filter behind a common interface that accepts any polygon layer — BDTOPO, OpenStreetMap, Microsoft Building Footprints, or a user-supplied shapefile. The BDTOPO implementation becomes the default.
Relevant files
pipeline/aggregation.py— building filter logicconfig.yml—source_topo_dircurrently points to BDTOPOOut of scope
No new footprint sources need to be bundled — the interface + BDTOPO adapter is the deliverable.
Expected difficulty
Medium — requires understanding how the spatial join works between detected polygons and building footprints.