Add urban areas

This commit is contained in:
lukasmartinelli
2016-10-06 18:45:00 +02:00
parent 8af7c0f3f9
commit 521e74c812
3 changed files with 42 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ function main() {
exec_psql_file "layers/boundary.sql"
exec_psql_file "layers/road.sql"
exec_psql_file "layers/ice.sql"
exec_psql_file "layers/urban.sql"
}
main

9
schema/layers/urban.sql Normal file
View File

@@ -0,0 +1,9 @@
CREATE OR REPLACE VIEW urban_z4 AS (
SELECT geom, scalerank
FROM ne_50m_urban_areas
);
CREATE OR REPLACE VIEW urban_z6 AS (
SELECT geom, scalerank
FROM ne_10m_urban_areas
);