forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amenity-symbols.mss
126 lines (110 loc) · 3.08 KB
/
amenity-symbols.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
.symbols {
[aeroway = 'helipad'][zoom >= 16]::aeroway {
point-file: url('symbols/helipad.p.16.png');
text-name: "[name]";
text-size: 8;
text-fill: #6692da;
text-dy: -10;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-placement: interior;
}
[aeroway = 'airport'][zoom >= 9][zoom < 13]::aeroway {
[zoom < 11] {
point-file: url('symbols/airport.p.16.png');
text-size: 8;
text-dy: -12;
}
text-size: 9;
text-name: "[name]";
text-fill: #6692da;
text-halo-radius: 1;
text-placement: interior;
text-face-name: @bold-fonts;
}
[aeroway = 'aerodrome'][zoom >= 10][zoom < 13]::aeroway {
[zoom < 11] {
point-file: url('symbols/aerodrome.p.16.png');
text-dy: -12;
}
text-name: "[name]";
text-size: 8;
text-fill: #6692da;
text-face-name: @oblique-fonts;
text-halo-radius: 1;
text-placement: interior;
}
[railway = 'level_crossing'][zoom >= 14]::railway {
point-file: url('symbols/level_crossing.png');
point-placement: interior;
[zoom >= 16] {
point-file: url('symbols/level_crossing2.png');
}
}
[man_made = 'lighthouse'][zoom >= 15]::man_made {
point-file: url('symbols/lighthouse.p.20.png');
point-placement: interior;
}
[natural = 'peak'][zoom >= 11]::natural {
point-file: url('symbols/peak.png');
point-placement: interior;
}
[natural = 'volcano'][zoom >= 11]::natural {
point-file: url('symbols/volcano.png');
point-placement: interior;
}
[natural = 'cave_entrance'][zoom >= 15]::natural {
point-file: url('symbols/poi_cave.p.16.png');
point-placement: interior;
}
[natural = 'spring'][zoom >= 14]::natural {
point-file: url('symbols/spring.png');
point-placement: interior;
}
[natural = 'tree'][zoom >= 16]::natural {
point-file: url('symbols/tree.png');
point-ignore-placement: true;
point-placement: interior;
[zoom >= 17] {
point-file: url('symbols/tree2.png');
}
}
[power = 'generator']['generator:source' = 'wind']::power,
[power = 'generator'][power_source = 'wind']::power,
[man_made = 'power_wind'] {
[zoom >= 15] {
point-file: url('symbols/power_wind.png');
point-placement: interior;
}
}
[man_made = 'windmill'][zoom >= 16]::man_made {
point-file: url('symbols/windmill.png');
point-placement: interior;
}
[man_made = 'mast'][zoom >= 17]::man_made {
point-file: url('symbols/communications.p.20.png');
point-placement: interior;
}
[highway = 'mini_roundabout'][zoom >= 15]::highway {
point-file: url('symbols/mini_round.png');
point-placement: interior;
}
[highway = 'gate']::highway,
[barrier = 'gate']::barrier {
[zoom >= 15] {
point-file: url('symbols/gate2.png');
point-placement: interior;
}
}
[barrier = 'lift_gate'][zoom >= 16]::barrier {
point-file: url('symbols/liftgate.png');
point-placement: interior;
}
[barrier = 'bollard'],
[barrier = 'block'] {
[zoom >= 16] {
point-file: url('symbols/bollard.png');
point-placement: interior;
}
}
}