Show suburbs on z10

pull/311/head
Lukas Martinelli 2016-05-02 17:09:39 +02:00
rodzic 2e18d8b9a1
commit c753c3257e
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -676,7 +676,8 @@ Layer:
) AS place_label
WHERE geometry && !bbox!
ORDER BY population DESC NULLS LAST
) AS t WHERE z(!scale_denominator!) >= 10
) AS t WHERE z(!scale_denominator!) >= 11
OR (z(!scale_denominator!) = 10 AND localrank < 6)
OR (z(!scale_denominator!) = 9 AND localrank < 8)
OR (z(!scale_denominator!) = 8 AND localrank < 12)
OR (z(!scale_denominator!) = 7 AND localrank < 12)

Wyświetl plik

@ -43,7 +43,7 @@ CREATE OR REPLACE VIEW place_label_z9 AS (
CREATE OR REPLACE VIEW place_label_z10 AS (
SELECT * FROM osm_place_point
WHERE name <> ''
AND type IN ('island', 'aboriginal_lands', 'city', 'town', 'village')
AND type IN ('island', 'aboriginal_lands', 'city', 'town', 'village', 'suburb')
);
CREATE OR REPLACE VIEW place_label_z11toz12 AS (