Complete operational map result workflow
This commit is contained in:
+5
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
FastAPI backend for GeoIntel Kempen Foundation Sprints.
|
||||
|
||||
The map-first explorer uses the existing persisted vector selection endpoint. Its bounded GeoJSON preview reports `feature_count`, while `total_feature_count` reports the exact PostGIS intersection count before the 1,000-feature response cap. This keeps municipality-scale analysis honest without sending unbounded geometry to the browser.
|
||||
The map-first explorer uses the existing persisted vector selection endpoint. Its bounded GeoJSON preview reports `feature_count`, while `total_feature_count` reports the exact PostGIS intersection count before the 1,000-feature response cap. Drawn/manual selections send only their bbox; `area_id` is reserved for the explicit full-work-area operation. This keeps municipality-scale analysis honest without sending unbounded geometry to the browser.
|
||||
|
||||
## Scope implemented
|
||||
- Project CRUD
|
||||
@@ -188,12 +188,16 @@ bash scripts/live_migration_smoke.sh
|
||||
- Added project metadata JSON export for project, dataset and QA/QC summary state.
|
||||
- Added export read/list/content endpoints:
|
||||
- `POST /api/v1/exports/geojson`
|
||||
- `POST /api/v1/exports/map-result`
|
||||
- `POST /api/v1/exports/metadata`
|
||||
- `GET /api/v1/exports/projects/{project_id}/exports`
|
||||
- `GET /api/v1/exports/{export_id}`
|
||||
- `GET /api/v1/exports/{export_id}/content`
|
||||
- Exported detection and segmentation GeoJSON is generated from persisted first-class geometry rows.
|
||||
- No new migrations, product lines, live providers or AI dependencies are introduced by this export pass.
|
||||
- Map-result exports recompute current governed vector/raster selections or
|
||||
historical comparisons on the backend before persisting the artifact. Client
|
||||
metrics are never accepted as authoritative export content.
|
||||
- Old offline demo export artifacts can be inspected with `python scripts/cleanup_demo_artifacts.py`
|
||||
and removed only with an explicit `--apply`. The script keeps the newest exports
|
||||
per demo project, refuses to delete files outside `STORAGE_ROOT`, and blocks
|
||||
|
||||
Reference in New Issue
Block a user