Align bathymetry with regional map workflow
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-17 15:29:52 +02:00
parent 5b4e18059a
commit 00fcdcba87
5 changed files with 12 additions and 2 deletions
@@ -353,3 +353,7 @@ def test_bathymetry_contract_and_expansion_roadmap_are_documented() -> None:
dockerfile = (ROOT / "deploy" / "unraid" / "Dockerfile.all-in-one").read_text(encoding="utf-8") dockerfile = (ROOT / "deploy" / "unraid" / "Dockerfile.all-in-one").read_text(encoding="utf-8")
assert "py_compile scripts/provision_mol_bathymetry_profiles.py" in readiness assert "py_compile scripts/provision_mol_bathymetry_profiles.py" in readiness
assert "COPY scripts/provision_mol_bathymetry_profiles.py" in dockerfile assert "COPY scripts/provision_mol_bathymetry_profiles.py" in dockerfile
operator = (ROOT / "scripts" / "provision_mol_bathymetry_profiles.py").read_text(encoding="utf-8")
map_workspace = (ROOT / "frontend" / "src" / "components" / "map" / "MapWorkspace.tsx").read_text(encoding="utf-8")
assert 'DEFAULT_PROJECT_NAME = "Kempen Regional Workbench"' in operator
assert "regional_partitions_complete" in map_workspace
+3
View File
@@ -10024,6 +10024,9 @@ Implemented:
to the existing selection aggregation path. to the existing selection aggregation path.
- Added the bathymetry source and acquisition API, environment controls, Mol - Added the bathymetry source and acquisition API, environment controls, Mol
operator command, map theme, profile inspector and source inventory. operator command, map theme, profile inspector and source inventory.
- Kept municipality-only bathymetry hidden for a regional active Area until a
complete partition manifest exists; the Mol operator targets the canonical
Kempen workspace so selecting Mol in the ordinary map exposes the layer.
- Documented partitioned Flanders scaling and federated Belgium/maritime - Documented partitioned Flanders scaling and federated Belgium/maritime
scaling with explicit territorial sea, EEZ/continental shelf and scaling with explicit territorial sea, EEZ/continental shelf and
TAW/LAT/mDNG semantics. TAW/LAT/mDNG semantics.
@@ -274,6 +274,9 @@ function datasetCoversSelectedArea(
if (coverageScope !== 'municipality' || !dataset.area_id) { if (coverageScope !== 'municipality' || !dataset.area_id) {
return true return true
} }
if (regionalScope && dataset.source_name === 'vmm_vha_bathymetry_profiles') {
return dataset.source_metadata?.['regional_partitions_complete'] === true
}
if (regionalScope) { if (regionalScope) {
return true return true
} }
+1 -1
View File
@@ -1893,7 +1893,7 @@ docker exec geointel python /app/scripts/provision_mol_bathymetry_profiles.py
``` ```
Use `--force` only for a deliberate fresh provider snapshot. The command finds Use `--force` only for a deliberate fresh provider snapshot. The command finds
`Mol Municipality Workbench` and `Gemeente Mol`, calls the canonical `Kempen Regional Workbench` and `Gemeente Mol`, calls the canonical
bathymetry acquisition endpoint and then verifies that vector selection count bathymetry acquisition endpoint and then verifies that vector selection count
and semantic metrics match the persisted Job result. It never writes directly and semantic metrics match the persisted Job result. It never writes directly
to PostGIS. to PostGIS.
+1 -1
View File
@@ -16,7 +16,7 @@ import requests
DEFAULT_API_URL = "http://127.0.0.1:8000" DEFAULT_API_URL = "http://127.0.0.1:8000"
DEFAULT_PROJECT_NAME = "Mol Municipality Workbench" DEFAULT_PROJECT_NAME = "Kempen Regional Workbench"
DEFAULT_AREA_FRAGMENT = "Gemeente Mol" DEFAULT_AREA_FRAGMENT = "Gemeente Mol"