Align bathymetry with regional map workflow
This commit is contained in:
@@ -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")
|
||||
assert "py_compile scripts/provision_mol_bathymetry_profiles.py" in readiness
|
||||
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
|
||||
|
||||
@@ -10024,6 +10024,9 @@ Implemented:
|
||||
to the existing selection aggregation path.
|
||||
- Added the bathymetry source and acquisition API, environment controls, Mol
|
||||
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
|
||||
scaling with explicit territorial sea, EEZ/continental shelf and
|
||||
TAW/LAT/mDNG semantics.
|
||||
|
||||
@@ -274,6 +274,9 @@ function datasetCoversSelectedArea(
|
||||
if (coverageScope !== 'municipality' || !dataset.area_id) {
|
||||
return true
|
||||
}
|
||||
if (regionalScope && dataset.source_name === 'vmm_vha_bathymetry_profiles') {
|
||||
return dataset.source_metadata?.['regional_partitions_complete'] === true
|
||||
}
|
||||
if (regionalScope) {
|
||||
return true
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
`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
|
||||
and semantic metrics match the persisted Job result. It never writes directly
|
||||
to PostGIS.
|
||||
|
||||
@@ -16,7 +16,7 @@ import requests
|
||||
|
||||
|
||||
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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user