Showing with 313 additions and 194 deletions.
  1. +1 −0 .gitignore
  2. +1 −2 admin.mss
  3. +1 −1 amenity-points.mss
  4. +16 −10 buildings.mss
  5. +105 −55 landcover.mss
  6. +29 −29 project.mml
  7. +153 −82 roads.mss
  8. BIN symbols/parking.p.16.png
  9. BIN symbols/parking_private.p.16.png
  10. BIN symbols/tree_row.png
  11. BIN symbols/tree_row2.png
  12. +7 −15 water.mss
@@ -2,3 +2,4 @@
layers/
data/
*.xml
node_modules/
@@ -104,8 +104,7 @@
}
}
}
[way_area > 200000000][zoom >= 8][zoom < 12],
[zoom >= 11][zoom < 12] {
[way_area > 200000000][zoom >= 8][zoom < 12] {
text-name: "[name]";
text-size: 8;
text-fill: #9c9;
@@ -735,7 +735,7 @@
[zoom >= 15] {
text-name: "[name]";
text-size: 9;
text-fill: darken(@farm, 70%);
text-fill: darken(@farmland, 70%);
text-face-name: @book-fonts;
text-halo-radius: 1;
text-wrap-width: 10;
@@ -1,51 +1,57 @@
@building: #bca9a9;
@station: #d4aaaa;
@supermarket: pink;
@placeOfWorship: #777;
@terminal: #cc99ff;

#buildings-lz {
[zoom >= 10] {
[railway = 'station']::railway,
[building = 'station'] {
polygon-fill: #d4aaaa;
polygon-fill: @station;
polygon-clip: false;
}

[building = 'supermarket'] {
polygon-fill: pink;
polygon-fill: @supermarket;
polygon-opacity: 0.5;
polygon-clip: false;
}

[amenity = 'place_of_worship']::amenity {
polygon-opacity: 0.5;
polygon-fill: #777;
polygon-fill: @placeOfWorship;
polygon-clip: false;
[zoom >= 15] {
polygon-opacity: 0.9;
polygon-fill: #aaa;
polygon-fill: lighten(@placeOfWorship, 20%);
line-width: 0.3;
line-color: #111;
line-color: darken(@placeOfWorship, 40%);
}
}
}
}

#buildings {
[building = 'INT-light'][zoom >= 12] {
polygon-fill: #bca9a9;
polygon-fill: @building;
polygon-opacity: 0.7;
polygon-clip: false;
}
[building != 'INT-light'][building != ''][zoom >= 12] {
polygon-fill: #bca9a9;
polygon-fill: @building;
polygon-opacity: 0.9;
polygon-clip: false;
[zoom >= 16] {
line-color: #330066;
line-color: saturate(darken(@building, 50%), 10%);
line-width: 0.2;
}
}
[aeroway = 'terminal'][zoom >= 12]::aeroway {
polygon-fill: #cc99ff;
polygon-fill: @terminal;
polygon-clip: false;
[zoom >= 14] {
line-color: #330066;
line-color: saturate(darken(@terminal, 50%), 20%);
line-width: 0.2;
}
}
@@ -14,6 +14,24 @@
@track: #74dcba;
@pitch: #8ad3af;

// --- "base" landuses ---

@residential: #E1E1E1; // Lch(89,0,0)
@residential-line: #B9B9B9; // Lch(75,0,0)
@retail: #FFD6D1; // Lch(89,16,30)
@retail-line: #D99C95; // Lch(70,25,30)
@commercial: #F2DAD9; // Lch(89,8.5,25)
@commercial-line: #D1B2B0; // Lch(75,12,25)
@industrial: #EBDBE8; // Lch(89,9,330)
@industrial-line: #C6B3C3; // Lch(75,11,330)
@railway: @industrial;
@railway-line: @industrial-line;
@farmland: #EDDDC9; // Lch(89,12,80) (Also used for farm)
@farmland-line: #C8B69E; // Lch(75,15,80)

@farmyard: #EFD6B5; // Lch(87,20,80)
@farmyard-line: #D1B48C; // Lch(75,25,80)

// --- Other ----

@aerodrome: #ccc;
@@ -24,34 +42,28 @@
@campsite: #ccff99; // also caravan_site, picnic_site
@cemetery: #aacbaf; // also grave_yard
@construction: #9d9d6c;
@commercial: #efc8c8;
@danger_area: pink;
@desert: #e3b57a;
@field: #660;
@garages: #996;
@heath: #d6d99f;
@industrial: #dfd1d6; // also railway
@farmyard: #ddbf92;
@farm: #ead8bd; // also farmland
@parking: #f7efb7;
@playground: #ccfff1;
@power: #bbb;
@rest_area: #efc8c8; // also services
@retail: #f1dada;
@residential: #ddd;
@sand: #ffdf88;
@school: #f0f0d8; // also university, college, hospital, kindergarten

#landcover {
[feature = 'leisure_swimming_pool'][zoom >= 14] {
polygon-fill: @water-color;
line-color: blue;
line-color: saturate(darken(@water-color, 40%), 30%);
line-width: 0.5;
}

[feature = 'leisure_playground'][zoom >= 13] {
polygon-fill: @playground;
line-color: #666;
line-color: saturate(darken(@playground, 60%), 30%);
line-width: 0.3;
}

@@ -61,7 +73,7 @@
[zoom >= 13] {
polygon-fill: @campsite;
polygon-opacity: 0.5;
line-color: #666;
line-color: saturate(darken(@campsite, 60%), 30%);
line-width: 0.3;
}
}
@@ -104,6 +116,14 @@

[feature = 'landuse_residential'][zoom >= 10] {
polygon-fill: @residential;
[zoom >= 16] {
line-width: .5;
line-color: @residential-line;
[name != ''] {
line-width: 0.7;
}

}
}

[feature = 'landuse_garages'][zoom >= 12] {
@@ -123,7 +143,7 @@
[zoom >= 14] {
line-width: 0.3;
line-opacity: 0.4;
line-color: #660;
line-color: saturate(darken(@field, 40%), 20%);
}
}
}
@@ -189,12 +209,23 @@

