added bootstrap buildings
This commit is contained in:
@@ -51,7 +51,9 @@ docker compose restart api worker
|
||||
```
|
||||
|
||||
The script builds a local `radio-osm2pgsql:latest` image from
|
||||
`scripts/Dockerfile.osm2pgsql` on first run.
|
||||
`scripts/Dockerfile.osm2pgsql` on first run. It imports the PBF through standard
|
||||
`osm2pgsql` tables, then normalizes `planet_osm_polygon` into the API `buildings`
|
||||
table with `db/sql/normalize_buildings.sql`.
|
||||
|
||||
The import writes a `buildings` table with `geom`, `height_m`, `levels`,
|
||||
`building_type`, and `source`. Heights come from `height`, then
|
||||
|
||||
Reference in New Issue
Block a user