-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathman_made.oss
252 lines (217 loc) · 7.12 KB
/
man_made.oss
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
OSS
STYLE
// -------------------------------------------------------
//
// Man made:
// amenity, tourism, history, military, power, barrier
//
[MAG city-] {
[TYPE tourism_theme_park,
tourism_zoo,
historic_archaeological_site,
historic_battlefield] AREA { color: @tourismColor; }
}
[MAG city-] {
[TYPE military_airfield,
military_danger_area,
military_range,
military_naval_base] AREA { color: #f59897; }
[TYPE amenity_grave_yard] AREA { color: @amenityGraveYardColor; }
}
[MAG detail-] {
[TYPE amenity_grave_yard] AREA.TEXT { label: Name.name; style: emphasize; emphasizeColor: @emphasizeColor; color: @labelColor; size: 0.8;}
}
[MAG detail-] {
[TYPE tourism_alpine_hut,
tourism_camp_site,
tourism_caravan_site,
tourism_attraction,
tourism_artwork,
tourism_chalet,
tourism_guest_house,
tourism_hostel,
tourism_hotel,
tourism_information,
tourism_motel,
tourism_museum,
tourism_picnic_site,
historic_castle,
historic_monument,
historic_memorial,
historic_ruins,
historic_wreck] AREA { color: @tourismColor; }
[TYPE power_generator] AREA { color: #bca9a9; }
// Special amenities
[TYPE amenity_post_office] AREA { color: @postColor; }
[TYPE amenity_hospital] {
AREA { color: @hospitalColor;}
AREA.BORDER { color: @hospitalBorderColor; width: 0.1mm; }
}
[TYPE amenity_taxi] AREA { color: #d2d2d2; }
// (Major) Amenities without special color
[TYPE amenity,
amenity_bank,
amenity_cafe,
amenity_fast_food,
amenity_fuel,
amenity_kindergarten,
amenity_library,
amenity_restaurant,
amenity_school] AREA { color: @amenityColor; }
}
[MAG close-] {
// (Minor) Amenities without special color
[TYPE amenity_atm,
amenity_recycling] AREA { color: @amenityColor; }
[TYPE man_made_pier] {
[SIZE 5m 0.1mm:3px<] WAY {color: #ffffff; width: 5.0m;}
[SIZE 5m <0.1mm:3px] WAY {color: #ffffff; displayWidth: 0.1mm;}
AREA { color: #ffffff; }
}
[TYPE waterway_dam] {
AREA { color: @damColor; }
WAY { color: @damColor; width: 4.0m; }
}
[TYPE railway_station] NODE.ICON { symbol: railway_station; }
}
[MAG closer-] {
[TYPE amenity_hospital,
amenity_hospital_building] {
AREA.ICON { symbol: amenity_hospital; name: hospital; }
NODE.ICON { symbol: amenity_hospital; name: hospital; }
}
[TYPE amenity_parking_building] {
NODE.ICON { symbol: amenity_parking; name: parking; }
AREA.ICON { symbol: amenity_parking; name: parking;}
}
[TYPE amenity_parking] {
NODE.ICON { symbol: amenity_parking; name: parking; }
AREA.ICON { symbol: amenity_parking; name: parking;}
}
[TYPE amenity_parking] {
AREA { color: @parkingColor;}
AREA.BORDER { color: @parkingBorderColor; width: 0.1mm; }
}
[TYPE railway_station] AREA.ICON { symbol: railway_station; }
[TYPE barrier_wall] WAY {color: @wallColor; displayWidth: 0.1mm; width: 0.5m;}
[TYPE barrier_retaining_wall] WAY {color: lighten(@wallColor, 0.5); displayWidth: 0.12mm; width: 0.5m;}
[TYPE barrier_city_wall] WAY {color: @wallColor; displayWidth: 0.1mm; width: 0.5m;}
[TYPE barrier_city_wall] WAY#decor {color: @wallColor;
dash: 1,5; displayOffset: 0.09mm; offset: 0.5m; joinCap: butt; endCap: butt;
displayWidth: 0.1mm; width: 0.5m;
}
[TYPE barrier_wall] {
AREA {color: lighten(@wallColor, 0.5); }
AREA.BORDER {color: @wallColor; width: 0.1mm; }
}
[TYPE barrier_retaining_wall] {
AREA {color: lighten(@wallColor, 0.5); }
AREA.BORDER {color: @wallColor; width: 0.1mm; }
}
[TYPE barrier_city_wall] {
AREA {color: lighten(@wallColor, 0.5);}
AREA.BORDER {color: @wallColor; width: 0.3mm; }
}
[TYPE tourism_museum, tourism_museum_building] {
NODE.ICON { name: museum; }
AREA.ICON { name: museum; }
}
[TYPE historic_castle, historic_castle_building] {
NODE.ICON { name: castle; }
AREA.ICON { name: castle; }
}
[TYPE amenity_ferry_terminal] {
NODE.ICON { name: ferry; }
AREA.ICON { name: ferry; }
}
[TYPE amenity_fuel, amenity_fuel_building] {
NODE.ICON { name: fuel; }
AREA.ICON { name: fuel; }
}
[TYPE amenity_charging_station] {
NODE.ICON { symbol: amenity_charging_station; name: charging_station; }
}
}
[MAG veryClose-] {
[TYPE amenity_pharmacy] NODE.ICON { symbol: amenity_pharmacy; name: pharmacy; }
[TYPE amenity_post_box] NODE.ICON { symbol: amenity_post_box; }
[TYPE amenity_post_office] NODE.ICON { symbol: amenity_post_office; }
[TYPE amenity_drinking_water] NODE.ICON { symbol: amenity_drinking_water; }
// Amenities without special color and icon
[TYPE amenity,
amenity_bank,
amenity_kindergarten,
amenity_library,
amenity_school] {
NODE.ICON { symbol: amenity; }
}
// these types are too dense in big cities, lets show its icons from veryClose [16]
[TYPE amenity_restaurant] NODE.ICON { name: restaurant; }
[TYPE amenity_restaurant_building] AREA.ICON { name: restaurant; }
[TYPE amenity_fast_food] NODE.ICON { name: fastfood;}
[TYPE amenity_fast_food_building] AREA.ICON { name: fastfood;}
[TYPE amenity_cafe] NODE.ICON { name: cafe;}
[TYPE amenity_cafe_building] AREA.ICON { name: cafe;}
[TYPE amenity_recycling] NODE.ICON { name: recycling;}
[TYPE amenity_bar] {
NODE.ICON { name: bar; }
AREA.ICON { name: bar; }
}
[TYPE amenity_pub] {
NODE.ICON { name: pub; }
AREA.ICON { name: pub; }
}
[TYPE amenity_drinking_water] {
NODE.ICON { name: drinking_water; }
AREA.ICON { name: drinking_water; }
}
[TYPE tourism_artwork] {
NODE.ICON { name: artwork; }
AREA.ICON { name: artwork; }
}
[TYPE tourism_hotel, tourism_hotel_building] {
NODE.ICON { name: hotel; }
AREA.ICON { name: hotel; }
}
[TYPE tourism_motel, tourism_motel_building] {
NODE.ICON { name: motel; }
AREA.ICON { name: motel; }
}
[TYPE tourism_hostel, tourism_hostel_building] {
NODE.ICON { name: hostel; }
AREA.ICON { name: hostel; }
}
[TYPE historic_monument, historic_monument_building] {
NODE.ICON { name: monument; }
AREA.ICON { name: monument; }
}
[TYPE historic_memorial, historic_memorial_building] {
NODE.ICON { name: memorial; }
AREA.ICON { name: memorial; }
}
[TYPE amenity_toilets] {
NODE.ICON { name: toilets; }
AREA.ICON { name: toilets; }
}
[TYPE amenity_atm] {
NODE.ICON { name: atm; }
AREA.ICON { name: atm; }
}
[TYPE leisure_playground] {
NODE.ICON { name: playground; }
AREA.ICON { name: playground; }
}
[TYPE amenity_pharmacy] {
NODE.ICON { symbol: amenity_pharmacy;}
}
[TYPE barrier_fence] {
WAY {color: #aaaaaa; displayWidth: 0.1mm;}
AREA.BORDER {color: #aaaaaa; width: 0.1mm;}
}
}
[MAG block-] {
[TYPE railway_subway_entrance] {
NODE.ICON { symbol: railway_subway_entrance; }
}
}
END