[feature = 'landuse_farmyard'][zoom >= 9] {
polygon-fill: @farmyard;
[zoom >= 16] {
line-width: 0.5;
line-color: @farmyard-line;
[name != ''] {
line-width: 0.7;
}
}
}

[feature = 'landuse_farm'],
[feature = 'landuse_farmland'] {
[zoom >= 9] {
polygon-fill: @farm;
polygon-fill: @farmland;
[zoom >= 16] {
line-width: .5;
line-color: @farmland-line;
}
}
}

@@ -211,41 +242,55 @@

[feature = 'landuse_retail'][zoom >= 10] {
polygon-fill: @retail;
[zoom >= 15] {
line-width: 0.3;
line-color: red;
[zoom >= 16] {
line-width: 0.5;
line-color: @retail-line;
[name != ''] {
line-width: 0.7;
}
}
}

[feature = 'landuse_industrial'],
[feature = 'landuse_railway'] {
[zoom >= 10] {
polygon-fill: @industrial;
[feature = 'landuse_industrial'][zoom >= 10] {
polygon-fill: @industrial;
[zoom >= 16] {
line-width: .5;
line-color: @industrial-line;
[name != ''] {
line-width: 0.7;
}
}
}

[feature = 'power_station'],
[feature = 'power_generator'] {
[zoom >= 10] {
polygon-fill: @power;
[zoom >= 12] {
line-width: 0.4;
line-color: #555;
}
[feature = 'landuse_railway'][zoom >= 10] {
polygon-fill: @railway;
[zoom >= 16][name != ''] {
line-width: 0.7;
line-color: @railway-line;
}
}

[feature = 'power_sub_station']
[feature = 'power_substation'] {
[zoom >= 13] {
[feature = 'power_station'][zoom >= 10],
[feature = 'power_generator'][zoom >= 10],
[feature = 'power_sub_station'][zoom >= 13],
[feature = 'power_substation'][zoom >= 13] {
polygon-fill: @power;
line-width: 0.4;
line-color: #555;
}
[zoom >= 12] {
line-width: 0.4;
line-color: darken(@power, 40%);
}
}

[feature = 'landuse_commercial'][zoom >= 10] {
polygon-fill: @commercial;
[zoom >= 16] {
line-width: 0.5;
line-color: @commercial-line;
[name != ''] {
line-width: 0.7;
}

}
}

[feature = 'landuse_brownfield'],
@@ -307,7 +352,7 @@
polygon-fill: @parking;
[zoom >= 15] {
line-width: 0.3;
line-color: @parking;
line-color: saturate(darken(@parking, 40%), 20%);
}
}

@@ -319,7 +364,7 @@
polygon-fill: @aerodrome;
polygon-opacity: 0.2;
line-width: 0.2;
line-color: #555;
line-color: saturate(darken(@aerodrome, 40%), 20%);
}

[feature = 'natural_beach'][zoom >= 13] {
@@ -332,42 +377,39 @@
polygon-fill: @rest_area;
}
}
}

/* 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'] {
[feature = 'leisure_sports_centre'],
[feature = 'leisure_stadium'] {
[zoom >= 10] {
polygon-fill: @stadium;
}
}

[leisure = 'track'][zoom >= 10] {
[feature = 'leisure_track'][zoom >= 10] {
polygon-fill: @track;
line-width: 0.5;
line-color: #888;
line-color: saturate(darken(@track, 40%), 20%);
}

[leisure = 'pitch'][zoom >= 10] {
[feature = 'leisure_pitch'][zoom >= 10] {
polygon-fill: @pitch;
line-width: 0.5;
line-color: #888;
line-color: saturate(darken(@pitch, 40%), 20%);
}
}

/* 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;
}
}
}

#landuse-overlay {
[landuse = 'military'][zoom >= 10]::landuse {
@@ -416,6 +458,14 @@
}
}

#tree-row {
[natural = 'tree_row'][zoom >= 16] {
line-pattern-file: url('symbols/tree_row.png');
[zoom >= 17] {
line-pattern-file: url('symbols/tree_row2.png');
}
}
}

#theme-park {
[tourism = 'theme_park'][zoom >= 13] {