Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement issue 2288 (render natural=earth_bank) #4775

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ Layer:
(SELECT
way, "natural", man_made
FROM planet_osm_line
WHERE "natural" IN ('arete', 'cliff', 'ridge') OR man_made = 'embankment'
WHERE "natural" IN ('arete', 'cliff', 'ridge', 'earth_bank') OR man_made = 'embankment'
) AS cliffs
properties:
cache-features: true
Expand Down Expand Up @@ -2073,7 +2073,7 @@ Layer:
OR aerialway IN ('cable_car', 'gondola', 'mixed_lift', 'goods', 'chair_lift', 'drag_lift', 't-bar', 'j-bar', 'platter', 'rope_tow', 'zip_line')
OR leisure IN ('slipway', 'track')
OR waterway IN ('dam', 'weir')
OR "natural" IN ('arete', 'cliff', 'ridge'))
OR "natural" IN ('arete', 'cliff', 'ridge', 'earth_bank'))
AND name IS NOT NULL)
OR (tags @> 'golf=>hole' AND ref IS NOT NULL)
) AS text_line
Expand Down
3 changes: 3 additions & 0 deletions style/landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,9 @@
[man_made = 'embankment'][zoom >= 15]::man_made {
line-pattern-file: url('symbols/embankment.svg');
}
[natural = 'earth_bank'][zoom >= 16] {
line-pattern-file: url('symbols/earth_bank.svg');
}
}

#barriers {
Expand Down
4 changes: 4 additions & 0 deletions symbols/earth_bank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.