Report active regional raster layers
This commit is contained in:
@@ -19,6 +19,7 @@ def test_partitioned_raster_routes_are_canonical_and_documented() -> None:
|
||||
|
||||
|
||||
def test_regional_map_uses_logical_partition_groups_and_exact_analysis() -> None:
|
||||
app = (ROOT / "frontend/src/App.tsx").read_text(encoding="utf-8")
|
||||
workspace = (ROOT / "frontend/src/components/map/MapWorkspace.tsx").read_text(encoding="utf-8")
|
||||
hook = (ROOT / "frontend/src/hooks/useMapThemeSelectionInsights.ts").read_text(encoding="utf-8")
|
||||
api = (ROOT / "frontend/src/services/api/datasets.ts").read_text(encoding="utf-8")
|
||||
@@ -31,6 +32,7 @@ def test_regional_map_uses_logical_partition_groups_and_exact_analysis() -> None
|
||||
assert "selectFloodHazardPartitions" in hook
|
||||
assert "/datasets/raster/terrain/select" in api
|
||||
assert "/datasets/raster/flood-hazard/select" in api
|
||||
assert "Rasterlaag actief" in app
|
||||
|
||||
|
||||
def test_maplibre_supports_multiple_persisted_raster_overlays() -> None:
|
||||
|
||||
@@ -40,6 +40,16 @@ Validation evidence:
|
||||
compilation, 107 documented API route checks, Alembic head `202607160001`,
|
||||
frontend typecheck and the production build. Live deployment and browser
|
||||
evidence are recorded after the Tower rollout.
|
||||
- Tower deployment of commit `45dc730` passed container health, PostGIS 3.6,
|
||||
the live migration/schema smoke and the frontend/API/icon proxy checks.
|
||||
- One live 0.15 by 0.13 degree cross-boundary rectangle opened seven persisted
|
||||
DHMV and seven persisted VMM partitions. It returned 6,056,943 valid terrain
|
||||
cells at 99.9719% coverage and 651.56 ha of modeled pluvial current-climate
|
||||
T100 positive-depth cells without contacting either WCS.
|
||||
- Browser verification showed both regional themes as available, twelve
|
||||
deduplicated VMM scenarios, one 28-municipality MapLibre layer and zero
|
||||
console warnings/errors. A follow-up status-label fix makes a visible raster
|
||||
report `Rasterlaag actief` instead of `Geen actieve laag`.
|
||||
|
||||
Next:
|
||||
- Use the now-complete regional current-state layers as the baseline for a
|
||||
|
||||
@@ -732,6 +732,8 @@ function App(): JSX.Element {
|
||||
? `${mapFeatureCount.toLocaleString('nl-BE')} objecten`
|
||||
: viewportVectorLayerActive
|
||||
? 'Kaartlaag gekozen'
|
||||
: activeWorkspace === 'map' && selectedDataset?.dataset_type === 'raster'
|
||||
? 'Rasterlaag actief'
|
||||
: 'Geen actieve laag'
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user