first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CREATE EXTENSION IF NOT EXISTS postgis;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS buildings (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
osm_id BIGINT,
|
||||
height_m REAL NOT NULL DEFAULT 10,
|
||||
geom GEOMETRY(Polygon, 4326) NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS buildings_geom_gist ON buildings USING GIST (geom);
|
||||
Reference in New Issue
Block a user