fix: keep bounded thematic coverage scoped
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
- Exposed all four themes through the existing Flanders map selection flow.
|
||||
Provider calls remain backend-only and full-Flanders monolithic requests
|
||||
remain outside the bounded safety limits.
|
||||
- Prevented bounded municipality rasters from being labelled as complete
|
||||
Flanders coverage; every governed thematic card remains `Op aanvraag` until
|
||||
the active selection has a measured result.
|
||||
- Kept source semantics explicit: land-use agriculture is not the definitive
|
||||
ALZ parcel declaration series, forest is not a legal forest boundary or
|
||||
biomass model, and DOV soil is a 1949-1971 historical baseline rather than
|
||||
|
||||
@@ -404,4 +404,6 @@ def test_official_vector_routes_and_frontend_use_canonical_backend_path(monkeypa
|
||||
assert "datasetsApi.acquireOfficialVector" in selection_hook
|
||||
assert "datasetsApi.listOfficialVectorProducts" in catalog_hook
|
||||
assert "officialMapProducts.officialVector" in workspace
|
||||
assert "officialMapProducts.thematic" in workspace
|
||||
assert "result[product.theme] = null" in workspace
|
||||
assert "geo.api.vlaanderen.be" not in workspace
|
||||
|
||||
@@ -10282,6 +10282,9 @@ Implemented:
|
||||
biological value, estimated PHAB habitat areas and historical soil classes.
|
||||
- Connected all four themes to the existing Flanders product catalog and
|
||||
all-theme selection flow without introducing browser-side provider traffic.
|
||||
- Browser acceptance exposed and closed a coverage-state defect: a bounded
|
||||
municipality raster can no longer make a complete-Flanders theme appear
|
||||
preloaded. Governed thematic cards remain `Op aanvraag`.
|
||||
- Added Compose and editable Unraid runtime settings for provider endpoints
|
||||
and transfer/feature guardrails.
|
||||
|
||||
|
||||
@@ -772,6 +772,11 @@ export function MapWorkspace({
|
||||
&& datasetCoversSelectedArea(dataset, selectedMapAreaId, regionalScopeSelected),
|
||||
) ?? null
|
||||
}
|
||||
if (flandersScopeSelected && officialMapProducts.thematic.length > 0) {
|
||||
for (const product of officialMapProducts.thematic) {
|
||||
result[product.theme] = null
|
||||
}
|
||||
}
|
||||
if (flandersScopeSelected && officialMapProducts.grb.length > 0) {
|
||||
for (const product of officialMapProducts.grb) {
|
||||
result[product.key] = null
|
||||
@@ -791,6 +796,7 @@ export function MapWorkspace({
|
||||
officialMapProducts.floodHazard.length,
|
||||
officialMapProducts.grb,
|
||||
officialMapProducts.officialVector,
|
||||
officialMapProducts.thematic,
|
||||
regionalScopeSelected,
|
||||
selectedDhmvProductKey,
|
||||
selectedFloodHazardDatasetId,
|
||||
|
||||
Reference in New Issue
Block a user