Skip to content

feat: pluggable building footprint source #5

Description

@gabrielkasmi

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.ymlsource_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions