Add building layer

This commit is contained in:
lukasmartinelli
2016-10-06 08:36:00 +02:00
parent 4ec7016608
commit 217d5015c2
4 changed files with 47 additions and 1 deletions

View File

@@ -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

View 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
);