Add building layer
This commit is contained in:
@@ -17,6 +17,7 @@ function exec_psql_file() {
|
||||
function main() {
|
||||
exec_psql_file "$VT_UTIL_DIR/postgis-vt-util.sql"
|
||||
exec_psql_file "layers/water.sql"
|
||||
exec_psql_file "layers/building.sql"
|
||||
}
|
||||
|
||||
main
|
||||
|
||||
7
schema/layers/building.sql
Normal file
7
schema/layers/building.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE OR REPLACE VIEW building_z13 AS (
|
||||
SELECT osm_id, way, height, levels FROM buildings WHERE way_area > 1400
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW building_z14 AS (
|
||||
SELECT osm_id, way, height, levels FROM buildings
|
||||
);
|
||||
Reference in New Issue
Block a user