Show more countries on z1

pull/401/head
lukasmartinelli 2016-08-12 12:09:41 +02:00
rodzic ebbeb374d9
commit 24482b1b00
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -485,17 +485,17 @@ Layer:
coalesce(NULLIF(name_fr, ''), name) AS name_fr,
coalesce(NULLIF(name_de, ''), name) AS name_de,
coalesce(NULLIF(name_ru, ''), name) AS name_ru,
coalesce(NULLIF(name_zh, ''), name) AS name_zh,
coalesce(NULLIF(name_zh, ''), name) AS name_zh,
rank AS scalerank
FROM custom_countries
WHERE (
(
rank <= 1
rank <= 2
AND z(!scale_denominator!) = 1 AND wkb_geometry && !bbox!
)
OR
(
rank <= 2
rank <= 3
AND z(!scale_denominator!) >= 2 AND wkb_geometry && !bbox!
)
OR