forked from cquest/osmfr-cartocss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildings.mss
63 lines (56 loc) · 1.21 KB
/
buildings.mss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#buildings-lz {
[zoom >= 12] {
[railway = 'station'],
[building = 'train_station'],
[building = 'station'] {
polygon-fill: #d4aaaa;
}
[shop!=''],[building = 'supermarket'] {
polygon-fill: pink;
polygon-opacity: 0.5;
}
}
}
#buildings {
[building != ''][zoom >= 14] {
[heritage != '']
{
polygon-fill: #888;
polygon-opacity: 0.5;
}
[building = 'greenhouse'] {
polygon-fill: #c5d2b4;
}
polygon-fill: #bdacac; /* 9%/74% (sat./bright) */
[zoom = 16] {polygon-fill: #c2b2b2;} /* 8%/76% */
[zoom = 17] {polygon-fill: #ccbebe;} /* 7%/80% */
[zoom >= 18] {
polygon-fill: #d1c5c5; /* 6%/82% */
line-color: #d1c5c5;
line-width: 0.5;
line-opacity: 0.7;
}
polygon-opacity: 0.7;
/* [zoom >= 16] {
line-color: #330066;
line-width: 0.2;
line-opacity: 0.33;
}
*/
[zoom >= 18][wall='no'],
[zoom >= 18][building='roof'] {
polygon-opacity: 0.35;
}
}
[aeroway = 'terminal'][zoom >= 14]::aeroway {
polygon-fill: #cc99ff;
[zoom >= 14] {
line-color: #330066;
line-width: 0.2;
}
}
}
#indoor [zoom >= 18] {
line-color: #220044;
line-width: 0.2;
}