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

Display man_made=utility_pole the same as power=pole #4950

Draft
wants to merge 1 commit 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions project.mml
Expand Up @@ -1775,9 +1775,10 @@ Layer:
table: |-
(SELECT
way,
power
power,
man_made
FROM planet_osm_point
WHERE power IN ('tower', 'pole')
WHERE power IN ('tower', 'pole') OR man_made in ('utility_pole')
ORDER BY
CASE power
WHEN 'tower' THEN 2
Expand Down
5 changes: 5 additions & 0 deletions style/power.mss
Expand Up @@ -51,4 +51,9 @@
marker-fill: #928f8f;
marker-width: 3;
}
[man_made = 'utility_pole'][zoom >= 16] {
marker-file: url('symbols/square.svg');
marker-fill: #928f8f;
marker-width: 3;
}
}