2 * - Landuse & landcover
7 * - Administrative boundaries
12 /* ================================================================== */
13 /* LANDUSE & LANDCOVER
14 /* ================================================================== */
16 #land-low[zoom>=0][zoom<10],
17 #land-high[zoom>=10] {
22 #landuse_gen0[zoom>3][zoom<=9],
23 #landuse_gen1[zoom>9][zoom<=12],
25 [type='college'] { polygon-fill: @school; }
26 [type='commercial'] { polygon-fill: @industrial; }
27 [type='common'] { polygon-fill: @park; }
28 [type='golf_course'] { polygon-fill: @park; }
29 [type='hospital'] { polygon-fill: @hospital; }
30 [type='industrial'] { polygon-fill: @industrial; }
32 polygon-fill: darken(@industrial,10%);
33 [landfill_type="underwater"] { polygon-fill: darken(@water,1%);}
35 [type='quarry'] { polygon-fill: @industrial; }
36 [type='pedestrian'] { polygon-fill: @pedestrian_case; }
37 [type='residential'] { polygon-fill: @residential; }
38 [type='retail'] { polygon-fill: @residential; }
42 [type='sports_centre'],
44 line-color: lighten(@building_edge, 50%);
45 polygon-fill: @building;
47 line-color: @building_edge;
48 polygon-pattern-file: url(./patterns/stripe.png);
49 polygon-pattern-alignment: global;
61 [type='village_green'],
62 [type='recreation_ground'],
73 polygon-fill: #FFFFFF;
74 polygon-pattern-file: url(./patterns/halftone2.png);
75 polygon-pattern-alignment: global;
77 [type='heath'] { polygon-fill: @heath; }
78 [type='meadow'] { polygon-fill: @heath; }
79 [type='scrub'] { polygon-fill: @heath; }
80 [type='beach'] { polygon-fill: @beach; }
81 [type='basin'] { polygon-fill: @water; }
84 [zoom>=16] { polygon-pattern-file: url('icons/pattern/salt-36.png'); }
104 polygon-fill: @military;
105 polygon-opacity: 0.4;
108 polygon-pattern-file:url('icons/pattern/military-36.png');
113 #landuse_overlays[type='nature_reserve'][zoom>6] {
114 line-color: darken(@wooded, 5%);
116 polygon-fill: @wooded;
117 polygon-opacity: 0.4;
122 polygon-opacity: 0.3;
126 line-dasharray: 10,5;
127 polygon-opacity: 0.2;
134 /* ================================================================== */
136 /* ================================================================== */
138 #buildings[zoom>=15] {
139 polygon-fill: @building;
140 line-color: @building_edge;
144 polygon-pattern-file: url(./patterns/stripe.png);
158 polygon-fill: lighten(@building, 3%);
161 line-color: @damaged;
170 line-color: @collapsed;
177 /* ================================================================== */
179 /* ================================================================== */
182 raster-scaling: bilinear;
183 raster-comp-op: multiply;
184 raster-opacity: 0.85;
186 [zoom>=5] {raster-opacity: 0.65;}
187 [zoom>=7] {raster-opacity: 0.55;}
188 [zoom>=9] {raster-opacity: 0.45;}
189 [zoom>=10] {raster-opacity: 0.40;}
190 [zoom>=14] {raster-opacity: 0.30;}
191 [zoom>=16] {raster-opacity: 0.25;}
194 #contour_line[zoom>=12]{
196 line-color: @contour_line;
204 text-name: '[height]';
205 text-face-name: @regular;
206 text-placement: line;
207 text-fill: @contour_line;
208 text-halo-fill: @land;
216 /* ================================================================== */
218 /* ================================================================== */
221 background-color: #FFFFFF;
225 #water_gen0[zoom>3][zoom<=9],
226 #water_gen1[zoom>9][zoom<=12],
228 polygon-fill: @water;
231 /* ================================================================== */
233 /* ================================================================== */
235 #waterway_low[zoom>=8][zoom<=12] {
254 line-dasharray: 12,6;
258 [zoom=8] { line-width: 0.1; }
259 [zoom=9] { line-width: 0.2; }
260 [zoom=10]{ line-width: 0.4; }
261 [zoom=11]{ line-width: 0.6; }
262 [zoom=12]{ line-width: 0.8; }
266 #waterway_med[zoom>=13][zoom<=14] {
281 line-dasharray: 16,6;
284 [zoom=13]{ line-width: 1; }
285 [zoom=14]{ line-width: 1.5; }
296 [zoom=13]{ line-width: 0.2; }
297 [zoom=14]{ line-width: 0.4; }
301 #waterway_high[zoom>=15] {
311 line-dasharray: 24,7;
315 line-dasharray: 28,8;
319 line-dasharray: 32,10;
323 line-dasharray: 56,15;
327 line-dasharray: 66,20;
330 [zoom=15]{ line-width: 6; }
331 [zoom=16]{ line-width: 7; }
332 [zoom=17]{ line-width: 8; }
333 [zoom=18]{ line-width: 9; }
334 [zoom>=19]{ line-width: 12; }
342 line-dasharray: 24,7;
346 line-dasharray: 28,8;
350 line-dasharray: 32,10;
354 line-dasharray: 56,15;
358 line-dasharray: 66,20;
361 [zoom=15]{ line-width: 0.6; }
362 [zoom=16]{ line-width: 0.8; }
363 [zoom=17]{ line-width: 1; }
364 [zoom=18]{ line-width: 1.5; }
365 [zoom>=19]{ line-width: 2; }
369 [zoom=15]{ line-width: 0.1; }
370 [zoom=16]{ line-width: 0.3; }
371 [zoom=17]{ line-width: 0.5; }
372 [zoom=18]{ line-width: 0.7; }
373 [zoom=19]{ line-width: 1; }
374 [zoom>19]{ line-width: 1.5; }
378 /* ================================================================== */
379 /* ADMINISTRATIVE BOUNDARIES
380 /* ================================================================== */
383 #admin-low[maritime='no'][admin_level=2][zoom>=2][zoom<5],
384 #admin-low[maritime='no'][admin_level=3][zoom>=4][zoom<5],
385 #admin-low[maritime='no'][admin_level=4][zoom>=4][zoom<5],
386 #admin-low[zoom>=5][zoom<11],
387 #admin-med[zoom>=11][zoom<13],
388 #admin-high[zoom>=13] {
390 outline/line-color: lighten(@admin_2, 25%);
391 outline/line-width: 2;
393 outline/line-width: 3;
396 eraser/line-color: white;
397 eraser/line-width: 1;
398 eraser/comp-op: darken;
399 line-color: @admin_2;
402 line-dasharray: 10,5;
403 line-color: @admin_3;
411 /* ================================================================== */
413 /* ================================================================== */
416 .barriers[zoom>=17][barrier = 'divider'] {
418 marker-fill: #c7c7c7;
419 marker-line-opacity:0;
420 marker-allow-overlap:true;
423 /* ================================================================== */
425 /* ================================================================== */
427 .barriers[zoom>=17][barrier = 'gate'] {
433 .barriers[zoom>=17][barrier = 'fence'] {
439 .barriers[zoom>=16][barrier='hedge'] {
444 line-color:darken(@park,15%);
452 .barriers[zoom>=16][barrier = 'wall'] {
454 line-color: darken(@land,25%);