Permalink
Fetching contributors…
Cannot retrieve contributors at this time
411 lines (355 sloc) 8.21 KB
#landcover {
[feature = 'leisure_swimming_pool'][zoom >= 14] {
polygon-fill: @water-color;
line-color: blue;
line-width: 0.5;
}
[feature = 'leisure_playground'][zoom >= 13] {
polygon-fill: #ccfff1;
line-color: #666;
line-width: 0.3;
}
[feature = 'tourism_camp_site'],
[feature = 'tourism_caravan_site'],
[feature = 'tourism_picnic_site'] {
[zoom >= 13] {
polygon-fill: #ccff99;
polygon-opacity: 0.5;
line-color: #666;
line-width: 0.3;
}
}
[feature = 'tourism_attraction'][zoom >= 10] {
polygon-fill: #f2caea;
}
[feature = 'landuse_quarry'][zoom >= 11] {
polygon-pattern-file: url('symbols/quarry2.png');
line-width: 0.5;
line-color: grey;
}
[feature = 'landuse_vineyard'] {
[zoom >= 10][zoom < 13] {
polygon-fill: #abdf96;
}
[zoom >= 13] {
polygon-pattern-file: url('symbols/vineyard.png');
}
}
[feature = 'landuse_orchard'][zoom >= 10] {
polygon-pattern-file: url('symbols/orchard.png');
}
[feature = 'landuse_greenhouse_horticulture'][zoom >= 10] {
polygon-fill: #dceaee;
}
[feature = 'landuse_cemetery'],
[feature = 'landuse_grave_yard'],
[feature = 'amenity_grave_yard'] {
[zoom >= 10][zoom < 14] {
polygon-fill: #aacbaf;
}
[zoom >= 14] {
[religion = 'jewish'] { polygon-pattern-file: url('symbols/cemetery_jewish.18.png'); }
[religion = 'christian'] { polygon-pattern-file: url('symbols/grave_yard.png'); }
[religion = 'INT-generic'] { polygon-pattern-file: url('symbols/grave_yard_generic.png'); }
}
}
[feature = 'landuse_residential'][zoom >= 10] {
polygon-fill: #ddd;
}
[feature = 'landuse_garages'][zoom >= 12] {
polygon-fill: #996;
polygon-opacity: 0.2;
}
[feature = 'military_barracks'][zoom >= 10] {
polygon-fill: #ff8f8f;
}
[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 = 'military_danger_area'] {
[zoom >= 9][zoom < 11] {
polygon-fill: pink;
polygon-opacity: 0.3;
}
[zoom >= 11] {
polygon-pattern-file: url('symbols/danger.png');
}
}
[feature = 'landuse_meadow'],
[feature = 'landuse_grass'] {
[zoom >= 10] {
polygon-fill: #cfeca8;
}
}
[feature = 'leisure_park'],
[feature = 'leisure_recreation_ground'] {
[zoom >= 10] {
polygon-fill: #b6fdb6;
polygon-opacity: 0.6;
}
}
[feature = 'tourism_zoo'][zoom >= 10] {
polygon-pattern-file: url('symbols/zoo.png');
}
[feature = 'leisure_common'][zoom >= 10] {
polygon-fill: #cfeca8;
}
[feature = 'leisure_garden'][zoom >= 10] {
polygon-fill: #cfeca8;
}
[feature = 'leisure_golf_course'][zoom >= 10] {
polygon-fill: #b5e3b5;
}
[feature = 'landuse_allotments'] {
[zoom >= 10][zoom < 14] {
polygon-fill: #e5c7ab;
}
[zoom >= 14] {
polygon-pattern-file: url('symbols/allotments.png');
}
}
[feature = 'landuse_forest'] {
[zoom >= 8][zoom < 14] {
polygon-fill: #8dc56c;
}
[zoom >= 14] {
polygon-pattern-file: url('symbols/forest.png');
}
}
[feature = 'landuse_farmyard'][zoom >= 9] {
polygon-fill: #ddbf92;
}
[feature = 'landuse_farm'],
[feature = 'landuse_farmland'] {
[zoom >= 9] {
polygon-fill: #ead8bd;
}
}
[feature = 'landuse_recreation_ground'],
[feature = 'landuse_conservation'] {
[zoom >= 10] {
polygon-fill: #cfeca8;
}
}
[feature = 'landuse_village_green'][zoom >= 11] {
polygon-fill: #cfeca8;
}
[feature = 'landuse_retail'][zoom >= 10] {
polygon-fill: #f1dada;
[zoom >= 15] {
line-width: 0.3;
line-color: red;
}
}
[feature = 'landuse_industrial'],
[feature = 'landuse_railway'] {
[zoom >= 10] {
polygon-fill: #dfd1d6;
}
}
[feature = 'power_station'],
[feature = 'power_generator'] {
[zoom >= 10] {
polygon-fill: #bbb;
[zoom >= 12] {
line-width: 0.4;
line-color: #555;
}
}
}
[feature = 'power_sub_station'][zoom >= 13] {
polygon-fill: #bbb;
line-width: 0.4;
line-color: #555;
}
[feature = 'landuse_commercial'][zoom >= 10] {
polygon-fill: #efc8c8;
}
[feature = 'landuse_brownfield'],
[feature = 'landuse_landfill'],
[feature = 'landuse_greenfield'],
[feature = 'landuse_construction'] {
[zoom >= 10] {
polygon-fill: #9d9d6c;
polygon-opacity: 0.7;
}
}
[feature = 'natural_wood'],
[feature = 'landuse_wood'] {
[zoom >= 8] {
polygon-fill: #aed1a0;
}
}
[feature = 'natural_desert'][zoom >= 8] {
polygon-fill: #e3b57a;
}
[feature = 'natural_sand'][zoom >= 10] {
polygon-fill: #ffdf88;
}
[feature = 'natural_heath'][zoom >= 10] {
polygon-fill: #d6d99f;
}
[feature = 'natural_grassland'][zoom >= 10] {
polygon-fill: #c6e4b4;
}
[feature = 'natural_scrub'] {
[zoom >= 10][zoom < 14] {
polygon-fill: #b5e3b5;
}
[zoom >= 14] {
polygon-pattern-file: url('symbols/scrub.png');
}
}
[feature = 'amenity_university'],
[feature = 'amenity_college'],
[feature = 'amenity_school'],
[feature = 'amenity_hospital'],
[feature = 'amenity_kindergarten'] {
[zoom >= 10] {
polygon-fill: #f0f0d8;
[zoom >= 12] {
line-width: 0.3;
line-color: brown;
}
}
}
[feature = 'amenity_parking'][zoom >= 10] {
polygon-fill: #f7efb7;
[zoom >= 15] {
line-width: 0.3;
line-color: #eeeed1;
}
}
[feature = 'aeroway_apron'][zoom >= 12] {
polygon-fill: #e9d1ff;
}
[feature = 'aeroway_aerodrome'][zoom >= 12] {
polygon-fill: #ccc;
polygon-opacity: 0.2;
line-width: 0.2;
line-color: #555;
}
[feature = 'natural_beach'][zoom >= 13] {
polygon-pattern-file: url('symbols/beach.png');
}
[feature = 'highway_services'],
[feature = 'highway_rest_area'] {
[zoom >= 14] {
polygon-fill: #efc8c8;
}
}
}
/* man_made=cutline */
#landcover-line {
[zoom >= 14] {
line-width: 3;
line-join: round;
line-cap: square;
line-color: @land-color;
[zoom >= 16] {
line-width: 6;
}
}
}
#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;
}
}
#landuse-overlay {
[landuse = 'military'][zoom >= 10]::landuse {
polygon-pattern-file: url('symbols/military_red_hz2.png');
line-color: #f55;
line-width: 3;
line-opacity: 0.329;
}
[leisure = 'nature_reserve'][zoom >= 10] {
polygon-pattern-file: url('symbols/nature_reserve5.png');
line-color: #6c3;
line-width: 0.5;
[zoom >= 14] {
polygon-pattern-file: url('symbols/nature_reserve6.png');
line-width: 1;
}
}
}
#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;
}
}
#cliffs {
[natural = 'cliff'][zoom >= 13] {
line-pattern-file: url('symbols/cliff.png');
[zoom >= 15] {
line-pattern-file: url('symbols/cliff2.png');
}
}
[man_made = 'embankment'][zoom >= 15]::man_made {
line-pattern-file: url('symbols/cliff.png');
}
}
#area-barriers {
[zoom >= 16] {
line-color: #444;
line-width: 0.4;
[barrier = 'hedge'] {
polygon-fill: #aed1a0;
}
}
}
.barriers {
[zoom >= 16] {
line-width: 0.4;
line-color: #444;
}
[barrier = 'embankment'][zoom >= 14] {
line-width: 0.4;
line-color: #444;
}
[barrier = 'hedge'][zoom >= 16] {
line-width: 3;
line-color: #aed1a0;
}
}
#theme-park {
[tourism = 'theme_park'][zoom >= 13] {
line-color: #734a08;
line-width: 1.5;
line-dasharray: 9,3;
line-opacity: 0.6;
[zoom >= 15] {
line-width: 2.5;
}
}
}