Expand BWK nature data across Kempen
This commit is contained in:
@@ -8880,3 +8880,34 @@ Next:
|
||||
next implementation pass can focus on current-only nature/terrain/flood
|
||||
regional expansion or on a benchmarked data-refresh scheduler; it must not
|
||||
reinterpret these historical surfaces as modern object lineage.
|
||||
|
||||
## Sprint 210 - Regional BWK/Natura 2000 expansion (2026-07-16)
|
||||
|
||||
Implemented:
|
||||
- Added `provision_regional_bwk_natura2000.py` for the approved 28-municipality
|
||||
Kempen transport-region scope, using the existing official INBO state-2025
|
||||
source contract and governed Mol feature normalization.
|
||||
- Added per-municipality WFS pagination, exact EPSG:31370 clipping,
|
||||
municipality-suffixed feature identities, deterministic gzip retention of
|
||||
every exact source response and checksum-bound partition/snapshot reuse.
|
||||
- Kept one canonical regional Dataset upload behind DatasetService. No direct
|
||||
`vector_features` write, migration, endpoint or fabricated time series was
|
||||
introduced.
|
||||
- Made map theme selection prefer an exact selected-Area Dataset over a broader
|
||||
compatible regional Dataset. Updated the source inventory to present
|
||||
overlapping BWK snapshots as area coverages without double-counting their
|
||||
feature totals.
|
||||
- Added focused tests for source evidence, GIS clipping, context fields,
|
||||
regional assembly, semantic metrics, upload metadata, packaging and UI
|
||||
selection behavior.
|
||||
|
||||
Validation so far:
|
||||
- Focused BWK suites pass 11 tests.
|
||||
- Full local readiness passes backend compilation, 689 backend tests, API
|
||||
contract audit, one Alembic head (`202607150001`), frontend typecheck/build
|
||||
and script syntax gates.
|
||||
|
||||
Open for this pass:
|
||||
- Deploy the validated operator to Tower, fetch and persist all 28 official
|
||||
partitions, verify idempotency and PostGIS row/geometry/checksum consistency,
|
||||
then validate complete-region and Mol map/metric behavior in the browser.
|
||||
|
||||
@@ -445,3 +445,25 @@ Sprint 7B exposes provider metadata only. It does not perform GRB WFS calls, OSM
|
||||
| `fixture` | fixture | true | demo/test fixture layers | `dataset_role=reference`, `source_name=fixture` |
|
||||
|
||||
Future provider output must flow through `DatasetService` and `VectorFeatureService`; providers must not write directly to `vector_features`.
|
||||
|
||||
## Regional BWK/Natura 2000 state 2025
|
||||
|
||||
`scripts/provision_regional_bwk_natura2000.py` expands the governed Mol
|
||||
operator to the approved 28-municipality Kempen transport-region scope. It
|
||||
queries the same official INBO `BWK:Bwkhab` WFS collection separately for each
|
||||
official VRBG municipality boundary. Every response is retained as a
|
||||
deterministic gzip artifact with both compressed-artifact and original-response
|
||||
SHA256 checksums.
|
||||
|
||||
Geometry is intersected with each municipality in EPSG:31370 before it is
|
||||
transformed to EPSG:4326. Source polygons crossing a municipality boundary are
|
||||
therefore split into auditable pieces and receive a NIS suffix; those pieces
|
||||
must not be interpreted as independent source observations. The 28 validated
|
||||
partitions are assembled into one regional snapshot and persisted through the
|
||||
ordinary Dataset upload API with `source_name=inbo_bwk_natura2000`,
|
||||
`reference_layer_name=nature_value` and
|
||||
`temporal_series_key=inbo-bwk-natura2000:kempen-transport-region`.
|
||||
|
||||
The state remains a single 2025 map edition, not an annual time series. BWK
|
||||
valuation, Natura 2000 shares, regional biotopes and uncertain habitat remain
|
||||
separate fields and metrics. PHAB-derived hectares remain explicitly estimated.
|
||||
|
||||
@@ -238,3 +238,24 @@ parameters_json
|
||||
## Local development default
|
||||
|
||||
Use local filesystem paths. Keep MinIO/object storage as future extension.
|
||||
|
||||
## Regional BWK/Natura 2000 evidence
|
||||
|
||||
The regional state-2025 operator stores immutable evidence under:
|
||||
|
||||
```text
|
||||
storage/operator-evidence/bwk-natura2000-2025/regional/
|
||||
kempen-transport-region/partitions/{nis_code}/
|
||||
raw/*.json.gz
|
||||
bwk_natura2000_2025.geojson
|
||||
manifest.json
|
||||
snapshots/kempen-transport-region/
|
||||
bwk_natura2000_2025.geojson
|
||||
manifest.json
|
||||
```
|
||||
|
||||
Partition reuse requires the same source version, municipality identity,
|
||||
boundary checksum, normalized output checksum and all raw evidence checksums.
|
||||
Snapshot reuse additionally binds the ordered set of 28 partition output
|
||||
checksums. Only the assembled snapshot enters DatasetService/PostGIS; raw WFS
|
||||
responses and partition files remain operator evidence on persistent storage.
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
- [x] Integrate governed Waterinfo/VMM annual station series without presenting point measurements as area-wide water volume.
|
||||
- [x] Add bounded historical orthophoto acquisition for official 1971-2025 products with a map overlay and no current-GRB QA on old imagery.
|
||||
- [x] Add BWK/Natura 2000 through an explicit provider/operator contract.
|
||||
- [x] Expand BWK/Natura 2000 state 2025 from Mol to all 28 approved Kempen municipalities with partitioned source evidence.
|
||||
- [x] Add annual agricultural-use parcels through an explicit provider/operator contract.
|
||||
- [x] Extend the official 1778/1873/1969 historical buildings, water and roads series from Mol to the approved regional scope with partitioned source audits.
|
||||
- [x] Connect a drawn rectangle to bounded official orthophoto acquisition, local configured-YOLO detection and persisted GRB QA.
|
||||
|
||||
Reference in New Issue
Block a user