Improve operational GIS map workflow
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-07-04 23:29:33 +02:00
parent 531c4e4e1d
commit 21374ed187
10 changed files with 246 additions and 4 deletions
+27
View File
@@ -1,3 +1,30 @@
## Sprint 116 Operational GIS map workflow (2026-07-04)
Changed:
- Switched the default MapLibre basemap to an OpenStreetMap road raster style with visible attribution while preserving `VITE_MAP_STYLE_URL` as the override for managed/production map styles.
- Added a persisted database layer selector to the Map workspace so ready vector datasets can be opened directly from stored project data.
- Added an Operational GIS run panel that reuses the selected AOI bbox or active layer bbox and calls the existing persisted `vector_features` bbox selection workflow.
- Updated `CHANGELOG.md`, `docs/TODO.md`, `docs/ENVIRONMENT_SPEC.md` and `frontend/README.md`.
- Added regression coverage in `backend/tests/test_sprint116_operational_gis_map_workflow.py`.
Validation:
- `cd frontend && npm run typecheck` passed.
- `python -m pytest backend\tests\test_sprint116_operational_gis_map_workflow.py backend\tests\test_sprint85_map_workspace_density.py backend\tests\test_sprint106_map_bbox_extract.py backend\tests\test_sprint107_map_selection_export.py backend\tests\test_sprint108_map_selection_derived_dataset.py -q` passed: 18 tests.
- `cd frontend && npm run build` passed.
- `python -m compileall backend/app` passed.
- `cd backend && python -m pytest -q` passed: 364 tests.
- `bash scripts/run_readiness_check.sh` passed: 364 backend tests plus frontend typecheck/build.
- `cd backend && python -m alembic heads` passed: `202606120900 (head)`.
- `cd backend && python -m alembic upgrade head --sql` passed.
- `bash -n scripts/live_migration_smoke.sh` passed.
Limitations:
- The default OpenStreetMap tile service is appropriate for local V1 testing and demos, but production or heavier deployments should set `VITE_MAP_STYLE_URL` to a managed tile/style provider.
- This pass does not add live GRB/OSM fetching, new API routes, new migrations or fake data.
Next recommended pass:
- Run a browser-facing map workflow smoke against the deployed app, then add a guided persisted-reference QA test run if the operational flow needs fewer manual steps.
## Sprint 115 QA/QC and Exports usability layout pass (2026-07-04)
Changed:
+7 -1
View File
@@ -31,7 +31,7 @@ OSM_OVERPASS_URL=https://overpass-api.de/api/interpreter
```env
VITE_API_BASE_URL=
VITE_API_PROXY_TARGET=http://localhost:8000
VITE_MAP_STYLE_URL=https://demotiles.maplibre.org/style.json
VITE_MAP_STYLE_URL=
```
`VITE_API_BASE_URL` is intentionally empty by default so the browser calls the
@@ -39,6 +39,12 @@ same origin as the frontend. In Docker Compose, nginx serves the built frontend
and reverse proxies `/api` and `/health` to the backend container. For local
Vite development, `VITE_API_PROXY_TARGET` can point to the local backend.
If `VITE_MAP_STYLE_URL` is empty, the frontend uses the built-in OpenStreetMap
road raster basemap with visible attribution. This is suitable for local V1
testing and demos. For production, commercial use or heavier traffic, set
`VITE_MAP_STYLE_URL` to a managed MapLibre style URL from an appropriate tile
provider instead of relying on the public OpenStreetMap tile service.
## Docker compose services
- `db`: PostGIS image.
+1
View File
@@ -76,6 +76,7 @@ This file now starts with the current implementation status. Older preparation/b
- [x] Add Data workspace selected-summary and panel density polish.
- [x] Add Map workspace panel hierarchy and layer-control density polish.
- [x] Add selected map feature extraction with highlight, property table, copy and GeoJSON download.
- [x] Add operational GIS map workflow with road basemap, persisted database layer selection and AOI/layer `vector_features` query run.
- [x] Add QA/QC workspace result hierarchy and filter density polish.
- [x] Add Change Detection panel hierarchy and analysis workspace density polish.
- [x] Add calm workbench layout pass to reduce duplicate navigation, heavy card styling and shell density.