Merge branch 'master' into feature/changed-place-layer

Conflicts:
	layers/place/mapping.yaml
This commit is contained in:
Lukas Martinelli
2016-12-01 09:57:58 +00:00
53 changed files with 674 additions and 570 deletions

View File

@@ -9,7 +9,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, place c
FROM osm_city_point
WHERE geometry && bbox
AND ((zoom_level = 2 AND "rank" = 1)
OR (zoom_level BETWEEN 3 AND 7 AND "rank" <= zoom_level)
OR (zoom_level BETWEEN 3 AND 7 AND "rank" <= zoom_level + 1)
)
UNION ALL
SELECT osm_id, geometry, name,