source: josm/trunk/resources/styles/standard/elemstyles.mapcss@ 18641

Last change on this file since 18641 was 18627, checked in by Klumbumbus, 2 years ago

fix #22574 - Add amenity=animal_breeding (icon from https://freesvg.org/colt-and-a-mother-vector-illustration, modified by Hufkratzer; PD and CC0 licensed)

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