Do not show seas at z0

pull/124/head^2
Lukas Martinelli 2017-01-18 10:19:39 +01:00
rodzic d5350ee535
commit 7f4ca37a6a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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