Skip to content

Commit

Permalink
Merge pull request #2852 from kocio-pl/bare_rock
Browse files Browse the repository at this point in the history
Rendering natural=bare_rock earlier
  • Loading branch information
kocio-pl committed Sep 21, 2017
2 parents b46d2df + f8b5a78 commit b3338b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,7 @@

[feature = 'natural_scree'][zoom >= 9],
[feature = 'natural_shingle'][zoom >= 9],
[feature = 'natural_bare_rock'][zoom >= 9],
[feature = 'natural_bare_rock'],
[feature = 'natural_sand'] {
[zoom >= 8][way_pixels > 3000][is_building = 'no'],
[zoom >= 17][is_building = 'no'] {
Expand Down
16 changes: 9 additions & 7 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -440,14 +440,16 @@
}
}

[feature = 'natural_bare_rock'][zoom >= 9] {
[feature = 'natural_bare_rock'][zoom >= 8] {
polygon-fill: @bare_ground;
[way_pixels >= 4] { polygon-gamma: 0.75; }
[way_pixels >= 64] { polygon-gamma: 0.3; }
[zoom >= 13] {
polygon-pattern-file: url('symbols/rock_overlay.png');
[way_pixels >= 4] { polygon-pattern-gamma: 0.75; }
[way_pixels >= 64] { polygon-pattern-gamma: 0.3; }
polygon-pattern-file: url('symbols/rock_overlay.png');
[way_pixels >= 4] {
polygon-gamma: 0.75;
polygon-pattern-gamma: 0.75;
}
[way_pixels >= 64] {
polygon-gamma: 0.3;
polygon-pattern-gamma: 0.3;
}
}

Expand Down

0 comments on commit b3338b3

Please sign in to comment.