diff options
Diffstat (limited to 'landcover.mss')
-rwxr-xr-x | landcover.mss | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/landcover.mss b/landcover.mss new file mode 100755 index 0000000..642662e --- /dev/null +++ b/landcover.mss @@ -0,0 +1,112 @@ +#landcover { + [feature = 'landuse_residential'][zoom >= 10] { + polygon-fill: #f6f6f6; + } + + [feature = 'landuse_garages'][zoom >= 12] { + polygon-fill: #996; + polygon-opacity: 0.2; + } + + [feature = 'landuse_field'], + [feature = 'natural_field'] { + [zoom >= 10] { + polygon-fill: #666600; + polygon-opacity: 0.2; + [zoom >= 14] { + line-width: 0.3; + line-opacity: 0.4; + line-color: #660; + } + } + } + + [feature = 'leisure_garden'], + [feature = 'leisure_common'], + [feature = 'leisure_golf_course'], + [feature = 'landuse_meadow'], + [feature = 'landuse_grass'], + [feature = 'leisure_park'], + [feature = 'amenity_grave_yard'], + [feature = 'landuse_cemetery'] { + [zoom >= 10] { + //polygon-fill: #cfdf9f; + polygon-fill: #c8df9f; + } + } + + [feature = 'landuse_forest'] { + [zoom >= 8][zoom < 14] { + polygon-fill: #BCDB9A; + } + [zoom >= 14] { + polygon-pattern-file: url('symbols/forest.png'); + } + } + + [feature = 'natural_wood'], + [feature = 'landuse_conservation'], + [feature = 'landuse_wood'] { + [zoom >= 8] { + polygon-fill: #BCDB9A; + } + } + + [feature = 'amenity_parking'][zoom >= 10] { + polygon-fill: #f7efb7; + [zoom >= 15] { + line-width: 0.3; + line-color: #eeeed1; + } + } + + [feature = 'natural_beach'][zoom >= 13] { + polygon-pattern-file: url('symbols/beach.png'); + } +} + +#sports-grounds { + [leisure = 'sports_centre'], + [leisure = 'stadium'] { + [zoom >= 10] { + polygon-fill: #33cc99; + } + } + + [leisure = 'track'][zoom >= 10] { + polygon-fill: #74dcba; + line-width: 0.5; + line-color: #888; + } + + [leisure = 'pitch'][zoom >= 10] { + polygon-fill: #8ad3af; + line-width: 0.5; + line-color: #888; + } +} + +#area-text { + [way_area >= 150000][zoom >= 14], + [way_area >= 80000][zoom >= 15], + [way_area >= 20000][zoom >= 16], + [zoom >= 17] { + text-name: "[name]"; + text-size: 10; + text-fill: #000033; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + } +} + +#trees { + [zoom >= 16] { + point-file: url('symbols/tree.png'); + point-ignore-placement: true; + point-placement: interior; + [zoom >= 17] { + point-file: url('symbols/tree2.png'); + } + } +} |