Show more (and do not remove) seas with increasing zoom level

Fix #275
pull/370/head
jirik 2017-11-20 17:23:58 +01:00 zatwierdzone przez Jiri Kozel
rodzic 9c7a3aeb36
commit d2a81bd1da
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -40,7 +40,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, name_de
FROM osm_marine_point
WHERE geometry && bbox AND (
place = 'ocean'
OR (zoom_level >= 1 AND zoom_level <= "rank" AND "rank" IS NOT NULL)
OR (zoom_level >= "rank" AND "rank" IS NOT NULL)
OR (zoom_level >= 8)
);
$$ LANGUAGE SQL IMMUTABLE;