Show urban earlier

pull/24/head
lukasmartinelli 2016-10-06 19:35:00 +02:00
rodzic 9ed2356060
commit 59b7fb4396
2 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -215,6 +215,9 @@ Layer:
table: |-
( SELECT geom, scalerank
FROM (
SELECT * FROM urban_z4
WHERE z(!scale_denominator!) = 4
UNION ALL
SELECT * FROM urban_z5
WHERE z(!scale_denominator!) = 5
UNION ALL

Wyświetl plik

@ -1,3 +1,9 @@
CREATE OR REPLACE VIEW urban_z4 AS (
SELECT geom, scalerank
FROM ne_50m_urban_areas
WHERE scalerank <= 2
);
CREATE OR REPLACE VIEW urban_z5 AS (
SELECT geom, scalerank
FROM ne_50m_urban_areas