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

Render highway=busway as highway=service + access=no #4714

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
27 changes: 25 additions & 2 deletions style/roads.mss
Expand Up @@ -557,7 +557,8 @@
}
}

[feature = 'highway_service'] {
[feature = 'highway_service'],
[feature = 'highway_busway'] {
[zoom >= 14][service = 'INT-normal'],
[zoom >= 16][service = 'INT-minor'] {
line-color: @service-casing;
Expand Down Expand Up @@ -2060,7 +2061,10 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */

#roads-fill[feature = 'highway_service'],
#bridges[feature = 'highway_service'],
#tunnels[feature = 'highway_service'] {
#tunnels[feature = 'highway_service'],
#roads-fill[feature = 'highway_busway'],
#bridges[feature = 'highway_busway'],
#tunnels[feature = 'highway_busway'] {
[zoom >= 14][service = 'INT-normal'],
[zoom >= 16][service = 'INT-minor'] {
line-color: @service-fill;
Expand Down Expand Up @@ -3397,6 +3401,25 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */
}
}
}
[feature = 'highway_busway'] {
nighto marked this conversation as resolved.
Show resolved Hide resolved
[zoom >= 16] {
access/line-color: @access-marking;
[int_surface = 'unpaved'] {
access/line-color: @access-marking-white-unpaved;
}
[feature = 'highway_road'] {
access/line-color: @access-marking-road;
}
access/line-join: round;
access/line-cap: round;
access/line-width: 2;
access/line-dasharray: 6,8;
[zoom >= 17] {
access/line-width: 3;
access/line-dasharray: 8,10;
}
}
}
[access = 'no'] {
[feature = 'highway_motorway'],
[feature = 'highway_trunk'],
Expand Down