Skip to content

Commit

Permalink
Order amenity_lines by layer (gravitystorm#3413).
Browse files Browse the repository at this point in the history
This way, we respect the layer tag for water slides, and it should not harm for fords.
  • Loading branch information
johsin18 committed Sep 29, 2018
1 parent 0a8b893 commit 3ba72cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit 3ba72cf

Please sign in to comment.