added land

This commit is contained in:
2026-06-23 13:04:24 +03:00
parent b92bb1ceba
commit 11a172ef3d
7 changed files with 404 additions and 8 deletions
+13
View File
@@ -68,6 +68,19 @@ curl -s -X POST http://localhost:8000/api/v1/buildings/query \
-d '{"bbox":[30.30,59.93,30.33,59.95]}' | jq '.features | length'
```
## Landcover And Canopy
Place ESA WorldCover GeoTIFF/COG files under `data/landcover` and optional canopy
height GeoTIFF/COG files under `data/canopy`, then restart the API:
```bash
docker compose restart api worker
```
The `/api/v1/landcover/path` endpoint samples all `.tif`/`.tiff` files under
`LANDCOVER_PATH` recursively. Canopy data is optional; when it is missing,
`canopy_height_m` is returned as `null`.
For local Python development:
```bash