added bootstrap buildings

This commit is contained in:
2026-06-23 09:57:39 +03:00
parent 69d63e9152
commit 1639840d2a
3 changed files with 19 additions and 1 deletions
+3
View File
@@ -50,6 +50,9 @@ sh scripts/load_buildings.sh data/osm/northwestern-fed-district-latest.osm.pbf
docker compose restart api worker
```
The script builds a local `radio-osm2pgsql:latest` image from
`scripts/Dockerfile.osm2pgsql` on first run.
The import writes a `buildings` table with `geom`, `height_m`, `levels`,
`building_type`, and `source`. Heights come from `height`, then
`building:levels * 3.0`, then an estimated default by building type.