kopia lustrzana https://github.com/openmaptiles/openmaptiles
Allow lakelines at native sizes (#1475)
This PR reduces the minimum lake line zoom to z3, allowing the largest lakes to show a renderable label. The lakeline function is restricted by the LineLabel() function, which limits lakelines to only those that are big enough to render a text label. Therefore, further restricting lakelines by zoom is not necessary.pull/1391/head^2
rodzic
edb42f2db3
commit
168e8300c0
|
@ -31,7 +31,7 @@ SELECT
|
||||||
is_intermittent::int AS intermittent
|
is_intermittent::int AS intermittent
|
||||||
FROM osm_water_lakeline
|
FROM osm_water_lakeline
|
||||||
WHERE geometry && bbox
|
WHERE geometry && bbox
|
||||||
AND ((zoom_level BETWEEN 9 AND 13 AND LineLabel(zoom_level, NULLIF(name, ''), geometry))
|
AND ((zoom_level BETWEEN 3 AND 13 AND LineLabel(zoom_level, NULLIF(name, ''), geometry))
|
||||||
OR (zoom_level >= 14))
|
OR (zoom_level >= 14))
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT
|
SELECT
|
||||||
|
|
Ładowanie…
Reference in New Issue