Permalink
Newer
100644
479 lines (416 sloc)
10.3 KB
4
@grass: #cfeca8; // also meadow, common, garden, village_green, conservation
5
@golf_course: #b5e3b5;
6
@natural: #c6e4b4; // also grassland
7
@park: #b6fdb6; // also recreation_ground
8
@wood: #aed1a0;
9
@vineyard: #abdf96;
10
11
// --- sports ---
12
13
@stadium: #3c9; // also sports_centre
14
@track: #74dcba;
15
@pitch: #8ad3af;
16
17
// --- "base" landuses ---
18
19
@residential: #E1E1E1; // Lch(89,0,0)
20
@residential-line: #B9B9B9; // Lch(75,0,0)
21
@retail: #FFD6D1; // Lch(89,16,30)
22
@retail-line: #D99C95; // Lch(70,25,30)
23
@commercial: #F2DAD9; // Lch(89,8.5,25)
24
@commercial-line: #D1B2B0; // Lch(75,12,25)
29
@farmland: #EDDDC9; // Lch(89,12,80) (Also used for farm)
30
@farmland-line: #C8B69E; // Lch(75,15,80)
31
32
@farmyard: #EFD6B5; // Lch(87,20,80)
33
@farmyard-line: #D1B48C; // Lch(75,25,80)
34
35
// --- Other ----
36
37
@aerodrome: #ccc;
38
@allotments: #e5c7ab;
39
@apron: #e9d1ff;
40
@attraction: #f2caea;
41
@barracks: #ff8f8f;
42
@campsite: #ccff99; // also caravan_site, picnic_site
43
@cemetery: #aacbaf; // also grave_yard
44
@construction: #9d9d6c;
45
@danger_area: pink;
46
@desert: #e3b57a;
47
@field: #660;
48
@garages: #996;
49
@heath: #d6d99f;
50
@parking: #f7efb7;
51
@playground: #ccfff1;
53
@rest_area: #efc8c8; // also services
54
@sand: #ffdf88;
55
@school: #f0f0d8; // also university, college, hospital, kindergarten
56
70
[feature = 'tourism_camp_site'],
71
[feature = 'tourism_caravan_site'],
72
[feature = 'tourism_picnic_site'] {
86
polygon-pattern-file: url('symbols/quarry2.png');
87
line-width: 0.5;
88
line-color: grey;
89
}
90
94
}
95
[zoom >= 13] {
96
polygon-pattern-file: url('symbols/vineyard.png');
97
}
98
}
99
104
[feature = 'landuse_cemetery'],
105
[feature = 'landuse_grave_yard'],
106
[feature = 'amenity_grave_yard'] {
111
[religion = 'jewish'] { polygon-pattern-file: url('symbols/cemetery_jewish.18.png'); }
112
[religion = 'christian'] { polygon-pattern-file: url('symbols/grave_yard.png'); }
113
[religion = 'INT-generic'] { polygon-pattern-file: url('symbols/grave_yard_generic.png'); }
114
}
115
}
116
141
polygon-opacity: 0.2;
142
[zoom >= 14] {
143
line-width: 0.3;
144
line-opacity: 0.4;
153
polygon-opacity: 0.3;
154
}
155
[zoom >= 11] {
156
polygon-pattern-file: url('symbols/danger.png');
157
}
158
}
159
194
}
195
[zoom >= 14] {
196
polygon-pattern-file: url('symbols/allotments.png');
197
}
198
}
199
203
}
204
[zoom >= 14] {
205
polygon-pattern-file: url('symbols/forest.png');
206
}
207
}
208
231
[feature = 'landuse_recreation_ground'],
232
[feature = 'landuse_conservation'] {
253
[feature = 'landuse_industrial'][zoom >= 10] {
254
polygon-fill: @industrial;
255
[zoom >= 16] {
256
line-width: .5;
257
line-color: @industrial-line;
259
line-width: 0.7;
260
}
261
}
262
}
263
264
[feature = 'landuse_railway'][zoom >= 10] {
272
[feature = 'power_station'][zoom >= 10],
273
[feature = 'power_generator'][zoom >= 10],
274
[feature = 'power_sub_station'][zoom >= 13],
275
[feature = 'power_substation'][zoom >= 13] {
295
[feature = 'landuse_brownfield'],
296
[feature = 'landuse_landfill'],
297
[feature = 'landuse_greenfield'],
298
[feature = 'landuse_construction'] {
299
[zoom >= 10] {
330
}
331
[zoom >= 14] {
332
polygon-pattern-file: url('symbols/scrub.png');
333
}
334
}
335
336
[feature = 'amenity_university'],
337
[feature = 'amenity_college'],
338
[feature = 'amenity_school'],
339
[feature = 'amenity_hospital'],
340
[feature = 'amenity_kindergarten'] {
341
[zoom >= 10] {
343
[zoom >= 12] {
344
line-width: 0.3;
345
line-color: brown;
346
}
347
}
348
}
349
373
[feature = 'highway_services'],
374
[feature = 'highway_rest_area'] {
375
[zoom >= 14] {
400
/* man_made=cutline */
401
#landcover-line {
402
[zoom >= 14] {
403
line-width: 3;
404
line-join: round;
405
line-cap: square;
406
line-color: @land-color;
407
[zoom >= 16] {
408
line-width: 6;
409
}
410
}
411
}
415
polygon-pattern-file: url('symbols/military_red_hatch.png');
416
polygon-pattern-alignment: global;
417
line-color: #f55;
418
line-width: 3;
419
line-opacity: 0.329;
420
}
421
}
422
423
#cliffs {
424
[natural = 'cliff'][zoom >= 13] {
425
line-pattern-file: url('symbols/cliff.png');
426
[zoom >= 15] {
427
line-pattern-file: url('symbols/cliff2.png');
428
}
429
}
430
[man_made = 'embankment'][zoom >= 15]::man_made {
431
line-pattern-file: url('symbols/cliff.png');
432
}
433
}
434
435
#area-barriers {
436
[zoom >= 16] {
437
line-color: #444;
438
line-width: 0.4;
439
[barrier = 'hedge'] {
440
polygon-fill: #aed1a0;
441
}
442
}
443
}
444
445
.barriers {
446
[zoom >= 16] {
447
line-width: 0.4;
448
line-color: #444;
449
}
450
[barrier = 'embankment'][zoom >= 14] {
451
line-width: 0.4;
452
line-color: #444;
453
}
454
[barrier = 'hedge'][zoom >= 16] {
455
line-width: 3;
456
line-color: #aed1a0;
457
}
458
}
459
460
#tree-row {
461
[natural = 'tree_row'][zoom >= 16] {
462
line-pattern-file: url('symbols/tree_row.png');
463
[zoom >= 17] {
464
line-pattern-file: url('symbols/tree_row2.png');
465
}
466
}
467
}