Add V1 selected area map overlay
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 00:21:01 +02:00
parent 97be9d9293
commit 47cd2c6c1e
12 changed files with 315 additions and 21 deletions
+18 -1
View File
@@ -122,7 +122,24 @@ Soft-delete in V1 preferred. Hard-delete only if storage cleanup is also impleme
### GET `/api/v1/projects/{project_id}/areas`
Returns areas for a project.
Returns areas for a project. Area responses include persisted AOI geometry as
GeoJSON so the frontend can display the selected area in the map workbench.
```json
{
"id": "uuid",
"project_id": "uuid",
"name": "Geel Centrum AOI",
"original_crs": "EPSG:4326",
"area_m2": 1234.5,
"created_at": "timestamp",
"geometry_type": null,
"geometry": {
"type": "MultiPolygon",
"coordinates": []
}
}
```
### POST `/api/v1/projects/{project_id}/areas`