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

Last change on this file since 19256 was 19256, checked in by taylor.smock, 8 days ago

Add/ignore popular tags

Add:

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