Skip to content

Commit

Permalink
Revert PR #3930 which added river-color (#3955)
Browse files Browse the repository at this point in the history
Reverts PR #3930 which changed river color to #8fcadd for waterways and river, canal areas due to lack of consensus
  • Loading branch information
jeisenbe authored Oct 28, 2019
1 parent 3cc6a88 commit f1cf15d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 39 deletions.
1 change: 0 additions & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ Layer:
(SELECT
way,
"natural",
water,
waterway,
landuse,
name,
Expand Down
4 changes: 1 addition & 3 deletions style.mss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ Map {
background-color: @land-color;
}

@land-color: #f2efe9;

@water-color: #aad3df;
@river-color: #8fcadd; // Lch(78,21,227)
@land-color: #f2efe9;

@standard-halo-radius: 1;
@standard-halo-fill: rgba(255,255,255,0.6);
50 changes: 15 additions & 35 deletions water.mss
Original file line number Diff line number Diff line change
Expand Up @@ -60,42 +60,22 @@
[zoom >= 1][zoom < 2][way_pixels >= 16],
[zoom >= 2][zoom < 8][way_pixels >= 32],
[zoom >= 8] {
[water != 'river'][water != 'canal'][waterway != 'riverbank'] {
[int_intermittent = 'no'] {
polygon-fill: @water-color;
[way_pixels >= 4] {
polygon-gamma: 0.75;
}
[way_pixels >= 64] {
polygon-gamma: 0.6;
}
[int_intermittent = 'no'] {
polygon-fill: @water-color;
[way_pixels >= 4] {
polygon-gamma: 0.75;
}
[int_intermittent = 'yes'] {
polygon-pattern-file: url('symbols/intermittent_water.png');
polygon-pattern-alignment: global;
[way_pixels >= 4] {
polygon-pattern-gamma: 0.75;
}
[way_pixels >= 64] {
polygon-pattern-gamma: 0.6;
}
[way_pixels >= 64] {
polygon-gamma: 0.6;
}
}
[natural = 'water'][water = 'river'],
[natural = 'water'][water = 'canal'],
[waterway = 'riverbank'] {
[int_intermittent = 'no'] {
polygon-fill: @river-color;
[way_pixels >= 4] { polygon-gamma: 0.75; }
[way_pixels >= 64] { polygon-gamma: 0.6; }
[int_intermittent = 'yes'] {
polygon-pattern-file: url('symbols/intermittent_water.png');
[way_pixels >= 4] {
polygon-pattern-gamma: 0.75;
}
[int_intermittent = 'yes'] {
[zoom >= 15] {
polygon-pattern-file: url('symbols/intermittent_river.png');
polygon-pattern-alignment: global;
[way_pixels >= 4] { polygon-pattern-gamma: 0.75; }
[way_pixels >= 64] { polygon-pattern-gamma: 0.6; }
}
[way_pixels >= 64] {
polygon-pattern-gamma: 0.6;
}
}
}
Expand Down Expand Up @@ -133,7 +113,7 @@
line-join: round;
line-clip: false;
}
line-color: @river-color;
line-color: @water-color;
line-width: 0.7;
[zoom >= 9] { line-width: 1.2; }
[zoom >= 10] { line-width: 1.6; }
Expand Down Expand Up @@ -163,7 +143,7 @@
}
}

water/line-color: @river-color;
water/line-color: @water-color;
water/line-width: 2;
water/line-cap: round;
water/line-join: round;
Expand Down Expand Up @@ -221,7 +201,7 @@
background/line-color: @land-color;
}
water/line-width: 2;
water/line-color: @river-color;
water/line-color: @water-color;

[bridge = 'yes'] {
bridgecasing/line-color: black;
Expand Down

0 comments on commit f1cf15d

Please sign in to comment.