forked from cquest/osmfr-cartocss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
other.mss
132 lines (118 loc) · 2.81 KB
/
other.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#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');
}
}
#misc-boundaries {
[zoom >= 7] {
[zoom < 13] {
polygon-opacity: 0.05;
polygon-fill: green;
}
line-color: green;
line-width: 1.5;
line-dasharray: 4,2;
line-opacity: 0.15;
[zoom >= 10] {
line-width: 3;
line-dasharray: 6,2;
}
}
[way_area > 200000000][zoom >= 8][zoom < 12],
[zoom >= 11][zoom < 12] {
text-name: "[name]";
text-size: 8;
text-fill: #9c9;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-wrap-width: 14;
[zoom >= 11] { text-size: 11; }
}
}
#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;
}
}
}
#trees [zoom>=16] {
image-filters: agg-stack-blur(1,1);
[type='poly'] {
polygon-fill: green;
polygon-opacity: 0.3;
}
[zoom>=19][type='point'] {
marker-fill: #b27f36;
marker-width: 3;
marker-height: 3;
}
}
#parking-handi [zoom>=17] {
[zoom>=18][way_area>100],
[zoom>=18][capacity>1],
[zoom>=19] {
line-color: white;
line-width: 2;
line-dasharray: 8,4;
}
point-file: url('symbols/parking_disabled.svg');
}
#pmr [zoom>=20] {
[highway = 'elevator'] {
point-file: url('symbols/elevator.svg');
point-placement: interior;
}
[highway='conveyor'],
[highway='steps'][conveying != ''] {
[conveying='both'], [conveying='yes'], [conveying='reversible'] { point-file: url('symbols/escalator.svg'); }
[conveying='up'],
[incline='up'][conveying='forward'],
[incline='down'][conveying='backward'] { point-file: url('symbols/escalator_up.svg'); }
[conveying='down'],
[incline='down'][conveying='forward'],
[incline='up'][conveying='backward'] { point-file: url('symbols/escalator_down.svg'); }
point-file: url('symbols/escalator.svg');
point-placement: interior;
}
[highway = 'steps'] {
point-file: url('symbols/stairs.svg');
point-placement: interior;
}
[ramp_wheelchair != ''] {
point-file: url('symbols/wheelchair_ramp.svg');
point-placement: interior;
}
}
/* unused
#crossroad_names [zoom>=15] {
text-name: "[name]";
text-size: 9;
text-fill: black;
text-face-name: @book-fonts;
text-halo-radius: 2;
text-halo-fill: fadeout(white, 30%);
text-wrap-width: 20;
[highway!=''][zoom>=17] { text-dy: -15; } // leave space for the traffic-signal icon
}
#masque [zoom>=12] {
polygon-fill: white;
polygon-opacity: 0.5;
[ref='93'] {
polygon-opacity: 0;
line-width: 6;
line-opacity: 0.5;
line-color: violet;
}
}
*/