From 3ba72cf834ced95e22f28addd277cc740c110bab Mon Sep 17 00:00:00 2001 From: Johannes Singler Date: Fri, 28 Sep 2018 18:14:41 +0200 Subject: [PATCH] Order amenity_lines by layer (#3413). This way, we respect the layer tag for water slides, and it should not harm for fords. --- project.mml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project.mml b/project.mml index 3e1e1cf5fc..5083be5654 100644 --- a/project.mml +++ b/project.mml @@ -1564,6 +1564,7 @@ Layer: (SELECT way, name, + layer, COALESCE( 'highway_' || CASE WHEN tags @> 'ford=>yes' OR tags @> 'ford=>stepping_stones' THEN 'ford' ELSE NULL END, 'leisure_' || CASE WHEN leisure IN ('slipway') THEN leisure ELSE NULL END, @@ -1574,6 +1575,7 @@ Layer: WHERE tags @> 'ford=>yes' OR tags @> 'ford=>stepping_stones' OR leisure IN ('slipway') OR tags @> 'attraction=>water_slide' + ORDER BY COALESCE(layer,0) ) AS amenity_line properties: minzoom: 16