You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(SELECT
way,waterway,
CASE WHEN tunnel IN ('yes','culvert') THEN 'yes' ELSE 'no' END AS int_tunnel
FROM planet_osm_line
WHERE waterway IN ('stream','drain','ditch')
AND (tunnel IS NULLOR tunnel !='yes')
) AS water_lines_casing
The tunnel condition in the WHERE selects waterways without a tunnel=yes tag, but the case condition targets tunnel=yes. The only time int_tunnel is yes is for tunnel=culvert.
The text was updated successfully, but these errors were encountered:
The SQL for water-lines-casing is
The tunnel condition in the WHERE selects waterways without a
tunnel=yes
tag, but the case condition targets tunnel=yes. The only time int_tunnel is yes is fortunnel=culvert
.The text was updated successfully, but these errors were encountered: