1 | /* |
---|
2 | Main JOSM map paint style. |
---|
3 | |
---|
4 | Originally in XML format, migrated to MapCSS. |
---|
5 | Documentation of MapCSS format: |
---|
6 | |
---|
7 | http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation |
---|
8 | |
---|
9 | */ |
---|
10 | |
---|
11 | meta { |
---|
12 | icon: "logo.svg"; |
---|
13 | } |
---|
14 | |
---|
15 | canvas { |
---|
16 | default-points: false; |
---|
17 | } |
---|
18 | node { |
---|
19 | text: auto; |
---|
20 | } |
---|
21 | |
---|
22 | /*************************/ |
---|
23 | /* create style settings */ |
---|
24 | /*************************/ |
---|
25 | |
---|
26 | setting::hide_icons { |
---|
27 | type: boolean; |
---|
28 | label: tr("Hide icons at low zoom"); |
---|
29 | default: true; |
---|
30 | } |
---|
31 | |
---|
32 | setting::shrink_nodes { |
---|
33 | type: boolean; |
---|
34 | label: tr("Less obtrusive node symbols at low zoom"); |
---|
35 | default: true; |
---|
36 | } |
---|
37 | |
---|
38 | setting::highway_labels { |
---|
39 | type: boolean; |
---|
40 | label: tr("Display street labels (at high zoom)"); |
---|
41 | default: true; |
---|
42 | } |
---|
43 | |
---|
44 | setting::alt_turn_icons { |
---|
45 | type: boolean; |
---|
46 | label: tr("Use alternative turn restriction icon set"); |
---|
47 | default: false; |
---|
48 | } |
---|
49 | |
---|
50 | setting::place_fill_colour { |
---|
51 | type: boolean; |
---|
52 | label: tr("Display fill colour of areas with place=*"); |
---|
53 | default: false; |
---|
54 | } |
---|
55 | |
---|
56 | setting::partial_fill { |
---|
57 | type: boolean; |
---|
58 | label: tr("Areas are drawn with fill only around their inner edges"); |
---|
59 | default: true; |
---|
60 | } |
---|
61 | |
---|
62 | /*********************/ |
---|
63 | /* turn restrictions */ |
---|
64 | /*********************/ |
---|
65 | |
---|
66 | relation[restriction=no_left_turn][!setting("alt_turn_icons")] { |
---|
67 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg"; |
---|
68 | set icon_z17; |
---|
69 | text: auto; |
---|
70 | } |
---|
71 | relation[restriction=no_left_turn][setting("alt_turn_icons")] { |
---|
72 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg"; |
---|
73 | set icon_z17; |
---|
74 | text: auto; |
---|
75 | } |
---|
76 | relation[restriction=no_right_turn][!setting("alt_turn_icons")] { |
---|
77 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg"; |
---|
78 | set icon_z17; |
---|
79 | text: auto; |
---|
80 | } |
---|
81 | relation[restriction=no_right_turn][setting("alt_turn_icons")] { |
---|
82 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg"; |
---|
83 | set icon_z17; |
---|
84 | text: auto; |
---|
85 | } |
---|
86 | relation[restriction=no_straight_on][!setting("alt_turn_icons")] { |
---|
87 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg"; |
---|
88 | set icon_z17; |
---|
89 | text: auto; |
---|
90 | } |
---|
91 | relation[restriction=no_straight_on][setting("alt_turn_icons")] { |
---|
92 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg"; |
---|
93 | set icon_z17; |
---|
94 | text: auto; |
---|
95 | } |
---|
96 | relation[restriction=no_u_turn] { |
---|
97 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg"; |
---|
98 | set icon_z17; |
---|
99 | text: auto; |
---|
100 | } |
---|
101 | relation[restriction=only_left_turn] { |
---|
102 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg"; |
---|
103 | set icon_z17; |
---|
104 | text: auto; |
---|
105 | } |
---|
106 | relation[restriction=only_right_turn] { |
---|
107 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg"; |
---|
108 | set icon_z17; |
---|
109 | text: auto; |
---|
110 | } |
---|
111 | relation[restriction=only_straight_on] { |
---|
112 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg"; |
---|
113 | set icon_z17; |
---|
114 | text: auto; |
---|
115 | } |
---|
116 | node[restriction] { |
---|
117 | icon-image: "presets/misc/deprecated.svg"; |
---|
118 | set icon_z17; |
---|
119 | text: auto; |
---|
120 | } |
---|
121 | |
---|
122 | /******************/ |
---|
123 | /* bridge, tunnel */ |
---|
124 | /******************/ |
---|
125 | |
---|
126 | way[bridge=yes]::core_bridge, |
---|
127 | way[bridge=viaduct]::core_bridge, |
---|
128 | way[bridge=swing]::core_bridge, |
---|
129 | way[bridge=movable]::core_bridge, |
---|
130 | way[bridge=cantilever]::core_bridge, |
---|
131 | way[bridge=covered]::core_bridge, |
---|
132 | way[bridge=low_water_crossing]::core_bridge, |
---|
133 | way[bridge=trestle]::core_bridge, |
---|
134 | way[bridge=aqueduct]::core_bridge { |
---|
135 | major-z-index: 2; |
---|
136 | object-z-index: -1; |
---|
137 | width: +4; |
---|
138 | color: bridge#0000FF; |
---|
139 | opacity: 0.9; |
---|
140 | } |
---|
141 | way[tunnel=yes]::core_tunnel, |
---|
142 | way[tunnel=culvert]::core_tunnel, |
---|
143 | way[tunnel=building_passage]::core_tunnel, |
---|
144 | way[tunnel=avalanche_protector]::core_tunnel { |
---|
145 | major-z-index: 2; |
---|
146 | object-z-index: -1; |
---|
147 | width: +5; |
---|
148 | color: tunnel#964B00; |
---|
149 | opacity: 0.9; |
---|
150 | } |
---|
151 | node[oneway], |
---|
152 | node[bridge], |
---|
153 | node[tunnel?], |
---|
154 | node[tunnel?!], |
---|
155 | node[cutting?!], |
---|
156 | node[embankment?!] { |
---|
157 | icon-image: "presets/misc/deprecated.svg"; |
---|
158 | set icon_z17; |
---|
159 | } |
---|
160 | |
---|
161 | /****************************/ |
---|
162 | /* access restrictions tags */ |
---|
163 | /****************************/ |
---|
164 | |
---|
165 | way[access?!]::core_access { |
---|
166 | z-index: -1; |
---|
167 | width: +2; |
---|
168 | color: no#ff8080; |
---|
169 | dashes: 2,2; |
---|
170 | } |
---|
171 | way[access=permissive]::core_access { |
---|
172 | z-index: -1; |
---|
173 | width: +2; |
---|
174 | color: permissive#80ff80; |
---|
175 | dashes: 2,2; |
---|
176 | } |
---|
177 | way[access=private]::core_access { |
---|
178 | z-index: -1; |
---|
179 | width: +2; |
---|
180 | color: private#ff8080; |
---|
181 | dashes: 2,2; |
---|
182 | } |
---|
183 | way[access=destination]::core_access { |
---|
184 | z-index: -1; |
---|
185 | width: +2; |
---|
186 | color: destination#8080ff; |
---|
187 | dashes: 2,2; |
---|
188 | } |
---|
189 | node[traffic_sign][access?!] { |
---|
190 | icon-image: "presets/vehicle/restriction/restrictions.svg"; |
---|
191 | set icon_z17; |
---|
192 | } |
---|
193 | node[traffic_sign][access=permissive][!is_prop_set(icon-image)], |
---|
194 | node[traffic_sign][access=private][!is_prop_set(icon-image)], |
---|
195 | node[traffic_sign][access=destination][!is_prop_set(icon-image)] { |
---|
196 | icon-image: "presets/misc/no_icon.svg"; |
---|
197 | set icon_z17; |
---|
198 | } |
---|
199 | node[traffic_sign][bicycle?!] { |
---|
200 | icon-image: "presets/vehicle/restriction/bicycle.svg"; |
---|
201 | set icon_z17; |
---|
202 | } |
---|
203 | node[traffic_sign][bicycle=designated] { |
---|
204 | icon-image: "presets/vehicle/restriction/bicycle-designated.svg"; |
---|
205 | set icon_z17; |
---|
206 | } |
---|
207 | node[traffic_sign][foot?!] { |
---|
208 | icon-image: "presets/vehicle/restriction/foot.svg"; |
---|
209 | set icon_z17; |
---|
210 | } |
---|
211 | node[traffic_sign][foot=designated] { |
---|
212 | icon-image: "presets/vehicle/restriction/foot-designated.svg"; |
---|
213 | set icon_z17; |
---|
214 | } |
---|
215 | node[traffic_sign][goods?!], |
---|
216 | node[traffic_sign][hgv?!] { |
---|
217 | icon-image: "presets/vehicle/restriction/goods.svg"; |
---|
218 | set icon_z17; |
---|
219 | } |
---|
220 | node[traffic_sign][horse?!] { |
---|
221 | icon-image: "presets/vehicle/restriction/horse.svg"; |
---|
222 | set icon_z17; |
---|
223 | } |
---|
224 | node[traffic_sign][horse=designated] { |
---|
225 | icon-image: "presets/vehicle/restriction/horse-designated.svg"; |
---|
226 | set icon_z17; |
---|
227 | } |
---|
228 | node[traffic_sign][motorcycle?!] { |
---|
229 | icon-image: "presets/vehicle/restriction/motorbike.svg"; |
---|
230 | set icon_z17; |
---|
231 | } |
---|
232 | node[traffic_sign][motorcar?!] { |
---|
233 | icon-image: "presets/vehicle/restriction/motorcar.svg"; |
---|
234 | set icon_z17; |
---|
235 | } |
---|
236 | node[traffic_sign][psv?!] { |
---|
237 | icon-image: "presets/vehicle/restriction/psv.svg"; |
---|
238 | set icon_z17; |
---|
239 | } |
---|
240 | node[traffic_sign][motorboat?!][!is_prop_set(icon-image)], |
---|
241 | node[traffic_sign][boat?!][!is_prop_set(icon-image)] { |
---|
242 | icon-image: "presets/misc/no_icon.svg"; |
---|
243 | set icon_z17; |
---|
244 | } |
---|
245 | node[noexit=yes] { |
---|
246 | icon-image: "presets/vehicle/restriction/dead_end.svg"; |
---|
247 | set icon_z17; |
---|
248 | } |
---|
249 | node[traffic_sign][maxweight] { |
---|
250 | icon-image: "presets/vehicle/restriction/maxweight.svg"; |
---|
251 | set icon_z17; |
---|
252 | } |
---|
253 | node[traffic_sign][maxheight] { |
---|
254 | icon-image: "presets/vehicle/restriction/maxheight.svg"; |
---|
255 | set icon_z17; |
---|
256 | } |
---|
257 | node[traffic_sign][maxwidth] { |
---|
258 | icon-image: "presets/vehicle/restriction/maxwidth.svg"; |
---|
259 | set icon_z17; |
---|
260 | } |
---|
261 | node[traffic_sign][maxlength] { |
---|
262 | icon-image: "presets/vehicle/restriction/maxlength.svg"; |
---|
263 | set icon_z17; |
---|
264 | } |
---|
265 | node[traffic_sign][minspeed] { |
---|
266 | icon-image: "presets/vehicle/restriction/minspeed.svg"; |
---|
267 | set icon_z17; |
---|
268 | } |
---|
269 | node[traffic_sign][maxstay][!is_prop_set(icon-image)], |
---|
270 | node[traffic_sign][toll][!is_prop_set(icon-image)] { |
---|
271 | icon-image: "presets/misc/no_icon.svg"; |
---|
272 | set icon_z17; |
---|
273 | } |
---|
274 | |
---|
275 | /*****************************/ |
---|
276 | /* building/entrance/address */ |
---|
277 | /*****************************/ |
---|
278 | |
---|
279 | node["addr:housenumber"] { |
---|
280 | icon-image: "presets/misc/housenumber_small.svg"; |
---|
281 | set icon_z17; |
---|
282 | } |
---|
283 | way["addr:interpolation"=odd] { |
---|
284 | width: 1; |
---|
285 | color: address#1C86EE; |
---|
286 | dashes: 15,4; |
---|
287 | } |
---|
288 | way["addr:interpolation"=even] { |
---|
289 | width: 1; |
---|
290 | color: address#1C86EE; |
---|
291 | dashes: 4,4; |
---|
292 | } |
---|
293 | way["addr:interpolation"=all], |
---|
294 | way["addr:interpolation"=alphabetic] { |
---|
295 | width: 1; |
---|
296 | color: address#1C86EE; |
---|
297 | dashes: 2,2; |
---|
298 | } |
---|
299 | area[building][!building?!] { |
---|
300 | fill-color: building#cb9999; |
---|
301 | } |
---|
302 | area[building:part][!building:part?!] { |
---|
303 | fill-color: buildingpart#dcbbbb; |
---|
304 | } |
---|
305 | node[building][!building?!] { |
---|
306 | icon-image: "presets/landmark/building.svg"; |
---|
307 | set icon_z17; |
---|
308 | } |
---|
309 | node[building=garage] { |
---|
310 | icon-image: "presets/landuse/garages.svg"; |
---|
311 | set icon_z17; |
---|
312 | } |
---|
313 | node[building=garages] { |
---|
314 | icon-image: "presets/landuse/garages.svg"; |
---|
315 | set icon_z17; |
---|
316 | } |
---|
317 | node[building=transformer_tower] { |
---|
318 | icon-image: "presets/power/transformer_tower.svg"; |
---|
319 | set icon_z17; |
---|
320 | } |
---|
321 | node[entrance=yes], |
---|
322 | node[entrance=staircase] { |
---|
323 | icon-image: "presets/misc/entrance_yes.svg"; |
---|
324 | set icon_z17; |
---|
325 | } |
---|
326 | node[entrance=main] { |
---|
327 | icon-image: "presets/misc/entrance_main.svg"; |
---|
328 | set icon_z17; |
---|
329 | } |
---|
330 | node[entrance=service] { |
---|
331 | icon-image: "presets/misc/entrance_service.svg"; |
---|
332 | set icon_z17; |
---|
333 | } |
---|
334 | node[entrance=exit] { |
---|
335 | icon-image: "presets/misc/entrance_exit.svg"; |
---|
336 | set icon_z17; |
---|
337 | } |
---|
338 | node[entrance=emergency] { |
---|
339 | icon-image: "presets/misc/entrance_emergency.svg"; |
---|
340 | set icon_z17; |
---|
341 | } |
---|
342 | node[building=entrance], |
---|
343 | node[building:part] { |
---|
344 | icon-image: "presets/misc/deprecated.svg"; |
---|
345 | set icon_z17; |
---|
346 | } |
---|
347 | |
---|
348 | /****************/ |
---|
349 | /* barrier tags */ |
---|
350 | /****************/ |
---|
351 | |
---|
352 | way[barrier=bollard] { |
---|
353 | width: 2; |
---|
354 | color: barrier#F0F050; |
---|
355 | dashes: 3,9; |
---|
356 | } |
---|
357 | node[barrier=bollard] { |
---|
358 | icon-image: "presets/barrier/bollard.svg"; |
---|
359 | set icon_z17; |
---|
360 | } |
---|
361 | node[barrier=gate] { |
---|
362 | icon-image: "presets/barrier/gate.svg"; |
---|
363 | set icon_z17; |
---|
364 | } |
---|
365 | way[barrier=yes], |
---|
366 | way[barrier=hedge], |
---|
367 | way[barrier=fence], |
---|
368 | way[barrier=wall], |
---|
369 | way[barrier=guard_rail], |
---|
370 | way[barrier=city_wall], |
---|
371 | way[barrier=retaining_wall], |
---|
372 | way[barrier=block], |
---|
373 | way[barrier=chain], |
---|
374 | way[barrier=ditch], |
---|
375 | way[barrier=jersey_barrier], |
---|
376 | way[barrier=kerb] { |
---|
377 | width: 2; |
---|
378 | color: barrier#F0F050; |
---|
379 | } |
---|
380 | way[barrier=retaining_wall], |
---|
381 | way[barrier=kerb] { |
---|
382 | repeat-image: "presets/misc/cliff_pattern.svg"; |
---|
383 | repeat-image-align: top; |
---|
384 | } |
---|
385 | node[barrier=hedge], |
---|
386 | node[barrier=wall], |
---|
387 | node[barrier=guard_rail], |
---|
388 | node[barrier=city_wall], |
---|
389 | node[barrier=retaining_wall], |
---|
390 | node[barrier=ditch] { |
---|
391 | icon-image: "presets/misc/deprecated.svg"; |
---|
392 | set icon_z17; |
---|
393 | } |
---|
394 | node[barrier=kerb] { |
---|
395 | icon-image: "presets/barrier/kerb.svg"; |
---|
396 | set icon_z17; |
---|
397 | } |
---|
398 | node[barrier=block] { |
---|
399 | icon-image: "presets/barrier/block.svg"; |
---|
400 | set icon_z17; |
---|
401 | } |
---|
402 | node[barrier=chain] { |
---|
403 | icon-image: "presets/barrier/chain.svg"; |
---|
404 | set icon_z17; |
---|
405 | } |
---|
406 | node[barrier=stile] { |
---|
407 | icon-image: "presets/barrier/stile.svg"; |
---|
408 | set icon_z17; |
---|
409 | } |
---|
410 | node[barrier=turnstile] { |
---|
411 | icon-image: "presets/barrier/turnstile.svg"; |
---|
412 | set icon_z17; |
---|
413 | } |
---|
414 | node[barrier=cycle_barrier] { |
---|
415 | icon-image: "presets/barrier/cycle_barrier.svg"; |
---|
416 | set icon_z17; |
---|
417 | } |
---|
418 | node[barrier=lift_gate] { |
---|
419 | icon-image: "presets/barrier/lift_gate.svg"; |
---|
420 | set icon_z17; |
---|
421 | } |
---|
422 | node[barrier=swing_gate] { |
---|
423 | icon-image: "presets/barrier/swing_gate.svg"; |
---|
424 | set icon_z17; |
---|
425 | } |
---|
426 | area[barrier=toll_booth]:closed { |
---|
427 | fill-color: barrier#F0F050; |
---|
428 | } |
---|
429 | node[barrier=toll_booth] { |
---|
430 | icon-image: "presets/barrier/toll_station.svg"; |
---|
431 | set icon_z17; |
---|
432 | } |
---|
433 | node[barrier=entrance] { |
---|
434 | icon-image: "presets/barrier/entrance.svg"; |
---|
435 | set icon_z17; |
---|
436 | } |
---|
437 | node[barrier=cattle_grid] { |
---|
438 | icon-image: "presets/barrier/cattle_grid.svg"; |
---|
439 | set icon_z17; |
---|
440 | } |
---|
441 | node[barrier=border_control] { |
---|
442 | icon-image: "presets/barrier/douane.svg"; |
---|
443 | set icon_z17; |
---|
444 | } |
---|
445 | node[barrier=sally_port] { |
---|
446 | icon-image: "presets/barrier/sally_port.svg"; |
---|
447 | set icon_z17; |
---|
448 | } |
---|
449 | node[barrier=spikes] { |
---|
450 | icon-image: "presets/barrier/spikes.svg"; |
---|
451 | set icon_z17; |
---|
452 | } |
---|
453 | node[barrier=kissing_gate][!is_prop_set(icon-image)], |
---|
454 | node[barrier=bump_gate][!is_prop_set(icon-image)], |
---|
455 | node[barrier=bus_trap][!is_prop_set(icon-image)], |
---|
456 | node[barrier=jersey_barrier][!is_prop_set(icon-image)], |
---|
457 | node[barrier=hampshire_gate][!is_prop_set(icon-image)] { |
---|
458 | icon-image: "presets/misc/no_icon.svg"; |
---|
459 | set icon_z17; |
---|
460 | } |
---|
461 | |
---|
462 | /****************/ |
---|
463 | /* highway tags */ |
---|
464 | /****************/ |
---|
465 | |
---|
466 | way[motorroad=yes]::core_motorroad { |
---|
467 | major-z-index: 2; |
---|
468 | z-index: -1; |
---|
469 | width: +4; |
---|
470 | color: motorroad#3377ff; |
---|
471 | } |
---|
472 | way[highway=motorway] { |
---|
473 | width: 3; |
---|
474 | color: motorway#809bc0; |
---|
475 | } |
---|
476 | way[highway=motorway_link] { |
---|
477 | width: 3; |
---|
478 | color: motorway#809bc0; |
---|
479 | } |
---|
480 | way[highway=trunk] { |
---|
481 | width: 3; |
---|
482 | color: trunk#7fc97f; |
---|
483 | } |
---|
484 | way[highway=trunk_link] { |
---|
485 | width: 3; |
---|
486 | color: trunk#7fc97f; |
---|
487 | } |
---|
488 | way[highway=primary] { |
---|
489 | width: 3; |
---|
490 | color: primary#fb805f; |
---|
491 | } |
---|
492 | way[highway=primary_link] { |
---|
493 | width: 3; |
---|
494 | color: primary#fb805f; |
---|
495 | } |
---|
496 | way[highway=secondary] { |
---|
497 | width: 3; |
---|
498 | color: secondary#fdbf6f; |
---|
499 | } |
---|
500 | way[highway=secondary_link] { |
---|
501 | width: 3; |
---|
502 | color: secondary#fdbf6f; |
---|
503 | } |
---|
504 | way[highway=tertiary] { |
---|
505 | width: 2; |
---|
506 | color: tertiary#f7f496; |
---|
507 | } |
---|
508 | way[highway=tertiary_link] { |
---|
509 | width: 2; |
---|
510 | color: tertiary#f7f496; |
---|
511 | } |
---|
512 | way[highway=unclassified] { |
---|
513 | width: 2; |
---|
514 | color: street#c0c0c0; |
---|
515 | } |
---|
516 | way[highway=escape] { |
---|
517 | width: 3; |
---|
518 | color: street#c0c0c0; |
---|
519 | dashes: 3,3; |
---|
520 | } |
---|
521 | way[highway=road] { |
---|
522 | width: 2; |
---|
523 | casing-width: 0.5; |
---|
524 | casing-color: #ff9696; |
---|
525 | color: highway_road#770000; |
---|
526 | } |
---|
527 | way[highway=track][area?], relation[type=multipolygon][highway=track] { |
---|
528 | fill-color: highway_track#6e541c; |
---|
529 | } |
---|
530 | way[highway=track] { |
---|
531 | width: 2; |
---|
532 | color: highway_track#6e541c; |
---|
533 | } |
---|
534 | way[highway=residential] { |
---|
535 | width: 2; |
---|
536 | color: street#c0c0c0; |
---|
537 | } |
---|
538 | way[highway=living_street] { |
---|
539 | width: 2; |
---|
540 | dashes: 9,9; |
---|
541 | dashes-background-color: livingdashed#00ff00; |
---|
542 | color: street#c0c0c0; |
---|
543 | } |
---|
544 | way[highway=service][area?], relation[type=multipolygon][highway=service] { |
---|
545 | fill-color: service#809bc0; |
---|
546 | } |
---|
547 | way[highway=service][!area?] { |
---|
548 | width: 1; |
---|
549 | color: service#809bc0; |
---|
550 | } |
---|
551 | way[highway=bridleway] { |
---|
552 | width: 1; |
---|
553 | color: horse#a18559; |
---|
554 | } |
---|
555 | way[highway=cycleway] { |
---|
556 | width: 1; |
---|
557 | color: bicycle#b100ff; |
---|
558 | } |
---|
559 | way[highway=footway][area?], relation[type=multipolygon][highway=footway] { |
---|
560 | fill-color: foot#00ff00; |
---|
561 | } |
---|
562 | way[highway=footway][!area?] { |
---|
563 | width: 1; |
---|
564 | color: foot#00ff00; |
---|
565 | } |
---|
566 | way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] { |
---|
567 | width: 1; |
---|
568 | dashes: 9,9; |
---|
569 | color: foot#00ff00; |
---|
570 | } |
---|
571 | /* display path with bicycle/foot=designated/official as if it was cycleway/footway */ |
---|
572 | way[highway=path][bicycle=designated], |
---|
573 | way[highway=path][bicycle=official] { |
---|
574 | width: 1; |
---|
575 | color: bicycle#b100ff; |
---|
576 | set cyclecolor; |
---|
577 | } |
---|
578 | way[highway=path][foot=designated], |
---|
579 | way[highway=path][foot=official] { |
---|
580 | width: 1; |
---|
581 | color: foot#00ff00; |
---|
582 | } |
---|
583 | way[highway=path][bicycle=designated][foot=designated], |
---|
584 | way[highway=path][bicycle=official][foot=official] { |
---|
585 | width: 1; |
---|
586 | color: bicycle#b100ff; |
---|
587 | set cyclecolor; |
---|
588 | dashes: 14,14; |
---|
589 | dashes-background-color: foot#00ff00; |
---|
590 | } |
---|
591 | way[highway=cycleway][foot=yes], |
---|
592 | way[highway=path][bicycle=designated][foot=yes], |
---|
593 | way[highway=path][bicycle=official][foot=yes] { |
---|
594 | width: 1; |
---|
595 | color: bicycle#b100ff; |
---|
596 | set cyclecolor; |
---|
597 | dashes: 21,7; |
---|
598 | dashes-background-color: foot#00ff00; |
---|
599 | } |
---|
600 | way[highway=footway][bicycle=yes], |
---|
601 | way[highway=path][bicycle=yes][foot=designated], |
---|
602 | way[highway=path][bicycle=yes][foot=official] { |
---|
603 | width: 1; |
---|
604 | color: foot#00ff00; |
---|
605 | dashes: 21,7; |
---|
606 | dashes-background-color: bicycle#b100ff; |
---|
607 | } |
---|
608 | way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { |
---|
609 | width: 3; |
---|
610 | color: foot#00ff00; |
---|
611 | fill-color: foot#00ff00; |
---|
612 | } |
---|
613 | way[highway=pedestrian] { |
---|
614 | width: 3; |
---|
615 | color: foot#00ff00; |
---|
616 | } |
---|
617 | way[highway=steps] { |
---|
618 | width: 3; |
---|
619 | color: foot#00ff00; |
---|
620 | dashes: 2,2; |
---|
621 | } |
---|
622 | way[highway=bus_guideway] { |
---|
623 | width: 1; |
---|
624 | color: rail#404040; |
---|
625 | dashes: 9,9; |
---|
626 | } |
---|
627 | way[highway=raceway] { |
---|
628 | width: 1; |
---|
629 | color: raceway#ff80ff; |
---|
630 | } |
---|
631 | way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] { |
---|
632 | fill-color: raceway#ff80ff; |
---|
633 | } |
---|
634 | area[junction=yes] { |
---|
635 | fill-color: junction#c0c0c0; |
---|
636 | } |
---|
637 | node[junction=yes] { |
---|
638 | icon-image: "presets/vehicle/junction.svg"; |
---|
639 | set icon_z17; |
---|
640 | } |
---|
641 | node[highway=traffic_mirror] { |
---|
642 | icon-image: "presets/vehicle/traffic_mirror.svg"; |
---|
643 | set icon_z17; |
---|
644 | } |
---|
645 | node[highway=milestone] { |
---|
646 | icon-image: "presets/vehicle/milestone.svg"; |
---|
647 | set icon_z17; |
---|
648 | } |
---|
649 | node[direction=clockwise] { |
---|
650 | icon-image: "presets/vehicle/restriction/roundabout_left.svg"; |
---|
651 | set icon_z17; |
---|
652 | } |
---|
653 | node[highway=mini_roundabout] { |
---|
654 | icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg"; |
---|
655 | set icon_z17; |
---|
656 | } |
---|
657 | node:righthandtraffic[highway=mini_roundabout] { |
---|
658 | icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg"; |
---|
659 | set icon_z17; |
---|
660 | } |
---|
661 | node[highway=stop] { |
---|
662 | icon-image: "presets/vehicle/restriction/stop.svg"; |
---|
663 | set icon_z17; |
---|
664 | } |
---|
665 | node[highway=give_way] { |
---|
666 | icon-image: "presets/vehicle/restriction/give_way.svg"; |
---|
667 | set icon_z17; |
---|
668 | } |
---|
669 | node[highway=traffic_signals] { |
---|
670 | icon-image: "presets/vehicle/traffic_signals.svg"; |
---|
671 | set icon_z17; |
---|
672 | } |
---|
673 | node[highway=traffic_signals][crossing][crossing!=no] { |
---|
674 | icon-image: "presets/vehicle/traffic_signals_crossing.svg"; |
---|
675 | set icon_z17; |
---|
676 | } |
---|
677 | node[highway=traffic_signals][crossing_ref=zebra] { |
---|
678 | icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg"; |
---|
679 | set icon_z17; |
---|
680 | } |
---|
681 | node[highway=traffic_signals][crossing=island] { |
---|
682 | icon-image: "presets/vehicle/traffic_signals_crossing_island.svg"; |
---|
683 | set icon_z17; |
---|
684 | } |
---|
685 | node[highway=traffic_signals][crossing=traffic_signals] { |
---|
686 | icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg"; |
---|
687 | set icon_z17; |
---|
688 | } |
---|
689 | node[highway=street_lamp] { |
---|
690 | icon-image: "presets/misc/streetlamp.svg"; |
---|
691 | set icon_z17; |
---|
692 | } |
---|
693 | node[highway=speed_camera] { |
---|
694 | icon-image: "presets/vehicle/restriction/speed_camera.svg"; |
---|
695 | set icon_z17; |
---|
696 | } |
---|
697 | relation[type=enforcement] >[role="device"] node { |
---|
698 | icon-image: "presets/vehicle/restriction/speed_camera.svg"; |
---|
699 | set icon_z17; |
---|
700 | } |
---|
701 | node[traffic_sign=city_limit] { |
---|
702 | icon-image: "presets/vehicle/restriction/city_limit.svg"; |
---|
703 | set icon_z17; |
---|
704 | } |
---|
705 | node[highway=crossing][crossing!=no] { |
---|
706 | icon-image: "presets/vehicle/crossing.svg"; |
---|
707 | set icon_z17; |
---|
708 | } |
---|
709 | node[highway=crossing][crossing=unmarked] { |
---|
710 | icon-image: "presets/vehicle/crossing_unmarked.svg"; |
---|
711 | set icon_z17; |
---|
712 | } |
---|
713 | node[highway=crossing][crossing=island] { |
---|
714 | icon-image: "presets/vehicle/crossing_island.svg"; |
---|
715 | set icon_z17; |
---|
716 | } |
---|
717 | node[highway=crossing][crossing_ref=zebra] { |
---|
718 | icon-image: "presets/vehicle/crossing_ref_zebra.svg"; |
---|
719 | set icon_z17; |
---|
720 | } |
---|
721 | node[highway=crossing][crossing=traffic_signals] { |
---|
722 | icon-image: "presets/vehicle/crossing_traffic_signals.svg"; |
---|
723 | set icon_z17; |
---|
724 | } |
---|
725 | node[highway=motorway_junction] { |
---|
726 | icon-image: "presets/vehicle/motorway_junction.svg"; |
---|
727 | set icon_z17; |
---|
728 | text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name))); |
---|
729 | } |
---|
730 | area[highway=services] { |
---|
731 | fill-color: services#c0c0c0; |
---|
732 | } |
---|
733 | node[highway=services] { |
---|
734 | icon-image: "presets/vehicle/services.svg"; |
---|
735 | set icon_z17; |
---|
736 | } |
---|
737 | area[highway=rest_area] { |
---|
738 | fill-color: services#c0c0c0; |
---|
739 | } |
---|
740 | node[highway=rest_area] { |
---|
741 | icon-image: "presets/vehicle/rest_area.svg"; |
---|
742 | set icon_z17; |
---|
743 | } |
---|
744 | node[highway=ford], node[ford?] { |
---|
745 | icon-image: "presets/vehicle/ford.svg"; |
---|
746 | set icon_z17; |
---|
747 | } |
---|
748 | way[ford?]::core_ford { |
---|
749 | z-index: 1; |
---|
750 | width: 2; |
---|
751 | color: water#0000ff; |
---|
752 | dashes: 9,9; |
---|
753 | } |
---|
754 | area[highway=platform]:closed { |
---|
755 | fill-color: highway_platform#c0c0c0; |
---|
756 | } |
---|
757 | way[highway=platform] { |
---|
758 | width: 2; |
---|
759 | color: highway_platform#c0c0c0; |
---|
760 | } |
---|
761 | node[highway=turning_circle] { |
---|
762 | icon-image: "presets/vehicle/turning_circle.svg"; |
---|
763 | set icon_z17; |
---|
764 | } |
---|
765 | node[highway=turning_loop] { |
---|
766 | icon-image: "presets/vehicle/turning_loop.svg"; |
---|
767 | set icon_z17; |
---|
768 | } |
---|
769 | node[highway=passing_place] { |
---|
770 | icon-image: "presets/vehicle/passing_place.svg"; |
---|
771 | set icon_z17; |
---|
772 | } |
---|
773 | area[highway=elevator] { |
---|
774 | fill-color: elevator#a6bace; |
---|
775 | } |
---|
776 | node[highway=elevator] { |
---|
777 | icon-image: "presets/service/elevator.svg"; |
---|
778 | set icon_z17; |
---|
779 | } |
---|
780 | way[highway=construction] { |
---|
781 | width: 2; |
---|
782 | color: construction#ffff00; |
---|
783 | dashes: 9,9; |
---|
784 | } |
---|
785 | node[highway=construction] { |
---|
786 | icon-image: "presets/misc/construction.svg"; |
---|
787 | set icon_z17; |
---|
788 | } |
---|
789 | area[highway=emergency_access_point] { |
---|
790 | fill-color: emergency_access_point#c0c0c0; |
---|
791 | } |
---|
792 | node[highway=emergency_access_point] { |
---|
793 | icon-image: "presets/service/emergency_access_point.svg"; |
---|
794 | set icon_z17; |
---|
795 | } |
---|
796 | node[highway=motorway], node[highway=motorway_link], |
---|
797 | node[highway=trunk], node[highway=trunk_link], |
---|
798 | node[highway=primary], node[highway=primary_link], |
---|
799 | node[highway=secondary], node[highway=secondary_link], |
---|
800 | node[highway=tertiary], node[highway=tertiary_link], |
---|
801 | node[highway=unclassified], |
---|
802 | node[highway=road], |
---|
803 | node[highway=unsurfaced], |
---|
804 | node[highway=track], |
---|
805 | node[highway=residential], |
---|
806 | node[highway=living_street], |
---|
807 | node[highway=service], |
---|
808 | node[highway=bridleway], |
---|
809 | node[highway=cycleway], |
---|
810 | node[highway=footway], |
---|
811 | node[highway=path], |
---|
812 | node[highway=pedestrian], |
---|
813 | node[highway=bus_guideway], |
---|
814 | node[highway=platform] { |
---|
815 | icon-image: "presets/misc/deprecated.svg"; |
---|
816 | set icon_z17; |
---|
817 | } |
---|
818 | |
---|
819 | /************************/ |
---|
820 | /* traffic_calming tags */ |
---|
821 | /************************/ |
---|
822 | |
---|
823 | node[traffic_calming] { |
---|
824 | icon-image: "presets/vehicle/traffic_calming.svg"; |
---|
825 | set icon_z17; |
---|
826 | } |
---|
827 | node[traffic_calming=chicane] { |
---|
828 | icon-image: "presets/vehicle/chicane.svg"; |
---|
829 | set icon_z17; |
---|
830 | } |
---|
831 | node[traffic_calming=choker] { |
---|
832 | icon-image: "presets/vehicle/choker.svg"; |
---|
833 | set icon_z17; |
---|
834 | } |
---|
835 | node[traffic_calming=island] { |
---|
836 | icon-image: "presets/vehicle/island.svg"; |
---|
837 | set icon_z17; |
---|
838 | } |
---|
839 | node[traffic_calming=bump] { |
---|
840 | icon-image: "presets/vehicle/bump.svg"; |
---|
841 | set icon_z17; |
---|
842 | } |
---|
843 | node[traffic_calming=hump] { |
---|
844 | icon-image: "presets/vehicle/hump.svg"; |
---|
845 | set icon_z17; |
---|
846 | } |
---|
847 | node[traffic_calming=table] { |
---|
848 | icon-image: "presets/vehicle/table.svg"; |
---|
849 | set icon_z17; |
---|
850 | } |
---|
851 | node[traffic_calming=cushion] { |
---|
852 | icon-image: "presets/vehicle/cushion.svg"; |
---|
853 | set icon_z17; |
---|
854 | } |
---|
855 | node[traffic_calming=rumble_strip] { |
---|
856 | icon-image: "presets/vehicle/rumble_strip.svg"; |
---|
857 | set icon_z17; |
---|
858 | } |
---|
859 | /****************/ |
---|
860 | /* junction tag */ |
---|
861 | /****************/ |
---|
862 | |
---|
863 | node[junction=roundabout] { |
---|
864 | icon-image: "presets/vehicle/restriction/roundabout_left.svg"; |
---|
865 | set icon_z17; |
---|
866 | } |
---|
867 | node:righthandtraffic[junction=roundabout] { |
---|
868 | icon-image: "presets/vehicle/restriction/roundabout_right.svg"; |
---|
869 | set icon_z17; |
---|
870 | } |
---|
871 | |
---|
872 | /*****************/ |
---|
873 | /* cycleway tags */ |
---|
874 | /*****************/ |
---|
875 | |
---|
876 | /* prepare lane */ |
---|
877 | way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway, |
---|
878 | way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway { |
---|
879 | set laneRight; |
---|
880 | set righthandtr; |
---|
881 | } |
---|
882 | way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway, |
---|
883 | way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway { |
---|
884 | set laneLeft; |
---|
885 | set righthandtr; |
---|
886 | } |
---|
887 | way[oneway?][cycleway=lane]!.righthandtr::core_cycleway, |
---|
888 | way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway { |
---|
889 | set laneLeft; |
---|
890 | } |
---|
891 | way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway, |
---|
892 | way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway { |
---|
893 | set laneRight; |
---|
894 | } |
---|
895 | way[cycleway:left=lane]::core_cycleway { |
---|
896 | set laneLeft; |
---|
897 | } |
---|
898 | way[cycleway:right=lane]::core_cycleway { |
---|
899 | set laneRight; |
---|
900 | } |
---|
901 | way[oneway=no][cycleway=lane]::core_cycleway, |
---|
902 | way[!oneway][cycleway=lane]::core_cycleway { |
---|
903 | set laneLeft; |
---|
904 | set laneRight; |
---|
905 | } |
---|
906 | |
---|
907 | /* prepare shared_lane */ |
---|
908 | way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway { |
---|
909 | set shared_laneRight; |
---|
910 | set righthandtr; |
---|
911 | } |
---|
912 | way[oneway=-1][cycleway=shared_lane]:righthandtraffic::core_cycleway { |
---|
913 | set shared_laneLeft; |
---|
914 | set righthandtr; |
---|
915 | } |
---|
916 | way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway { |
---|
917 | set shared_laneLeft; |
---|
918 | } |
---|
919 | way[oneway=-1][cycleway=shared_lane]!.righthandtr::core_cycleway { |
---|
920 | set shared_laneRight; |
---|
921 | } |
---|
922 | way[cycleway:left=shared_lane]::core_cycleway { |
---|
923 | set shared_laneLeft; |
---|
924 | } |
---|
925 | way[cycleway:right=shared_lane]::core_cycleway { |
---|
926 | set shared_laneRight; |
---|
927 | } |
---|
928 | way[oneway=no][cycleway=shared_lane]::core_cycleway, |
---|
929 | way[!oneway][cycleway=shared_lane]::core_cycleway { |
---|
930 | set shared_laneLeft; |
---|
931 | set shared_laneRight; |
---|
932 | } |
---|
933 | |
---|
934 | /* prepare track */ |
---|
935 | way[oneway?][cycleway=track]:righthandtraffic::core_cycleway, |
---|
936 | way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway { |
---|
937 | set trackRight; |
---|
938 | set righthandtr; |
---|
939 | } |
---|
940 | way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway, |
---|
941 | way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway { |
---|
942 | set trackLeft; |
---|
943 | set righthandtr; |
---|
944 | } |
---|
945 | way[oneway?][cycleway=track]!.righthandtr::core_cycleway, |
---|
946 | way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway { |
---|
947 | set trackLeft; |
---|
948 | } |
---|
949 | way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway, |
---|
950 | way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway { |
---|
951 | set trackRight; |
---|
952 | } |
---|
953 | way[cycleway:left=track]::core_cycleway { |
---|
954 | set trackLeft; |
---|
955 | } |
---|
956 | way[cycleway:right=track]::core_cycleway { |
---|
957 | set trackRight; |
---|
958 | } |
---|
959 | way[oneway=no][cycleway=track]::core_cycleway, |
---|
960 | way[!oneway][cycleway=track]::core_cycleway { |
---|
961 | set trackLeft; |
---|
962 | set trackRight; |
---|
963 | } |
---|
964 | |
---|
965 | /* render lane */ |
---|
966 | way.laneRight::core_cycleway { |
---|
967 | width: 2; |
---|
968 | color: bicycle#b100ff; |
---|
969 | dashes: 6, 10; |
---|
970 | offset: 0 - (prop("width", "default") / 2) - 2; |
---|
971 | major-z-index: 2.1; |
---|
972 | modifier: true; |
---|
973 | } |
---|
974 | way[prop("laneLeft","core_cycleway")]::core_cycleway2 { |
---|
975 | width: 2; |
---|
976 | color: bicycle#b100ff; |
---|
977 | dashes: 6, 10; |
---|
978 | offset: (prop("width", "default") / 2) + 2; |
---|
979 | major-z-index: 2.1; |
---|
980 | modifier: true; |
---|
981 | } |
---|
982 | /* render shared_lane */ |
---|
983 | way.shared_laneRight::core_cycleway { |
---|
984 | width: 2; |
---|
985 | color: bicycle#b100ff; |
---|
986 | dashes: 6, 3; |
---|
987 | offset: 0 - (prop("width", "default") / 2) - 2; |
---|
988 | major-z-index: 2.1; |
---|
989 | modifier: true; |
---|
990 | } |
---|
991 | way[prop("shared_laneLeft","core_cycleway")]::core_cycleway2 { |
---|
992 | width: 2; |
---|
993 | color: bicycle#b100ff; |
---|
994 | dashes: 6, 3; |
---|
995 | offset: (prop("width", "default") / 2) + 2; |
---|
996 | major-z-index: 2.1; |
---|
997 | modifier: true; |
---|
998 | } |
---|
999 | /* render track */ |
---|
1000 | way.trackRight::core_cycleway { |
---|
1001 | width: 2; |
---|
1002 | color: bicycle#b100ff; |
---|
1003 | dashes: 25, 8; |
---|
1004 | offset: 0 - (prop("width", "default") / 2) - 2; |
---|
1005 | major-z-index: 2.1; |
---|
1006 | modifier: true; |
---|
1007 | } |
---|
1008 | way[prop("trackLeft","core_cycleway")]::core_cycleway2 { |
---|
1009 | width: 2; |
---|
1010 | color: bicycle#b100ff; |
---|
1011 | dashes: 25, 8; |
---|
1012 | offset: (prop("width", "default") / 2) + 2; |
---|
1013 | major-z-index: 2.1; |
---|
1014 | modifier: true; |
---|
1015 | } |
---|
1016 | /* render opposite */ |
---|
1017 | way[cycleway=opposite]::core_cycleway { |
---|
1018 | object-z-index: 1; |
---|
1019 | width: +0; |
---|
1020 | color: bicycle#b100ff; |
---|
1021 | dashes: 4,10; |
---|
1022 | } |
---|
1023 | node[cycleway=lane], node[cycleway=opposite_lane], |
---|
1024 | node[cycleway=track], node[cycleway=opposite_track], |
---|
1025 | node[cycleway=opposite] { |
---|
1026 | icon-image: "presets/misc/deprecated.svg"; |
---|
1027 | set icon_z17; |
---|
1028 | } |
---|
1029 | |
---|
1030 | /******************/ |
---|
1031 | /* tracktype tags */ |
---|
1032 | /******************/ |
---|
1033 | |
---|
1034 | way[highway=track][tracktype=grade1] { |
---|
1035 | dashes: 8,1; |
---|
1036 | } |
---|
1037 | way[highway=track][tracktype=grade2] { |
---|
1038 | dashes: 6,2; |
---|
1039 | } |
---|
1040 | way[highway=track][tracktype=grade3] { |
---|
1041 | dashes: 4,3; |
---|
1042 | } |
---|
1043 | way[highway=track][tracktype=grade4] { |
---|
1044 | dashes: 4,5; |
---|
1045 | } |
---|
1046 | way[highway=track][tracktype=grade5] { |
---|
1047 | dashes: 4,7; |
---|
1048 | } |
---|
1049 | |
---|
1050 | /**************/ |
---|
1051 | /* piste tags */ |
---|
1052 | /**************/ |
---|
1053 | |
---|
1054 | way[route=ski]::core_piste { |
---|
1055 | z-index: -1; |
---|
1056 | modifier: false; |
---|
1057 | width: 6; |
---|
1058 | color: ski#809bc0; |
---|
1059 | } |
---|
1060 | area[piste:difficulty=easy][!highway]:closed::core_piste { |
---|
1061 | fill-color: piste_easy#0000ff; |
---|
1062 | } |
---|
1063 | way[piste:difficulty=easy]::core_piste { |
---|
1064 | z-index: -1; /* below line style from highway=* tag */ |
---|
1065 | modifier: false; /* suppress default line if there is no style on default layer */ |
---|
1066 | width: 6; |
---|
1067 | color: piste_easy#0000ff; |
---|
1068 | } |
---|
1069 | area[piste:difficulty=intermediate][!highway]:closed::core_piste { |
---|
1070 | fill-color: piste_intermediate#ff0000; |
---|
1071 | } |
---|
1072 | way[piste:difficulty=intermediate]::core_piste { |
---|
1073 | z-index: -1; |
---|
1074 | modifier: false; |
---|
1075 | width: 6; |
---|
1076 | color: piste_intermediate#ff0000; |
---|
1077 | } |
---|
1078 | area[piste:difficulty=advanced][!highway]:closed::core_piste { |
---|
1079 | fill-color: piste_advanced#606060; |
---|
1080 | } |
---|
1081 | way[piste:difficulty=advanced]::core_piste { |
---|
1082 | z-index: -1; |
---|
1083 | modifier: false; |
---|
1084 | width: 6; |
---|
1085 | color: piste_advanced#606060; |
---|
1086 | } |
---|
1087 | area[piste:difficulty=expert][!highway]:closed::core_piste { |
---|
1088 | fill-color: piste_expert#606060; |
---|
1089 | } |
---|
1090 | way[piste:difficulty=expert]::core_piste { |
---|
1091 | z-index: -1; |
---|
1092 | modifier: false; |
---|
1093 | width: 6; |
---|
1094 | color: piste_expert#606060; |
---|
1095 | } |
---|
1096 | area[piste:difficulty=freeride][!highway]:closed::core_piste { |
---|
1097 | fill-color: piste_freeride#ffff00; |
---|
1098 | } |
---|
1099 | way[piste:difficulty=freeride]::core_piste { |
---|
1100 | z-index: -1; |
---|
1101 | modifier: false; |
---|
1102 | width: 6; |
---|
1103 | color: piste_freeride#ffff00; |
---|
1104 | } |
---|
1105 | area[piste:difficulty=novice][!highway]:closed::core_piste { |
---|
1106 | fill-color: piste_novice#00ff00; |
---|
1107 | } |
---|
1108 | way[piste:difficulty=novice]::core_piste { |
---|
1109 | z-index: -1; |
---|
1110 | modifier: false; |
---|
1111 | width: 6; |
---|
1112 | color: piste_novice#00ff00; |
---|
1113 | } |
---|
1114 | node[piste:type=downhill], |
---|
1115 | node[piste:type=nordic], |
---|
1116 | node[piste:type=skitour], |
---|
1117 | node[piste:type=sled], |
---|
1118 | node[piste:type=sleigh], |
---|
1119 | node[piste:type=snow_park] { |
---|
1120 | icon-image: "presets/sport/skiing.svg"; |
---|
1121 | set icon_z17; |
---|
1122 | } |
---|
1123 | |
---|
1124 | /**************/ |
---|
1125 | /* power tags */ |
---|
1126 | /**************/ |
---|
1127 | |
---|
1128 | node[power=portal] { |
---|
1129 | icon-image: "presets/power/portal.svg"; |
---|
1130 | set icon_z17; |
---|
1131 | } |
---|
1132 | node[power=tower] { |
---|
1133 | icon-image: "presets/power/tower.svg"; |
---|
1134 | set icon_z17; |
---|
1135 | } |
---|
1136 | node[power=pole] { |
---|
1137 | icon-image: "presets/power/pole.svg"; |
---|
1138 | set icon_z17; |
---|
1139 | } |
---|
1140 | node[power=pole][transformer=distribution] { |
---|
1141 | icon-image: "presets/power/pole_transformer.svg"; |
---|
1142 | set icon_z17; |
---|
1143 | } |
---|
1144 | node[power=insulator] { |
---|
1145 | icon-image: "presets/power/insulator.svg"; |
---|
1146 | set icon_z17; |
---|
1147 | } |
---|
1148 | way[power=portal], |
---|
1149 | way[power=line], |
---|
1150 | way[power=minor_line] { |
---|
1151 | width: 1; |
---|
1152 | color: power#eeeeee; |
---|
1153 | } |
---|
1154 | way[power=cable] { |
---|
1155 | width: 1; |
---|
1156 | color: power#eeeeee; |
---|
1157 | dashes: 9,9; |
---|
1158 | } |
---|
1159 | node[power=plant], |
---|
1160 | node[power=sub_station], |
---|
1161 | node[power=line], |
---|
1162 | node[power=cable], |
---|
1163 | node[power=minor_line] { |
---|
1164 | icon-image: "presets/misc/deprecated.svg"; |
---|
1165 | set icon_z17; |
---|
1166 | } |
---|
1167 | area[power=plant], |
---|
1168 | area[power=substation], |
---|
1169 | area[power=compensator], |
---|
1170 | area[power=converter], |
---|
1171 | area[power=generator] { |
---|
1172 | fill-color: power#eeeeee; |
---|
1173 | } |
---|
1174 | node[man_made=street_cabinet][street_cabinet=power] { |
---|
1175 | icon-image: "presets/power/cable_distribution_cabinet.svg"; |
---|
1176 | set icon_z17; |
---|
1177 | } |
---|
1178 | node[power=generator] { |
---|
1179 | icon-image: "presets/power/generator.svg"; |
---|
1180 | set icon_z17; |
---|
1181 | } |
---|
1182 | node[power=substation] { |
---|
1183 | icon-image: "presets/power/substation.svg"; |
---|
1184 | set icon_z17; |
---|
1185 | } |
---|
1186 | node[power=transformer] { |
---|
1187 | icon-image: "presets/power/transformer.svg"; |
---|
1188 | set icon_z17; |
---|
1189 | } |
---|
1190 | |
---|
1191 | node[power=switchgear] { |
---|
1192 | icon-image: "presets/power/switchgear.svg"; |
---|
1193 | set icon_z17; |
---|
1194 | } |
---|
1195 | node[power=switch] { |
---|
1196 | icon-image: "presets/power/switch.svg"; |
---|
1197 | set icon_z17; |
---|
1198 | } |
---|
1199 | node[power=converter] { |
---|
1200 | icon-image: "presets/power/converter.svg"; |
---|
1201 | set icon_z17; |
---|
1202 | } |
---|
1203 | node[power=compensator] { |
---|
1204 | icon-image: "presets/power/compensator.svg"; |
---|
1205 | set icon_z17; |
---|
1206 | } |
---|
1207 | |
---|
1208 | |
---|
1209 | /*************************/ |
---|
1210 | /* generator:source tags */ |
---|
1211 | /*************************/ |
---|
1212 | |
---|
1213 | area[generator:source=nuclear], |
---|
1214 | area[generator:source=wind], |
---|
1215 | area[generator:source=hydro], |
---|
1216 | area[generator:source=tidal], |
---|
1217 | area[generator:source=wave], |
---|
1218 | area[generator:source=osmotic], |
---|
1219 | area[generator:source=geothermal], |
---|
1220 | area[generator:source=solar], |
---|
1221 | area[generator:source=coal], |
---|
1222 | area[generator:source=gas], |
---|
1223 | area[generator:source=biomass], |
---|
1224 | area[generator:source=biofuel], |
---|
1225 | area[generator:source=biogas], |
---|
1226 | area[generator:source=oil], |
---|
1227 | area[generator:source=diesel], |
---|
1228 | area[generator:source=gasoline], |
---|
1229 | area[generator:source=waste] { |
---|
1230 | fill-color: power#eeeeee; |
---|
1231 | } |
---|
1232 | node[generator:source=nuclear] { |
---|
1233 | icon-image: "presets/power/power_source-nuclear.svg"; |
---|
1234 | set icon_z17; |
---|
1235 | } |
---|
1236 | node[generator:source=wind] { |
---|
1237 | icon-image: "presets/power/power_source-wind.svg"; |
---|
1238 | set icon_z17; |
---|
1239 | } |
---|
1240 | node[generator:source=hydro], |
---|
1241 | node[generator:source=tidal], |
---|
1242 | node[generator:source=wave], |
---|
1243 | node[generator:source=osmotic] { |
---|
1244 | icon-image: "presets/power/power_source-water.svg"; |
---|
1245 | set icon_z17; |
---|
1246 | } |
---|
1247 | node[generator:source=geothermal] { |
---|
1248 | icon-image: "presets/power/power_source-geothermal.svg"; |
---|
1249 | set icon_z17; |
---|
1250 | } |
---|
1251 | node[generator:source=solar] { |
---|
1252 | icon-image: "presets/power/power_source-sun.svg"; |
---|
1253 | set icon_z17; |
---|
1254 | } |
---|
1255 | node[generator:source=coal] { |
---|
1256 | icon-image: "presets/power/power_source-coal.svg"; |
---|
1257 | set icon_z17; |
---|
1258 | } |
---|
1259 | node[generator:source=gas] { |
---|
1260 | icon-image: "presets/power/power_source-gas.svg"; |
---|
1261 | set icon_z17; |
---|
1262 | } |
---|
1263 | node[generator:source=biomass], |
---|
1264 | node[generator:source=biofuel], |
---|
1265 | node[generator:source=biogas] { |
---|
1266 | icon-image: "presets/power/power_source-biofuel.svg"; |
---|
1267 | set icon_z17; |
---|
1268 | } |
---|
1269 | node[generator:source=oil], |
---|
1270 | node[generator:source=diesel], |
---|
1271 | node[generator:source=gasoline] { |
---|
1272 | icon-image: "presets/power/power_source-oil.svg"; |
---|
1273 | set icon_z17; |
---|
1274 | } |
---|
1275 | node[generator:source=waste] { |
---|
1276 | icon-image: "presets/power/power_source-waste.svg"; |
---|
1277 | set icon_z17; |
---|
1278 | } |
---|
1279 | node[power_source] { |
---|
1280 | icon-image: "presets/misc/deprecated.svg"; |
---|
1281 | set icon_z17; |
---|
1282 | } |
---|
1283 | /*****************/ |
---|
1284 | /* man_made tags */ |
---|
1285 | /*****************/ |
---|
1286 | |
---|
1287 | area[man_made=beacon], |
---|
1288 | area[man_made=bridge], |
---|
1289 | area[bridge:support], |
---|
1290 | area[man_made=chimney], |
---|
1291 | area[man_made=gasometer], |
---|
1292 | area[man_made=silo], |
---|
1293 | area[man_made=storage_tank], |
---|
1294 | area[man_made=bunker_silo], |
---|
1295 | area[man_made=lighthouse], |
---|
1296 | area[man_made=monitoring_station], |
---|
1297 | area[man_made=mineshaft] { |
---|
1298 | fill-color: manmade#d8d8d8; |
---|
1299 | } |
---|
1300 | node[man_made=beacon] { |
---|
1301 | icon-image: "presets/landmark/beacon.svg"; |
---|
1302 | set icon_z17; |
---|
1303 | } |
---|
1304 | node[man_made=bridge] { |
---|
1305 | icon-image: "presets/misc/deprecated.svg"; |
---|
1306 | set icon_z17; |
---|
1307 | } |
---|
1308 | node[bridge:support] { |
---|
1309 | icon-image: "presets/transport/bridge/bridge_support.svg"; |
---|
1310 | set icon_z17; |
---|
1311 | } |
---|
1312 | node[man_made=chimney] { |
---|
1313 | icon-image: "presets/landmark/chimney.svg"; |
---|
1314 | set icon_z17; |
---|
1315 | } |
---|
1316 | node[man_made=flagpole] { |
---|
1317 | icon-image: "presets/misc/flag.svg"; |
---|
1318 | set icon_z17; |
---|
1319 | } |
---|
1320 | node[man_made=gasometer] { |
---|
1321 | icon-image: "presets/landmark/gasometer.svg"; |
---|
1322 | set icon_z17; |
---|
1323 | } |
---|
1324 | node[man_made=silo] { |
---|
1325 | icon-image: "presets/landmark/silo.svg"; |
---|
1326 | set icon_z17; |
---|
1327 | } |
---|
1328 | node[man_made=storage_tank] { |
---|
1329 | icon-image: "presets/landmark/storage_tank.svg"; |
---|
1330 | set icon_z17; |
---|
1331 | } |
---|
1332 | node[man_made=bunker_silo] { |
---|
1333 | icon-image: "presets/landmark/bunker_silo.svg"; |
---|
1334 | set icon_z17; |
---|
1335 | } |
---|
1336 | area[man_made=groyne]:closed { |
---|
1337 | fill-color: manmade#d8d8d8; |
---|
1338 | } |
---|
1339 | way[man_made=groyne] { |
---|
1340 | width: 2; |
---|
1341 | color: manmade#d8d8d8; |
---|
1342 | } |
---|
1343 | area[man_made=breakwater]:closed { |
---|
1344 | fill-color: manmade#d8d8d8; |
---|
1345 | } |
---|
1346 | way[man_made=breakwater] { |
---|
1347 | width: 2; |
---|
1348 | color: manmade#d8d8d8; |
---|
1349 | } |
---|
1350 | node[man_made=lighthouse] { |
---|
1351 | icon-image: "presets/landmark/lighthouse.svg"; |
---|
1352 | set icon_z17; |
---|
1353 | } |
---|
1354 | node[man_made=monitoring_station] { |
---|
1355 | icon-image: "presets/misc/monitoring_station.svg"; |
---|
1356 | set icon_z17; |
---|
1357 | } |
---|
1358 | node[man_made=mineshaft] { |
---|
1359 | icon-image: "presets/landmark/mine.svg"; |
---|
1360 | set icon_z17; |
---|
1361 | } |
---|
1362 | area[man_made=crane]:closed { |
---|
1363 | fill-color: manmade#d8d8d8; |
---|
1364 | } |
---|
1365 | way[man_made=crane] { |
---|
1366 | width: 2; |
---|
1367 | color: manmade#d8d8d8; |
---|
1368 | } |
---|
1369 | node[man_made=crane] { |
---|
1370 | icon-image: "presets/landmark/crane.svg"; |
---|
1371 | set icon_z17; |
---|
1372 | } |
---|
1373 | node[man_made=adit] { |
---|
1374 | icon-image: "presets/landmark/adit.svg"; |
---|
1375 | set icon_z17; |
---|
1376 | } |
---|
1377 | area[man_made=pier]:closed { |
---|
1378 | fill-color: pier#660000; |
---|
1379 | } |
---|
1380 | way[man_made=pier] { |
---|
1381 | width: 2; |
---|
1382 | color: pier#660000; |
---|
1383 | } |
---|
1384 | node[man_made=pier] { |
---|
1385 | icon-image: "presets/nautical/pier.svg"; |
---|
1386 | set icon_z17; |
---|
1387 | } |
---|
1388 | way[embankment?][!highway][!railway][!waterway], |
---|
1389 | way[man_made=embankment][!highway][!railway][!waterway] { |
---|
1390 | repeat-image: "presets/misc/embankment-pattern.png"; |
---|
1391 | repeat-image-align: top; |
---|
1392 | width: 1; |
---|
1393 | color: embankment#c14d00; |
---|
1394 | } |
---|
1395 | way[embankment?][highway], |
---|
1396 | way[embankment?][railway], |
---|
1397 | way[embankment?][waterway], |
---|
1398 | way[man_made=embankment][highway], |
---|
1399 | way[man_made=embankment][railway], |
---|
1400 | way[man_made=embankment][waterway] { |
---|
1401 | repeat-image: "presets/misc/embankment-pattern-centered.png"; |
---|
1402 | } |
---|
1403 | way[man_made=pipeline] { |
---|
1404 | width: 2; |
---|
1405 | color: pipeline#660000; |
---|
1406 | } |
---|
1407 | node[pipeline=marker] { |
---|
1408 | icon-image: "presets/misc/pipeline_marker.svg"; |
---|
1409 | set icon_z17; |
---|
1410 | } |
---|
1411 | node[pipeline=valve] { |
---|
1412 | icon-image: "presets/misc/valve.svg"; |
---|
1413 | set icon_z17; |
---|
1414 | } |
---|
1415 | node[man_made=breakwater], |
---|
1416 | node[man_made=groyne], |
---|
1417 | node[man_made=embankment], |
---|
1418 | node[man_made=pipeline] { |
---|
1419 | icon-image: "presets/misc/deprecated.svg"; |
---|
1420 | set icon_z17; |
---|
1421 | } |
---|
1422 | node[man_made=petroleum_well][!is_prop_set(icon-image)] { |
---|
1423 | icon-image: "presets/misc/no_icon.svg"; |
---|
1424 | set icon_z17; |
---|
1425 | } |
---|
1426 | area[man_made=reservoir_covered], |
---|
1427 | area[man_made=surveillance], |
---|
1428 | area[man_made=tower], |
---|
1429 | area[man_made=wastewater_plant], |
---|
1430 | area[man_made=watermill], |
---|
1431 | area[man_made=water_tower], |
---|
1432 | area[man_made=water_well], |
---|
1433 | area[man_made=windmill], |
---|
1434 | area[man_made=works], |
---|
1435 | area[man_made=water_works] { |
---|
1436 | fill-color: manmade#d8d8d8; |
---|
1437 | } |
---|
1438 | node[man_made=reservoir_covered] { |
---|
1439 | icon-image: "presets/landmark/reservoir_covered.svg"; |
---|
1440 | set icon_z17; |
---|
1441 | } |
---|
1442 | node[man_made=surveillance] { |
---|
1443 | icon-image: "presets/service/surveillance.svg"; |
---|
1444 | set icon_z17; |
---|
1445 | } |
---|
1446 | node[man_made=survey_point] { |
---|
1447 | icon-image: "presets/landmark/survey_point.svg"; |
---|
1448 | set icon_z17; |
---|
1449 | } |
---|
1450 | node[man_made=tower] { |
---|
1451 | icon-image: "presets/landmark/tower.svg"; |
---|
1452 | set icon_z17; |
---|
1453 | } |
---|
1454 | node[man_made=wastewater_plant] { |
---|
1455 | icon-image: "presets/landmark/wastewater_plant.svg"; |
---|
1456 | set icon_z17; |
---|
1457 | } |
---|
1458 | node[man_made=watermill] { |
---|
1459 | icon-image: "presets/landmark/watermill.svg"; |
---|
1460 | set icon_z17; |
---|
1461 | } |
---|
1462 | node[man_made=water_tower] { |
---|
1463 | icon-image: "presets/landmark/water_tower.svg"; |
---|
1464 | set icon_z17; |
---|
1465 | } |
---|
1466 | node[man_made=water_well] { |
---|
1467 | icon-image: "presets/landmark/water_well.svg"; |
---|
1468 | set icon_z17; |
---|
1469 | } |
---|
1470 | node[man_made=windmill] { |
---|
1471 | icon-image: "presets/landmark/windmill.svg"; |
---|
1472 | set icon_z17; |
---|
1473 | } |
---|
1474 | node[man_made=works] { |
---|
1475 | icon-image: "presets/landmark/works.svg"; |
---|
1476 | set icon_z17; |
---|
1477 | } |
---|
1478 | node[man_made=water_works] { |
---|
1479 | icon-image: "presets/landmark/water_works.svg"; |
---|
1480 | set icon_z17; |
---|
1481 | } |
---|
1482 | way[man_made=cutline] { |
---|
1483 | width: 2; |
---|
1484 | color: cutline#99ff55; |
---|
1485 | } |
---|
1486 | node[man_made=cutline] { |
---|
1487 | icon-image: "presets/misc/deprecated.svg"; |
---|
1488 | set icon_z17; |
---|
1489 | } |
---|
1490 | |
---|
1491 | /***************/ |
---|
1492 | /* office tags */ |
---|
1493 | /***************/ |
---|
1494 | |
---|
1495 | area[office=accountant], |
---|
1496 | area[office=administrative], |
---|
1497 | area[office=advertising_agency], |
---|
1498 | area[office=architect], |
---|
1499 | area[office=association], |
---|
1500 | area[office=company], |
---|
1501 | area[office=educational_institution], |
---|
1502 | area[office=employment_agency], |
---|
1503 | area[office=estate_agent], |
---|
1504 | area[office=foundation], |
---|
1505 | area[office=government], |
---|
1506 | area[office=insurance], |
---|
1507 | area[office=it], |
---|
1508 | area[office=lawyer], |
---|
1509 | area[office=newspaper], |
---|
1510 | area[office=ngo], |
---|
1511 | area[office=notary], |
---|
1512 | area[office=political_party], |
---|
1513 | area[office=religion], |
---|
1514 | area[office=research], |
---|
1515 | area[office=tax_advisor], |
---|
1516 | area[office=telecommunication] { |
---|
1517 | fill-color: office#de5696; |
---|
1518 | } |
---|
1519 | node[office=accountant] { |
---|
1520 | icon-image: "presets/office/accountant.svg"; |
---|
1521 | set icon_z17; |
---|
1522 | } |
---|
1523 | node[office=administrative] { |
---|
1524 | icon-image: "presets/office/administrative.svg"; |
---|
1525 | set icon_z17; |
---|
1526 | } |
---|
1527 | node[office=advertising_agency] { |
---|
1528 | icon-image: "presets/office/advertising_agency.svg"; |
---|
1529 | set icon_z17; |
---|
1530 | } |
---|
1531 | node[office=architect] { |
---|
1532 | icon-image: "presets/office/architect.svg"; |
---|
1533 | set icon_z17; |
---|
1534 | } |
---|
1535 | node[office=association] { |
---|
1536 | icon-image: "presets/office/association.svg"; |
---|
1537 | set icon_z17; |
---|
1538 | } |
---|
1539 | node[office=company] { |
---|
1540 | icon-image: "presets/office/private_company.svg"; |
---|
1541 | set icon_z17; |
---|
1542 | } |
---|
1543 | node[office=educational_institution] { |
---|
1544 | icon-image: "presets/office/educational_institution.svg"; |
---|
1545 | set icon_z17; |
---|
1546 | } |
---|
1547 | node[office=employment_agency] { |
---|
1548 | icon-image: "presets/office/employment_agency.svg"; |
---|
1549 | set icon_z17; |
---|
1550 | } |
---|
1551 | node[office=estate_agent] { |
---|
1552 | icon-image: "presets/office/real_state.svg"; |
---|
1553 | set icon_z17; |
---|
1554 | } |
---|
1555 | node[office=foundation] { |
---|
1556 | icon-image: "presets/office/foundation.svg"; |
---|
1557 | set icon_z17; |
---|
1558 | } |
---|
1559 | node[office=insurance] { |
---|
1560 | icon-image: "presets/office/insurance.svg"; |
---|
1561 | set icon_z17; |
---|
1562 | } |
---|
1563 | node[office=it] { |
---|
1564 | icon-image: "presets/office/it.svg"; |
---|
1565 | set icon_z17; |
---|
1566 | } |
---|
1567 | node[office=lawyer] { |
---|
1568 | icon-image: "presets/office/lawyer.svg"; |
---|
1569 | set icon_z17; |
---|
1570 | } |
---|
1571 | node[office=newspaper] { |
---|
1572 | icon-image: "presets/office/newspaper.svg"; |
---|
1573 | set icon_z17; |
---|
1574 | } |
---|
1575 | node[office=ngo] { |
---|
1576 | icon-image: "presets/office/ong.svg"; |
---|
1577 | set icon_z17; |
---|
1578 | } |
---|
1579 | node[office=notary] { |
---|
1580 | icon-image: "presets/office/notary.svg"; |
---|
1581 | set icon_z17; |
---|
1582 | } |
---|
1583 | node[office=political_party] { |
---|
1584 | icon-image: "presets/office/political_party.svg"; |
---|
1585 | set icon_z17; |
---|
1586 | } |
---|
1587 | node[office=religion] { |
---|
1588 | icon-image: "presets/office/religion.svg"; |
---|
1589 | set icon_z17; |
---|
1590 | } |
---|
1591 | node[office=research] { |
---|
1592 | icon-image: "presets/office/research.svg"; |
---|
1593 | set icon_z17; |
---|
1594 | } |
---|
1595 | node[office=tax_advisor] { |
---|
1596 | icon-image: "presets/office/tax_advisor.svg"; |
---|
1597 | set icon_z17; |
---|
1598 | } |
---|
1599 | node[office=telecommunication] { |
---|
1600 | icon-image: "presets/office/telecommunication.svg"; |
---|
1601 | set icon_z17; |
---|
1602 | } |
---|
1603 | node[office=government] { |
---|
1604 | icon-image: "presets/office/government.svg"; |
---|
1605 | set icon_z17; |
---|
1606 | } |
---|
1607 | |
---|
1608 | /****************/ |
---|
1609 | /* leisure tags */ |
---|
1610 | /****************/ |
---|
1611 | |
---|
1612 | area[leisure=sports_centre], |
---|
1613 | area[leisure=fitness_centre], |
---|
1614 | area[leisure=stadium], |
---|
1615 | area[leisure=horse_riding], |
---|
1616 | area[leisure=water_park] { |
---|
1617 | fill-color: leisure#c7f1a3; |
---|
1618 | } |
---|
1619 | node[leisure=sports_centre] { |
---|
1620 | icon-image: "presets/sport/sports_centre.svg"; |
---|
1621 | set icon_z17; |
---|
1622 | } |
---|
1623 | node[leisure=fitness_centre] { |
---|
1624 | icon-image: "presets/sport/fitness_centre.svg"; |
---|
1625 | set icon_z17; |
---|
1626 | } |
---|
1627 | node[leisure=stadium] { |
---|
1628 | icon-image: "presets/sport/stadium.svg"; |
---|
1629 | set icon_z17; |
---|
1630 | } |
---|
1631 | node[leisure=horse_riding] { |
---|
1632 | icon-image: "presets/leisure/horse_riding.svg"; |
---|
1633 | set icon_z17; |
---|
1634 | } |
---|
1635 | node[leisure=water_park] { |
---|
1636 | icon-image: "presets/leisure/water_park.svg"; |
---|
1637 | set icon_z17; |
---|
1638 | } |
---|
1639 | area[leisure=track][!area?!]:closed { |
---|
1640 | fill-color: leisuretrack#d4f4b9; |
---|
1641 | } |
---|
1642 | way[leisure=track] { |
---|
1643 | width: 2; |
---|
1644 | color: leisuretrack#d4f4b9; |
---|
1645 | } |
---|
1646 | node[leisure=track] { |
---|
1647 | icon-image: "presets/sport/track.svg"; |
---|
1648 | set icon_z17; |
---|
1649 | } |
---|
1650 | area[leisure=pitch] { |
---|
1651 | fill-color: pitch#baee8d; |
---|
1652 | } |
---|
1653 | node[leisure=pitch] { |
---|
1654 | icon-image: "presets/sport/pitch.svg"; |
---|
1655 | set icon_z17; |
---|
1656 | } |
---|
1657 | area[leisure=marina] { |
---|
1658 | fill-color: marina#0070cf; |
---|
1659 | } |
---|
1660 | node[leisure=marina] { |
---|
1661 | icon-image: "presets/nautical/marina.svg"; |
---|
1662 | set icon_z17; |
---|
1663 | } |
---|
1664 | way[leisure=slipway] { |
---|
1665 | width: 2; |
---|
1666 | color: leisure#c7f1a3; |
---|
1667 | } |
---|
1668 | node[leisure=slipway] { |
---|
1669 | icon-image: "presets/nautical/slipway.svg"; |
---|
1670 | set icon_z17; |
---|
1671 | } |
---|
1672 | area[leisure=fishing], |
---|
1673 | area[leisure=bird_hide], |
---|
1674 | area[leisure=nature_reserve], |
---|
1675 | area[leisure=park], |
---|
1676 | area[leisure=playground], |
---|
1677 | area[leisure=garden], |
---|
1678 | area[leisure=common], |
---|
1679 | area[leisure=firepit] { |
---|
1680 | fill-color: leisure#c7f1a3; |
---|
1681 | } |
---|
1682 | node[leisure=fishing] { |
---|
1683 | icon-image: "presets/sport/fishing.svg"; |
---|
1684 | set icon_z17; |
---|
1685 | } |
---|
1686 | node[leisure=bird_hide] { |
---|
1687 | icon-image: "presets/leisure/bird_hide.svg"; |
---|
1688 | set icon_z17; |
---|
1689 | } |
---|
1690 | node[leisure=nature_reserve] { |
---|
1691 | icon-image: "presets/leisure/nature_reserve.svg"; |
---|
1692 | set icon_z17; |
---|
1693 | } |
---|
1694 | node[leisure=park] { |
---|
1695 | icon-image: "presets/misc/deprecated.svg"; |
---|
1696 | set icon_z17; |
---|
1697 | } |
---|
1698 | node[leisure=playground] { |
---|
1699 | icon-image: "presets/leisure/playground.svg"; |
---|
1700 | set icon_z17; |
---|
1701 | } |
---|
1702 | node[leisure=garden] { |
---|
1703 | icon-image: "presets/leisure/garden.svg"; |
---|
1704 | set icon_z17; |
---|
1705 | } |
---|
1706 | node[leisure=common] { |
---|
1707 | icon-image: "presets/leisure/common.svg"; |
---|
1708 | set icon_z17; |
---|
1709 | } |
---|
1710 | node[leisure=firepit] { |
---|
1711 | icon-image: "presets/leisure/firepit.svg"; |
---|
1712 | set icon_z17; |
---|
1713 | } |
---|
1714 | node[leisure=picnic_table] { |
---|
1715 | icon-image: "presets/leisure/picnic.svg"; |
---|
1716 | set icon_z17; |
---|
1717 | } |
---|
1718 | area[leisure=swimming_pool] { |
---|
1719 | fill-color: swimming_pool#51c4ef; |
---|
1720 | } |
---|
1721 | node[leisure=swimming_pool] { |
---|
1722 | icon-image: "presets/sport/swimming.svg"; |
---|
1723 | set icon_z17; |
---|
1724 | } |
---|
1725 | area[leisure=fitness_station], |
---|
1726 | area[leisure=miniature_golf], |
---|
1727 | area[leisure=dog_park], |
---|
1728 | area[leisure=ice_rink], |
---|
1729 | area[leisure=sauna] { |
---|
1730 | fill-color: leisure#c7f1a3; |
---|
1731 | } |
---|
1732 | node[leisure=fitness_station] { |
---|
1733 | icon-image: "presets/leisure/fitness_station.svg"; |
---|
1734 | set icon_z17; |
---|
1735 | } |
---|
1736 | node[leisure=miniature_golf] { |
---|
1737 | icon-image: "presets/sport/miniature_golf.svg"; |
---|
1738 | set icon_z17; |
---|
1739 | } |
---|
1740 | node[leisure=dog_park] { |
---|
1741 | icon-image: "presets/leisure/dogpark.svg"; |
---|
1742 | set icon_z17; |
---|
1743 | } |
---|
1744 | node[leisure=ice_rink] { |
---|
1745 | icon-image: "presets/sport/ice_hockey.svg"; |
---|
1746 | set icon_z17; |
---|
1747 | } |
---|
1748 | node[leisure=sauna] { |
---|
1749 | icon-image: "presets/leisure/sauna.svg"; |
---|
1750 | set icon_z17; |
---|
1751 | } |
---|
1752 | area[leisure=golf_course] { |
---|
1753 | fill-color: leisure#c7f1a3; |
---|
1754 | } |
---|
1755 | node[leisure=golf_course] { |
---|
1756 | icon-image: "presets/sport/golf/golf.svg"; |
---|
1757 | set icon_z17; |
---|
1758 | } |
---|
1759 | |
---|
1760 | /*************/ |
---|
1761 | /* golf tags */ |
---|
1762 | /*************/ |
---|
1763 | area[golf=tee] { |
---|
1764 | fill-color: golf#c7f1a3; |
---|
1765 | } |
---|
1766 | node[golf=tee] { |
---|
1767 | icon-image: "presets/sport/golf/tee.svg"; |
---|
1768 | set icon_z17; |
---|
1769 | } |
---|
1770 | way[golf=hole] { |
---|
1771 | width: 1; |
---|
1772 | dashes: 10,10; |
---|
1773 | color: golf_hole#808080; |
---|
1774 | } |
---|
1775 | node[golf=pin] { |
---|
1776 | icon-image: "presets/sport/golf/pin.svg"; |
---|
1777 | set icon_z17; |
---|
1778 | } |
---|
1779 | area[golf=bunker] { |
---|
1780 | fill-color: golf_bunker#ffab00; |
---|
1781 | } |
---|
1782 | area[golf=water_hazard], |
---|
1783 | area[golf=lateral_water_hazard] { |
---|
1784 | fill-color: golf_water_hazard#0000ff; |
---|
1785 | } |
---|
1786 | area[golf=green] { |
---|
1787 | fill-color: golf_green#00e700; |
---|
1788 | } |
---|
1789 | area[golf=fairway] { |
---|
1790 | fill-color: golf_fairway#009a00; |
---|
1791 | } |
---|
1792 | area[golf=rough] { |
---|
1793 | fill-color: golf_rough#006700; |
---|
1794 | } |
---|
1795 | area[golf=driving_range] { |
---|
1796 | fill-color: golf_driving_range#c7f1a3; |
---|
1797 | } |
---|
1798 | node[golf=driving_range] { |
---|
1799 | icon-image: "presets/sport/golf/driving_range.svg"; |
---|
1800 | set icon_z17; |
---|
1801 | } |
---|
1802 | |
---|
1803 | /********************/ |
---|
1804 | /* advertising tags */ |
---|
1805 | /********************/ |
---|
1806 | |
---|
1807 | node[advertising=column] { |
---|
1808 | icon-image: "presets/leisure/advertising_column.svg"; |
---|
1809 | set icon_z17; |
---|
1810 | } |
---|
1811 | node[advertising=billboard] { |
---|
1812 | icon-image: "presets/leisure/billboard.svg"; |
---|
1813 | set icon_z17; |
---|
1814 | } |
---|
1815 | |
---|
1816 | /*************/ |
---|
1817 | /* shop tags */ |
---|
1818 | /*************/ |
---|
1819 | |
---|
1820 | area[shop=supermarket], |
---|
1821 | area[shop=convenience], |
---|
1822 | area[shop=bakery], |
---|
1823 | area[shop=butcher], |
---|
1824 | area[shop=bicycle], |
---|
1825 | area[shop=doityourself], |
---|
1826 | area[shop=dry_cleaning], |
---|
1827 | area[shop=laundry], |
---|
1828 | area[shop=outdoor], |
---|
1829 | area[shop=kiosk], |
---|
1830 | area[shop=alcohol], |
---|
1831 | area[shop=beverages], |
---|
1832 | area[shop=books], |
---|
1833 | area[shop=boutique], |
---|
1834 | area[shop=car], |
---|
1835 | area[shop=car_dealer], |
---|
1836 | area[shop=car_repair], |
---|
1837 | area[shop=tyres], |
---|
1838 | area[shop=chemist], |
---|
1839 | area[shop=tobacco], |
---|
1840 | area[shop=clothes], |
---|
1841 | area[shop=computer], |
---|
1842 | area[shop=confectionery], |
---|
1843 | area[shop=copyshop], |
---|
1844 | area[shop=curtain], |
---|
1845 | area[shop=cycle_repair], |
---|
1846 | area[shop=department_store], |
---|
1847 | area[shop=deli], |
---|
1848 | area[shop=electronics], |
---|
1849 | area[shop=erotic], |
---|
1850 | area[shop=furniture], |
---|
1851 | area[shop=fabric], |
---|
1852 | area[shop=florist], |
---|
1853 | area[shop=frame], |
---|
1854 | area[shop=gift], |
---|
1855 | area[shop=greengrocer], |
---|
1856 | area[shop=garden_centre], |
---|
1857 | area[shop=hairdresser], |
---|
1858 | area[shop=hardware], |
---|
1859 | area[shop=hearing_aids], |
---|
1860 | area[shop=hifi], |
---|
1861 | area[shop=houseware], |
---|
1862 | area[shop=jewelry], |
---|
1863 | area[shop=kitchen], |
---|
1864 | area[shop=mall], |
---|
1865 | area[shop=mobile_phone], |
---|
1866 | area[shop=motorcycle], |
---|
1867 | area[shop=musical_instrument], |
---|
1868 | area[shop=newsagent], |
---|
1869 | area[shop=optician], |
---|
1870 | area[shop=medical_supply], |
---|
1871 | area[shop=paint], |
---|
1872 | area[shop=pawnbroker], |
---|
1873 | area[shop=seafood], |
---|
1874 | area[shop=shoes], |
---|
1875 | area[shop=sports], |
---|
1876 | area[shop=stationery], |
---|
1877 | area[shop=tailor], |
---|
1878 | area[shop=travel_agency], |
---|
1879 | area[shop=toys], |
---|
1880 | area[shop=vacuum_cleaner], |
---|
1881 | area[shop=variety_store], |
---|
1882 | area[shop=video], |
---|
1883 | area[shop=bookmaker], |
---|
1884 | area[shop=lottery], |
---|
1885 | area[shop=shopping_centre], |
---|
1886 | area[shop=pet], |
---|
1887 | area[shop=photo], |
---|
1888 | area[shop=ticket], |
---|
1889 | area[shop=interior_decoration], |
---|
1890 | area[shop=car_parts], |
---|
1891 | area[shop=video_games], |
---|
1892 | area[shop=bed], |
---|
1893 | area[shop=beauty], |
---|
1894 | area[shop=cosmetics], |
---|
1895 | area[shop=perfumery], |
---|
1896 | area[shop=tea], |
---|
1897 | area[shop=coffee], |
---|
1898 | area[shop=antiques], |
---|
1899 | area[shop=music], |
---|
1900 | area[shop=funeral_directors], |
---|
1901 | area[shop=wine], |
---|
1902 | area[shop=farm], |
---|
1903 | area[shop=tattoo], |
---|
1904 | area[shop=art], |
---|
1905 | area[shop=bag] { |
---|
1906 | fill-color: shop#00005f; |
---|
1907 | } |
---|
1908 | node[shop=supermarket] { |
---|
1909 | icon-image: "presets/shop/supermarket.svg"; |
---|
1910 | set icon_z17; |
---|
1911 | } |
---|
1912 | node[shop=convenience] { |
---|
1913 | icon-image: "presets/shop/convenience.svg"; |
---|
1914 | set icon_z17; |
---|
1915 | } |
---|
1916 | node[shop=bakery] { |
---|
1917 | icon-image: "presets/shop/groceries/bakery.svg"; |
---|
1918 | set icon_z17; |
---|
1919 | } |
---|
1920 | node[shop=butcher] { |
---|
1921 | icon-image: "presets/shop/groceries/butcher.svg"; |
---|
1922 | set icon_z17; |
---|
1923 | } |
---|
1924 | node[shop=bicycle] { |
---|
1925 | icon-image: "presets/shop/bicycle.svg"; |
---|
1926 | set icon_z17; |
---|
1927 | } |
---|
1928 | node[shop=doityourself] { |
---|
1929 | icon-image: "presets/shop/diy_store.svg"; |
---|
1930 | set icon_z17; |
---|
1931 | } |
---|
1932 | node[shop=dry_cleaning], |
---|
1933 | node[shop=laundry] { |
---|
1934 | icon-image: "presets/shop/laundry.svg"; |
---|
1935 | set icon_z17; |
---|
1936 | } |
---|
1937 | node[shop=outdoor] { |
---|
1938 | icon-image: "presets/shop/outdoor.svg"; |
---|
1939 | set icon_z17; |
---|
1940 | } |
---|
1941 | node[shop=kiosk] { |
---|
1942 | icon-image: "presets/shop/kiosk.svg"; |
---|
1943 | set icon_z17; |
---|
1944 | } |
---|
1945 | node[shop=beverages] { |
---|
1946 | icon-image: "presets/shop/beverages.svg"; |
---|
1947 | set icon_z17; |
---|
1948 | } |
---|
1949 | node[shop=alcohol] { |
---|
1950 | icon-image: "presets/shop/alcohol.svg"; |
---|
1951 | set icon_z17; |
---|
1952 | } |
---|
1953 | node[shop=books] { |
---|
1954 | icon-image: "presets/shop/book.svg"; |
---|
1955 | set icon_z17; |
---|
1956 | } |
---|
1957 | node[shop=boutique] { |
---|
1958 | icon-image: "presets/shop/boutique.svg"; |
---|
1959 | set icon_z17; |
---|
1960 | } |
---|
1961 | node[shop=car], |
---|
1962 | node[shop=car_dealer] { |
---|
1963 | icon-image: "presets/shop/vehicle.svg"; |
---|
1964 | set icon_z17; |
---|
1965 | } |
---|
1966 | node[shop=car_repair] { |
---|
1967 | icon-image: "presets/vehicle/repair_shop.svg"; |
---|
1968 | set icon_z17; |
---|
1969 | } |
---|
1970 | node[shop=tyres] { |
---|
1971 | icon-image: "presets/vehicle/tyres.svg"; |
---|
1972 | set icon_z17; |
---|
1973 | } |
---|
1974 | node[shop=chemist] { |
---|
1975 | icon-image: "presets/shop/chemist.svg"; |
---|
1976 | set icon_z17; |
---|
1977 | } |
---|
1978 | node[shop=tobacco] { |
---|
1979 | icon-image: "presets/shop/tobacco.svg"; |
---|
1980 | set icon_z17; |
---|
1981 | } |
---|
1982 | node[shop=clothes] { |
---|
1983 | icon-image: "presets/shop/clothes.svg"; |
---|
1984 | set icon_z17; |
---|
1985 | } |
---|
1986 | node[shop=computer] { |
---|
1987 | icon-image: "presets/shop/computer.svg"; |
---|
1988 | set icon_z17; |
---|
1989 | } |
---|
1990 | node[shop=confectionery] { |
---|
1991 | icon-image: "presets/shop/groceries/confectionery.svg"; |
---|
1992 | set icon_z17; |
---|
1993 | } |
---|
1994 | node[shop=copyshop] { |
---|
1995 | icon-image: "presets/shop/copyshop.svg"; |
---|
1996 | set icon_z17; |
---|
1997 | } |
---|
1998 | node[shop=curtain] { |
---|
1999 | icon-image: "presets/shop/curtain.svg"; |
---|
2000 | set icon_z17; |
---|
2001 | } |
---|
2002 | node[shop=cycle_repair] { |
---|
2003 | icon-image: "presets/shop/bicycle.svg"; |
---|
2004 | set icon_z17; |
---|
2005 | } |
---|
2006 | node[shop=department_store] { |
---|
2007 | icon-image: "presets/shop/mall.svg"; |
---|
2008 | set icon_z17; |
---|
2009 | } |
---|
2010 | node[shop=deli] { |
---|
2011 | icon-image: "presets/shop/groceries/deli.svg"; |
---|
2012 | set icon_z17; |
---|
2013 | } |
---|
2014 | node[shop=electronics] { |
---|
2015 | icon-image: "presets/shop/electronics.svg"; |
---|
2016 | set icon_z17; |
---|
2017 | } |
---|
2018 | node[shop=erotic] { |
---|
2019 | icon-image: "presets/shop/erotic.svg"; |
---|
2020 | set icon_z17; |
---|
2021 | } |
---|
2022 | node[shop=furniture] { |
---|
2023 | icon-image: "presets/shop/furniture.svg"; |
---|
2024 | set icon_z17; |
---|
2025 | } |
---|
2026 | node[shop=fabric] { |
---|
2027 | icon-image: "presets/shop/fabric.svg"; |
---|
2028 | set icon_z17; |
---|
2029 | } |
---|
2030 | node[shop=florist] { |
---|
2031 | icon-image: "presets/shop/florist.svg"; |
---|
2032 | set icon_z17; |
---|
2033 | } |
---|
2034 | node[shop=frame] { |
---|
2035 | icon-image: "presets/shop/frame.svg"; |
---|
2036 | set icon_z17; |
---|
2037 | } |
---|
2038 | node[shop=gift] { |
---|
2039 | icon-image: "presets/shop/present.svg"; |
---|
2040 | set icon_z17; |
---|
2041 | } |
---|
2042 | node[shop=greengrocer] { |
---|
2043 | icon-image: "presets/shop/groceries/greengrocer.svg"; |
---|
2044 | set icon_z17; |
---|
2045 | } |
---|
2046 | node[shop=garden_centre] { |
---|
2047 | icon-image: "presets/shop/garden_centre.svg"; |
---|
2048 | set icon_z17; |
---|
2049 | } |
---|
2050 | node[shop=hairdresser] { |
---|
2051 | icon-image: "presets/shop/hairdresser.svg"; |
---|
2052 | set icon_z17; |
---|
2053 | } |
---|
2054 | node[shop=hardware] { |
---|
2055 | icon-image: "presets/shop/hardware.svg"; |
---|
2056 | set icon_z17; |
---|
2057 | } |
---|
2058 | node[shop=hearing_aids] { |
---|
2059 | icon-image: "presets/shop/hearing_aids.svg"; |
---|
2060 | set icon_z17; |
---|
2061 | } |
---|
2062 | node[shop=hifi] { |
---|
2063 | icon-image: "presets/shop/hifi.svg"; |
---|
2064 | set icon_z17; |
---|
2065 | } |
---|
2066 | node[shop=houseware] { |
---|
2067 | icon-image: "presets/shop/houseware.svg"; |
---|
2068 | set icon_z17; |
---|
2069 | } |
---|
2070 | node[shop=jewelry] { |
---|
2071 | icon-image: "presets/shop/jewelry.svg"; |
---|
2072 | set icon_z17; |
---|
2073 | } |
---|
2074 | node[shop=kitchen] { |
---|
2075 | icon-image: "presets/shop/kitchen.svg"; |
---|
2076 | set icon_z17; |
---|
2077 | } |
---|
2078 | node[shop=mall] { |
---|
2079 | icon-image: "presets/shop/mall.svg"; |
---|
2080 | set icon_z17; |
---|
2081 | } |
---|
2082 | node[shop=mobile_phone] { |
---|
2083 | icon-image: "presets/shop/mobile_phone.svg"; |
---|
2084 | set icon_z17; |
---|
2085 | } |
---|
2086 | node[shop=motorcycle] { |
---|
2087 | icon-image: "presets/vehicle/motorbike.svg"; |
---|
2088 | set icon_z17; |
---|
2089 | } |
---|
2090 | node[shop=musical_instrument] { |
---|
2091 | icon-image: "presets/shop/musical_instrument.svg"; |
---|
2092 | set icon_z17; |
---|
2093 | } |
---|
2094 | node[shop=newsagent] { |
---|
2095 | icon-image: "presets/shop/news.svg"; |
---|
2096 | set icon_z17; |
---|
2097 | } |
---|
2098 | node[shop=optician] { |
---|
2099 | icon-image: "presets/shop/optician.svg"; |
---|
2100 | set icon_z17; |
---|
2101 | } |
---|
2102 | node[shop=medical_supply] { |
---|
2103 | icon-image: "presets/shop/medical_supply.svg"; |
---|
2104 | set icon_z17; |
---|
2105 | } |
---|
2106 | node[shop=paint] { |
---|
2107 | icon-image: "presets/shop/paint.svg"; |
---|
2108 | set icon_z17; |
---|
2109 | } |
---|
2110 | node[shop=pawnbroker] { |
---|
2111 | icon-image: "presets/shop/pawnbroker.svg"; |
---|
2112 | set icon_z17; |
---|
2113 | } |
---|
2114 | node[shop=seafood] { |
---|
2115 | icon-image: "presets/shop/groceries/seafood.svg"; |
---|
2116 | set icon_z17; |
---|
2117 | } |
---|
2118 | node[shop=shoes] { |
---|
2119 | icon-image: "presets/shop/shoes.svg"; |
---|
2120 | set icon_z17; |
---|
2121 | } |
---|
2122 | node[shop=sports] { |
---|
2123 | icon-image: "presets/sport/multi.svg"; |
---|
2124 | set icon_z17; |
---|
2125 | } |
---|
2126 | node[shop=stationery] { |
---|
2127 | icon-image: "presets/shop/stationery.svg"; |
---|
2128 | set icon_z17; |
---|
2129 | } |
---|
2130 | node[shop=tailor] { |
---|
2131 | icon-image: "presets/shop/tailor.svg"; |
---|
2132 | set icon_z17; |
---|
2133 | } |
---|
2134 | node[shop=travel_agency] { |
---|
2135 | icon-image: "presets/shop/travel_agency.svg"; |
---|
2136 | set icon_z17; |
---|
2137 | } |
---|
2138 | node[shop=toys] { |
---|
2139 | icon-image: "presets/shop/toys.svg"; |
---|
2140 | set icon_z17; |
---|
2141 | } |
---|
2142 | node[shop=vacuum_cleaner] { |
---|
2143 | icon-image: "presets/shop/vacuum_cleaner.svg"; |
---|
2144 | set icon_z17; |
---|
2145 | } |
---|
2146 | node[shop=variety_store] { |
---|
2147 | icon-image: "presets/shop/variety_store.svg"; |
---|
2148 | set icon_z17; |
---|
2149 | } |
---|
2150 | node[shop=video] { |
---|
2151 | icon-image: "presets/shop/video.svg"; |
---|
2152 | set icon_z17; |
---|
2153 | } |
---|
2154 | node[shop=bookmaker] { |
---|
2155 | icon-image: "presets/shop/lottery.svg"; |
---|
2156 | set icon_z17; |
---|
2157 | } |
---|
2158 | node[shop=lottery] { |
---|
2159 | icon-image: "presets/shop/lottery.svg"; |
---|
2160 | set icon_z17; |
---|
2161 | } |
---|
2162 | /* duplicate of shopping_centre? */ |
---|
2163 | node[shop=shopping_centre] { |
---|
2164 | icon-image: "presets/shop/mall.svg"; |
---|
2165 | set icon_z17; |
---|
2166 | } |
---|
2167 | node[shop=pet] { |
---|
2168 | icon-image: "presets/shop/pet.svg"; |
---|
2169 | set icon_z17; |
---|
2170 | } |
---|
2171 | node[shop=photo] { |
---|
2172 | icon-image: "presets/shop/photo.svg"; |
---|
2173 | set icon_z17; |
---|
2174 | } |
---|
2175 | node[shop=ticket] { |
---|
2176 | icon-image: "presets/shop/ticket.svg"; |
---|
2177 | set icon_z17; |
---|
2178 | } |
---|
2179 | node[shop=interior_decoration] { |
---|
2180 | icon-image: "presets/shop/interior_decoration.svg"; |
---|
2181 | set icon_z17; |
---|
2182 | } |
---|
2183 | node[shop=car_parts] { |
---|
2184 | icon-image: "presets/vehicle/car_parts.svg"; |
---|
2185 | set icon_z17; |
---|
2186 | } |
---|
2187 | node[shop=video_games] { |
---|
2188 | icon-image: "presets/shop/video_games.svg"; |
---|
2189 | set icon_z17; |
---|
2190 | } |
---|
2191 | node[shop=bed] { |
---|
2192 | icon-image: "presets/shop/bed.svg"; |
---|
2193 | set icon_z17; |
---|
2194 | } |
---|
2195 | node[shop=beauty] { |
---|
2196 | icon-image: "presets/shop/beauty.svg"; |
---|
2197 | set icon_z17; |
---|
2198 | } |
---|
2199 | node[shop=cosmetics] { |
---|
2200 | icon-image: "presets/shop/cosmetics.svg"; |
---|
2201 | set icon_z17; |
---|
2202 | } |
---|
2203 | node[shop=perfumery] { |
---|
2204 | icon-image: "presets/shop/perfumery.svg"; |
---|
2205 | set icon_z17; |
---|
2206 | } |
---|
2207 | node[shop=tea] { |
---|
2208 | icon-image: "presets/shop/groceries/tea.svg"; |
---|
2209 | set icon_z17; |
---|
2210 | } |
---|
2211 | node[shop=coffee] { |
---|
2212 | icon-image: "presets/shop/groceries/coffee.svg"; |
---|
2213 | set icon_z17; |
---|
2214 | } |
---|
2215 | node[shop=antiques] { |
---|
2216 | icon-image: "presets/shop/antique.svg"; |
---|
2217 | set icon_z17; |
---|
2218 | } |
---|
2219 | node[shop=music] { |
---|
2220 | icon-image: "presets/shop/music.svg"; |
---|
2221 | set icon_z17; |
---|
2222 | } |
---|
2223 | node[shop=funeral_directors] { |
---|
2224 | icon-image: "presets/shop/funeral_directors.svg"; |
---|
2225 | set icon_z17; |
---|
2226 | } |
---|
2227 | node[shop=wine] { |
---|
2228 | icon-image: "presets/shop/wine.svg"; |
---|
2229 | set icon_z17; |
---|
2230 | } |
---|
2231 | node[shop=farm] { |
---|
2232 | icon-image: "presets/shop/groceries/farm.svg"; |
---|
2233 | set icon_z17; |
---|
2234 | } |
---|
2235 | node[shop=tattoo] { |
---|
2236 | icon-image: "presets/shop/tattoo.svg"; |
---|
2237 | set icon_z17; |
---|
2238 | } |
---|
2239 | node[shop=art] { |
---|
2240 | icon-image: "presets/shop/art.svg"; |
---|
2241 | set icon_z17; |
---|
2242 | } |
---|
2243 | node[shop=bag] { |
---|
2244 | icon-image: "presets/shop/bag.svg"; |
---|
2245 | set icon_z17; |
---|
2246 | } |
---|
2247 | |
---|
2248 | /******************/ |
---|
2249 | /* emergency tags */ |
---|
2250 | /******************/ |
---|
2251 | area[emergency=ambulance_station], |
---|
2252 | area[emergency=water_tank] { |
---|
2253 | fill-color: emergency#eeeeee; |
---|
2254 | } |
---|
2255 | node[emergency=ambulance_station] { |
---|
2256 | icon-image: "presets/emergency/ambulance_station.svg"; |
---|
2257 | set icon_z17; |
---|
2258 | } |
---|
2259 | node[emergency=water_tank] { |
---|
2260 | icon-image: "presets/emergency/water_tank.svg"; |
---|
2261 | set icon_z17; |
---|
2262 | } |
---|
2263 | node[emergency=phone] { |
---|
2264 | icon-image: "presets/vehicle/emergency_phone.svg"; |
---|
2265 | set icon_z17; |
---|
2266 | } |
---|
2267 | node[emergency=defibrillator] { |
---|
2268 | icon-image: "presets/emergency/aed.svg"; |
---|
2269 | set icon_z17; |
---|
2270 | } |
---|
2271 | node[emergency=fire_hydrant] { |
---|
2272 | icon-image: "presets/service/fire_hydrant.svg"; |
---|
2273 | set icon_z17; |
---|
2274 | } |
---|
2275 | node[emergency=fire_extinguisher] { |
---|
2276 | icon-image: "presets/emergency/fire_extinguisher.svg"; |
---|
2277 | set icon_z17; |
---|
2278 | } |
---|
2279 | node[emergency=fire_hose] { |
---|
2280 | icon-image: "presets/emergency/fire_hose.svg"; |
---|
2281 | set icon_z17; |
---|
2282 | } |
---|
2283 | node[emergency=assembly_point] { |
---|
2284 | icon-image: "presets/emergency/assembly_point.svg"; |
---|
2285 | set icon_z17; |
---|
2286 | } |
---|
2287 | node[emergency=siren] { |
---|
2288 | icon-image: "presets/emergency/siren.svg"; |
---|
2289 | set icon_z17; |
---|
2290 | } |
---|
2291 | |
---|
2292 | /****************/ |
---|
2293 | /* amenity tags */ |
---|
2294 | /****************/ |
---|
2295 | |
---|
2296 | area[amenity=pub], |
---|
2297 | area[amenity=biergarten], |
---|
2298 | area[amenity=nightclub], |
---|
2299 | area[amenity=stripclub], |
---|
2300 | area[amenity=casino], |
---|
2301 | area[amenity=brothel], |
---|
2302 | area[amenity=cafe], |
---|
2303 | area[amenity=restaurant], |
---|
2304 | area[amenity=food_court], |
---|
2305 | area[amenity=fast_food], |
---|
2306 | area[amenity=bar], |
---|
2307 | area[amenity=ice_cream] { |
---|
2308 | fill-color: amenity#ecba52; |
---|
2309 | } |
---|
2310 | node[amenity=pub] { |
---|
2311 | icon-image: "presets/food/pub.svg"; |
---|
2312 | set icon_z17; |
---|
2313 | } |
---|
2314 | node[amenity=biergarten] { |
---|
2315 | icon-image: "presets/food/biergarten.svg"; |
---|
2316 | set icon_z17; |
---|
2317 | } |
---|
2318 | node[amenity=nightclub] { |
---|
2319 | icon-image: "presets/leisure/nightclub.svg"; |
---|
2320 | set icon_z17; |
---|
2321 | } |
---|
2322 | node[amenity=stripclub] { |
---|
2323 | icon-image: "presets/leisure/stripclub.svg"; |
---|
2324 | set icon_z17; |
---|
2325 | } |
---|
2326 | node[amenity=casino] { |
---|
2327 | icon-image: "presets/leisure/casino.svg"; |
---|
2328 | set icon_z17; |
---|
2329 | } |
---|
2330 | node[amenity=brothel] { |
---|
2331 | icon-image: "presets/leisure/brothel.svg"; |
---|
2332 | set icon_z17; |
---|
2333 | } |
---|
2334 | node[amenity=cafe] { |
---|
2335 | icon-image: "presets/food/cafe.svg"; |
---|
2336 | set icon_z17; |
---|
2337 | } |
---|
2338 | node[amenity=restaurant] { |
---|
2339 | icon-image: "presets/food/restaurant.svg"; |
---|
2340 | set icon_z17; |
---|
2341 | } |
---|
2342 | node[amenity=food_court] { |
---|
2343 | icon-image: "presets/food/food_court.svg"; |
---|
2344 | set icon_z17; |
---|
2345 | } |
---|
2346 | node[amenity=fast_food] { |
---|
2347 | icon-image: "presets/food/fast_food.svg"; |
---|
2348 | set icon_z17; |
---|
2349 | } |
---|
2350 | node[amenity=bar] { |
---|
2351 | icon-image: "presets/food/bar.svg"; |
---|
2352 | set icon_z17; |
---|
2353 | } |
---|
2354 | node[amenity=ice_cream] { |
---|
2355 | icon-image: "presets/food/ice_cream.svg"; |
---|
2356 | set icon_z17; |
---|
2357 | } |
---|
2358 | area[amenity=bicycle_parking]:closed { |
---|
2359 | fill-color: amenity_traffic#f7efb7; |
---|
2360 | } |
---|
2361 | way[amenity=bicycle_parking] { |
---|
2362 | width: 2; |
---|
2363 | color: amenity_traffic#f7efb7; |
---|
2364 | } |
---|
2365 | area[amenity=parking_space], |
---|
2366 | area[amenity=parking], |
---|
2367 | area[amenity=motorcycle_parking], |
---|
2368 | area[amenity=bicycle_rental], |
---|
2369 | area[amenity=bicycle_repair_station], |
---|
2370 | area[amenity=car_rental], |
---|
2371 | area[amenity=car_sharing], |
---|
2372 | area[amenity=car_wash], |
---|
2373 | area[amenity=taxi], |
---|
2374 | area[amenity=fuel] { |
---|
2375 | fill-color: amenity_traffic#f7efb7; |
---|
2376 | } |
---|
2377 | node[amenity=parking_space] { |
---|
2378 | icon-image: "presets/vehicle/parking/parking_space.svg"; |
---|
2379 | set icon_z17; |
---|
2380 | } |
---|
2381 | node[amenity=parking] { |
---|
2382 | icon-image: "presets/vehicle/parking/parking.svg"; |
---|
2383 | set icon_z17; |
---|
2384 | } |
---|
2385 | node[amenity=parking_entrance] { |
---|
2386 | icon-image: "presets/vehicle/parking/parking.svg"; |
---|
2387 | set icon_z17; |
---|
2388 | } |
---|
2389 | node[amenity=parking_entrance][parking=multi-storey], |
---|
2390 | node[amenity=parking][parking=multi-storey] { |
---|
2391 | icon-image: "presets/vehicle/parking/multi-storey.svg"; |
---|
2392 | set icon_z17; |
---|
2393 | } |
---|
2394 | node[amenity=parking_entrance][parking=underground], |
---|
2395 | node[amenity=parking][parking=underground] { |
---|
2396 | icon-image: "presets/vehicle/parking/underground.svg"; |
---|
2397 | set icon_z17; |
---|
2398 | } |
---|
2399 | node[amenity=motorcycle_parking] { |
---|
2400 | icon-image: "presets/vehicle/parking/motorbike.svg"; |
---|
2401 | set icon_z17; |
---|
2402 | } |
---|
2403 | node[amenity=bicycle_parking] { |
---|
2404 | icon-image: "presets/vehicle/parking/bicycle.svg"; |
---|
2405 | set icon_z17; |
---|
2406 | } |
---|
2407 | node[park_ride][park_ride!=no] { |
---|
2408 | icon-image: "presets/vehicle/parking/park_ride.svg"; |
---|
2409 | set icon_z17; |
---|
2410 | } |
---|
2411 | node[amenity=parking_space][wheelchair?] { |
---|
2412 | icon-image: "presets/vehicle/parking/handicapped.svg"; |
---|
2413 | set icon_z17; |
---|
2414 | } |
---|
2415 | node[amenity=bicycle_rental] { |
---|
2416 | icon-image: "presets/vehicle/bicycle_rental.svg"; |
---|
2417 | set icon_z17; |
---|
2418 | } |
---|
2419 | node[amenity=bicycle_repair_station] { |
---|
2420 | icon-image: "presets/vehicle/bicycle_repair_station.svg"; |
---|
2421 | set icon_z17; |
---|
2422 | } |
---|
2423 | node[amenity=car_rental] { |
---|
2424 | icon-image: "presets/vehicle/car_rental.svg"; |
---|
2425 | set icon_z17; |
---|
2426 | } |
---|
2427 | node[amenity=car_sharing] { |
---|
2428 | icon-image: "presets/vehicle/car_sharing.svg"; |
---|
2429 | set icon_z17; |
---|
2430 | } |
---|
2431 | node[amenity=car_wash] { |
---|
2432 | icon-image: "presets/vehicle/car_wash.svg"; |
---|
2433 | set icon_z17; |
---|
2434 | } |
---|
2435 | node[amenity=taxi] { |
---|
2436 | icon-image: "presets/transport/taxi.svg"; |
---|
2437 | set icon_z17; |
---|
2438 | } |
---|
2439 | node[amenity=fuel] { |
---|
2440 | icon-image: "presets/vehicle/fuel.svg"; |
---|
2441 | set icon_z17; |
---|
2442 | } |
---|
2443 | node[amenity=charging_station] { |
---|
2444 | icon-image: "presets/vehicle/charging_station.svg"; |
---|
2445 | set icon_z17; |
---|
2446 | } |
---|
2447 | node[amenity=grit_bin] { |
---|
2448 | icon-image: "presets/misc/grit_bin.svg"; |
---|
2449 | set icon_z17; |
---|
2450 | } |
---|
2451 | node[amenity=telephone] { |
---|
2452 | icon-image: "presets/service/telephone.svg"; |
---|
2453 | set icon_z17; |
---|
2454 | } |
---|
2455 | node[amenity=clock] { |
---|
2456 | icon-image: "presets/service/clock.svg"; |
---|
2457 | set icon_z17; |
---|
2458 | } |
---|
2459 | area[amenity=toilets], |
---|
2460 | area[amenity=shower], |
---|
2461 | area[amenity=recycling], |
---|
2462 | area[amenity=sanitary_dump_station] { |
---|
2463 | fill-color: amenity_light#f7efb7; |
---|
2464 | } |
---|
2465 | node[amenity=toilets] { |
---|
2466 | icon-image: "presets/service/toilets.svg"; |
---|
2467 | set icon_z17; |
---|
2468 | } |
---|
2469 | node[amenity=shower] { |
---|
2470 | icon-image: "presets/service/shower.svg"; |
---|
2471 | set icon_z17; |
---|
2472 | } |
---|
2473 | node[amenity=recycling] { |
---|
2474 | icon-image: "presets/service/recycling/recycling.svg"; |
---|
2475 | set icon_z17; |
---|
2476 | } |
---|
2477 | node[amenity=recycling][recycling_type=container] { |
---|
2478 | icon-image: "presets/service/recycling/recycling_container.svg"; |
---|
2479 | } |
---|
2480 | node[amenity=recycling][recycling_type=centre] { |
---|
2481 | icon-image: "presets/service/recycling/recycling_centre.svg"; |
---|
2482 | } |
---|
2483 | node[amenity=waste_basket] { |
---|
2484 | icon-image: "presets/service/recycling/waste_basket.svg"; |
---|
2485 | set icon_z17; |
---|
2486 | } |
---|
2487 | node[amenity=waste_disposal] { |
---|
2488 | icon-image: "presets/service/recycling/waste_disposal.svg"; |
---|
2489 | set icon_z17; |
---|
2490 | } |
---|
2491 | node[amenity=sanitary_dump_station] { |
---|
2492 | icon-image: "presets/service/recycling/sanitary_dump_station.svg"; |
---|
2493 | set icon_z17; |
---|
2494 | } |
---|
2495 | area[amenity=townhall], |
---|
2496 | area[amenity=embassy], |
---|
2497 | area[amenity=community_centre] { |
---|
2498 | fill-color: amenity_light#f7efb7; |
---|
2499 | } |
---|
2500 | node[amenity=townhall] { |
---|
2501 | icon-image: "presets/service/townhall.svg"; |
---|
2502 | set icon_z17; |
---|
2503 | } |
---|
2504 | node[amenity=embassy] { |
---|
2505 | icon-image: "presets/service/embassy.svg"; |
---|
2506 | set icon_z17; |
---|
2507 | } |
---|
2508 | node[amenity=community_centre] { |
---|
2509 | icon-image: "presets/service/community_centre.svg"; |
---|
2510 | set icon_z17; |
---|
2511 | } |
---|
2512 | area[amenity=water_point], |
---|
2513 | area[amenity=fountain] { |
---|
2514 | fill-color: light_water#00005f; |
---|
2515 | } |
---|
2516 | node[amenity=drinking_water] { |
---|
2517 | icon-image: "presets/food/drinking_water.svg"; |
---|
2518 | set icon_z17; |
---|
2519 | } |
---|
2520 | node[amenity=water_point] { |
---|
2521 | icon-image: "presets/accommodation/water.svg"; |
---|
2522 | set icon_z17; |
---|
2523 | } |
---|
2524 | node[amenity=fountain] { |
---|
2525 | icon-image: "presets/misc/fountain.svg"; |
---|
2526 | set icon_z17; |
---|
2527 | } |
---|
2528 | area[amenity=place_of_worship], |
---|
2529 | area[amenity=grave_yard], |
---|
2530 | area[amenity=crematorium], |
---|
2531 | area[amenity=post_office], |
---|
2532 | area[amenity=studio], |
---|
2533 | area[amenity=school], |
---|
2534 | area[amenity=university], |
---|
2535 | area[amenity=college], |
---|
2536 | area[amenity=kindergarten], |
---|
2537 | area[amenity=driving_school] { |
---|
2538 | fill-color: amenity_light#f7efb7; |
---|
2539 | } |
---|
2540 | node[amenity=place_of_worship] { |
---|
2541 | icon-image: "presets/religion/religion.svg"; |
---|
2542 | set icon_z17; |
---|
2543 | } |
---|
2544 | node[amenity=place_of_worship][religion=bahai] { |
---|
2545 | icon-image: "presets/religion/bahai.svg"; |
---|
2546 | set icon_z17; |
---|
2547 | } |
---|
2548 | node[amenity=place_of_worship][religion=buddhist] { |
---|
2549 | icon-image: "presets/religion/buddhism.svg"; |
---|
2550 | set icon_z17; |
---|
2551 | } |
---|
2552 | node[amenity=place_of_worship][religion=christian] { |
---|
2553 | icon-image: "presets/religion/church.svg"; |
---|
2554 | set icon_z17; |
---|
2555 | } |
---|
2556 | node[amenity=place_of_worship][religion=hindu] { |
---|
2557 | icon-image: "presets/religion/hinduism.svg"; |
---|
2558 | set icon_z17; |
---|
2559 | } |
---|
2560 | node[amenity=place_of_worship][religion=jain] { |
---|
2561 | icon-image: "presets/religion/jainism.svg"; |
---|
2562 | set icon_z17; |
---|
2563 | } |
---|
2564 | node[amenity=place_of_worship][religion=jewish] { |
---|
2565 | icon-image: "presets/religion/jewish.svg"; |
---|
2566 | set icon_z17; |
---|
2567 | } |
---|
2568 | node[amenity=place_of_worship][religion=muslim] { |
---|
2569 | icon-image: "presets/religion/muslim.svg"; |
---|
2570 | set icon_z17; |
---|
2571 | } |
---|
2572 | node[amenity=place_of_worship][religion=sikh] { |
---|
2573 | icon-image: "presets/religion/sikhism.svg"; |
---|
2574 | set icon_z17; |
---|
2575 | } |
---|
2576 | node[amenity=place_of_worship][religion=shinto] { |
---|
2577 | icon-image: "presets/religion/shinto.svg"; |
---|
2578 | set icon_z17; |
---|
2579 | } |
---|
2580 | node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] { |
---|
2581 | icon-image: "presets/misc/no_icon.svg"; |
---|
2582 | set icon_z17; |
---|
2583 | } |
---|
2584 | node[amenity=place_of_worship][religion=taoist] { |
---|
2585 | icon-image: "presets/religion/taoism.svg"; |
---|
2586 | set icon_z17; |
---|
2587 | } |
---|
2588 | node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] { |
---|
2589 | icon-image: "presets/misc/no_icon.svg"; |
---|
2590 | set icon_z17; |
---|
2591 | } |
---|
2592 | node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] { |
---|
2593 | icon-image: "presets/misc/no_icon.svg"; |
---|
2594 | set icon_z17; |
---|
2595 | } |
---|
2596 | node[amenity=grave_yard] { |
---|
2597 | icon-image: "presets/landuse/graveyard.svg"; |
---|
2598 | set icon_z17; |
---|
2599 | } |
---|
2600 | node[amenity=crematorium][!is_prop_set(icon-image)] { |
---|
2601 | icon-image: "presets/misc/no_icon.svg"; |
---|
2602 | set icon_z17; |
---|
2603 | } |
---|
2604 | node[amenity=post_office] { |
---|
2605 | icon-image: "presets/service/post_office.svg"; |
---|
2606 | set icon_z17; |
---|
2607 | } |
---|
2608 | node[amenity=post_box] { |
---|
2609 | icon-image: "presets/service/post_box.svg"; |
---|
2610 | set icon_z17; |
---|
2611 | } |
---|
2612 | node[amenity=studio] { |
---|
2613 | icon-image: "presets/service/studio.svg"; |
---|
2614 | set icon_z17; |
---|
2615 | } |
---|
2616 | node[amenity=school] { |
---|
2617 | icon-image: "presets/education/school.svg"; |
---|
2618 | set icon_z17; |
---|
2619 | } |
---|
2620 | node[amenity=university] { |
---|
2621 | icon-image: "presets/education/university.svg"; |
---|
2622 | set icon_z17; |
---|
2623 | } |
---|
2624 | node[amenity=college] { |
---|
2625 | icon-image: "presets/education/college.svg"; |
---|
2626 | set icon_z17; |
---|
2627 | } |
---|
2628 | node[amenity=kindergarten] { |
---|
2629 | icon-image: "presets/education/kindergarten.svg"; |
---|
2630 | set icon_z17; |
---|
2631 | } |
---|
2632 | node[amenity=driving_school] { |
---|
2633 | icon-image: "presets/education/driving_school.svg"; |
---|
2634 | set icon_z17; |
---|
2635 | } |
---|
2636 | area[amenity=pharmacy], |
---|
2637 | area[amenity=hospital], |
---|
2638 | area[amenity=clinic], |
---|
2639 | area[amenity=nursing_home], |
---|
2640 | area[amenity=social_facility], |
---|
2641 | area[amenity=baby_hatch], |
---|
2642 | area[amenity=doctors], |
---|
2643 | area[amenity=dentist], |
---|
2644 | area[amenity=veterinary] { |
---|
2645 | fill-color: health#eeeeee; |
---|
2646 | } |
---|
2647 | node[amenity=pharmacy] { |
---|
2648 | icon-image: "presets/health/pharmacy.svg"; |
---|
2649 | set icon_z17; |
---|
2650 | } |
---|
2651 | node[amenity=hospital] { |
---|
2652 | icon-image: "presets/health/hospital.svg"; |
---|
2653 | set icon_z17; |
---|
2654 | } |
---|
2655 | node[amenity=clinic] { |
---|
2656 | icon-image: "presets/health/clinic.svg"; |
---|
2657 | set icon_z17; |
---|
2658 | } |
---|
2659 | node[amenity=nursing_home] { |
---|
2660 | icon-image: "presets/social_facility/nursing_home.svg"; |
---|
2661 | set icon_z17; |
---|
2662 | } |
---|
2663 | node[amenity=social_facility][social_facility=group_home] { |
---|
2664 | icon-image: "presets/social_facility/group_home.svg"; |
---|
2665 | set icon_z17; |
---|
2666 | } |
---|
2667 | node[amenity=social_facility][social_facility=assisted_living] { |
---|
2668 | icon-image: "presets/social_facility/assisted_living.svg"; |
---|
2669 | set icon_z17; |
---|
2670 | } |
---|
2671 | node[amenity=social_facility][social_facility=outreach] { |
---|
2672 | icon-image: "presets/social_facility/outreach.svg"; |
---|
2673 | set icon_z17; |
---|
2674 | } |
---|
2675 | node[amenity=social_facility][social_facility=shelter] { |
---|
2676 | icon-image: "presets/social_facility/shelter.svg"; |
---|
2677 | set icon_z17; |
---|
2678 | } |
---|
2679 | node[amenity=social_facility][social_facility=food_bank] { |
---|
2680 | icon-image: "presets/social_facility/food_bank.svg"; |
---|
2681 | set icon_z17; |
---|
2682 | } |
---|
2683 | node[amenity=baby_hatch] { |
---|
2684 | icon-image: "presets/health/baby_hatch.svg"; |
---|
2685 | set icon_z17; |
---|
2686 | } |
---|
2687 | node[amenity=doctors] { |
---|
2688 | icon-image: "presets/health/doctors.svg"; |
---|
2689 | set icon_z17; |
---|
2690 | } |
---|
2691 | node[amenity=dentist] { |
---|
2692 | icon-image: "presets/health/dentist.svg"; |
---|
2693 | set icon_z17; |
---|
2694 | } |
---|
2695 | node[amenity=veterinary] { |
---|
2696 | icon-image: "presets/health/veterinary.svg"; |
---|
2697 | set icon_z17; |
---|
2698 | } |
---|
2699 | area[amenity=library], |
---|
2700 | area[amenity=police], |
---|
2701 | area[amenity=ranger_station], |
---|
2702 | area[amenity=fire_station], |
---|
2703 | area[amenity=bus_station], |
---|
2704 | area[amenity=ferry_terminal], |
---|
2705 | area[amenity=theatre], |
---|
2706 | area[amenity=cinema], |
---|
2707 | area[amenity=arts_centre], |
---|
2708 | area[amenity=courthouse], |
---|
2709 | area[amenity=prison], |
---|
2710 | area[amenity=bank], |
---|
2711 | area[amenity=bureau_de_change], |
---|
2712 | area[amenity=bbq] { |
---|
2713 | fill-color: amenity_light#f7efb7; |
---|
2714 | } |
---|
2715 | node[amenity=library] { |
---|
2716 | icon-image: "presets/education/library.svg"; |
---|
2717 | set icon_z17; |
---|
2718 | } |
---|
2719 | node[amenity=police] { |
---|
2720 | icon-image: "presets/service/police.svg"; |
---|
2721 | set icon_z17; |
---|
2722 | } |
---|
2723 | node[amenity=ranger_station] { |
---|
2724 | icon-image: "presets/service/ranger_station.svg"; |
---|
2725 | set icon_z17; |
---|
2726 | } |
---|
2727 | node[amenity=fire_station] { |
---|
2728 | icon-image: "presets/service/firebrigade.svg"; |
---|
2729 | set icon_z17; |
---|
2730 | } |
---|
2731 | node[amenity=bus_station] { |
---|
2732 | icon-image: "presets/transport/bus_old.svg"; |
---|
2733 | set icon_z17; |
---|
2734 | } |
---|
2735 | node[amenity=ferry_terminal] { |
---|
2736 | icon-image: "presets/nautical/ferry.svg"; |
---|
2737 | set icon_z17; |
---|
2738 | } |
---|
2739 | node[amenity=theatre] { |
---|
2740 | icon-image: "presets/leisure/theater.svg"; |
---|
2741 | set icon_z17; |
---|
2742 | } |
---|
2743 | node[amenity=cinema] { |
---|
2744 | icon-image: "presets/leisure/cinema.svg"; |
---|
2745 | set icon_z17; |
---|
2746 | } |
---|
2747 | node[amenity=arts_centre] { |
---|
2748 | icon-image: "presets/sightseeing/arts_centre.svg"; |
---|
2749 | set icon_z17; |
---|
2750 | } |
---|
2751 | node[amenity=courthouse] { |
---|
2752 | icon-image: "presets/service/courthouse.svg"; |
---|
2753 | set icon_z17; |
---|
2754 | } |
---|
2755 | node[amenity=prison] { |
---|
2756 | icon-image: "presets/service/prison.svg"; |
---|
2757 | set icon_z17; |
---|
2758 | } |
---|
2759 | node[amenity=bank] { |
---|
2760 | icon-image: "presets/money/bank.svg"; |
---|
2761 | set icon_z17; |
---|
2762 | } |
---|
2763 | node[amenity=bureau_de_change] { |
---|
2764 | icon-image: "presets/money/exchange.svg"; |
---|
2765 | set icon_z17; |
---|
2766 | } |
---|
2767 | node[amenity=atm] { |
---|
2768 | icon-image: "presets/money/atm.svg"; |
---|
2769 | set icon_z17; |
---|
2770 | } |
---|
2771 | way[amenity=bench] { |
---|
2772 | width: 2; |
---|
2773 | color: amenity_light#f7efb7; |
---|
2774 | } |
---|
2775 | node[amenity=bench] { |
---|
2776 | icon-image: "presets/leisure/bench.svg"; |
---|
2777 | set icon_z17; |
---|
2778 | } |
---|
2779 | node[amenity=bbq] { |
---|
2780 | icon-image: "presets/leisure/bbq.svg"; |
---|
2781 | set icon_z17; |
---|
2782 | } |
---|
2783 | node[amenity=compressed_air] { |
---|
2784 | icon-image: "presets/vehicle/compressed_air.svg"; |
---|
2785 | set icon_z17; |
---|
2786 | } |
---|
2787 | area[amenity=shelter], |
---|
2788 | area[amenity=marketplace], |
---|
2789 | area[amenity=wlan] { |
---|
2790 | fill-color: amenity_light#f7efb7; |
---|
2791 | } |
---|
2792 | node[amenity=shelter] { |
---|
2793 | icon-image: "presets/accommodation/shelter.svg"; |
---|
2794 | set icon_z17; |
---|
2795 | } |
---|
2796 | node[amenity=shelter][shelter_type=public_transport] { |
---|
2797 | icon-image: "presets/accommodation/shelter_public_transport.svg"; |
---|
2798 | set icon_z17; |
---|
2799 | } |
---|
2800 | node[amenity=shelter][shelter_type=picnic_shelter] { |
---|
2801 | icon-image: "presets/accommodation/shelter_picnic.svg"; |
---|
2802 | set icon_z17; |
---|
2803 | } |
---|
2804 | node[amenity=shelter][shelter_type=basic_hut] { |
---|
2805 | icon-image: "presets/accommodation/basic_hut.svg"; |
---|
2806 | set icon_z17; |
---|
2807 | } |
---|
2808 | node[amenity=shelter][shelter_type=lean_to] { |
---|
2809 | icon-image: "presets/accommodation/shelter_lean_to.svg"; |
---|
2810 | set icon_z17; |
---|
2811 | } |
---|
2812 | node[amenity=hunting_stand] { |
---|
2813 | icon-image: "presets/landmark/hunting_stand.svg"; |
---|
2814 | set icon_z17; |
---|
2815 | } |
---|
2816 | node[amenity=marketplace] { |
---|
2817 | icon-image: "presets/shop/marketplace.svg"; |
---|
2818 | set icon_z17; |
---|
2819 | } |
---|
2820 | node[amenity=wlan] { |
---|
2821 | icon-image: "presets/misc/wlan.svg"; |
---|
2822 | set icon_z17; |
---|
2823 | } |
---|
2824 | node[amenity=vending_machine] { |
---|
2825 | icon-image: "presets/transport/ticket-machine.svg"; |
---|
2826 | set icon_z17; |
---|
2827 | } |
---|
2828 | node[vending=excrement_bags] { |
---|
2829 | icon-image: "presets/service/excrement_bags.svg"; |
---|
2830 | set icon_z17; |
---|
2831 | } |
---|
2832 | |
---|
2833 | /**************/ |
---|
2834 | /* craft tags */ |
---|
2835 | /**************/ |
---|
2836 | |
---|
2837 | area[craft=carpenter], |
---|
2838 | area[craft=shoemaker], |
---|
2839 | area[craft=photographer], |
---|
2840 | area[craft=metal_construction], |
---|
2841 | area[craft=electrician], |
---|
2842 | area[craft=brewery], |
---|
2843 | area[craft=plumber], |
---|
2844 | area[craft=sawmill], |
---|
2845 | area[craft=gardener], |
---|
2846 | area[craft=winery], |
---|
2847 | area[craft=hvac], |
---|
2848 | area[craft=painter], |
---|
2849 | area[craft=stonemason], |
---|
2850 | area[craft=handicraft], |
---|
2851 | area[craft=pottery], |
---|
2852 | area[craft=key_cutter], |
---|
2853 | area[craft=caterer], |
---|
2854 | area[craft=roofer], |
---|
2855 | area[craft=beekeeper], |
---|
2856 | area[craft=blacksmith], |
---|
2857 | area[craft=locksmith], |
---|
2858 | area[craft=window_construction], |
---|
2859 | area[craft=upholsterer], |
---|
2860 | area[craft=tiler] { |
---|
2861 | fill-color: craft#999900; |
---|
2862 | } |
---|
2863 | node[craft=carpenter][!is_prop_set(icon-image)] { |
---|
2864 | icon-image: "presets/misc/no_icon.svg"; |
---|
2865 | set icon_z17; |
---|
2866 | } |
---|
2867 | node[craft=shoemaker][!is_prop_set(icon-image)] { |
---|
2868 | icon-image: "presets/misc/no_icon.svg"; |
---|
2869 | set icon_z17; |
---|
2870 | } |
---|
2871 | node[craft=photographer][!is_prop_set(icon-image)] { |
---|
2872 | icon-image: "presets/misc/no_icon.svg"; |
---|
2873 | set icon_z17; |
---|
2874 | } |
---|
2875 | node[craft=metal_construction][!is_prop_set(icon-image)] { |
---|
2876 | icon-image: "presets/misc/no_icon.svg"; |
---|
2877 | set icon_z17; |
---|
2878 | }node[craft=electrician][!is_prop_set(icon-image)] { |
---|
2879 | icon-image: "presets/misc/no_icon.svg"; |
---|
2880 | set icon_z17; |
---|
2881 | } |
---|
2882 | node[craft=brewery][!is_prop_set(icon-image)] { |
---|
2883 | icon-image: "presets/misc/no_icon.svg"; |
---|
2884 | set icon_z17; |
---|
2885 | } |
---|
2886 | node[craft=plumber] { |
---|
2887 | icon-image: "presets/craft/plumber.svg"; |
---|
2888 | set icon_z17; |
---|
2889 | } |
---|
2890 | node[craft=sawmill][!is_prop_set(icon-image)] { |
---|
2891 | icon-image: "presets/misc/no_icon.svg"; |
---|
2892 | set icon_z17; |
---|
2893 | } |
---|
2894 | node[craft=gardener][!is_prop_set(icon-image)] { |
---|
2895 | icon-image: "presets/misc/no_icon.svg"; |
---|
2896 | set icon_z17; |
---|
2897 | } |
---|
2898 | node[craft=winery][!is_prop_set(icon-image)] { |
---|
2899 | icon-image: "presets/misc/no_icon.svg"; |
---|
2900 | set icon_z17; |
---|
2901 | } |
---|
2902 | node[craft=hvac][!is_prop_set(icon-image)] { |
---|
2903 | icon-image: "presets/misc/no_icon.svg"; |
---|
2904 | set icon_z17; |
---|
2905 | } |
---|
2906 | node[craft=painter] { |
---|
2907 | icon-image: "presets/craft/painter.svg"; |
---|
2908 | set icon_z17; |
---|
2909 | } |
---|
2910 | node[craft=stonemason][!is_prop_set(icon-image)] { |
---|
2911 | icon-image: "presets/misc/no_icon.svg"; |
---|
2912 | set icon_z17; |
---|
2913 | } |
---|
2914 | node[craft=handicraft][!is_prop_set(icon-image)] { |
---|
2915 | icon-image: "presets/misc/no_icon.svg"; |
---|
2916 | set icon_z17; |
---|
2917 | } |
---|
2918 | node[craft=pottery] { |
---|
2919 | icon-image: "presets/craft/pottery.svg"; |
---|
2920 | set icon_z17; |
---|
2921 | } |
---|
2922 | node[craft=key_cutter][!is_prop_set(icon-image)] { |
---|
2923 | icon-image: "presets/misc/no_icon.svg"; |
---|
2924 | set icon_z17; |
---|
2925 | } |
---|
2926 | node[craft=caterer][!is_prop_set(icon-image)] { |
---|
2927 | icon-image: "presets/misc/no_icon.svg"; |
---|
2928 | set icon_z17; |
---|
2929 | } |
---|
2930 | node[craft=roofer] { |
---|
2931 | icon-image: "presets/craft/roofer.svg"; |
---|
2932 | set icon_z17; |
---|
2933 | } |
---|
2934 | node[craft=beekeeper][!is_prop_set(icon-image)] { |
---|
2935 | icon-image: "presets/misc/no_icon.svg"; |
---|
2936 | set icon_z17; |
---|
2937 | } |
---|
2938 | node[craft=blacksmith][!is_prop_set(icon-image)] { |
---|
2939 | icon-image: "presets/misc/no_icon.svg"; |
---|
2940 | set icon_z17; |
---|
2941 | } |
---|
2942 | node[craft=locksmith][!is_prop_set(icon-image)] { |
---|
2943 | icon-image: "presets/misc/no_icon.svg"; |
---|
2944 | set icon_z17; |
---|
2945 | } |
---|
2946 | node[craft=window_construction] { |
---|
2947 | icon-image: "presets/craft/window_construction.svg"; |
---|
2948 | set icon_z17; |
---|
2949 | } |
---|
2950 | node[craft=upholsterer][!is_prop_set(icon-image)] { |
---|
2951 | icon-image: "presets/misc/no_icon.svg"; |
---|
2952 | set icon_z17; |
---|
2953 | } |
---|
2954 | node[craft=tiler] { |
---|
2955 | icon-image: "presets/craft/tiler.svg"; |
---|
2956 | set icon_z17; |
---|
2957 | } |
---|
2958 | |
---|
2959 | /****************/ |
---|
2960 | /* tourism tags */ |
---|
2961 | /****************/ |
---|
2962 | |
---|
2963 | area[tourism=hotel], |
---|
2964 | area[tourism=motel], |
---|
2965 | area[tourism=guest_house], |
---|
2966 | area[tourism=hostel], |
---|
2967 | area[tourism=chalet], |
---|
2968 | area[tourism=alpine_hut], |
---|
2969 | area[tourism=wilderness_hut], |
---|
2970 | area[tourism=camp_site], |
---|
2971 | area[tourism=caravan_site] { |
---|
2972 | fill-color: hotel#feced0; |
---|
2973 | } |
---|
2974 | node[tourism=hotel] { |
---|
2975 | icon-image: "presets/accommodation/hotel.svg"; |
---|
2976 | set icon_z17; |
---|
2977 | } |
---|
2978 | node[tourism=motel] { |
---|
2979 | icon-image: "presets/accommodation/motel.svg"; |
---|
2980 | set icon_z17; |
---|
2981 | } |
---|
2982 | node[tourism=guest_house] { |
---|
2983 | icon-image: "presets/accommodation/guest_house.svg"; |
---|
2984 | set icon_z17; |
---|
2985 | } |
---|
2986 | node[tourism=hostel] { |
---|
2987 | icon-image: "presets/accommodation/hostel.svg"; |
---|
2988 | set icon_z17; |
---|
2989 | } |
---|
2990 | node[tourism=chalet] { |
---|
2991 | icon-image: "presets/accommodation/chalet.svg"; |
---|
2992 | set icon_z17; |
---|
2993 | } |
---|
2994 | node[tourism=alpine_hut] { |
---|
2995 | icon-image: "presets/accommodation/alpine_hut.svg"; |
---|
2996 | set icon_z17; |
---|
2997 | } |
---|
2998 | node[tourism=wilderness_hut] { |
---|
2999 | icon-image: "presets/accommodation/wilderness_hut.svg"; |
---|
3000 | set icon_z17; |
---|
3001 | } |
---|
3002 | node[tourism=camp_site] { |
---|
3003 | icon-image: "presets/accommodation/camping.svg"; |
---|
3004 | set icon_z17; |
---|
3005 | } |
---|
3006 | node[tourism=caravan_site] { |
---|
3007 | icon-image: "presets/accommodation/caravan.svg"; |
---|
3008 | set icon_z17; |
---|
3009 | } |
---|
3010 | area[tourism=picnic_site], |
---|
3011 | area[tourism=viewpoint], |
---|
3012 | area[tourism=theme_park], |
---|
3013 | area[tourism=attraction], |
---|
3014 | area[tourism=zoo], |
---|
3015 | area[tourism=museum] { |
---|
3016 | fill-color: tourism#e180a2; |
---|
3017 | } |
---|
3018 | node[tourism=picnic_site] { |
---|
3019 | icon-image: "presets/leisure/picnic.svg"; |
---|
3020 | set icon_z17; |
---|
3021 | } |
---|
3022 | node[tourism=viewpoint] { |
---|
3023 | icon-image: "presets/sightseeing/viewpoint.svg"; |
---|
3024 | set icon_z17; |
---|
3025 | } |
---|
3026 | node[tourism=theme_park] { |
---|
3027 | icon-image: "presets/leisure/theme_park.svg"; |
---|
3028 | set icon_z17; |
---|
3029 | } |
---|
3030 | node[tourism=attraction] { |
---|
3031 | icon-image: "presets/sightseeing/attraction.svg"; |
---|
3032 | set icon_z17; |
---|
3033 | } |
---|
3034 | node[tourism=zoo] { |
---|
3035 | icon-image: "presets/leisure/zoo.svg"; |
---|
3036 | set icon_z17; |
---|
3037 | } |
---|
3038 | area[tourism=artwork]:closed { |
---|
3039 | fill-color: tourism#e180a2; |
---|
3040 | } |
---|
3041 | way[tourism=artwork] { |
---|
3042 | width: 2; |
---|
3043 | color: tourism#e180a2; |
---|
3044 | } |
---|
3045 | node[tourism=artwork] { |
---|
3046 | icon-image: "presets/sightseeing/arts_centre.svg"; |
---|
3047 | set icon_z17; |
---|
3048 | } |
---|
3049 | node[tourism=museum] { |
---|
3050 | icon-image: "presets/sightseeing/museum.svg"; |
---|
3051 | set icon_z17; |
---|
3052 | } |
---|
3053 | |
---|
3054 | /********************/ |
---|
3055 | /* information tags */ |
---|
3056 | /********************/ |
---|
3057 | |
---|
3058 | area[tourism=information] { |
---|
3059 | fill-color: tourism#e180a2; |
---|
3060 | } |
---|
3061 | node[tourism=information] { |
---|
3062 | icon-image: "presets/misc/information/information.svg"; |
---|
3063 | set icon_z17; |
---|
3064 | } |
---|
3065 | node[tourism=information][information=guidepost] { |
---|
3066 | icon-image: "presets/misc/information/guidepost.svg"; |
---|
3067 | set icon_z17; |
---|
3068 | } |
---|
3069 | area[tourism=information][information=office] { |
---|
3070 | fill-color: tourism#e180a2; |
---|
3071 | } |
---|
3072 | node[tourism=information][information=office] { |
---|
3073 | icon-image: "presets/misc/information/informationoffice.svg"; |
---|
3074 | set icon_z17; |
---|
3075 | } |
---|
3076 | node[tourism=information][information=map] { |
---|
3077 | icon-image: "presets/misc/information/map.svg"; |
---|
3078 | set icon_z17; |
---|
3079 | } |
---|
3080 | node[tourism=information][information=board] { |
---|
3081 | icon-image: "presets/misc/information/board.svg"; |
---|
3082 | set icon_z17; |
---|
3083 | } |
---|
3084 | |
---|
3085 | /*****************/ |
---|
3086 | /* historic tags */ |
---|
3087 | /*****************/ |
---|
3088 | |
---|
3089 | area[historic=castle], |
---|
3090 | area[historic=monument], |
---|
3091 | area[historic=memorial], |
---|
3092 | area[historic=archaeological_site], |
---|
3093 | area[historic=ruins], |
---|
3094 | area[historic=battlefield], |
---|
3095 | area[geological=palaeontological_site], |
---|
3096 | area[historic=wayside_cross], |
---|
3097 | area[historic=wayside_shrine], |
---|
3098 | area[historic=boundary_stone] { |
---|
3099 | fill-color: historic#663300; |
---|
3100 | } |
---|
3101 | node[historic=castle] { |
---|
3102 | icon-image: "presets/sightseeing/castle.svg"; |
---|
3103 | set icon_z17; |
---|
3104 | } |
---|
3105 | node[historic=monument] { |
---|
3106 | icon-image: "presets/sightseeing/monument.svg"; |
---|
3107 | set icon_z17; |
---|
3108 | } |
---|
3109 | node[historic=memorial] { |
---|
3110 | icon-image: "presets/sightseeing/memorial.svg"; |
---|
3111 | set icon_z17; |
---|
3112 | } |
---|
3113 | node[historic=archaeological_site] { |
---|
3114 | icon-image: "presets/sightseeing/archaeological.svg"; |
---|
3115 | set icon_z17; |
---|
3116 | } |
---|
3117 | node[historic=ruins] { |
---|
3118 | icon-image: "presets/sightseeing/ruins.svg"; |
---|
3119 | set icon_z17; |
---|
3120 | } |
---|
3121 | node[historic=battlefield] { |
---|
3122 | icon-image: "presets/sightseeing/battlefield.svg"; |
---|
3123 | set icon_z17; |
---|
3124 | } |
---|
3125 | node[geological=palaeontological_site] { |
---|
3126 | icon-image: "presets/sightseeing/palaeontological_site.svg"; |
---|
3127 | set icon_z17; |
---|
3128 | } |
---|
3129 | node[historic=wayside_cross] { |
---|
3130 | icon-image: "presets/religion/wayside_cross.svg"; |
---|
3131 | set icon_z17; |
---|
3132 | } |
---|
3133 | node[historic=wayside_shrine] { |
---|
3134 | icon-image: "presets/religion/wayside_shrine.svg"; |
---|
3135 | set icon_z17; |
---|
3136 | } |
---|
3137 | node[historic=boundary_stone] { |
---|
3138 | icon-image: "presets/landmark/boundary_stone.svg"; |
---|
3139 | set icon_z17; |
---|
3140 | } |
---|
3141 | |
---|
3142 | /****************/ |
---|
3143 | /* landuse tags */ |
---|
3144 | /****************/ |
---|
3145 | |
---|
3146 | area[landuse], |
---|
3147 | area[leisure], |
---|
3148 | area[amenity], |
---|
3149 | area[place], |
---|
3150 | area[natural], |
---|
3151 | area[man_made] { |
---|
3152 | z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */ |
---|
3153 | } |
---|
3154 | area[landuse=farmland] { |
---|
3155 | fill-color: farmland#b8e0b1; |
---|
3156 | } |
---|
3157 | area[landuse=meadow] { |
---|
3158 | fill-color: meadow#b1e0b6; |
---|
3159 | } |
---|
3160 | area[landuse=vineyard], |
---|
3161 | area[landuse=orchard] { |
---|
3162 | fill-color: green#b1e0c2; |
---|
3163 | } |
---|
3164 | area[landuse=quarry] { |
---|
3165 | fill-color: quarry#888888; |
---|
3166 | } |
---|
3167 | area[landuse=landfill] { |
---|
3168 | fill-color: landfill#663300; |
---|
3169 | } |
---|
3170 | area[landuse=basin], |
---|
3171 | area[landuse=reservoir] { |
---|
3172 | fill-color: basin#0000bf; |
---|
3173 | } |
---|
3174 | area[landuse=forest] { |
---|
3175 | fill-color: forest#b1efc8; |
---|
3176 | } |
---|
3177 | area[landuse=allotments] { |
---|
3178 | fill-color: allotments#5dbf80; |
---|
3179 | } |
---|
3180 | area[landuse=greenhouse_horticulture], |
---|
3181 | area[landuse=plant_nursery] { |
---|
3182 | fill-color: green#b1e0c2; |
---|
3183 | } |
---|
3184 | area[landuse=aquaculture] { |
---|
3185 | fill-color: aquaculture#189dff; |
---|
3186 | } |
---|
3187 | area[landuse=grass] { |
---|
3188 | fill-color: grass#97ca96; |
---|
3189 | } |
---|
3190 | area[landuse=residential] { |
---|
3191 | fill-color: residential#f0f0f0; |
---|
3192 | } |
---|
3193 | area[landuse=garages] { |
---|
3194 | fill-color: garages#d6c8aa; |
---|
3195 | } |
---|
3196 | area[landuse=farmyard] { |
---|
3197 | fill-color: farmyard#f0f0f0; |
---|
3198 | } |
---|
3199 | area[landuse=retail], |
---|
3200 | area[landuse=commercial] { |
---|
3201 | fill-color: retail#ffc4ee; |
---|
3202 | } |
---|
3203 | area[landuse=industrial] { |
---|
3204 | fill-color: industrial#ecd8ff; |
---|
3205 | } |
---|
3206 | area[landuse=brownfield] { |
---|
3207 | fill-color: brownfield#ecba32; |
---|
3208 | } |
---|
3209 | area[landuse=greenfield] { |
---|
3210 | fill-color: greenfield#b1ec5c; |
---|
3211 | } |
---|
3212 | area[landuse=railway] { |
---|
3213 | fill-color: railland#888888; |
---|
3214 | } |
---|
3215 | area[landuse=construction] { |
---|
3216 | fill-color: construction#ffff00; |
---|
3217 | } |
---|
3218 | way[landuse=construction] { |
---|
3219 | width: 1; |
---|
3220 | color: construction#ffff00; |
---|
3221 | dashes: 9,9; |
---|
3222 | } |
---|
3223 | area[landuse=military] { |
---|
3224 | fill-color: military#b62c2c; |
---|
3225 | } |
---|
3226 | area[landuse=religious] { |
---|
3227 | fill-color: religious#ffd454; |
---|
3228 | } |
---|
3229 | area[landuse=cemetery] { |
---|
3230 | fill-color: cemetery#b1efc8; |
---|
3231 | } |
---|
3232 | area[landuse=village_green] { |
---|
3233 | fill-color: green#b1e0c2; |
---|
3234 | } |
---|
3235 | area[landuse=recreation_ground] { |
---|
3236 | fill-color: green#b1e0c2; |
---|
3237 | } |
---|
3238 | node[landuse] { |
---|
3239 | icon-image: "presets/misc/deprecated.svg"; |
---|
3240 | set icon_z17; |
---|
3241 | } |
---|
3242 | |
---|
3243 | /*****************/ |
---|
3244 | /* military tags */ |
---|
3245 | /*****************/ |
---|
3246 | |
---|
3247 | area[military=airfield], |
---|
3248 | area[military=bunker], |
---|
3249 | area[military=barracks], |
---|
3250 | area[military=danger_area], |
---|
3251 | area[military=range] { |
---|
3252 | fill-color: military#b62c2c; |
---|
3253 | } |
---|
3254 | node[military=airfield] { |
---|
3255 | icon-image: "presets/transport/airport/airfield.svg"; |
---|
3256 | set icon_z17; |
---|
3257 | } |
---|
3258 | node[military=bunker] { |
---|
3259 | icon-image: "presets/landmark/bunker.svg"; |
---|
3260 | set icon_z17; |
---|
3261 | } |
---|
3262 | node[military=barracks][!is_prop_set(icon-image)] { |
---|
3263 | icon-image: "presets/misc/no_icon.svg"; |
---|
3264 | set icon_z17; |
---|
3265 | } |
---|
3266 | node[military=danger_area] { |
---|
3267 | icon-image: "presets/misc/danger.svg"; |
---|
3268 | set icon_z17; |
---|
3269 | } |
---|
3270 | node[military=range] { |
---|
3271 | icon-image: "presets/sport/range.svg"; |
---|
3272 | set icon_z17; |
---|
3273 | } |
---|
3274 | |
---|
3275 | /****************/ |
---|
3276 | /* railway tags */ |
---|
3277 | /****************/ |
---|
3278 | |
---|
3279 | area[railway=station] { |
---|
3280 | fill-color: railwaypoint#f7efb7; |
---|
3281 | } |
---|
3282 | node[railway=station] { |
---|
3283 | icon-image: "presets/transport/railway_station.svg"; |
---|
3284 | set icon_z17; |
---|
3285 | } |
---|
3286 | node[railway=halt] { |
---|
3287 | icon-image: "presets/transport/railway_halt.svg"; |
---|
3288 | set icon_z17; |
---|
3289 | } |
---|
3290 | node[railway=tram_stop] { |
---|
3291 | icon-image: "presets/transport/tram.svg"; |
---|
3292 | set icon_z17; |
---|
3293 | } |
---|
3294 | node[railway=subway_entrance] { |
---|
3295 | icon-image: "presets/transport/underground.svg"; |
---|
3296 | set icon_z17; |
---|
3297 | } |
---|
3298 | node[railway=crossing] { |
---|
3299 | icon-image: "presets/transport/railway/crossing.svg"; |
---|
3300 | set icon_z17; |
---|
3301 | } |
---|
3302 | node[railway=level_crossing] { |
---|
3303 | icon-image: "presets/transport/railway/level_crossing.svg"; |
---|
3304 | set icon_z17; |
---|
3305 | } |
---|
3306 | way[railway=rail] { |
---|
3307 | width: 2; |
---|
3308 | color: rail#404040; |
---|
3309 | dashes: 9,9; |
---|
3310 | dashes-background-color: raildashed#ffffff; |
---|
3311 | } |
---|
3312 | way[railway=rail][service=crossover], |
---|
3313 | way[railway=rail][service=siding] { |
---|
3314 | width: 1; |
---|
3315 | } |
---|
3316 | way[railway=rail][service=yard], |
---|
3317 | way[railway=rail][service=spur] { |
---|
3318 | width: 1; |
---|
3319 | color: railyard#552200; |
---|
3320 | } |
---|
3321 | /* draw tram on top of other way (highway=*) or |
---|
3322 | as a standalone style */ |
---|
3323 | way[highway][railway=tram]::core_railway, |
---|
3324 | way[!highway][railway=tram] { |
---|
3325 | object-z-index: 1; |
---|
3326 | modifier: false; /* don't draw default way if there is no line on default layer */ |
---|
3327 | width: 1; |
---|
3328 | color: railover#202020; |
---|
3329 | dashes: 9,9; |
---|
3330 | casing-width: 1; |
---|
3331 | casing-color: otherrail#808080; |
---|
3332 | casing-linecap: round; |
---|
3333 | casing-dashes: 9,9; |
---|
3334 | } |
---|
3335 | way[highway][railway=tram][service=crossover]::core_railway, |
---|
3336 | way[!highway][railway=tram][service=crossover], |
---|
3337 | way[highway][railway=tram][service=siding]::core_railway, |
---|
3338 | way[!highway][railway=tram][service=siding], |
---|
3339 | way[highway][railway=tram][service=yard]::core_railway, |
---|
3340 | way[!highway][railway=tram][service=yard], |
---|
3341 | way[highway][railway=tram][service=spur]::core_railway, |
---|
3342 | way[!highway][railway=tram][service=spur] { |
---|
3343 | dashes: 6,6; |
---|
3344 | casing-dashes: 6,6; |
---|
3345 | } |
---|
3346 | |
---|
3347 | way[railway=light_rail] { |
---|
3348 | width: 2; |
---|
3349 | color: otherrail#808080; |
---|
3350 | dashes: 9,9; |
---|
3351 | } |
---|
3352 | way[railway=subway] { |
---|
3353 | width: 1; |
---|
3354 | color: subway#606060; |
---|
3355 | dashes: 9,9; |
---|
3356 | } |
---|
3357 | way[railway=preserved] { |
---|
3358 | width: 1; |
---|
3359 | color: oldrail#404040; |
---|
3360 | dashes: 9,9; |
---|
3361 | } |
---|
3362 | way[railway=light_rail][service=crossover], |
---|
3363 | way[railway=light_rail][service=siding], |
---|
3364 | way[railway=light_rail][service=yard], |
---|
3365 | way[railway=light_rail][service=spur], |
---|
3366 | way[railway=subway][service=crossover], |
---|
3367 | way[railway=subway][service=siding], |
---|
3368 | way[railway=subway][service=yard], |
---|
3369 | way[railway=subway][service=spur], |
---|
3370 | way[railway=preserved][service=crossover], |
---|
3371 | way[railway=preserved][service=siding], |
---|
3372 | way[railway=preserved][service=yard], |
---|
3373 | way[railway=preserved][service=spur] { |
---|
3374 | dashes: 6,6; |
---|
3375 | } |
---|
3376 | /* disused often appears together with highway=xy */ |
---|
3377 | /* -> draw on separate layer with higher z-index, but use */ |
---|
3378 | /* modifier: false; to suppress default line when used alone. */ |
---|
3379 | /* use default layer when used without highway=* to display bridge correctly */ |
---|
3380 | way[railway=disused][highway]::core_railway, |
---|
3381 | way[railway=disused][!highway], |
---|
3382 | way[railway=abandoned][highway]::core_railway, |
---|
3383 | way[railway=abandoned][!highway] { |
---|
3384 | width: 1; |
---|
3385 | modifier: false; |
---|
3386 | z-index: 1; |
---|
3387 | color: oldrail#404040; |
---|
3388 | dashes: 9,9; |
---|
3389 | } |
---|
3390 | way[railway=narrow_gauge], |
---|
3391 | way[railway=monorail] { |
---|
3392 | width: 1; |
---|
3393 | color: rail#404040; |
---|
3394 | dashes: 9,9; |
---|
3395 | } |
---|
3396 | way[railway=narrow_gauge][service=crossover], |
---|
3397 | way[railway=narrow_gauge][service=siding], |
---|
3398 | way[railway=narrow_gauge][service=yard], |
---|
3399 | way[railway=narrow_gauge][service=spur], |
---|
3400 | way[railway=monorail][service=crossover], |
---|
3401 | way[railway=monorail][service=siding], |
---|
3402 | way[railway=monorail][service=yard], |
---|
3403 | way[railway=monorail][service=spur] { |
---|
3404 | dashes: 6,6; |
---|
3405 | } |
---|
3406 | area[railway=turntable] { |
---|
3407 | fill-color: rail#404040; |
---|
3408 | } |
---|
3409 | node[railway=turntable] { |
---|
3410 | icon-image: "presets/transport/railway/turntable.svg"; |
---|
3411 | set icon_z17; |
---|
3412 | } |
---|
3413 | node[railway=buffer_stop] { |
---|
3414 | icon-image: "presets/transport/railway/buffer_stop.svg"; |
---|
3415 | set icon_z17; |
---|
3416 | } |
---|
3417 | area[railway=platform]:closed { |
---|
3418 | fill-color: rail#404040; |
---|
3419 | } |
---|
3420 | way[railway=platform] { |
---|
3421 | width: 2; |
---|
3422 | color: rail#404040; |
---|
3423 | } |
---|
3424 | way[railway=funicular] { |
---|
3425 | width: 1; |
---|
3426 | color: rail#404040; |
---|
3427 | dashes: 9,9; |
---|
3428 | } |
---|
3429 | node[railway=switch] { |
---|
3430 | icon-image: "presets/transport/railway/switch.svg"; |
---|
3431 | set icon_z17; |
---|
3432 | } |
---|
3433 | node[railway=signal] { |
---|
3434 | icon-image: "presets/transport/railway/signal.svg"; |
---|
3435 | set icon_z17; |
---|
3436 | } |
---|
3437 | node[railway=milestone] { |
---|
3438 | icon-image: "presets/transport/railway/milestone.svg"; |
---|
3439 | set icon_z17; |
---|
3440 | } |
---|
3441 | node[railway=rail], node[railway=tram], node[railway=light_rail], |
---|
3442 | node[railway=subway], node[railway=preserved], |
---|
3443 | node[railway=disused], node[railway=abandoned], |
---|
3444 | node[railway=narrow_gauge], node[railway=monorail], |
---|
3445 | node[railway=platform], node[railway=funicular], |
---|
3446 | node[service=yard], node[service=siding], node[service=spur] { |
---|
3447 | icon-image: "presets/misc/deprecated.svg"; |
---|
3448 | set icon_z17; |
---|
3449 | } |
---|
3450 | way[railway=construction][!highway] { |
---|
3451 | width: 1; |
---|
3452 | color: construction#ffff00; |
---|
3453 | dashes: 9,9; |
---|
3454 | } |
---|
3455 | way[railway=construction][construction=rail] { |
---|
3456 | width: 2; |
---|
3457 | color: rail#404040; |
---|
3458 | dashes: 9,9; |
---|
3459 | dashes-background-color: construction#ffff00; |
---|
3460 | } |
---|
3461 | way[railway=construction][construction=light_rail] { |
---|
3462 | width: 2; |
---|
3463 | } |
---|
3464 | way[railway=construction][construction=tram][highway]::core_railway, |
---|
3465 | way[railway=construction][construction=tram][!highway] { |
---|
3466 | z-index: 1; |
---|
3467 | width: 1; |
---|
3468 | color: railover#202020; |
---|
3469 | dashes: 9,9; |
---|
3470 | casing-width: 1; |
---|
3471 | casing-color: construction#ffff00; |
---|
3472 | casing-linecap: round; |
---|
3473 | casing-dashes: 9,9; |
---|
3474 | } |
---|
3475 | |
---|
3476 | /****************/ |
---|
3477 | /* aeroway tags */ |
---|
3478 | /****************/ |
---|
3479 | |
---|
3480 | area[aeroway=aerodrome] { |
---|
3481 | fill-color: aeroway#660000; |
---|
3482 | width: 2; |
---|
3483 | dashes: 9,9; |
---|
3484 | } |
---|
3485 | node[aeroway=aerodrome][military!=airfield] { |
---|
3486 | icon-image: "presets/transport/airport.svg"; |
---|
3487 | set icon_z17; |
---|
3488 | } |
---|
3489 | area[aeroway=terminal] { |
---|
3490 | fill-color: terminal#bb0000; |
---|
3491 | } |
---|
3492 | node[aeroway=terminal] { |
---|
3493 | icon-image: "presets/transport/airport/terminal.svg"; |
---|
3494 | set icon_z17; |
---|
3495 | } |
---|
3496 | area[aeroway=helipad] { |
---|
3497 | fill-color: aeroway_dark#330000; |
---|
3498 | } |
---|
3499 | node[aeroway=helipad] { |
---|
3500 | icon-image: "presets/transport/airport/helipad.svg"; |
---|
3501 | set icon_z17; |
---|
3502 | } |
---|
3503 | area[aeroway=runway]:closed { |
---|
3504 | fill-color: aeroway_dark#330000; |
---|
3505 | } |
---|
3506 | way[aeroway=runway] { |
---|
3507 | width: 3; |
---|
3508 | color: aeroway_dark#330000; |
---|
3509 | } |
---|
3510 | area[aeroway=taxiway]:closed { |
---|
3511 | fill-color: aeroway#660000; |
---|
3512 | } |
---|
3513 | way[aeroway=taxiway] { |
---|
3514 | width: 2; |
---|
3515 | color: aeroway#660000; |
---|
3516 | } |
---|
3517 | way[aeroway=parking_position] { |
---|
3518 | width: 1; |
---|
3519 | color: aeroway#660000; |
---|
3520 | } |
---|
3521 | node[aeroway=parking_position] { |
---|
3522 | icon-image: "presets/transport/airport/parking_position.svg"; |
---|
3523 | set icon_z17; |
---|
3524 | } |
---|
3525 | area[aeroway=apron], |
---|
3526 | area[aeroway=hangar] { |
---|
3527 | fill-color: aeroway_light#990000; |
---|
3528 | } |
---|
3529 | node[aeroway=apron], |
---|
3530 | node[aeroway=runway], |
---|
3531 | node[aeroway=taxiway] { |
---|
3532 | icon-image: "presets/misc/deprecated.svg"; |
---|
3533 | set icon_z17; |
---|
3534 | } |
---|
3535 | node[aeroway=hangar] { |
---|
3536 | icon-image: "presets/transport/airport/hangar.svg"; |
---|
3537 | set icon_z17; |
---|
3538 | } |
---|
3539 | node[aeroway=gate] { |
---|
3540 | icon-image: "presets/transport/airport/gate.svg"; |
---|
3541 | set icon_z17; |
---|
3542 | } |
---|
3543 | node[aeroway=windsock] { |
---|
3544 | icon-image: "presets/transport/airport/windsock.svg"; |
---|
3545 | set icon_z17; |
---|
3546 | } |
---|
3547 | |
---|
3548 | /******************/ |
---|
3549 | /* aerialway tags */ |
---|
3550 | /******************/ |
---|
3551 | |
---|
3552 | way[aerialway=cable_car], |
---|
3553 | way[aerialway=gondola] { |
---|
3554 | width: 1; |
---|
3555 | color: aerialway#663300; |
---|
3556 | dashes: 9,9; |
---|
3557 | } |
---|
3558 | way[aerialway=chair_lift] { |
---|
3559 | width: 1; |
---|
3560 | color: aerialway#663300; |
---|
3561 | dashes: 6,6; |
---|
3562 | } |
---|
3563 | way[aerialway=mixed_lift] { |
---|
3564 | width: 1; |
---|
3565 | color: aerialway#663300; |
---|
3566 | dashes: 6,6,9,6; |
---|
3567 | } |
---|
3568 | way[aerialway=j-bar], |
---|
3569 | way[aerialway=t-bar], |
---|
3570 | way[aerialway=platter], |
---|
3571 | way[aerialway=rope_tow], |
---|
3572 | way[aerialway=drag_lift] { |
---|
3573 | width: 1; |
---|
3574 | color: aerialway#663300; |
---|
3575 | dashes: 3,3; |
---|
3576 | } |
---|
3577 | way[aerialway=magic_carpet] { |
---|
3578 | width: 1; |
---|
3579 | color: aerialway#663300; |
---|
3580 | dashes: 3,3; |
---|
3581 | } |
---|
3582 | way[aerialway=goods] { |
---|
3583 | width: 1; |
---|
3584 | color: aerialway#663300; |
---|
3585 | dashes: 2,2; |
---|
3586 | } |
---|
3587 | area[aerialway=station] { |
---|
3588 | fill-color: aerialway#663300; |
---|
3589 | } |
---|
3590 | node[aerialway=station] { |
---|
3591 | icon-image: "presets/transport/aerialway/station.svg"; |
---|
3592 | set icon_z17; |
---|
3593 | } |
---|
3594 | node[aerialway=pylon] { |
---|
3595 | icon-image: "presets/transport/aerialway/pylon.svg"; |
---|
3596 | set icon_z17; |
---|
3597 | } |
---|
3598 | node[aerialway=cable_car], |
---|
3599 | node[aerialway=gondola], |
---|
3600 | node[aerialway=chair_lift], |
---|
3601 | node[aerialway=mixed_lift], |
---|
3602 | node[aerialway=drag_lift], |
---|
3603 | node[aerialway=t-bar], |
---|
3604 | node[aerialway=j-bar], |
---|
3605 | node[aerialway=platter], |
---|
3606 | node[aerialway=magic_carpet], |
---|
3607 | node[aerialway=rope_tow], |
---|
3608 | node[aerialway=goods] { |
---|
3609 | icon-image: "presets/misc/deprecated.svg"; |
---|
3610 | set icon_z17; |
---|
3611 | } |
---|
3612 | |
---|
3613 | /*************************/ |
---|
3614 | /* public_transport tags */ |
---|
3615 | /*************************/ |
---|
3616 | |
---|
3617 | node[highway=bus_stop] { |
---|
3618 | icon-image: "presets/transport/bus_small.svg"; |
---|
3619 | set icon_z17; |
---|
3620 | } |
---|
3621 | node[public_transport=stop_position] { |
---|
3622 | icon-image: "presets/transport/stop_position.svg"; |
---|
3623 | set icon_z17; |
---|
3624 | } |
---|
3625 | node[public_transport=stop_position][share_taxi=yes] { |
---|
3626 | icon-image: "presets/transport/share_taxi.svg"; |
---|
3627 | set icon_z17; |
---|
3628 | } |
---|
3629 | node[public_transport=stop_position][bus=yes] { |
---|
3630 | icon-image: "presets/transport/bus.svg"; |
---|
3631 | set icon_z17; |
---|
3632 | } |
---|
3633 | node[public_transport=stop_position][train=yes] { |
---|
3634 | icon-image: "presets/transport/train.svg"; |
---|
3635 | set icon_z17; |
---|
3636 | } |
---|
3637 | node[public_transport=stop_position][tram=yes] { |
---|
3638 | icon-image: "presets/transport/railway/tram.svg"; |
---|
3639 | set icon_z17; |
---|
3640 | } |
---|
3641 | node[public_transport=stop_position][subway=yes] { |
---|
3642 | icon-image: "presets/transport/railway/subway.svg"; |
---|
3643 | set icon_z17; |
---|
3644 | } |
---|
3645 | node[public_transport=stop_position][monorail=yes] { |
---|
3646 | icon-image: "presets/transport/railway/monorail.svg"; |
---|
3647 | set icon_z17; |
---|
3648 | } |
---|
3649 | node[public_transport=stop_position][trolleybus=yes] { |
---|
3650 | icon-image: "presets/transport/trolleybus.svg"; |
---|
3651 | set icon_z17; |
---|
3652 | } |
---|
3653 | node[public_transport=stop_position][funicular=yes] { |
---|
3654 | icon-image: "presets/transport/railway/funicular.svg"; |
---|
3655 | set icon_z17; |
---|
3656 | } |
---|
3657 | node[public_transport=stop_position][aerialway=yes] { |
---|
3658 | icon-image: "presets/transport/aerialway/station.svg"; |
---|
3659 | set icon_z17; |
---|
3660 | } |
---|
3661 | node[public_transport=stop_position][ferry=yes] { |
---|
3662 | icon-image: "presets/nautical/ferry.svg"; |
---|
3663 | set icon_z17; |
---|
3664 | } |
---|
3665 | area[public_transport=platform]:closed { |
---|
3666 | fill-color: service#809bc0; |
---|
3667 | } |
---|
3668 | way[public_transport=platform]!:closed { |
---|
3669 | width: 3; |
---|
3670 | color: service#809bc0; |
---|
3671 | dashes: 12,3; |
---|
3672 | } |
---|
3673 | node[public_transport=platform] { |
---|
3674 | icon-image: "presets/transport/platform.svg"; |
---|
3675 | set icon_z17; |
---|
3676 | } |
---|
3677 | area[public_transport=station] { |
---|
3678 | fill-color: railwaypoint#f7efb7; |
---|
3679 | } |
---|
3680 | node[public_transport=station] { |
---|
3681 | icon-image: "presets/transport/station.svg"; |
---|
3682 | set icon_z17; |
---|
3683 | } |
---|
3684 | |
---|
3685 | /**************/ |
---|
3686 | /* sport tags */ |
---|
3687 | /**************/ |
---|
3688 | |
---|
3689 | area[sport="9pin"], |
---|
3690 | area[sport="10pin"], |
---|
3691 | area[sport=athletics], |
---|
3692 | area[sport=running], |
---|
3693 | area[sport=soccer], |
---|
3694 | area[sport=australian_football], |
---|
3695 | area[sport=american_football], |
---|
3696 | area[sport=canadian_football], |
---|
3697 | area[sport=gaelic_games], |
---|
3698 | area[sport=rugby_league], |
---|
3699 | area[sport=rugby_union] { |
---|
3700 | fill-color: sport#bde3cb; |
---|
3701 | } |
---|
3702 | node[sport="9pin"] { |
---|
3703 | icon-image: "presets/sport/9pin.svg"; |
---|
3704 | set icon_z17; |
---|
3705 | } |
---|
3706 | node[sport="10pin"] { |
---|
3707 | icon-image: "presets/sport/10pin.svg"; |
---|
3708 | set icon_z17; |
---|
3709 | } |
---|
3710 | node[sport=athletics] { |
---|
3711 | icon-image: "presets/sport/athletics.svg"; |
---|
3712 | set icon_z17; |
---|
3713 | } |
---|
3714 | node[sport=running] { |
---|
3715 | icon-image: "presets/sport/running.svg"; |
---|
3716 | set icon_z17; |
---|
3717 | } |
---|
3718 | node[sport=soccer], |
---|
3719 | node[sport=gaelic_games] { |
---|
3720 | icon-image: "presets/sport/soccer.svg"; |
---|
3721 | set icon_z17; |
---|
3722 | } |
---|
3723 | node[sport=australian_football], |
---|
3724 | node[sport=american_football], |
---|
3725 | node[sport=canadian_football], |
---|
3726 | node[sport=rugby_league], |
---|
3727 | node[sport=rugby_union] { |
---|
3728 | icon-image: "presets/sport/football.svg"; |
---|
3729 | set icon_z17; |
---|
3730 | } |
---|
3731 | area[sport=baseball], |
---|
3732 | area[sport=basketball], |
---|
3733 | area[sport=boules], |
---|
3734 | area[sport=bowls], |
---|
3735 | area[sport=canoe], |
---|
3736 | area[sport=chess], |
---|
3737 | area[sport=climbing]:closed, |
---|
3738 | area[sport=cricket], |
---|
3739 | area[sport=croquet] { |
---|
3740 | fill-color: sport#bde3cb; |
---|
3741 | } |
---|
3742 | node[sport=baseball] { |
---|
3743 | icon-image: "presets/sport/baseball.svg"; |
---|
3744 | set icon_z17; |
---|
3745 | } |
---|
3746 | node[sport=basketball] { |
---|
3747 | icon-image: "presets/sport/basketball.svg"; |
---|
3748 | set icon_z17; |
---|
3749 | } |
---|
3750 | node[sport=boules] { |
---|
3751 | icon-image: "presets/sport/boule.svg"; |
---|
3752 | set icon_z17; |
---|
3753 | } |
---|
3754 | node[sport=bowls] { |
---|
3755 | icon-image: "presets/sport/boule.svg"; |
---|
3756 | set icon_z17; |
---|
3757 | } |
---|
3758 | node[sport=canoe] { |
---|
3759 | icon-image: "presets/sport/canoe.svg"; |
---|
3760 | set icon_z17; |
---|
3761 | } |
---|
3762 | node[sport=chess] { |
---|
3763 | icon-image: "presets/sport/chess.svg"; |
---|
3764 | set icon_z17; |
---|
3765 | } |
---|
3766 | node[sport=climbing] { |
---|
3767 | icon-image: "presets/sport/climbing.svg"; |
---|
3768 | set icon_z17; |
---|
3769 | } |
---|
3770 | node[sport=cricket] { |
---|
3771 | icon-image: "presets/sport/cricket.svg"; |
---|
3772 | set icon_z17; |
---|
3773 | } |
---|
3774 | node[sport=croquet] { |
---|
3775 | icon-image: "presets/sport/croquet.svg"; |
---|
3776 | set icon_z17; |
---|
3777 | } |
---|
3778 | area[sport=cycling], |
---|
3779 | area[sport=dog_racing], |
---|
3780 | area[sport=equestrian], |
---|
3781 | area[sport=golf], |
---|
3782 | area[sport=gymnastics], |
---|
3783 | area[sport=field_hockey], |
---|
3784 | area[sport=ice_hockey], |
---|
3785 | area[sport=horse_racing], |
---|
3786 | area[sport=karting][highway!=raceway], |
---|
3787 | area[sport=karting][highway=raceway][area=yes], |
---|
3788 | area[sport=motocross][highway!=raceway], |
---|
3789 | area[sport=motocross][highway=raceway][area=yes], |
---|
3790 | area[sport=motor][highway!=raceway], |
---|
3791 | area[sport=motor][highway=raceway][area=yes] { |
---|
3792 | fill-color: sport#bde3cb; |
---|
3793 | } |
---|
3794 | node[sport=cycling] { |
---|
3795 | icon-image: "presets/sport/cycling.svg"; |
---|
3796 | set icon_z17; |
---|
3797 | } |
---|
3798 | node[sport=dog_racing] { |
---|
3799 | icon-image: "presets/sport/dog_racing.svg"; |
---|
3800 | set icon_z17; |
---|
3801 | } |
---|
3802 | node[sport=equestrian] { |
---|
3803 | icon-image: "presets/sport/equestrian.svg"; |
---|
3804 | set icon_z17; |
---|
3805 | } |
---|
3806 | node[sport=golf] { |
---|
3807 | icon-image: "presets/sport/golf.svg"; |
---|
3808 | set icon_z17; |
---|
3809 | } |
---|
3810 | node[sport=gymnastics] { |
---|
3811 | icon-image: "presets/sport/gymnastics.svg"; |
---|
3812 | set icon_z17; |
---|
3813 | } |
---|
3814 | node[sport=field_hockey] { |
---|
3815 | icon-image: "presets/sport/field_hockey.svg"; |
---|
3816 | set icon_z17; |
---|
3817 | } |
---|
3818 | node[sport=ice_hockey] { |
---|
3819 | icon-image: "presets/sport/ice_hockey.svg"; |
---|
3820 | set icon_z17; |
---|
3821 | } |
---|
3822 | node[sport=horse_racing] { |
---|
3823 | icon-image: "presets/sport/riding.svg"; |
---|
3824 | set icon_z17; |
---|
3825 | } |
---|
3826 | node[sport=karting] { |
---|
3827 | icon-image: "presets/sport/karting.svg"; |
---|
3828 | set icon_z17; |
---|
3829 | } |
---|
3830 | node[sport=motocross] { |
---|
3831 | icon-image: "presets/sport/motocross.svg"; |
---|
3832 | set icon_z17; |
---|
3833 | } |
---|
3834 | node[sport=motor] { |
---|
3835 | icon-image: "presets/sport/motor.svg"; |
---|
3836 | set icon_z17; |
---|
3837 | } |
---|
3838 | area[sport=multi], |
---|
3839 | area[sport=pelota], |
---|
3840 | area[sport=racquet], |
---|
3841 | area[sport=ice_skating], |
---|
3842 | area[sport=roller_skating], |
---|
3843 | area[sport=skateboard] { |
---|
3844 | fill-color: sport#bde3cb; |
---|
3845 | } |
---|
3846 | node[sport=multi] { |
---|
3847 | icon-image: "presets/sport/multi.svg"; |
---|
3848 | set icon_z17; |
---|
3849 | } |
---|
3850 | node[sport=pelota] { |
---|
3851 | icon-image: "presets/sport/pelota.svg"; |
---|
3852 | set icon_z17; |
---|
3853 | } |
---|
3854 | node[sport=racquet] { |
---|
3855 | icon-image: "presets/sport/racquetball.svg"; |
---|
3856 | set icon_z17; |
---|
3857 | } |
---|
3858 | node[sport=ice_skating] { |
---|
3859 | icon-image: "presets/sport/ice_skating.svg"; |
---|
3860 | set icon_z17; |
---|
3861 | } |
---|
3862 | node[sport=roller_skating] { |
---|
3863 | icon-image: "presets/sport/roller_skating.svg"; |
---|
3864 | set icon_z17; |
---|
3865 | } |
---|
3866 | node[sport=skating] { |
---|
3867 | icon-image: "presets/misc/deprecated.svg"; |
---|
3868 | set icon_z17; |
---|
3869 | } |
---|
3870 | node[sport=skateboard] { |
---|
3871 | icon-image: "presets/sport/skateboard.svg"; |
---|
3872 | set icon_z17; |
---|
3873 | } |
---|
3874 | area[sport=swimming] { |
---|
3875 | fill-color: swimming_pool#51c4ef; |
---|
3876 | } |
---|
3877 | node[sport=swimming] { |
---|
3878 | icon-image: "presets/sport/swimming.svg"; |
---|
3879 | set icon_z17; |
---|
3880 | } |
---|
3881 | area[sport=table_tennis], |
---|
3882 | area[sport=tennis], |
---|
3883 | area[sport=paintball] { |
---|
3884 | fill-color: sport#bde3cb; |
---|
3885 | } |
---|
3886 | node[sport=table_tennis] { |
---|
3887 | icon-image: "presets/sport/table_tennis.svg"; |
---|
3888 | set icon_z17; |
---|
3889 | } |
---|
3890 | node[sport=tennis] { |
---|
3891 | icon-image: "presets/sport/tennis.svg"; |
---|
3892 | set icon_z17; |
---|
3893 | } |
---|
3894 | node[sport=paintball][!is_prop_set(icon-image)] { |
---|
3895 | icon-image: "presets/misc/no_icon.svg"; |
---|
3896 | set icon_z17; |
---|
3897 | } |
---|
3898 | area[sport=squash], |
---|
3899 | area[sport=shooting], |
---|
3900 | area[sport=volleyball], |
---|
3901 | area[sport=beachvolleyball], |
---|
3902 | area[sport=billiards], |
---|
3903 | area[sport=bowling], |
---|
3904 | area[sport=handball], |
---|
3905 | area[sport=rowing], |
---|
3906 | area[sport=sailing], |
---|
3907 | area[sport=scuba_diving], |
---|
3908 | area[sport=badminton] { |
---|
3909 | fill-color: sport#bde3cb; |
---|
3910 | } |
---|
3911 | node[sport=squash][!is_prop_set(icon-image)] { |
---|
3912 | icon-image: "presets/misc/no_icon.svg"; |
---|
3913 | set icon_z17; |
---|
3914 | } |
---|
3915 | node[sport=shooting] { |
---|
3916 | icon-image: "presets/sport/range.svg"; |
---|
3917 | set icon_z17; |
---|
3918 | } |
---|
3919 | node[sport=volleyball] { |
---|
3920 | icon-image: "presets/sport/volleyball.svg"; |
---|
3921 | set icon_z17; |
---|
3922 | } |
---|
3923 | node[sport=beachvolleyball] { |
---|
3924 | icon-image: "presets/sport/beachvolleyball.svg"; |
---|
3925 | set icon_z17; |
---|
3926 | } |
---|
3927 | node[sport=billiards] { |
---|
3928 | icon-image: "presets/sport/billiards.svg"; |
---|
3929 | set icon_z17; |
---|
3930 | } |
---|
3931 | node[sport=bowling] { |
---|
3932 | icon-image: "presets/sport/9pin.svg"; |
---|
3933 | set icon_z17; |
---|
3934 | } |
---|
3935 | node[sport=handball] { |
---|
3936 | icon-image: "presets/sport/handball.svg"; |
---|
3937 | set icon_z17; |
---|
3938 | } |
---|
3939 | node[sport=rowing] { |
---|
3940 | icon-image: "presets/sport/rowing.svg"; |
---|
3941 | set icon_z17; |
---|
3942 | } |
---|
3943 | node[sport=sailing][!is_prop_set(icon-image)] { |
---|
3944 | icon-image: "presets/misc/no_icon.svg"; |
---|
3945 | set icon_z17; |
---|
3946 | } |
---|
3947 | node[sport=scuba_diving] { |
---|
3948 | icon-image: "presets/sport/scuba_diving.svg"; |
---|
3949 | set icon_z17; |
---|
3950 | } |
---|
3951 | node[sport=badminton][!is_prop_set(icon-image)] { |
---|
3952 | icon-image: "presets/misc/no_icon.svg"; |
---|
3953 | set icon_z17; |
---|
3954 | } |
---|
3955 | area[sport=archery], |
---|
3956 | area[sport=fishing], |
---|
3957 | area[sport=model_aerodrome], |
---|
3958 | area[sport=rc_car] { |
---|
3959 | fill-color: sport#bde3cb; |
---|
3960 | } |
---|
3961 | node[sport=archery] { |
---|
3962 | icon-image: "presets/sport/archery.svg"; |
---|
3963 | set icon_z17; |
---|
3964 | } |
---|
3965 | node[sport=fishing] { |
---|
3966 | icon-image: "presets/sport/fishing.svg"; |
---|
3967 | set icon_z17; |
---|
3968 | } |
---|
3969 | node[sport=model_aerodrome] { |
---|
3970 | icon-image: "presets/transport/airport.svg"; |
---|
3971 | set icon_z17; |
---|
3972 | } |
---|
3973 | node[sport=rc_car] { |
---|
3974 | icon-image: "presets/sport/rc_car.svg"; |
---|
3975 | set icon_z17; |
---|
3976 | } |
---|
3977 | |
---|
3978 | /****************/ |
---|
3979 | /* natural tags */ |
---|
3980 | /****************/ |
---|
3981 | |
---|
3982 | area[natural=spring] { |
---|
3983 | fill-color: light_water#00005f; |
---|
3984 | } |
---|
3985 | node[natural=spring] { |
---|
3986 | icon-image: "presets/landmark/spring.svg"; |
---|
3987 | set icon_z17; |
---|
3988 | } |
---|
3989 | node[natural=saddle] { |
---|
3990 | icon-image: "presets/landmark/saddle.svg"; |
---|
3991 | set icon_z0; |
---|
3992 | set text_z0; |
---|
3993 | } |
---|
3994 | node[natural=peak] { |
---|
3995 | icon-image: "presets/landmark/peak.svg"; |
---|
3996 | set icon_z0; |
---|
3997 | set text_z0; |
---|
3998 | } |
---|
3999 | node[natural=peak][tourism=viewpoint] { |
---|
4000 | icon-image: "presets/sightseeing/peak_viewpoint.svg"; |
---|
4001 | set icon_z0; |
---|
4002 | set text_z0; |
---|
4003 | } |
---|
4004 | area[natural=glacier] { |
---|
4005 | fill-color: glacier#ffffff; |
---|
4006 | } |
---|
4007 | node[natural=volcano] { |
---|
4008 | icon-image: "presets/landmark/volcano.svg"; |
---|
4009 | set icon_z0; |
---|
4010 | set text_z0; |
---|
4011 | } |
---|
4012 | area[natural=cliff]:closed { |
---|
4013 | fill-color: natural#002f00; |
---|
4014 | } |
---|
4015 | way[natural=cliff] { |
---|
4016 | repeat-image: "presets/misc/cliff_pattern.svg"; |
---|
4017 | repeat-image-align: top; |
---|
4018 | width: 1; |
---|
4019 | color: #b2b2b2; |
---|
4020 | } |
---|
4021 | node[natural=cliff] { |
---|
4022 | icon-image: "presets/misc/cliff.svg"; |
---|
4023 | set icon_z17; |
---|
4024 | } |
---|
4025 | way[natural=ridge] { |
---|
4026 | width: 1; |
---|
4027 | color: natural#002f00; |
---|
4028 | } |
---|
4029 | way[natural=valley] { |
---|
4030 | width: 1; |
---|
4031 | color: natural#002f00; |
---|
4032 | } |
---|
4033 | area[natural=scree] { |
---|
4034 | fill-color: natural#002f00; |
---|
4035 | } |
---|
4036 | area[natural=scrub] { |
---|
4037 | fill-color: scrub#007000; |
---|
4038 | } |
---|
4039 | area[natural=fell] { |
---|
4040 | fill-color: natural#002f00; |
---|
4041 | } |
---|
4042 | area[natural=heath] { |
---|
4043 | fill-color: heath#ffffc0; |
---|
4044 | } |
---|
4045 | way[natural=tree_row] { |
---|
4046 | width: 2; |
---|
4047 | color: woodarea#008000; |
---|
4048 | } |
---|
4049 | area[natural=wood] { |
---|
4050 | fill-color: woodarea#008000; |
---|
4051 | } |
---|
4052 | area[natural=grassland] { |
---|
4053 | fill-color: green#b1e0c2; |
---|
4054 | } |
---|
4055 | area[natural=wetland] { |
---|
4056 | fill-color: marsh#4f4ff3; |
---|
4057 | } |
---|
4058 | area[natural=water] { |
---|
4059 | fill-color: water#0000ff; |
---|
4060 | } |
---|
4061 | area[natural=water][intermittent=yes] { |
---|
4062 | width: 2; |
---|
4063 | dashes: 15, 5; |
---|
4064 | } |
---|
4065 | way[natural=coastline] { |
---|
4066 | width: 2; |
---|
4067 | color: water#0000ff; |
---|
4068 | right-casing-color: water#0000ff; |
---|
4069 | right-casing-width: 5; |
---|
4070 | right-casing-opacity: 0.30; |
---|
4071 | } |
---|
4072 | area[natural=mud] { |
---|
4073 | fill-color: mud#cba762; |
---|
4074 | } |
---|
4075 | area[natural=beach] { |
---|
4076 | fill-color: beach#f8dba2; |
---|
4077 | } |
---|
4078 | area[natural=sand] { |
---|
4079 | fill-color: sand#f8dba2; |
---|
4080 | } |
---|
4081 | area[natural=bare_rock] { |
---|
4082 | fill-color: bare_rock#f8f8c7; |
---|
4083 | } |
---|
4084 | area[natural=rock] { |
---|
4085 | fill-color: stone#f8f8c7; |
---|
4086 | } |
---|
4087 | node[natural=rock] { |
---|
4088 | icon-image: "presets/misc/rock.svg"; |
---|
4089 | set icon_z17; |
---|
4090 | } |
---|
4091 | area[natural=stone] { |
---|
4092 | fill-color: stone#f8f8c7; |
---|
4093 | } |
---|
4094 | node[natural=stone] { |
---|
4095 | icon-image: "presets/misc/stone.svg"; |
---|
4096 | set icon_z17; |
---|
4097 | } |
---|
4098 | area[natural=bay], |
---|
4099 | area[natural=cave_entrance] { |
---|
4100 | fill-color: natural#002f00; |
---|
4101 | } |
---|
4102 | node[natural=bay] { |
---|
4103 | icon-image: "presets/nautical/bay.svg"; |
---|
4104 | set icon_z17; |
---|
4105 | } |
---|
4106 | area[natural=reef] { |
---|
4107 | fill-color: reef#80c9ff; |
---|
4108 | } |
---|
4109 | node[natural=reef] { |
---|
4110 | icon-image: "presets/landmark/reef.svg"; |
---|
4111 | set icon_z17; |
---|
4112 | } |
---|
4113 | node[natural=cave_entrance] { |
---|
4114 | icon-image: "presets/landmark/cave_entrance.svg"; |
---|
4115 | set icon_z17; |
---|
4116 | } |
---|
4117 | node[natural=tree] { |
---|
4118 | icon-image: "presets/landmark/trees.svg"; |
---|
4119 | set icon_z17; |
---|
4120 | } |
---|
4121 | node[natural=tree][type=conifer], |
---|
4122 | node[natural=tree][leaf_type=needleleaved] { |
---|
4123 | icon-image: "presets/landmark/trees_conifer.svg"; |
---|
4124 | set icon_z17; |
---|
4125 | } |
---|
4126 | node[natural=tree][type=broad_leaved], |
---|
4127 | node[natural=tree][leaf_type=broadleaved] { |
---|
4128 | icon-image: "presets/landmark/trees_broad_leaved.svg"; |
---|
4129 | set icon_z17; |
---|
4130 | } |
---|
4131 | node[natural=glacier], |
---|
4132 | node[natural=scree], |
---|
4133 | node[natural=scrub], |
---|
4134 | node[natural=fell], |
---|
4135 | node[natural=heath], |
---|
4136 | node[natural=tree_row], |
---|
4137 | node[natural=wood], |
---|
4138 | node[natural=grassland], |
---|
4139 | node[natural=wetland], |
---|
4140 | node[natural=water], |
---|
4141 | node[natural=coastline], |
---|
4142 | node[natural=mud], |
---|
4143 | node[natural=beach], |
---|
4144 | node[natural=sand], |
---|
4145 | node[natural=land], |
---|
4146 | node[natural=bare_rock], |
---|
4147 | node[natural=ridge], |
---|
4148 | node[natural=valley] { |
---|
4149 | icon-image: "presets/misc/deprecated.svg"; |
---|
4150 | set icon_z17; |
---|
4151 | } |
---|
4152 | /*****************/ |
---|
4153 | /* waterway tags */ |
---|
4154 | /*****************/ |
---|
4155 | |
---|
4156 | way[waterway=river] { |
---|
4157 | width: 2; |
---|
4158 | color: water#0000ff; |
---|
4159 | } |
---|
4160 | area[waterway=riverbank] { |
---|
4161 | fill-color: riverbank#0000cf; |
---|
4162 | width: 1; |
---|
4163 | color: riverbank#0000cf; |
---|
4164 | } |
---|
4165 | way[waterway=canal] { |
---|
4166 | width: 2; |
---|
4167 | color: water#0000ff; |
---|
4168 | } |
---|
4169 | way[waterway=stream] { |
---|
4170 | width: 1; |
---|
4171 | color: stream#6600cc; |
---|
4172 | } |
---|
4173 | way[waterway=ditch], |
---|
4174 | way[waterway=drain] { |
---|
4175 | width: 1; |
---|
4176 | color: water#0000ff; |
---|
4177 | } |
---|
4178 | way[waterway=river][intermittent=yes], |
---|
4179 | area[waterway=riverbank][intermittent=yes], |
---|
4180 | way[waterway=canal][intermittent=yes], |
---|
4181 | way[waterway=stream][intermittent=yes], |
---|
4182 | way[waterway=ditch][intermittent=yes], |
---|
4183 | way[waterway=drain][intermittent=yes] { |
---|
4184 | dashes: 15, 5; |
---|
4185 | } |
---|
4186 | area[waterway=dock] { |
---|
4187 | fill-color: dock#0000cf; |
---|
4188 | } |
---|
4189 | node[waterway=dock] { |
---|
4190 | icon-image: "presets/nautical/boatyard.svg"; |
---|
4191 | set icon_z17; |
---|
4192 | } |
---|
4193 | node[waterway=lock_gate] { |
---|
4194 | icon-image: "presets/nautical/lock_gate.svg"; |
---|
4195 | set icon_z17; |
---|
4196 | } |
---|
4197 | node[waterway=turning_point] { |
---|
4198 | icon-image: "presets/nautical/turning.svg"; |
---|
4199 | set icon_z17; |
---|
4200 | } |
---|
4201 | area[waterway=boatyard] { |
---|
4202 | fill-color: manmade#d8d8d8; |
---|
4203 | } |
---|
4204 | node[waterway=boatyard] { |
---|
4205 | icon-image: "presets/nautical/boatyard.svg"; |
---|
4206 | set icon_z17; |
---|
4207 | } |
---|
4208 | node[waterway=water_point], |
---|
4209 | node[waterway=waste_disposal], |
---|
4210 | node[waterway=mooring] { |
---|
4211 | icon-image: "presets/misc/deprecated.svg"; |
---|
4212 | set icon_z17; |
---|
4213 | } |
---|
4214 | node[mooring] { |
---|
4215 | icon-image: "presets/nautical/marina.svg"; |
---|
4216 | set icon_z17; |
---|
4217 | } |
---|
4218 | area[waterway=fuel] { |
---|
4219 | fill-color: amenity_traffic#f7efb7; |
---|
4220 | } |
---|
4221 | node[waterway=fuel] { |
---|
4222 | icon-image: "presets/nautical/marine_fuel.svg"; |
---|
4223 | set icon_z17; |
---|
4224 | } |
---|
4225 | way[waterway=weir] { |
---|
4226 | width: 2; |
---|
4227 | color: manmade#d8d8d8; |
---|
4228 | } |
---|
4229 | node[waterway=weir] { |
---|
4230 | icon-image: "presets/nautical/weir.svg"; |
---|
4231 | set icon_z17; |
---|
4232 | } |
---|
4233 | area[waterway=dam]:closed { |
---|
4234 | fill-color: manmade#d8d8d8; |
---|
4235 | } |
---|
4236 | way[waterway=dam] { |
---|
4237 | width: 2; |
---|
4238 | color: manmade#d8d8d8; |
---|
4239 | } |
---|
4240 | node[waterway=dam] { |
---|
4241 | icon-image: "presets/nautical/dam.svg"; |
---|
4242 | set icon_z17; |
---|
4243 | } |
---|
4244 | /* it's not possible to have both line and area, line seems more likely */ |
---|
4245 | way[waterway=waterfall] { |
---|
4246 | width: 2; |
---|
4247 | color: manmade#d8d8d8; |
---|
4248 | } |
---|
4249 | node[waterway=waterfall] { |
---|
4250 | icon-image: "presets/nautical/waterfall.svg"; |
---|
4251 | set icon_z17; |
---|
4252 | } |
---|
4253 | node[waterway=river], node[waterway=riverbank], |
---|
4254 | node[waterway=canal], node[waterway=wadi], |
---|
4255 | node[waterway=stream], |
---|
4256 | node[waterway=ditch], node[waterway=drain] { |
---|
4257 | icon-image: "presets/misc/deprecated.svg"; |
---|
4258 | set icon_z17; |
---|
4259 | } |
---|
4260 | |
---|
4261 | /**************/ |
---|
4262 | /* route tags */ |
---|
4263 | /**************/ |
---|
4264 | |
---|
4265 | way[route=ferry] { |
---|
4266 | width: 1; |
---|
4267 | color: ferry#809bc0; |
---|
4268 | dashes: 9,9; |
---|
4269 | } |
---|
4270 | node[route=bus], |
---|
4271 | node[route=ferry], |
---|
4272 | node[route=flight], |
---|
4273 | node[route=ncn], |
---|
4274 | node[route=subsea], |
---|
4275 | node[route=ski], |
---|
4276 | node[route=tour], |
---|
4277 | node[route=pub_crawl] { |
---|
4278 | icon-image: "presets/misc/deprecated.svg"; |
---|
4279 | set icon_z17; |
---|
4280 | } |
---|
4281 | |
---|
4282 | /*******************/ |
---|
4283 | /* properties tags */ |
---|
4284 | /*******************/ |
---|
4285 | |
---|
4286 | node[mountain_pass?] { |
---|
4287 | icon-image: "presets/landmark/mountain_pass.svg"; |
---|
4288 | set icon_z0; |
---|
4289 | set text_z0; |
---|
4290 | } |
---|
4291 | |
---|
4292 | /*****************/ |
---|
4293 | /* boundary tags */ |
---|
4294 | /*****************/ |
---|
4295 | |
---|
4296 | way[boundary=protected_area]::core_boundary, |
---|
4297 | way[boundary=administrative]::core_boundary, |
---|
4298 | way[boundary=postal_code]::core_boundary, |
---|
4299 | way[boundary=political]::core_boundary, |
---|
4300 | way[boundary=maritime]::core_boundary, |
---|
4301 | way[boundary=national_park]::core_boundary { |
---|
4302 | z-index: 2; |
---|
4303 | modifier: false; |
---|
4304 | width: 1; |
---|
4305 | color: boundary#FF6600; |
---|
4306 | dashes: 9,9; |
---|
4307 | } |
---|
4308 | way[admin_level=9]::core_boundary, |
---|
4309 | relation[admin_level=9] > way::core_boundary, |
---|
4310 | way[admin_level=10]::core_boundary, |
---|
4311 | relation[admin_level=10] > way::core_boundary { |
---|
4312 | z-index: 2; |
---|
4313 | modifier: false; |
---|
4314 | width: 1; |
---|
4315 | color: boundary#FF6600; |
---|
4316 | dashes: 9,9; |
---|
4317 | } |
---|
4318 | way[admin_level=7]::core_boundary, |
---|
4319 | relation[admin_level=7] > way::core_boundary, |
---|
4320 | way[admin_level=8]::core_boundary, |
---|
4321 | relation[admin_level=8] > way::core_boundary { |
---|
4322 | z-index: 2; |
---|
4323 | modifier: false; |
---|
4324 | width: 2; |
---|
4325 | color: boundary#FF6600; |
---|
4326 | dashes: 9,9; |
---|
4327 | } |
---|
4328 | way[admin_level=5]::core_boundary, |
---|
4329 | relation[admin_level=5] > way::core_boundary, |
---|
4330 | way[admin_level=6]::core_boundary, |
---|
4331 | relation[admin_level=6] > way::core_boundary { |
---|
4332 | z-index: 2; |
---|
4333 | modifier: false; |
---|
4334 | width: 3; |
---|
4335 | color: boundary#FF6600; |
---|
4336 | dashes: 9,9; |
---|
4337 | } |
---|
4338 | way[admin_level=3]::core_boundary, |
---|
4339 | relation[admin_level=3] > way::core_boundary, |
---|
4340 | way[admin_level=4]::core_boundary, |
---|
4341 | relation[admin_level=4] > way::core_boundary { |
---|
4342 | z-index: 2; |
---|
4343 | modifier: false; |
---|
4344 | width: 4; |
---|
4345 | color: boundary#FF6600; |
---|
4346 | dashes: 9,9; |
---|
4347 | } |
---|
4348 | way[admin_level=1]::core_boundary, |
---|
4349 | relation[admin_level=1] > way::core_boundary, |
---|
4350 | way[admin_level=2]::core_boundary, |
---|
4351 | relation[admin_level=2] > way::core_boundary { |
---|
4352 | z-index: 2; |
---|
4353 | modifier: false; |
---|
4354 | width: 5; |
---|
4355 | color: boundary#FF6600; |
---|
4356 | dashes: 9,9; |
---|
4357 | } |
---|
4358 | node[boundary=national], |
---|
4359 | node[boundary=administrative], |
---|
4360 | node[boundary=postal_code], |
---|
4361 | node[boundary=political], |
---|
4362 | node[boundary=national_park] { |
---|
4363 | icon-image: "presets/misc/deprecated.svg"; |
---|
4364 | set icon_z17; |
---|
4365 | } |
---|
4366 | |
---|
4367 | /******************/ |
---|
4368 | /* maxspeed nodes */ |
---|
4369 | /******************/ |
---|
4370 | node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] { |
---|
4371 | icon-image: "presets/vehicle/restriction/maxspeed_none.svg"; |
---|
4372 | set icon_z17; |
---|
4373 | } |
---|
4374 | node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] { |
---|
4375 | maxspeedprop: tag(maxspeed); |
---|
4376 | set maxspeedclass; |
---|
4377 | } |
---|
4378 | node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] { |
---|
4379 | maxspeedprop: " ?"; |
---|
4380 | set maxspeedclass; |
---|
4381 | } |
---|
4382 | node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] { |
---|
4383 | maxspeedprop: get(split(" mph",tag(maxspeed)),0); |
---|
4384 | set maxspeedclass; |
---|
4385 | } |
---|
4386 | node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] { |
---|
4387 | maxspeedprop: get(split(" km/h",tag(maxspeed)),0); |
---|
4388 | set maxspeedclass; |
---|
4389 | } |
---|
4390 | node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] { |
---|
4391 | maxspeedprop: get(split(" knots",tag(maxspeed)),0); |
---|
4392 | set maxspeedclass; |
---|
4393 | } |
---|
4394 | node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg { |
---|
4395 | /* background (white) */ |
---|
4396 | symbol-shape: circle; |
---|
4397 | symbol-size: 17; |
---|
4398 | symbol-fill-color: white; |
---|
4399 | major-z-index: 4.2; |
---|
4400 | } |
---|
4401 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg, |
---|
4402 | node[traffic_sign][maxspeed=signals]::core_maxnodebg { |
---|
4403 | /* background (black) */ |
---|
4404 | symbol-fill-color: black; |
---|
4405 | } |
---|
4406 | node[prop(maxspeedclass, default)]::core_maxnodefg { |
---|
4407 | /* foreground (black text and red circle) */ |
---|
4408 | symbol-shape: circle; |
---|
4409 | symbol-size: 15; |
---|
4410 | symbol-stroke-color: crimson; |
---|
4411 | symbol-stroke-width: 2; |
---|
4412 | text: prop(maxspeedprop, default); |
---|
4413 | font-size: 8; |
---|
4414 | font-weight: bold; |
---|
4415 | text-color: black; |
---|
4416 | text-anchor-horizontal: center; |
---|
4417 | text-anchor-vertical: center; |
---|
4418 | text-offset-x: 0; |
---|
4419 | text-offset-y: -1; |
---|
4420 | major-z-index: 4.2; |
---|
4421 | } |
---|
4422 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg, |
---|
4423 | node[traffic_sign][maxspeed=signals]::core_maxnodefg { |
---|
4424 | /* foreground (white text) */ |
---|
4425 | text-color: white; |
---|
4426 | } |
---|
4427 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg { |
---|
4428 | symbol-shape: none; |
---|
4429 | } |
---|
4430 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg { |
---|
4431 | text: none; |
---|
4432 | symbol-shape: none; |
---|
4433 | } |
---|
4434 | |
---|
4435 | /**************/ |
---|
4436 | /* place tags */ |
---|
4437 | /**************/ |
---|
4438 | |
---|
4439 | area[setting("place_fill_colour")][place=continent], |
---|
4440 | area[setting("place_fill_colour")][place=country], |
---|
4441 | area[setting("place_fill_colour")][place=state], |
---|
4442 | area[setting("place_fill_colour")][place=region], |
---|
4443 | area[setting("place_fill_colour")][place=county], |
---|
4444 | area[setting("place_fill_colour")][place=city], |
---|
4445 | area[setting("place_fill_colour")][place=town], |
---|
4446 | area[setting("place_fill_colour")][place=village], |
---|
4447 | area[setting("place_fill_colour")][place=hamlet], |
---|
4448 | area[setting("place_fill_colour")][place=farm], |
---|
4449 | area[setting("place_fill_colour")][place=isolated_dwelling], |
---|
4450 | area[setting("place_fill_colour")][place=neighbourhood], |
---|
4451 | area[setting("place_fill_colour")][place=suburb], |
---|
4452 | area[setting("place_fill_colour")][place=locality], |
---|
4453 | area[setting("place_fill_colour")][place=island], |
---|
4454 | area[setting("place_fill_colour")][place=islet] { |
---|
4455 | fill-color: place#8de3cb; |
---|
4456 | set place; |
---|
4457 | } |
---|
4458 | node[place=continent], |
---|
4459 | node[place=country], |
---|
4460 | node[place=state], |
---|
4461 | node[place=region], |
---|
4462 | node[place=county], |
---|
4463 | node[place=city], |
---|
4464 | node[place=town], |
---|
4465 | node[place=suburb], |
---|
4466 | node[place=village], |
---|
4467 | node[place=neighbourhood], |
---|
4468 | node[place=hamlet], |
---|
4469 | node[place=isolated_dwelling], |
---|
4470 | node[place=farm], |
---|
4471 | node[place=island], |
---|
4472 | node[place=islet] { |
---|
4473 | set icon_z0; |
---|
4474 | set text_z0; |
---|
4475 | font-weight: bold; |
---|
4476 | text-color:black; |
---|
4477 | text-halo-color: white; |
---|
4478 | text-halo-radius: 1; |
---|
4479 | set place; |
---|
4480 | } |
---|
4481 | |
---|
4482 | node[place=continent], |
---|
4483 | node[place=country], |
---|
4484 | node[place=state], |
---|
4485 | node[place=region], |
---|
4486 | node[place=county] { |
---|
4487 | icon-image: "presets/place/capital.svg"; |
---|
4488 | z-index: 2.9; |
---|
4489 | } |
---|
4490 | node[place=city] { |
---|
4491 | icon-image: "presets/place/city.svg"; |
---|
4492 | z-index: 2.8; |
---|
4493 | } |
---|
4494 | node[place=town] { |
---|
4495 | icon-image: "presets/place/town.svg"; |
---|
4496 | z-index: 2.7; |
---|
4497 | } |
---|
4498 | node[place=suburb] { |
---|
4499 | icon-image: "presets/place/suburb.svg"; |
---|
4500 | z-index: 2.6; |
---|
4501 | } |
---|
4502 | node[place=village] { |
---|
4503 | icon-image: "presets/place/village.svg"; |
---|
4504 | z-index: 2.5; |
---|
4505 | } |
---|
4506 | node[place=neighbourhood] { |
---|
4507 | icon-image: "presets/place/neighbourhood.svg"; |
---|
4508 | z-index: 2.4; |
---|
4509 | } |
---|
4510 | node[place=hamlet] { |
---|
4511 | icon-image: "presets/place/hamlet.svg"; |
---|
4512 | z-index: 2.3; |
---|
4513 | } |
---|
4514 | node[place=isolated_dwelling] { |
---|
4515 | icon-image: "presets/place/isolated_dwelling.svg"; |
---|
4516 | z-index: 2.2; |
---|
4517 | } |
---|
4518 | node[place=farm] { |
---|
4519 | icon-image: "presets/place/farm.svg"; |
---|
4520 | z-index: 2.1; |
---|
4521 | } |
---|
4522 | node|z15-[place=locality], |
---|
4523 | node|z-14[place=locality][!setting("hide_icons")] { |
---|
4524 | icon-image: "presets/place/locality.svg"; |
---|
4525 | font-weight: bold; |
---|
4526 | text-color:black; |
---|
4527 | text-halo-color: white; |
---|
4528 | text-halo-radius: 1; |
---|
4529 | } |
---|
4530 | node[place=island] { |
---|
4531 | icon-image: "presets/place/island.svg"; |
---|
4532 | } |
---|
4533 | node[place=islet] { |
---|
4534 | icon-image: "presets/place/islet.svg"; |
---|
4535 | } |
---|
4536 | |
---|
4537 | /***************************/ |
---|
4538 | /* "work in progress" tags */ |
---|
4539 | /***************************/ |
---|
4540 | |
---|
4541 | node|z16-[fixme]::core_note_fixme, |
---|
4542 | node|z-15[fixme][!setting("hide_icons")]::core_note_fixme, |
---|
4543 | node|z16-[FIXME]::core_note_fixme, |
---|
4544 | node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme { |
---|
4545 | object-z-index: 10; |
---|
4546 | icon-image: "presets/misc/fixme_annotation.svg"; |
---|
4547 | } |
---|
4548 | node|z16-[note]::core_note_fixme, |
---|
4549 | node|z-15[note][!setting("hide_icons")]::core_note_fixme { |
---|
4550 | object-z-index: 10; |
---|
4551 | icon-image: "presets/misc/note_annotation.svg"; |
---|
4552 | } |
---|
4553 | node|z16-[note][fixme]::core_note_fixme, |
---|
4554 | node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme, |
---|
4555 | node|z16-[note][FIXME]::core_note_fixme, |
---|
4556 | node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme { |
---|
4557 | icon-image: "presets/misc/note_fixme_annotation.svg"; |
---|
4558 | } |
---|
4559 | |
---|
4560 | /* special display of unreviewed tiger data (USA) */ |
---|
4561 | way["tiger:reviewed"=no]::core_tiger { |
---|
4562 | major-z-index: -10; |
---|
4563 | width: 11; |
---|
4564 | color: tiger_data#808000; |
---|
4565 | opacity: 0.6; |
---|
4566 | } |
---|
4567 | |
---|
4568 | /****************************************/ |
---|
4569 | /* zoom levels and general node display */ |
---|
4570 | /****************************************/ |
---|
4571 | |
---|
4572 | /* |
---|
4573 | Summary of different zoom levels: |
---|
4574 | (any zoom) place=* (except locality) and a few natural icons with their text is shown |
---|
4575 | |z-15 untagged way nodes are hidden completely |
---|
4576 | |z15 place=locality icon |
---|
4577 | |z16- fixme=* and note=* symbols; place=locality text |
---|
4578 | |z17- normal POI icons (without text), |
---|
4579 | street name along highway=* ways |
---|
4580 | |z18- text for normal POI icons is shown |
---|
4581 | |
---|
4582 | * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller |
---|
4583 | * maxspeed icons should not be distinguishable from POIs with "icon-image" property |
---|
4584 | |
---|
4585 | */ |
---|
4586 | |
---|
4587 | node|z-16[setting("hide_icons")], |
---|
4588 | node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass, |
---|
4589 | node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass { |
---|
4590 | symbol-size: 2; |
---|
4591 | symbol-shape: square; |
---|
4592 | symbol-stroke-color: node_standard#ffff00; |
---|
4593 | major-z-index: 4.95; /* put node squares above line text */ |
---|
4594 | } |
---|
4595 | way > node|z-15[setting("shrink_nodes")]!:tagged { |
---|
4596 | symbol-shape: none; |
---|
4597 | } |
---|
4598 | node:connection { |
---|
4599 | symbol-stroke-color: node_connection#ffff00; |
---|
4600 | } |
---|
4601 | node:tagged { |
---|
4602 | symbol-stroke-color: none; |
---|
4603 | symbol-fill-color: node_tagged#00ffff; |
---|
4604 | } |
---|
4605 | |
---|
4606 | way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; } |
---|
4607 | |
---|
4608 | node|z17[setting("shrink_nodes")] { symbol-size: 4; } |
---|
4609 | way > node|z17[setting("shrink_nodes")] { symbol-size: 2; } |
---|
4610 | node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; } |
---|
4611 | |
---|
4612 | node|z18[setting("shrink_nodes")] { symbol-size: 4; } |
---|
4613 | way > node|z18[setting("shrink_nodes")] { symbol-size: 3; } |
---|
4614 | node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; } |
---|
4615 | |
---|
4616 | node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
---|
4617 | way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
---|
4618 | node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; } |
---|
4619 | |
---|
4620 | node[!setting("shrink_nodes")] { symbol-size: 4; } |
---|
4621 | way > node[!setting("shrink_nodes")] { symbol-size: 4; } |
---|
4622 | node[!setting("shrink_nodes")]:connection { symbol-size: 6; } |
---|
4623 | |
---|
4624 | node:selected { |
---|
4625 | symbol-shape: square; |
---|
4626 | symbol-size: 6; |
---|
4627 | symbol-fill-color: node_selected#ff0000; |
---|
4628 | symbol-stroke-color: node_selected#ff0000; |
---|
4629 | } |
---|
4630 | |
---|
4631 | node|z-16[setting("hide_icons")].icon_z17!.icon_z0, |
---|
4632 | relation|z-16[type=restriction][setting("hide_icons")] { |
---|
4633 | icon-image: none; |
---|
4634 | } |
---|
4635 | node|z-17[setting("hide_icons")]!.text_z0 { |
---|
4636 | text: none; |
---|
4637 | } |
---|
4638 | node|z16-17[setting("hide_icons")][place=locality] { |
---|
4639 | text: auto; |
---|
4640 | } |
---|
4641 | |
---|
4642 | node|z-18,area|z-18 { font-size: 8; } |
---|
4643 | node|z19,area|z19 { font-size: 9; } |
---|
4644 | node|z20-,area|z20- { font-size: 11; } |
---|
4645 | |
---|
4646 | node.place, way.place, area.place { font-size: 11; } |
---|
4647 | |
---|
4648 | |
---|
4649 | /*******************/ |
---|
4650 | /* way text labels */ |
---|
4651 | /*******************/ |
---|
4652 | |
---|
4653 | way|z17-[highway^=motorway][setting("highway_labels")], |
---|
4654 | way|z17-[highway^=trunk][setting("highway_labels")], |
---|
4655 | way|z17-[highway^=primary][setting("highway_labels")], |
---|
4656 | way|z17-[highway^=secondary][setting("highway_labels")], |
---|
4657 | way|z17-[highway^=tertiary][setting("highway_labels")], |
---|
4658 | way|z17-[highway=unclassified][setting("highway_labels")], |
---|
4659 | way|z17-[highway=residential][setting("highway_labels")], |
---|
4660 | way|z17-[highway=living_street][setting("highway_labels")], |
---|
4661 | way|z17-[highway=escape][setting("highway_labels")], |
---|
4662 | way|z17-[highway=pedestrian][!area?][setting("highway_labels")], |
---|
4663 | way|z17-[highway=steps][setting("highway_labels")], |
---|
4664 | way|z17-[highway=footway][setting("highway_labels")], |
---|
4665 | way|z17-[highway=path][setting("highway_labels")], |
---|
4666 | way|z17-[highway=service][setting("highway_labels")], |
---|
4667 | way|z17-[highway=track][setting("highway_labels")], |
---|
4668 | way|z17-[highway=cycleway][setting("highway_labels")], |
---|
4669 | way|z17-[highway=bridleway][setting("highway_labels")], |
---|
4670 | way|z17-[highway=bus_guideway][setting("highway_labels")], |
---|
4671 | way|z17-[highway=raceway][setting("highway_labels")], |
---|
4672 | way|z17-[highway=construction][setting("highway_labels")], |
---|
4673 | way|z17-[highway=road][setting("highway_labels")] { |
---|
4674 | text: auto; |
---|
4675 | text-color: black; |
---|
4676 | font-size: 9; |
---|
4677 | text-position: line; |
---|
4678 | text-halo-opacity: 1; |
---|
4679 | text-halo-radius: 1.5; |
---|
4680 | } |
---|
4681 | way|z17-[highway^=motorway][setting("highway_labels")] { |
---|
4682 | text-halo-color: motorway#809bc0; |
---|
4683 | } |
---|
4684 | way|z17-[highway^=trunk][setting("highway_labels")] { |
---|
4685 | text-halo-color: trunk#7fc97f; |
---|
4686 | } |
---|
4687 | way|z17-[highway^=primary][setting("highway_labels")] { |
---|
4688 | text-halo-color: primary#fb805f; |
---|
4689 | } |
---|
4690 | way|z17-[highway^=secondary][setting("highway_labels")] { |
---|
4691 | text-halo-color: secondary#fdbf6f; |
---|
4692 | } |
---|
4693 | way|z17-[highway^=tertiary][setting("highway_labels")] { |
---|
4694 | text-halo-color: tertiary#f7f496; |
---|
4695 | } |
---|
4696 | way|z17-[highway=unclassified][setting("highway_labels")], |
---|
4697 | way|z17-[highway=residential][setting("highway_labels")], |
---|
4698 | way|z17-[highway=living_street][setting("highway_labels")], |
---|
4699 | way|z17-[highway=escape][setting("highway_labels")] { |
---|
4700 | text-halo-color: street#c0c0c0; |
---|
4701 | } |
---|
4702 | way|z17-[highway=pedestrian][!area?][setting("highway_labels")], |
---|
4703 | way|z17-[highway=steps][setting("highway_labels")], |
---|
4704 | way|z17-[highway=footway][setting("highway_labels")], |
---|
4705 | way|z17-[highway=path][setting("highway_labels")] { |
---|
4706 | text-halo-color: foot#00ff00; |
---|
4707 | } |
---|
4708 | way|z17-[highway=service][setting("highway_labels")] { |
---|
4709 | text-halo-color: service#809bc0; |
---|
4710 | } |
---|
4711 | way|z17-[highway=track][setting("highway_labels")] { |
---|
4712 | text-halo-color: highway_track#6e541c; |
---|
4713 | } |
---|
4714 | way|z17-[highway=cycleway][setting("highway_labels")], |
---|
4715 | way|z17-[highway=path][setting("highway_labels")].cyclecolor { |
---|
4716 | text-halo-color: bicycle#b100ff; |
---|
4717 | } |
---|
4718 | way|z17-[highway=bridleway][setting("highway_labels")] { |
---|
4719 | text-halo-color: horse#a18559; |
---|
4720 | } |
---|
4721 | way|z17-[highway=bus_guideway][setting("highway_labels")] { |
---|
4722 | text-halo-color: rail#404040; |
---|
4723 | } |
---|
4724 | way|z17-[highway=raceway][setting("highway_labels")] { |
---|
4725 | text-halo-color: raceway#ff80ff; |
---|
4726 | } |
---|
4727 | way|z17-[highway=construction][setting("highway_labels")] { |
---|
4728 | text-halo-color: construction#ffff00; |
---|
4729 | } |
---|
4730 | way|z17-[highway=road][setting("highway_labels")] { |
---|
4731 | text-halo-color: highway_road#770000; |
---|
4732 | } |
---|
4733 | way|z17-[highway][railway=platform][setting("highway_labels")] { |
---|
4734 | text-halo-color: rail#404040; |
---|
4735 | } |
---|
4736 | way|z17-[highway][public_transport=platform][setting("highway_labels")] { |
---|
4737 | text-halo-color: service#809bc0; |
---|
4738 | } |
---|
4739 | way|z18[highway][setting("highway_labels")] { |
---|
4740 | font-size: 10; |
---|
4741 | } |
---|
4742 | way|z19[highway][setting("highway_labels")] { |
---|
4743 | font-size: 11; |
---|
4744 | } |
---|
4745 | way|z20-[highway][setting("highway_labels")] { |
---|
4746 | font-size: 12; |
---|
4747 | } |
---|
4748 | |
---|
4749 | /*************/ |
---|
4750 | /* Area fill */ |
---|
4751 | /*************/ |
---|
4752 | |
---|
4753 | /* small extent for unclosed area (see below for closed) */ |
---|
4754 | area[setting("partial_fill")] { |
---|
4755 | fill-extent: 15; |
---|
4756 | } |
---|
4757 | |
---|
4758 | /* Turn partial fill off and use plain fill, when the partial fill covers about |
---|
4759 | 100% of the area. This reduces artifacts (typically for incomplete multipolygons). |
---|
4760 | Switching between full and partial fill while drawing an area might be irritating, |
---|
4761 | so only do this at low zoom. */ |
---|
4762 | area|z-13[setting("partial_fill")] { |
---|
4763 | fill-extent-threshold: 1.0; |
---|
4764 | } |
---|
4765 | |
---|
4766 | /* Larger extent for closed areas. |
---|
4767 | Turn partial fill off, when it covers more than about 50% of the area. This avoids |
---|
4768 | areas with small unfilled patches in the center. */ |
---|
4769 | area[setting("partial_fill")]:closed2 { |
---|
4770 | fill-extent: 25; |
---|
4771 | fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5); |
---|
4772 | } |
---|
4773 | |
---|