diff --git a/layers/transportation/transportation.sql b/layers/transportation/transportation.sql index fd7a22f8..349fe1ca 100644 --- a/layers/transportation/transportation.sql +++ b/layers/transportation/transportation.sql @@ -376,15 +376,14 @@ FROM ( AND CASE WHEN zoom_level = 12 THEN CASE WHEN transportation_filter_z12(hl.highway, hl.construction) THEN TRUE - WHEN n.route_rank = 1 THEN TRUE + WHEN hl.highway IN ('track', 'path') THEN n.route_rank = 1 END WHEN zoom_level = 13 THEN CASE WHEN man_made='pier' THEN NOT ST_IsClosed(hl.geometry) - WHEN hl.highway = 'path' THEN ( - hl.name <> '' - OR n.route_rank BETWEEN 1 AND 2 - OR hl.sac_scale <> '' - ) + WHEN hl.highway IN ('track', 'path') THEN (hl.name <> '' + OR n.route_rank BETWEEN 1 AND 2 + OR hl.sac_scale <> '' + ) ELSE transportation_filter_z13(hl.highway, public_transport, hl.construction, service) END WHEN zoom_level >= 14 THEN