Skip to content

Commit

Permalink
Prevent cyclestreets without cars from rendering as pedestrian streets
Browse files Browse the repository at this point in the history
Adresses issue cyclosm#666
  • Loading branch information
gwater authored Feb 15, 2024
1 parent 5db6680 commit 9b905e3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions roads.mss
Original file line number Diff line number Diff line change
Expand Up @@ -2493,7 +2493,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2561,7 +2561,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2631,7 +2631,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2699,7 +2699,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2768,7 +2768,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2837,7 +2837,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2907,7 +2907,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -2978,7 +2978,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -3047,7 +3047,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -3113,7 +3113,7 @@
line-color: @speedWalk-fill;
#tunnel { line-color: lighten(@speedWalk-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down Expand Up @@ -3182,7 +3182,7 @@
line-color: @standard-fill;
#tunnel { line-color: lighten(@standard-fill, 10%); }
}
[motor_vehicle='no'][can_bicycle!='no'] {
[motor_vehicle='no'][can_bicycle!='no'][cyclestreet='no'] {
line-color: @nomotor-fill;
#tunnel { line-color: lighten(@nomotor-fill, 10%); }
}
Expand Down

0 comments on commit 9b905e3

Please sign in to comment.