Federate official Belgium data sources
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-19 01:34:39 +02:00
parent 33bcd0f3bd
commit 50897c3473
37 changed files with 2179 additions and 186 deletions
@@ -45,6 +45,19 @@ PRECLIPPED_MUNICIPALITY_PARTITION_OPERATOR_TOOLS = {
SEMANTIC_SELECTION_METRICS: dict[str, tuple[dict[str, Any], ...]] = {
"administrative": (
{
"metric_key": "covered_area",
"method": "intersection_area",
"label": "Bestuurlijk ingedeelde oppervlakte",
"unit": "ha",
"geometry_dimension": 2,
"warning": (
"Dit is de doorsnede met één bestuurlijk schaalniveau uit de gekozen NGI-laag; "
"het is geen kadastrale of juridische grensopmeting."
),
},
),
"buildings": (
{
"metric_key": "footprint_area",
@@ -113,9 +126,14 @@ SEMANTIC_SELECTION_METRICS: dict[str, tuple[dict[str, Any], ...]] = {
"warning": "Historische bodemkartering op schaal 1:20.000; actuele lokale bodem- en drainagetoestand kan afwijken.",
},
),
# Maritieme plan- en rapportagezones kunnen elkaar overlappen. Een
# opgetelde oppervlakte zou daarom geen unieke zeeoppervlakte voorstellen.
"maritime_planning": (),
"marine_environment": (),
}
SEMANTIC_COUNT_LABELS = {
"administrative": "Bestuursgebieden",
"buildings": "Gebouwen",
"population": "Statistische sectoren",
"forest": "Bosvlakken",
@@ -125,6 +143,8 @@ SEMANTIC_COUNT_LABELS = {
"nature_value": "BWK-kaartvlakken",
"agriculture": "Landbouwgebruikspercelen",
"soil": "Bodemkaartvlakken",
"maritime_planning": "Maritieme planobjecten",
"marine_environment": "Mariene rapportagezones",
}
# Sprint 205 initially normalized two official comma-separated ALZ group labels
@@ -157,6 +177,12 @@ class VectorFeatureService:
source_metadata.get("layer_type"),
)
aliases = {
"belgium_land_boundary": "administrative",
"belgium_regions": "administrative",
"belgium_provinces": "administrative",
"belgium_municipalities": "administrative",
"marine_spatial_plan_2026": "maritime_planning",
"marine_legal_scopes": "marine_environment",
"building": "buildings",
"bebouwing": "buildings",
"population": "population",