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

Last change on this file was 19193, checked in by taylor.smock, 6 weeks ago

Add/ignore documented popular tags

Add

  • Property svn:eol-style set to native
File size: 146.5 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}
2373way[advertising=billboard],
2374way[advertising=poster_box] {
2375 width: 2;
2376 color: advertising#880000;
2377}
2378
2379/*************/
2380/* shop tags */
2381/*************/
2382
2383area[shop=supermarket],
2384area[shop=convenience],
2385area[shop=bakery],
2386area[shop=butcher],
2387area[shop=bicycle],
2388area[shop=doityourself],
2389area[shop=dry_cleaning],
2390area[shop=laundry],
2391area[shop=outdoor],
2392area[shop=kiosk],
2393area[shop=alcohol],
2394area[shop=beverages],
2395area[shop=books],
2396area[shop=boutique],
2397area[shop=car],
2398area[shop=car_repair],
2399area[shop=tyres],
2400area[shop=chemist],
2401area[shop=tobacco],
2402area[shop=e-cigarette],
2403area[shop=clothes],
2404area[shop=computer],
2405area[shop=confectionery],
2406area[shop=chocolate],
2407area[shop=pastry],
2408area[shop=copyshop],
2409area[shop=craft],
2410area[shop=curtain],
2411area[shop=cycle_repair],
2412area[shop=department_store],
2413area[shop=deli],
2414area[shop=doors],
2415area[shop=electronics],
2416area[shop=erotic],
2417area[shop=furniture],
2418area[shop=fabric],
2419area[shop=florist],
2420area[shop=frame],
2421area[shop=gas],
2422area[shop=general],
2423area[shop=gift],
2424area[shop=greengrocer],
2425area[shop=garden_centre],
2426area[shop=hairdresser],
2427area[shop=hardware],
2428area[shop=hearing_aids],
2429area[shop=hifi],
2430area[shop=houseware],
2431area[shop=pottery],
2432area[shop=jewelry],
2433area[shop=kitchen],
2434area[shop=mall],
2435area[shop=massage],
2436area[shop=mobile_phone],
2437area[shop=watches],
2438area[shop=motorcycle],
2439area[shop=musical_instrument],
2440area[shop=newsagent],
2441area[shop=optician],
2442area[shop=medical_supply],
2443area[shop=paint],
2444area[shop=party],
2445area[shop=pawnbroker],
2446area[shop=seafood],
2447area[shop=dairy],
2448area[shop=cheese],
2449area[shop=shoes],
2450area[shop=sports],
2451area[shop=stationery],
2452area[shop=tailor],
2453area[shop=travel_agency],
2454area[shop=scuba_diving],
2455area[shop=fishing],
2456area[shop=toys],
2457area[shop=vacuum_cleaner],
2458area[shop=variety_store],
2459area[shop=charity],
2460area[shop=second_hand],
2461area[shop=video],
2462area[shop=bookmaker],
2463area[shop=lottery],
2464area[shop=pet],
2465area[shop=pet_grooming],
2466area[shop=photo],
2467area[shop=ticket],
2468area[shop=carpet],
2469area[shop=interior_decoration],
2470area[shop=car_parts],
2471area[shop=video_games],
2472area[shop=bed],
2473area[shop=beauty],
2474area[shop=cosmetics],
2475area[shop=perfumery],
2476area[shop=herbalist],
2477area[shop=tea],
2478area[shop=coffee],
2479area[shop=frozen_food],
2480area[shop=antiques],
2481area[shop=swimming_pool],
2482area[shop=storage_rental],
2483area[shop=music],
2484area[shop=weapons],
2485area[shop=funeral_directors],
2486area[shop=agrarian],
2487area[shop=wine],
2488area[shop=farm],
2489area[shop=tattoo],
2490area[shop=art],
2491area[shop=lighting],
2492area[shop=security],
2493area[shop=wholesale],
2494area[shop=trade],
2495area[shop=bag] {
2496 fill-color: shop#00005f;
2497}
2498node[shop=supermarket] {
2499 icon-image: "presets/shop/supermarket.svg";
2500 set icon_z17;
2501}
2502node[shop=convenience] {
2503 icon-image: "presets/shop/convenience.svg";
2504 set icon_z17;
2505}
2506node[shop=bakery] {
2507 icon-image: "presets/shop/groceries/bakery.svg";
2508 set icon_z17;
2509}
2510node[shop=butcher] {
2511 icon-image: "presets/shop/groceries/butcher.svg";
2512 set icon_z17;
2513}
2514node[shop=bicycle] {
2515 icon-image: "presets/shop/bicycle.svg";
2516 set icon_z17;
2517}
2518node[shop=doityourself] {
2519 icon-image: "presets/shop/diy_store.svg";
2520 set icon_z17;
2521}
2522node[shop=dry_cleaning],
2523node[shop=laundry] {
2524 icon-image: "presets/shop/laundry.svg";
2525 set icon_z17;
2526}
2527node[shop=outdoor] {
2528 icon-image: "presets/shop/outdoor.svg";
2529 set icon_z17;
2530}
2531node[shop=kiosk] {
2532 icon-image: "presets/shop/kiosk.svg";
2533 set icon_z17;
2534}
2535node[shop=beverages] {
2536 icon-image: "presets/shop/beverages.svg";
2537 set icon_z17;
2538}
2539node[shop=alcohol] {
2540 icon-image: "presets/shop/alcohol.svg";
2541 set icon_z17;
2542}
2543node[shop=books] {
2544 icon-image: "presets/shop/book.svg";
2545 set icon_z17;
2546}
2547node[shop=boutique] {
2548 icon-image: "presets/shop/boutique.svg";
2549 set icon_z17;
2550}
2551node[shop=car] {
2552 icon-image: "presets/shop/vehicle.svg";
2553 set icon_z17;
2554}
2555node[shop=car_repair] {
2556 icon-image: "presets/vehicle/repair_shop.svg";
2557 set icon_z17;
2558}
2559node[shop=tyres] {
2560 icon-image: "presets/vehicle/tyres.svg";
2561 set icon_z17;
2562}
2563node[shop=chemist] {
2564 icon-image: "presets/shop/chemist.svg";
2565 set icon_z17;
2566}
2567node[shop=tobacco] {
2568 icon-image: "presets/shop/tobacco.svg";
2569 set icon_z17;
2570}
2571node[shop=e-cigarette] {
2572 icon-image: "presets/shop/e-cigarette.svg";
2573 set icon_z17;
2574}
2575node[shop=clothes] {
2576 icon-image: "presets/shop/clothes.svg";
2577 set icon_z17;
2578}
2579node[shop=computer] {
2580 icon-image: "presets/shop/computer.svg";
2581 set icon_z17;
2582}
2583node[shop=confectionery] {
2584 icon-image: "presets/shop/groceries/confectionery.svg";
2585 set icon_z17;
2586}
2587node[shop=chocolate] {
2588 icon-image: "presets/shop/groceries/chocolate.svg";
2589 set icon_z17;
2590}
2591node[shop=pastry] {
2592 icon-image: "presets/shop/groceries/pastry.svg";
2593 set icon_z17;
2594}
2595node[shop=copyshop] {
2596 icon-image: "presets/shop/copyshop.svg";
2597 set icon_z17;
2598}
2599node[shop=craft] {
2600 icon-image: "presets/shop/craft.svg";
2601 set icon_z17;
2602}
2603node[shop=curtain] {
2604 icon-image: "presets/shop/curtain.svg";
2605 set icon_z17;
2606}
2607node[shop=cycle_repair] {
2608 icon-image: "presets/shop/bicycle.svg";
2609 set icon_z17;
2610}
2611node[shop=department_store] {
2612 icon-image: "presets/shop/mall.svg";
2613 set icon_z17;
2614}
2615node[shop=deli] {
2616 icon-image: "presets/shop/groceries/deli.svg";
2617 set icon_z17;
2618}
2619node[shop=doors] {
2620 icon-image: "presets/shop/doors.svg";
2621 set icon_z17;
2622}
2623node[shop=electronics] {
2624 icon-image: "presets/shop/electronics.svg";
2625 set icon_z17;
2626}
2627node[shop=erotic] {
2628 icon-image: "presets/shop/erotic.svg";
2629 set icon_z17;
2630}
2631node[shop=furniture] {
2632 icon-image: "presets/shop/furniture.svg";
2633 set icon_z17;
2634}
2635node[shop=fabric] {
2636 icon-image: "presets/shop/fabric.svg";
2637 set icon_z17;
2638}
2639node[shop=florist] {
2640 icon-image: "presets/shop/florist.svg";
2641 set icon_z17;
2642}
2643node[shop=frame] {
2644 icon-image: "presets/shop/frame.svg";
2645 set icon_z17;
2646}
2647node[shop=gas] {
2648 icon-image: "presets/shop/gas.svg";
2649 set icon_z17;
2650}
2651node[shop=general] {
2652 icon-image: "presets/shop/mall.svg";
2653 set icon_z17;
2654}
2655node[shop=gift] {
2656 icon-image: "presets/shop/present.svg";
2657 set icon_z17;
2658}
2659node[shop=greengrocer] {
2660 icon-image: "presets/shop/groceries/greengrocer.svg";
2661 set icon_z17;
2662}
2663node[shop=garden_centre] {
2664 icon-image: "presets/shop/garden_centre.svg";
2665 set icon_z17;
2666}
2667node[shop=hairdresser] {
2668 icon-image: "presets/shop/hairdresser.svg";
2669 set icon_z17;
2670}
2671node[shop=hardware] {
2672 icon-image: "presets/shop/hardware.svg";
2673 set icon_z17;
2674}
2675node[shop=hearing_aids] {
2676 icon-image: "presets/shop/hearing_aids.svg";
2677 set icon_z17;
2678}
2679node[shop=hifi] {
2680 icon-image: "presets/shop/hifi.svg";
2681 set icon_z17;
2682}
2683node[shop=houseware] {
2684 icon-image: "presets/shop/houseware.svg";
2685 set icon_z17;
2686}
2687node[shop=pottery] {
2688 icon-image: "presets/shop/pottery.svg";
2689 set icon_z17;
2690}
2691node[shop=jewelry] {
2692 icon-image: "presets/shop/jewelry.svg";
2693 set icon_z17;
2694}
2695node[shop=kitchen] {
2696 icon-image: "presets/shop/kitchen.svg";
2697 set icon_z17;
2698}
2699node[shop=mall] {
2700 icon-image: "presets/shop/mall.svg";
2701 set icon_z17;
2702}
2703node[shop=massage] {
2704 icon-image: "presets/shop/massage.svg";
2705 set icon_z17;
2706}
2707node[shop=mobile_phone] {
2708 icon-image: "presets/shop/mobile_phone.svg";
2709 set icon_z17;
2710}
2711node[shop=watches] {
2712 icon-image: "presets/shop/watches.svg";
2713 set icon_z17;
2714}
2715node[shop=motorcycle] {
2716 icon-image: "presets/vehicle/motorbike.svg";
2717 set icon_z17;
2718}
2719node[shop=musical_instrument] {
2720 icon-image: "presets/shop/musical_instrument.svg";
2721 set icon_z17;
2722}
2723node[shop=newsagent] {
2724 icon-image: "presets/shop/news.svg";
2725 set icon_z17;
2726}
2727node[shop=optician] {
2728 icon-image: "presets/shop/optician.svg";
2729 set icon_z17;
2730}
2731node[shop=medical_supply] {
2732 icon-image: "presets/shop/medical_supply.svg";
2733 set icon_z17;
2734}
2735node[shop=paint] {
2736 icon-image: "presets/shop/paint.svg";
2737 set icon_z17;
2738}
2739node[shop=party] {
2740 icon-image: "presets/shop/party.svg";
2741 set icon_z17;
2742}
2743node[shop=pawnbroker] {
2744 icon-image: "presets/shop/pawnbroker.svg";
2745 set icon_z17;
2746}
2747node[shop=seafood] {
2748 icon-image: "presets/shop/groceries/seafood.svg";
2749 set icon_z17;
2750}
2751node[shop=dairy] {
2752 icon-image: "presets/shop/groceries/dairy.svg";
2753 set icon_z17;
2754}
2755node[shop=cheese] {
2756 icon-image: "presets/shop/groceries/cheese.svg";
2757 set icon_z17;
2758}
2759node[shop=shoes] {
2760 icon-image: "presets/shop/shoes.svg";
2761 set icon_z17;
2762}
2763node[shop=sports] {
2764 icon-image: "presets/sport/multi.svg";
2765 set icon_z17;
2766}
2767node[shop=stationery] {
2768 icon-image: "presets/shop/stationery.svg";
2769 set icon_z17;
2770}
2771node[shop=tailor] {
2772 icon-image: "presets/shop/tailor.svg";
2773 set icon_z17;
2774}
2775node[shop=travel_agency] {
2776 icon-image: "presets/shop/travel_agency.svg";
2777 set icon_z17;
2778}
2779node[shop=scuba_diving] {
2780 icon-image: "presets/shop/scuba_diving.svg";
2781 set icon_z17;
2782}
2783node[shop=fishing] {
2784 icon-image: "presets/shop/fishing.svg";
2785 set icon_z17;
2786}
2787node[shop=toys] {
2788 icon-image: "presets/shop/toys.svg";
2789 set icon_z17;
2790}
2791node[shop=vacuum_cleaner] {
2792 icon-image: "presets/shop/vacuum_cleaner.svg";
2793 set icon_z17;
2794}
2795node[shop=variety_store] {
2796 icon-image: "presets/shop/variety_store.svg";
2797 set icon_z17;
2798}
2799node[shop=charity] {
2800 icon-image: "presets/shop/charity.svg";
2801 set icon_z17;
2802}
2803node[shop=second_hand] {
2804 icon-image: "presets/shop/second_hand.svg";
2805 set icon_z17;
2806}
2807node[shop=video] {
2808 icon-image: "presets/shop/video.svg";
2809 set icon_z17;
2810}
2811node[shop=bookmaker] {
2812 icon-image: "presets/shop/lottery.svg";
2813 set icon_z17;
2814}
2815node[shop=lottery] {
2816 icon-image: "presets/shop/lottery.svg";
2817 set icon_z17;
2818}
2819node[shop=pet] {
2820 icon-image: "presets/shop/pet.svg";
2821 set icon_z17;
2822}
2823node[shop=pet_grooming] {
2824 icon-image: "presets/shop/pet_grooming.svg";
2825 set icon_z17;
2826}
2827node[shop=photo] {
2828 icon-image: "presets/shop/photo.svg";
2829 set icon_z17;
2830}
2831node[shop=ticket] {
2832 icon-image: "presets/shop/ticket.svg";
2833 set icon_z17;
2834}
2835node[shop=carpet] {
2836 icon-image: "presets/shop/carpet.svg";
2837 set icon_z17;
2838}
2839node[shop=interior_decoration] {
2840 icon-image: "presets/shop/interior_decoration.svg";
2841 set icon_z17;
2842}
2843node[shop=car_parts] {
2844 icon-image: "presets/vehicle/car_parts.svg";
2845 set icon_z17;
2846}
2847node[shop=video_games] {
2848 icon-image: "presets/shop/video_games.svg";
2849 set icon_z17;
2850}
2851node[shop=bed] {
2852 icon-image: "presets/shop/bed.svg";
2853 set icon_z17;
2854}
2855node[shop=beauty] {
2856 icon-image: "presets/shop/beauty.svg";
2857 set icon_z17;
2858}
2859node[shop=cosmetics] {
2860 icon-image: "presets/shop/cosmetics.svg";
2861 set icon_z17;
2862}
2863node[shop=perfumery] {
2864 icon-image: "presets/shop/perfumery.svg";
2865 set icon_z17;
2866}
2867node[shop=herbalist] {
2868 icon-image: "presets/shop/groceries/herbalist.svg";
2869 set icon_z17;
2870}
2871node[shop=tea] {
2872 icon-image: "presets/shop/groceries/tea.svg";
2873 set icon_z17;
2874}
2875node[shop=coffee] {
2876 icon-image: "presets/shop/groceries/coffee.svg";
2877 set icon_z17;
2878}
2879node[shop=frozen_food] {
2880 icon-image: "presets/shop/groceries/frozen_food.svg";
2881 set icon_z17;
2882}
2883node[shop=antiques] {
2884 icon-image: "presets/shop/antique.svg";
2885 set icon_z17;
2886}
2887node[shop=swimming_pool] {
2888 icon-image: "presets/shop/swimming_pool.svg";
2889 set icon_z17;
2890}
2891node[shop=storage_rental] {
2892 icon-image: "presets/shop/storage_rental.svg";
2893 set icon_z17;
2894}
2895node[shop=music] {
2896 icon-image: "presets/shop/music.svg";
2897 set icon_z17;
2898}
2899node[shop=weapons] {
2900 icon-image: "presets/shop/weapons.svg";
2901 set icon_z17;
2902}
2903node[shop=funeral_directors] {
2904 icon-image: "presets/shop/funeral_directors.svg";
2905 set icon_z17;
2906}
2907node[shop=agrarian] {
2908 icon-image: "presets/shop/agrarian.svg";
2909 set icon_z17;
2910}
2911node[shop=wine] {
2912 icon-image: "presets/shop/wine.svg";
2913 set icon_z17;
2914}
2915node[shop=farm] {
2916 icon-image: "presets/shop/groceries/farm.svg";
2917 set icon_z17;
2918}
2919node[shop=tattoo] {
2920 icon-image: "presets/shop/tattoo.svg";
2921 set icon_z17;
2922}
2923node[shop=art] {
2924 icon-image: "presets/shop/art.svg";
2925 set icon_z17;
2926}
2927node[shop=lighting] {
2928 icon-image: "presets/shop/lighting.svg";
2929 set icon_z17;
2930}
2931node[shop=security] {
2932 icon-image: "presets/shop/security.svg";
2933 set icon_z17;
2934}
2935node[shop=wholesale] {
2936 icon-image: "presets/shop/wholesale.svg";
2937 set icon_z17;
2938}
2939node[shop=trade] {
2940 icon-image: "presets/shop/trade.svg";
2941 set icon_z17;
2942}
2943node[shop=bag] {
2944 icon-image: "presets/shop/bag.svg";
2945 set icon_z17;
2946}
2947
2948/******************/
2949/* emergency tags */
2950/******************/
2951area[emergency=ambulance_station],
2952area[emergency=lifeguard],
2953area[emergency=water_tank] {
2954 fill-color: emergency#eeeeee;
2955}
2956node[emergency=ambulance_station] {
2957 icon-image: "presets/emergency/ambulance_station.svg";
2958 set icon_z17;
2959}
2960node[emergency=water_tank] {
2961 icon-image: "presets/emergency/water_tank.svg";
2962 set icon_z17;
2963}
2964node[emergency=suction_point] {
2965 icon-image: "presets/emergency/suction_point.svg";
2966 set icon_z17;
2967}
2968node[emergency=life_ring] {
2969 icon-image: "presets/emergency/life_ring.svg";
2970 set icon_z17;
2971}
2972node[emergency=lifeguard] {
2973 icon-image: "presets/emergency/lifeguard.svg";
2974 set icon_z17;
2975}
2976node[emergency=emergency_ward_entrance] {
2977 icon-image: "presets/emergency/emergency_ward_entrance.svg";
2978 set icon_z17;
2979}
2980node[emergency=phone] {
2981 icon-image: "presets/vehicle/emergency_phone.svg";
2982 set icon_z17;
2983}
2984node[emergency=defibrillator] {
2985 icon-image: "presets/emergency/aed.svg";
2986 set icon_z17;
2987}
2988node[emergency=fire_hydrant] {
2989 icon-image: "presets/service/fire_hydrant.svg";
2990 set icon_z17;
2991}
2992node[emergency=fire_extinguisher] {
2993 icon-image: "presets/emergency/fire_extinguisher.svg";
2994 set icon_z17;
2995}
2996node[emergency=fire_hose] {
2997 icon-image: "presets/emergency/fire_hose.svg";
2998 set icon_z17;
2999}
3000node[emergency=assembly_point] {
3001 icon-image: "presets/emergency/assembly_point.svg";
3002 set icon_z17;
3003}
3004node[emergency=siren] {
3005 icon-image: "presets/emergency/siren.svg";
3006 set icon_z17;
3007}
3008
3009/****************/
3010/* police tags */
3011/****************/
3012
3013area[police=barracks],
3014area[police=car_pound],
3015area[police=checkpoint],
3016area[police=detention],
3017area[police=naval_base],
3018area[police=offices],
3019area[police=range],
3020area[police=storage],
3021area[police=training_area],
3022area[police=yes] {
3023 fill-color: police#ecba52;
3024}
3025node[police=barracks],
3026node[police=car_pound],
3027node[police=checkpoint],
3028node[police=detention],
3029node[police=naval_base],
3030node[police=offices],
3031node[police=range],
3032node[police=storage],
3033node[police=training_node],
3034node[police=yes] {
3035 icon-image: "presets/service/police_non_public.svg";
3036 set icon_z17;
3037}
3038
3039/*******************/
3040/* healthcare tags */
3041/*******************/
3042
3043area[healthcare=laboratory] {
3044 fill-color: healthcare#3771c8;
3045}
3046node[healthcare=laboratory] {
3047 icon-image: "presets/health/laboratory.svg";
3048 set icon_z17;
3049}
3050
3051/****************/
3052/* amenity tags */
3053/****************/
3054
3055area[amenity=pub],
3056area[amenity=biergarten],
3057area[amenity=nightclub],
3058area[amenity=gambling],
3059area[amenity=stripclub],
3060area[amenity=casino],
3061area[amenity=brothel],
3062area[amenity=cafe],
3063area[amenity=restaurant],
3064area[amenity=food_court],
3065area[amenity=fast_food],
3066area[amenity=bar],
3067area[amenity=ice_cream] {
3068 fill-color: amenity#ecba52;
3069}
3070node[amenity=pub] {
3071 icon-image: "presets/food/pub.svg";
3072 set icon_z17;
3073}
3074node[amenity=biergarten] {
3075 icon-image: "presets/food/biergarten.svg";
3076 set icon_z17;
3077}
3078node[amenity=nightclub] {
3079 icon-image: "presets/leisure/nightclub.svg";
3080 set icon_z17;
3081}
3082node[amenity=gambling] {
3083 icon-image: "presets/leisure/gambling.svg";
3084 set icon_z17;
3085}
3086node[amenity=stripclub] {
3087 icon-image: "presets/leisure/stripclub.svg";
3088 set icon_z17;
3089}
3090node[amenity=casino] {
3091 icon-image: "presets/leisure/casino.svg";
3092 set icon_z17;
3093}
3094node[amenity=brothel] {
3095 icon-image: "presets/leisure/brothel.svg";
3096 set icon_z17;
3097}
3098node[amenity=cafe] {
3099 icon-image: "presets/food/cafe.svg";
3100 set icon_z17;
3101}
3102node[amenity=restaurant] {
3103 icon-image: "presets/food/restaurant.svg";
3104 set icon_z17;
3105}
3106node[amenity=food_court] {
3107 icon-image: "presets/food/food_court.svg";
3108 set icon_z17;
3109}
3110node[amenity=fast_food] {
3111 icon-image: "presets/food/fast_food.svg";
3112 set icon_z17;
3113}
3114node[amenity=bar] {
3115 icon-image: "presets/food/bar.svg";
3116 set icon_z17;
3117}
3118node[amenity=ice_cream] {
3119 icon-image: "presets/food/ice_cream.svg";
3120 set icon_z17;
3121}
3122area[amenity=bicycle_parking]:closed {
3123 fill-color: amenity_traffic#f7efb7;
3124}
3125way[amenity=bicycle_parking] {
3126 width: 2;
3127 color: amenity_traffic#f7efb7;
3128}
3129area[amenity=parking_space] {
3130 fill-color: parking_space#f7efb8;
3131}
3132area[amenity=trolley_bay] {
3133 fill-color: trolley_bay#b8d8f7;
3134}
3135area[amenity=parking],
3136area[amenity=motorcycle_parking],
3137area[amenity=bicycle_rental],
3138area[amenity=bicycle_repair_station],
3139area[amenity=bicycle_wash],
3140area[amenity=car_rental],
3141area[amenity=car_pooling],
3142area[amenity=car_sharing],
3143area[amenity=car_wash],
3144area[amenity=taxi],
3145area[amenity=fuel] {
3146 fill-color: amenity_traffic#f7efb7;
3147}
3148node[amenity=parking_space] {
3149 icon-image: "presets/vehicle/parking/parking_space.svg";
3150 set icon_z17;
3151}
3152node[amenity=trolley_bay] {
3153 icon-image: "presets/vehicle/parking/trolley_bay.svg";
3154 set icon_z17;
3155}
3156node[amenity=parking] {
3157 icon-image: "presets/vehicle/parking/parking.svg";
3158 set icon_z17;
3159}
3160node[amenity=parking_entrance] {
3161 icon-image: "presets/vehicle/parking/parking.svg";
3162 set icon_z17;
3163}
3164node[amenity=parking_entrance][parking=multi-storey],
3165node[amenity=parking][parking=multi-storey] {
3166 icon-image: "presets/vehicle/parking/multi-storey.svg";
3167 set icon_z17;
3168}
3169node[amenity=parking_entrance][parking=underground],
3170node[amenity=parking][parking=underground] {
3171 icon-image: "presets/vehicle/parking/underground.svg";
3172 set icon_z17;
3173}
3174node[amenity=motorcycle_parking] {
3175 icon-image: "presets/vehicle/parking/motorbike.svg";
3176 set icon_z17;
3177}
3178node[amenity=bicycle_parking] {
3179 icon-image: "presets/vehicle/parking/bicycle.svg";
3180 set icon_z17;
3181}
3182node[park_ride][park_ride!=no] {
3183 icon-image: "presets/vehicle/parking/park_ride.svg";
3184 set icon_z17;
3185}
3186node[amenity=parking_space][wheelchair?] {
3187 icon-image: "presets/vehicle/parking/handicapped.svg";
3188 set icon_z17;
3189}
3190node[amenity=bicycle_rental] {
3191 icon-image: "presets/vehicle/bicycle_rental.svg";
3192 set icon_z17;
3193}
3194node[amenity=bicycle_repair_station] {
3195 icon-image: "presets/vehicle/bicycle_repair_station.svg";
3196 set icon_z17;
3197}
3198node[amenity=bicycle_wash] {
3199 icon-image: "presets/vehicle/bicycle_wash.svg";
3200 set icon_z17;
3201}
3202node[amenity=car_rental] {
3203 icon-image: "presets/vehicle/car_rental.svg";
3204 set icon_z17;
3205}
3206node[amenity=car_pooling] {
3207 icon-image: "presets/vehicle/car_pooling.svg";
3208 set icon_z17;
3209}
3210node[amenity=car_sharing] {
3211 icon-image: "presets/vehicle/car_sharing.svg";
3212 set icon_z17;
3213}
3214node[amenity=car_wash] {
3215 icon-image: "presets/vehicle/car_wash.svg";
3216 set icon_z17;
3217}
3218node[amenity=taxi] {
3219 icon-image: "presets/transport/taxi.svg";
3220 set icon_z17;
3221}
3222node[amenity=fuel] {
3223 icon-image: "presets/vehicle/fuel.svg";
3224 set icon_z17;
3225}
3226node[amenity=charging_station] {
3227 icon-image: "presets/vehicle/charging_station.svg";
3228 set icon_z17;
3229}
3230node[amenity=grit_bin] {
3231 icon-image: "presets/misc/grit_bin.svg";
3232 set icon_z17;
3233}
3234node[amenity=telephone] {
3235 icon-image: "presets/service/telephone.svg";
3236 set icon_z17;
3237}
3238node[amenity=clock] {
3239 icon-image: "presets/service/clock.svg";
3240 set icon_z17;
3241}
3242node[amenity=photo_booth] {
3243 icon-image: "presets/service/photo_booth.svg";
3244 set icon_z17;
3245}
3246area[amenity=toilets],
3247area[amenity=shower],
3248area[amenity=internet_cafe],
3249area[amenity=recycling],
3250area[amenity=sanitary_dump_station] {
3251 fill-color: amenity_light#f7efb7;
3252}
3253node[amenity=toilets] {
3254 icon-image: "presets/service/toilets.svg";
3255 set icon_z17;
3256}
3257node[amenity=shower] {
3258 icon-image: "presets/service/shower.svg";
3259 set icon_z17;
3260}
3261node[amenity=internet_cafe] {
3262 icon-image: "presets/service/internet_cafe.svg";
3263 set icon_z17;
3264}
3265node[amenity=recycling] {
3266 icon-image: "presets/service/recycling/recycling.svg";
3267 set icon_z17;
3268}
3269node[amenity=recycling][recycling_type=container] {
3270 icon-image: "presets/service/recycling/recycling_container.svg";
3271}
3272node[amenity=recycling][recycling_type=centre] {
3273 icon-image: "presets/service/recycling/recycling_centre.svg";
3274}
3275node[amenity=waste_basket] {
3276 icon-image: "presets/service/recycling/waste_basket.svg";
3277 set icon_z17;
3278}
3279node[amenity=waste_disposal] {
3280 icon-image: "presets/service/recycling/waste_disposal.svg";
3281 set icon_z17;
3282}
3283node[amenity=sanitary_dump_station] {
3284 icon-image: "presets/service/recycling/sanitary_dump_station.svg";
3285 set icon_z17;
3286}
3287area[amenity=townhall],
3288area[amenity=events_venue],
3289area[amenity=community_centre] {
3290 fill-color: amenity_light#f7efb7;
3291}
3292node[amenity=townhall] {
3293 icon-image: "presets/service/townhall.svg";
3294 set icon_z17;
3295}
3296node[amenity=events_venue] {
3297 icon-image: "presets/service/events_venue.svg";
3298 set icon_z17;
3299}
3300node[amenity=community_centre] {
3301 icon-image: "presets/service/community_centre.svg";
3302 set icon_z17;
3303}
3304area[amenity=water_point],
3305area[amenity=fountain] {
3306 fill-color: light_water#00005f;
3307}
3308node[amenity=drinking_water] {
3309 icon-image: "presets/food/drinking_water.svg";
3310 set icon_z17;
3311}
3312node[amenity=water_point] {
3313 icon-image: "presets/accommodation/water.svg";
3314 set icon_z17;
3315}
3316node[amenity=fountain] {
3317 icon-image: "presets/misc/fountain.svg";
3318 set icon_z17;
3319}
3320area[amenity=animal_boarding],
3321area[amenity=animal_breeding],
3322area[amenity=place_of_worship],
3323area[amenity=monastery],
3324area[amenity=grave_yard],
3325area[amenity=crematorium],
3326area[amenity=post_office],
3327area[amenity=studio],
3328area[landuse=school],
3329area[amenity=school],
3330area[amenity=university],
3331area[amenity=college],
3332area[amenity=kindergarten],
3333area[amenity=language_school],
3334area[amenity=music_school],
3335area[amenity=driving_school] {
3336 fill-color: amenity_light#f7efb7;
3337}
3338node[amenity=animal_boarding] {
3339 icon-image: "presets/accommodation/animal_boarding.svg";
3340 set icon_z17;
3341}
3342node[amenity=animal_breeding] {
3343 icon-image: "presets/misc/animal_breeding.svg";
3344 set icon_z17;
3345}
3346node[amenity=place_of_worship] {
3347 icon-image: "presets/religion/religion.svg";
3348 set icon_z17;
3349}
3350node[amenity=place_of_worship][religion=bahai] {
3351 icon-image: "presets/religion/bahai.svg";
3352 set icon_z17;
3353}
3354node[amenity=place_of_worship][religion=buddhist] {
3355 icon-image: "presets/religion/buddhism.svg";
3356 set icon_z17;
3357}
3358node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
3359 icon-image: "presets/misc/no_icon.svg";
3360 set icon_z17;
3361}
3362node[amenity=place_of_worship][religion=christian] {
3363 icon-image: "presets/religion/church.svg";
3364 set icon_z17;
3365}
3366node[amenity=place_of_worship][religion=confucian] {
3367 icon-image: "presets/religion/confucian.svg";
3368 set icon_z17;
3369}
3370node[amenity=place_of_worship][religion=hindu] {
3371 icon-image: "presets/religion/hinduism.svg";
3372 set icon_z17;
3373}
3374node[amenity=place_of_worship][religion=jain] {
3375 icon-image: "presets/religion/jainism.svg";
3376 set icon_z17;
3377}
3378node[amenity=place_of_worship][religion=jewish] {
3379 icon-image: "presets/religion/jewish.svg";
3380 set icon_z17;
3381}
3382node[amenity=place_of_worship][religion=muslim] {
3383 icon-image: "presets/religion/muslim.svg";
3384 set icon_z17;
3385}
3386node[amenity=place_of_worship][religion=shinto] {
3387 icon-image: "presets/religion/shinto.svg";
3388 set icon_z17;
3389}
3390node[amenity=place_of_worship][religion=sikh] {
3391 icon-image: "presets/religion/sikhism.svg";
3392 set icon_z17;
3393}
3394node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
3395 icon-image: "presets/misc/no_icon.svg";
3396 set icon_z17;
3397}
3398node[amenity=place_of_worship][religion=taoist] {
3399 icon-image: "presets/religion/taoism.svg";
3400 set icon_z17;
3401}
3402node[amenity=place_of_worship][religion=tenrikyo] {
3403 icon-image: "presets/religion/tenrikyo.svg";
3404 set icon_z17;
3405}
3406node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
3407 icon-image: "presets/misc/no_icon.svg";
3408 set icon_z17;
3409}
3410node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
3411 icon-image: "presets/misc/no_icon.svg";
3412 set icon_z17;
3413}
3414node[amenity=monastery] {
3415 icon-image: "presets/religion/monastery.svg";
3416 set icon_z17;
3417}
3418node[amenity=grave_yard] {
3419 icon-image: "presets/landuse/graveyard.svg";
3420 set icon_z17;
3421}
3422node[amenity=crematorium][!is_prop_set(icon-image)] {
3423 icon-image: "presets/misc/no_icon.svg";
3424 set icon_z17;
3425}
3426node[amenity=post_office] {
3427 icon-image: "presets/service/post_office.svg";
3428 set icon_z17;
3429}
3430node[amenity=post_box] {
3431 icon-image: "presets/service/post_box.svg";
3432 set icon_z17;
3433}
3434node[amenity=letter_box] {
3435 icon-image: "presets/service/letter_box.svg";
3436 set icon_z17;
3437}
3438node[amenity=studio] {
3439 icon-image: "presets/service/studio.svg";
3440 set icon_z17;
3441}
3442node[amenity=school] {
3443 icon-image: "presets/education/school.svg";
3444 set icon_z17;
3445}
3446node[amenity=university] {
3447 icon-image: "presets/education/university.svg";
3448 set icon_z17;
3449}
3450node[amenity=college] {
3451 icon-image: "presets/education/college.svg";
3452 set icon_z17;
3453}
3454node[amenity=kindergarten] {
3455 icon-image: "presets/education/kindergarten.svg";
3456 set icon_z17;
3457}
3458node[amenity=language_school] {
3459 icon-image: "presets/education/language_school.svg";
3460 set icon_z17;
3461}
3462node[amenity=driving_school] {
3463 icon-image: "presets/education/driving_school.svg";
3464 set icon_z17;
3465}
3466node[amenity=music_school] {
3467 icon-image: "presets/education/music_school.svg";
3468 set icon_z17;
3469}
3470area[amenity=pharmacy],
3471area[amenity=hospital],
3472area[amenity=clinic],
3473area[amenity=nursing_home],
3474area[amenity=social_facility],
3475area[amenity=baby_hatch],
3476area[amenity=doctors],
3477area[amenity=dentist],
3478area[amenity=animal_shelter],
3479area[amenity=veterinary] {
3480 fill-color: health#eeeeee;
3481}
3482node[amenity=pharmacy] {
3483 icon-image: "presets/health/pharmacy.svg";
3484 set icon_z17;
3485}
3486node[amenity=hospital] {
3487 icon-image: "presets/health/hospital.svg";
3488 set icon_z17;
3489}
3490node[amenity=clinic] {
3491 icon-image: "presets/health/clinic.svg";
3492 set icon_z17;
3493}
3494node[amenity=social_facility][social_facility=nursing_home],
3495node[amenity=nursing_home] {
3496 icon-image: "presets/social_facility/nursing_home.svg";
3497 set icon_z17;
3498}
3499node[amenity=social_facility][social_facility=group_home] {
3500 icon-image: "presets/social_facility/group_home.svg";
3501 set icon_z17;
3502}
3503node[amenity=social_facility][social_facility=assisted_living] {
3504 icon-image: "presets/social_facility/assisted_living.svg";
3505 set icon_z17;
3506}
3507node[amenity=social_facility][social_facility=outreach] {
3508 icon-image: "presets/social_facility/outreach.svg";
3509 set icon_z17;
3510}
3511node[amenity=social_facility][social_facility=shelter] {
3512 icon-image: "presets/social_facility/shelter.svg";
3513 set icon_z17;
3514}
3515node[amenity=social_facility][social_facility=food_bank] {
3516 icon-image: "presets/social_facility/food_bank.svg";
3517 set icon_z17;
3518}
3519node[amenity=baby_hatch] {
3520 icon-image: "presets/health/baby_hatch.svg";
3521 set icon_z17;
3522}
3523node[amenity=doctors] {
3524 icon-image: "presets/health/doctors.svg";
3525 set icon_z17;
3526}
3527node[amenity=dentist] {
3528 icon-image: "presets/health/dentist.svg";
3529 set icon_z17;
3530}
3531node[amenity=animal_shelter] {
3532 icon-image: "presets/health/animal_shelter.svg";
3533 set icon_z17;
3534}
3535node[amenity=veterinary] {
3536 icon-image: "presets/health/veterinary.svg";
3537 set icon_z17;
3538}
3539area[amenity=library],
3540area[amenity=public_bookcase],
3541area[amenity=police],
3542area[amenity=ranger_station],
3543area[amenity=fire_station],
3544area[amenity=bus_station],
3545area[amenity=ferry_terminal],
3546area[amenity=theatre],
3547area[amenity=cinema],
3548area[amenity=dive_centre],
3549area[amenity=public_bath],
3550area[amenity=arts_centre],
3551area[amenity=courthouse],
3552area[amenity=prison],
3553area[amenity=bank],
3554area[amenity=bureau_de_change],
3555area[amenity=money_transfer],
3556area[amenity=bbq],
3557area[amenity=watering_place] {
3558 fill-color: amenity_light#f7efb7;
3559}
3560node[amenity=library] {
3561 icon-image: "presets/education/library.svg";
3562 set icon_z17;
3563}
3564node[amenity=public_bookcase] {
3565 icon-image: "presets/education/public_bookcase.svg";
3566 set icon_z17;
3567}
3568node[amenity=police] {
3569 icon-image: "presets/service/police.svg";
3570 set icon_z17;
3571}
3572node[amenity=ranger_station] {
3573 icon-image: "presets/service/ranger_station.svg";
3574 set icon_z17;
3575}
3576node[amenity=fire_station] {
3577 icon-image: "presets/service/firebrigade.svg";
3578 set icon_z17;
3579}
3580node[amenity=bus_station] {
3581 icon-image: "presets/transport/bus_old.svg";
3582 set icon_z17;
3583}
3584node[amenity=ferry_terminal] {
3585 icon-image: "presets/nautical/ferry.svg";
3586 set icon_z17;
3587}
3588node[amenity=theatre] {
3589 icon-image: "presets/leisure/theater.svg";
3590 set icon_z17;
3591}
3592node[amenity=cinema] {
3593 icon-image: "presets/leisure/cinema.svg";
3594 set icon_z17;
3595}
3596node[amenity=dive_centre] {
3597 icon-image: "presets/leisure/dive_centre.svg";
3598 set icon_z17;
3599}
3600node[amenity=public_bath] {
3601 icon-image: "presets/leisure/public_bath.svg";
3602 set icon_z17;
3603}
3604node[amenity=arts_centre] {
3605 icon-image: "presets/sightseeing/arts_centre.svg";
3606 set icon_z17;
3607}
3608node[amenity=courthouse] {
3609 icon-image: "presets/service/courthouse.svg";
3610 set icon_z17;
3611}
3612node[amenity=prison] {
3613 icon-image: "presets/service/prison.svg";
3614 set icon_z17;
3615}
3616node[amenity=bank] {
3617 icon-image: "presets/money/bank.svg";
3618 set icon_z17;
3619}
3620node[amenity=bureau_de_change] {
3621 icon-image: "presets/money/exchange.svg";
3622 set icon_z17;
3623}
3624node[amenity=money_transfer] {
3625 icon-image: "presets/money/money_transfer.svg";
3626 set icon_z17;
3627}
3628node[amenity=atm] {
3629 icon-image: "presets/money/atm.svg";
3630 set icon_z17;
3631}
3632way[amenity=bench] {
3633 width: 2;
3634 color: amenity_light#f7efb7;
3635}
3636node[amenity=bench] {
3637 icon-image: "presets/leisure/bench.svg";
3638 set icon_z17;
3639}
3640node[amenity=bbq] {
3641 icon-image: "presets/leisure/bbq.svg";
3642 set icon_z17;
3643}
3644node[amenity=compressed_air] {
3645 icon-image: "presets/vehicle/compressed_air.svg";
3646 set icon_z17;
3647}
3648node[amenity=watering_place] {
3649 icon-image: "presets/misc/watering_place.svg";
3650 set icon_z17;
3651}
3652area[amenity=shelter],
3653area[amenity=marketplace],
3654area[amenity=wlan] {
3655 fill-color: amenity_light#f7efb7;
3656}
3657node[amenity=shelter] {
3658 icon-image: "presets/accommodation/shelter.svg";
3659 set icon_z17;
3660}
3661node[amenity=shelter][shelter_type=public_transport] {
3662 icon-image: "presets/accommodation/shelter_public_transport.svg";
3663 set icon_z17;
3664}
3665node[amenity=shelter][shelter_type=picnic_shelter] {
3666 icon-image: "presets/accommodation/shelter_picnic.svg";
3667 set icon_z17;
3668}
3669node[amenity=shelter][shelter_type=basic_hut] {
3670 icon-image: "presets/accommodation/basic_hut.svg";
3671 set icon_z17;
3672}
3673node[amenity=shelter][shelter_type=gazebo] {
3674 icon-image: "presets/accommodation/gazebo.svg";
3675 set icon_z17;
3676}
3677node[amenity=shelter][shelter_type=lean_to] {
3678 icon-image: "presets/accommodation/shelter_lean_to.svg";
3679 set icon_z17;
3680}
3681node[amenity=hunting_stand] {
3682 icon-image: "presets/landmark/hunting_stand.svg";
3683 set icon_z17;
3684}
3685node[amenity=marketplace] {
3686 icon-image: "presets/shop/marketplace.svg";
3687 set icon_z17;
3688}
3689node[amenity=vending_machine] {
3690 icon-image: "presets/transport/ticket-machine.svg";
3691 set icon_z17;
3692}
3693node[vending=excrement_bags] {
3694 icon-image: "presets/service/excrement_bags.svg";
3695 set icon_z17;
3696}
3697node[amenity=parcel_locker] {
3698 icon-image: "presets/service/parcel_locker.svg";
3699 set icon_z17;
3700}
3701area[amenity=parcel_locker] {
3702 fill-color: parcel_locker#734a08;
3703}
3704
3705/**************/
3706/* craft tags */
3707/**************/
3708
3709area[craft=carpenter],
3710area[craft=shoemaker],
3711area[craft=photographer],
3712area[craft=metal_construction],
3713area[craft=electrician],
3714area[craft=electronics_repair],
3715area[craft=brewery],
3716area[craft=plumber],
3717area[craft=sawmill],
3718area[craft=gardener],
3719area[craft=winery],
3720area[craft=hvac],
3721area[craft=painter],
3722area[craft=stonemason],
3723area[craft=handicraft],
3724area[craft=pottery],
3725area[craft=key_cutter],
3726area[craft=caterer],
3727area[craft=roofer],
3728area[craft=beekeeper],
3729area[craft=blacksmith],
3730area[craft=locksmith],
3731area[craft=window_construction],
3732area[craft=upholsterer],
3733area[craft=tiler] {
3734 fill-color: craft#999900;
3735}
3736node[craft=carpenter] {
3737 icon-image: "presets/craft/carpenter.svg";
3738 set icon_z17;
3739}
3740node[craft=shoemaker] {
3741 icon-image: "presets/craft/shoemaker.svg";
3742 set icon_z17;
3743}
3744node[craft=photographer] {
3745 icon-image: "presets/craft/photographer.svg";
3746 set icon_z17;
3747}
3748node[craft=metal_construction] {
3749 icon-image: "presets/craft/metal_construction.svg";
3750 set icon_z17;
3751}
3752node[craft=electrician] {
3753 icon-image: "presets/craft/electrician.svg";
3754 set icon_z17;
3755}
3756node[craft=electronics_repair] {
3757 icon-image: "presets/craft/electronics_repair.svg";
3758 set icon_z17;
3759}
3760node[craft=brewery] {
3761 icon-image: "presets/craft/brewery.svg";
3762 set icon_z17;
3763}
3764node[craft=plumber] {
3765 icon-image: "presets/craft/plumber.svg";
3766 set icon_z17;
3767}
3768node[craft=sawmill] {
3769 icon-image: "presets/craft/sawmill.svg";
3770 set icon_z17;
3771}
3772node[craft=gardener] {
3773 icon-image: "presets/craft/gardener.svg";
3774 set icon_z17;
3775}
3776node[craft=winery] {
3777 icon-image: "presets/craft/winery.svg";
3778 set icon_z17;
3779}
3780node[craft=hvac] {
3781 icon-image: "presets/craft/hvac.svg";
3782 set icon_z17;
3783}
3784node[craft=painter] {
3785 icon-image: "presets/craft/painter.svg";
3786 set icon_z17;
3787}
3788node[craft=stonemason] {
3789 icon-image: "presets/craft/stonemason.svg";
3790 set icon_z17;
3791}
3792node[craft=handicraft] {
3793 icon-image: "presets/craft/handicraft.svg";
3794 set icon_z17;
3795}
3796node[craft=pottery] {
3797 icon-image: "presets/craft/pottery.svg";
3798 set icon_z17;
3799}
3800node[craft=key_cutter] {
3801 icon-image: "presets/craft/key_cutter.svg";
3802 set icon_z17;
3803}
3804node[craft=caterer] {
3805 icon-image: "presets/craft/caterer.svg";
3806 set icon_z17;
3807}
3808node[craft=roofer] {
3809 icon-image: "presets/craft/roofer.svg";
3810 set icon_z17;
3811}
3812node[craft=beekeeper] {
3813 icon-image: "presets/craft/beekeeper.svg";
3814 set icon_z17;
3815}
3816node[craft=blacksmith] {
3817 icon-image: "presets/craft/blacksmith.svg";
3818 set icon_z17;
3819}
3820node[craft=locksmith] {
3821 icon-image: "presets/craft/locksmith.svg";
3822 set icon_z17;
3823}
3824node[craft=window_construction] {
3825 icon-image: "presets/craft/window_construction.svg";
3826 set icon_z17;
3827}
3828node[craft=upholsterer] {
3829 icon-image: "presets/craft/upholsterer.svg";
3830 set icon_z17;
3831}
3832node[craft=tiler] {
3833 icon-image: "presets/craft/tiler.svg";
3834 set icon_z17;
3835}
3836
3837/****************/
3838/* tourism tags */
3839/****************/
3840
3841area[tourism=hotel],
3842area[tourism=motel],
3843area[tourism=guest_house],
3844area[tourism=apartment],
3845area[tourism=hostel],
3846area[tourism=chalet],
3847area[tourism=alpine_hut],
3848area[tourism=wilderness_hut],
3849area[tourism=camp_site],
3850area[tourism=camp_pitch],
3851area[tourism=caravan_site] {
3852 fill-color: hotel#feced0;
3853}
3854node[tourism=hotel] {
3855 icon-image: "presets/accommodation/hotel.svg";
3856 set icon_z17;
3857}
3858node[tourism=motel] {
3859 icon-image: "presets/accommodation/motel.svg";
3860 set icon_z17;
3861}
3862node[tourism=guest_house] {
3863 icon-image: "presets/accommodation/guest_house.svg";
3864 set icon_z17;
3865}
3866node[tourism=apartment] {
3867 icon-image: "presets/accommodation/apartment.svg";
3868 set icon_z17;
3869}
3870node[tourism=hostel] {
3871 icon-image: "presets/accommodation/hostel.svg";
3872 set icon_z17;
3873}
3874node[tourism=chalet] {
3875 icon-image: "presets/accommodation/chalet.svg";
3876 set icon_z17;
3877}
3878node[tourism=alpine_hut] {
3879 icon-image: "presets/accommodation/alpine_hut.svg";
3880 set icon_z17;
3881}
3882node[tourism=wilderness_hut] {
3883 icon-image: "presets/accommodation/wilderness_hut.svg";
3884 set icon_z17;
3885}
3886node[tourism=camp_site] {
3887 icon-image: "presets/accommodation/camping.svg";
3888 set icon_z17;
3889}
3890node[tourism=camp_pitch] {
3891 icon-image: "presets/accommodation/camp_pitch.svg";
3892 set icon_z17;
3893}
3894node[tourism=caravan_site] {
3895 icon-image: "presets/accommodation/caravan.svg";
3896 set icon_z17;
3897}
3898area[tourism=attraction]:closed {
3899 fill-color: tourism#e180a2;
3900}
3901way[tourism=attraction] {
3902 width: 2;
3903 color: tourism#e180a2;
3904}
3905node[tourism=attraction] {
3906 icon-image: "presets/sightseeing/attraction.svg";
3907 set icon_z17;
3908}
3909area[tourism=picnic_site],
3910area[tourism=viewpoint],
3911area[tourism=theme_park],
3912area[tourism=zoo],
3913area[tourism=gallery],
3914area[tourism=museum] {
3915 fill-color: tourism#e180a2;
3916}
3917node[tourism=picnic_site] {
3918 icon-image: "presets/leisure/picnic.svg";
3919 set icon_z17;
3920}
3921node[tourism=viewpoint] {
3922 icon-image: "presets/sightseeing/viewpoint.svg";
3923 set icon_z17;
3924}
3925node[tourism=theme_park] {
3926 icon-image: "presets/leisure/theme_park.svg";
3927 set icon_z17;
3928}
3929node[tourism=zoo] {
3930 icon-image: "presets/leisure/zoo.svg";
3931 set icon_z17;
3932}
3933area[tourism=artwork]:closed {
3934 fill-color: tourism#e180a2;
3935}
3936way[tourism=artwork] {
3937 width: 2;
3938 color: tourism#e180a2;
3939}
3940node[tourism=artwork] {
3941 icon-image: "presets/sightseeing/arts_centre.svg";
3942 set icon_z17;
3943}
3944node[tourism=gallery] {
3945 icon-image: "presets/sightseeing/gallery.svg";
3946 set icon_z17;
3947}
3948node[tourism=museum] {
3949 icon-image: "presets/sightseeing/museum.svg";
3950 set icon_z17;
3951}
3952
3953/********************/
3954/* attraction tags */
3955/********************/
3956
3957area[attraction=animal] {
3958 fill-color: attraction#ffbfd3;
3959 color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
3960}
3961node[attraction=animal] {
3962 icon-image: "presets/attraction/animal.svg";
3963 set icon_z17;
3964}
3965way[attraction=water_slide] {
3966 width: 2;
3967 color: attraction#ffbfd3;
3968}
3969node[attraction=water_slide] {
3970 icon-image: "presets/attraction/water_slide.svg";
3971 set icon_z17;
3972}
3973
3974/********************/
3975/* information tags */
3976/********************/
3977
3978area[tourism=information] {
3979 fill-color: tourism#e180a2;
3980}
3981node[tourism=information] {
3982 icon-image: "presets/misc/information/information.svg";
3983 set icon_z17;
3984}
3985node[tourism=information][information=guidepost] {
3986 icon-image: "presets/misc/information/guidepost.svg";
3987 set icon_z17;
3988}
3989node[tourism=information][information=route_marker] {
3990 icon-image: "presets/misc/information/route_marker.svg";
3991 set icon_z17;
3992}
3993node[tourism=information][information=audioguide] {
3994 icon-image: "presets/misc/information/audioguide.svg";
3995 set icon_z17;
3996}
3997area[tourism=information][information=office] {
3998 fill-color: tourism#e180a2;
3999}
4000node[tourism=information][information=office] {
4001 icon-image: "presets/misc/information/informationoffice.svg";
4002 set icon_z17;
4003}
4004node[tourism=information][information=map] {
4005 icon-image: "presets/misc/information/map.svg";
4006 set icon_z17;
4007}
4008node[tourism=information][information=board] {
4009 icon-image: "presets/misc/information/board.svg";
4010 set icon_z17;
4011}
4012
4013/*****************/
4014/* historic tags */
4015/*****************/
4016
4017area[historic=castle],
4018area[historic=fort],
4019area[historic=monument],
4020area[historic=memorial],
4021area[historic=tomb],
4022area[historic=archaeological_site],
4023area[historic=ruins],
4024area[historic=battlefield],
4025area[geological=palaeontological_site],
4026area[historic=city_gate],
4027area[historic=manor],
4028area[historic=church],
4029area[historic=monastery],
4030area[historic=charcoal_pile],
4031area[historic=mine],
4032area[historic=mine_shaft],
4033area[historic=shieling],
4034area[historic=wayside_cross],
4035area[historic=wayside_shrine],
4036area[historic=boundary_stone],
4037area[historic=milestone] {
4038 fill-color: historic#663300;
4039}
4040node[historic=fort] {
4041 icon-image: "presets/sightseeing/fort.svg";
4042 set icon_z17;
4043}
4044node[historic=castle] {
4045 icon-image: "presets/sightseeing/castle.svg";
4046 set icon_z17;
4047}
4048node[historic=monument] {
4049 icon-image: "presets/sightseeing/monument.svg";
4050 set icon_z17;
4051}
4052node[historic=memorial] {
4053 icon-image: "presets/sightseeing/memorial.svg";
4054 set icon_z17;
4055}
4056node[historic=archaeological_site] {
4057 icon-image: "presets/sightseeing/archaeological.svg";
4058 set icon_z17;
4059}
4060node[historic=ruins] {
4061 icon-image: "presets/sightseeing/ruins.svg";
4062 set icon_z17;
4063}
4064node[historic=battlefield] {
4065 icon-image: "presets/sightseeing/battlefield.svg";
4066 set icon_z17;
4067}
4068node[geological=palaeontological_site] {
4069 icon-image: "presets/sightseeing/palaeontological_site.svg";
4070 set icon_z17;
4071}
4072area[historic=citywalls]:closed {
4073 fill-color: historic#663300;
4074}
4075way[historic=citywalls] {
4076 width: 2;
4077 color: historic#663300;
4078}
4079node[historic=city_gate] {
4080 icon-image: "presets/sightseeing/city_gate.svg";
4081 set icon_z17;
4082}
4083node[historic=manor] {
4084 icon-image: "presets/sightseeing/manor.svg";
4085 set icon_z17;
4086}
4087node[historic=church] {
4088 icon-image: "presets/religion/historic_church.svg";
4089 set icon_z17;
4090}
4091node[historic=monastery] {
4092 icon-image: "presets/sightseeing/monastery.svg";
4093 set icon_z17;
4094}
4095node[historic=charcoal_pile] {
4096 icon-image: "presets/misc/charcoal_pile.svg";
4097 set icon_z17;
4098}
4099node[historic=mine],
4100node[historic=mine_shaft] {
4101 icon-image: "presets/landmark/historic_mine.svg";
4102 set icon_z17;
4103}
4104node[historic=shieling] {
4105 icon-image: "presets/landmark/shieling.svg";
4106 set icon_z17;
4107}
4108node[historic=wayside_cross] {
4109 icon-image: "presets/religion/wayside_cross.svg";
4110 set icon_z17;
4111}
4112node[historic=wayside_shrine] {
4113 icon-image: "presets/religion/wayside_shrine.svg";
4114 set icon_z17;
4115}
4116node[historic=boundary_stone] {
4117 icon-image: "presets/landmark/boundary_stone.svg";
4118 set icon_z17;
4119}
4120node[historic=milestone] {
4121 icon-image: "presets/landmark/milestone.svg";
4122 set icon_z17;
4123}
4124area[cemetery=grave] {
4125 fill-color: grave#663300;
4126}
4127node[cemetery=grave] {
4128 icon-image: "presets/misc/grave.svg";
4129 set icon_z17;
4130}
4131area[cemetery=sector] {
4132 fill-color: cemetery_sector#dbf8e6;
4133}
4134node[cemetery=sector] {
4135 icon-image: "presets/misc/cemetery_sector.svg";
4136 set icon_z17;
4137}
4138node[historic=tomb] {
4139 icon-image: "presets/misc/tomb.svg";
4140 set icon_z17;
4141}
4142
4143/****************/
4144/* landuse tags */
4145/****************/
4146
4147area[landuse],
4148area[leisure],
4149area[amenity],
4150area[place],
4151area[natural],
4152area[man_made] {
4153 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
4154}
4155area[landuse=farmland] {
4156 fill-color: farmland#b8e0b1;
4157}
4158area[landuse=meadow] {
4159 fill-color: meadow#b1e0b6;
4160}
4161area[landuse=vineyard],
4162area[landuse=orchard] {
4163 fill-color: green#b1e0c2;
4164}
4165area[landuse=quarry] {
4166 fill-color: quarry#a6945b;
4167}
4168area[landuse=landfill] {
4169 fill-color: landfill#663300;
4170}
4171area[landuse=basin],
4172area[landuse=reservoir],
4173area[natural=water][water=reservoir] {
4174 fill-color: basin#0000bf;
4175}
4176area[man_made=tailings_pond] {
4177 fill-color:tailings_pond#af0073;
4178}
4179area[landuse=forest] {
4180 fill-color: forest#b1efc8;
4181}
4182area[landuse=allotments] {
4183 fill-color: allotments#5dbf80;
4184}
4185area[landuse=greenhouse_horticulture],
4186area[landuse=plant_nursery] {
4187 fill-color: green#b1e0c2;
4188}
4189area[landuse=salt_pond] {
4190 fill-color: salt_pond#eeeeee;
4191}
4192area[landuse=aquaculture] {
4193 fill-color: aquaculture#189dff;
4194}
4195area[landuse=flowerbed] {
4196 fill-color: flowerbed#91c956;
4197}
4198area[landuse=grass] {
4199 fill-color: grass#97ca96;
4200}
4201area[landuse=residential] {
4202 fill-color: residential#f0f0f0;
4203}
4204area[landuse=garages] {
4205 fill-color: garages#d6c8aa;
4206}
4207area[landuse=farmyard] {
4208 fill-color: farmyard#f0f0f0;
4209}
4210area[landuse=education] {
4211 fill-color: education#f7efb7;
4212}
4213area[landuse=retail] {
4214 fill-color: retail#ffc4ee;
4215}
4216area[landuse=commercial] {
4217 fill-color: commercial#ffc4ee;
4218}
4219area[landuse=industrial] {
4220 fill-color: industrial#ecd8ff;
4221}
4222area[landuse=brownfield] {
4223 fill-color: brownfield#ecba32;
4224}
4225area[landuse=greenfield] {
4226 fill-color: greenfield#b1ec5c;
4227}
4228area[landuse=railway] {
4229 fill-color: railland#80654e;
4230}
4231area[landuse=construction] {
4232 fill-color: construction#ffff00;
4233 width: 1;
4234 dashes: 9,9;
4235}
4236area[landuse=military] {
4237 fill-color: military#b62c2c;
4238}
4239area[landuse=religious] {
4240 fill-color: religious#ffd454;
4241}
4242area[landuse=cemetery] {
4243 fill-color: cemetery#b1efc8;
4244}
4245area[landuse=village_green] {
4246 fill-color: green#b1e0c2;
4247}
4248area[landuse=recreation_ground] {
4249 fill-color: green#b1e0c2;
4250}
4251node[landuse] {
4252 icon-image: "presets/misc/deprecated.svg";
4253 set icon_z17;
4254}
4255
4256/*****************/
4257/* military tags */
4258/*****************/
4259
4260area[military=airfield],
4261area[military=bunker],
4262area[military=barracks],
4263area[military=danger_area],
4264area[military=range] {
4265 fill-color: military#b62c2c;
4266}
4267node[military=airfield] {
4268 icon-image: "presets/transport/airport/airfield.svg";
4269 set icon_z17;
4270}
4271node[military=bunker] {
4272 icon-image: "presets/landmark/bunker.svg";
4273 set icon_z17;
4274}
4275node[military=barracks][!is_prop_set(icon-image)] {
4276 icon-image: "presets/misc/no_icon.svg";
4277 set icon_z17;
4278}
4279node[military=danger_area] {
4280 icon-image: "presets/misc/danger.svg";
4281 set icon_z17;
4282}
4283node[military=range] {
4284 icon-image: "presets/sport/range.svg";
4285 set icon_z17;
4286}
4287
4288/****************/
4289/* railway tags */
4290/****************/
4291
4292area[railway=station] {
4293 fill-color: railwaypoint#f7efb7;
4294}
4295node[railway=station] {
4296 icon-image: "presets/transport/railway_station.svg";
4297 set icon_z17;
4298}
4299node[railway=halt] {
4300 icon-image: "presets/transport/railway_halt.svg";
4301 set icon_z17;
4302}
4303node[railway=tram_stop] {
4304 icon-image: "presets/transport/tram.svg";
4305 set icon_z17;
4306}
4307node[railway=subway_entrance] {
4308 icon-image: "presets/transport/underground.svg";
4309 set icon_z17;
4310}
4311node[railway=crossing] {
4312 icon-image: "presets/transport/railway/crossing.svg";
4313 set icon_z17;
4314}
4315node[railway=level_crossing] {
4316 icon-image: "presets/transport/railway/level_crossing.svg";
4317 set icon_z17;
4318}
4319way[railway=rail] {
4320 width: 2;
4321 color: rail#404040;
4322 dashes: 9,9;
4323 dashes-background-color: raildashed#ffffff;
4324}
4325way[railway=rail][service=crossover],
4326way[railway=rail][service=siding] {
4327 width: 1;
4328}
4329way[railway=rail][service=yard],
4330way[railway=rail][service=spur] {
4331 width: 1;
4332 color: railyard#552200;
4333}
4334/* draw tram and light_rail on top of other way (highway=*) or
4335 as a standalone style */
4336way[highway][railway=tram]::core_railway,
4337way[!highway][railway=tram] {
4338 z-index: 1;
4339 modifier: false; /* don't draw default way if there is no line on default layer */
4340 width: 1;
4341 color: railover#202020;
4342 dashes: 9,9;
4343 casing-width: 1;
4344 casing-color: otherrail#808080;
4345 casing-linecap: round;
4346 casing-dashes: 9,9;
4347}
4348way[highway][railway=tram][service=crossover]::core_railway,
4349way[!highway][railway=tram][service=crossover],
4350way[highway][railway=tram][service=siding]::core_railway,
4351way[!highway][railway=tram][service=siding],
4352way[highway][railway=tram][service=yard]::core_railway,
4353way[!highway][railway=tram][service=yard],
4354way[highway][railway=tram][service=spur]::core_railway,
4355way[!highway][railway=tram][service=spur] {
4356 dashes: 6,6;
4357 casing-dashes: 6,6;
4358}
4359
4360way[highway][railway=light_rail]::core_railway,
4361way[!highway][railway=light_rail] {
4362 z-index: 1;
4363 modifier: false; /* don't draw default way if there is no line on default layer */
4364 width: 2;
4365 color: otherrail#808080;
4366 dashes: 9,9;
4367}
4368way[railway=subway] {
4369 width: 1;
4370 color: subway#606060;
4371 dashes: 9,9;
4372}
4373way[railway=preserved] {
4374 width: 1;
4375 color: oldrail#404040;
4376 dashes: 9,9;
4377}
4378way[railway=light_rail][service=crossover],
4379way[railway=light_rail][service=siding],
4380way[railway=light_rail][service=yard],
4381way[railway=light_rail][service=spur],
4382way[railway=subway][service=crossover],
4383way[railway=subway][service=siding],
4384way[railway=subway][service=yard],
4385way[railway=subway][service=spur],
4386way[railway=preserved][service=crossover],
4387way[railway=preserved][service=siding],
4388way[railway=preserved][service=yard],
4389way[railway=preserved][service=spur] {
4390 dashes: 6,6;
4391}
4392/* disused often appears together with highway=xy */
4393/* -> draw on separate layer with higher z-index, but use */
4394/* modifier: false; to suppress default line when used alone. */
4395/* use default layer when used without highway=* to display bridge correctly */
4396way[railway=disused][highway]::core_railway,
4397way[railway=disused][!highway],
4398way[railway=abandoned][highway]::core_railway,
4399way[railway=abandoned][!highway] {
4400 width: 1;
4401 modifier: false;
4402 z-index: 1;
4403 color: oldrail#404040;
4404 dashes: 9,9;
4405}
4406way[railway=narrow_gauge],
4407way[railway=monorail] {
4408 width: 1;
4409 color: rail#404040;
4410 dashes: 9,9;
4411}
4412way[railway=narrow_gauge][service=crossover],
4413way[railway=narrow_gauge][service=siding],
4414way[railway=narrow_gauge][service=yard],
4415way[railway=narrow_gauge][service=spur],
4416way[railway=monorail][service=crossover],
4417way[railway=monorail][service=siding],
4418way[railway=monorail][service=yard],
4419way[railway=monorail][service=spur] {
4420 dashes: 6,6;
4421}
4422area[railway=turntable] {
4423 fill-color: rail#404040;
4424}
4425node[railway=turntable] {
4426 icon-image: "presets/transport/railway/turntable.svg";
4427 set icon_z17;
4428}
4429node[railway=buffer_stop] {
4430 icon-image: "presets/transport/railway/buffer_stop.svg";
4431 set icon_z17;
4432}
4433area[railway=platform]:closed {
4434 fill-color: rail#404040;
4435}
4436way[railway=platform] {
4437 width: 2;
4438 color: rail#404040;
4439}
4440way[railway=funicular] {
4441 width: 1;
4442 color: rail#404040;
4443 dashes: 9,9;
4444}
4445node[railway=switch] {
4446 icon-image: "presets/transport/railway/switch.svg";
4447 set icon_z17;
4448}
4449node[railway=railway_crossing] {
4450 icon-image: "presets/transport/railway/railway_crossing.svg";
4451 set icon_z17;
4452}
4453node[railway=signal] {
4454 icon-image: "presets/transport/railway/signal.svg";
4455 set icon_z17;
4456}
4457node[railway=milestone] {
4458 icon-image: "presets/transport/railway/milestone.svg";
4459 set icon_z17;
4460}
4461node[railway=rail], node[railway=tram], node[railway=light_rail],
4462node[railway=subway], node[railway=preserved],
4463node[railway=disused], node[railway=abandoned],
4464node[railway=narrow_gauge], node[railway=monorail],
4465node[railway=platform], node[railway=funicular],
4466node[service=yard], node[service=siding], node[service=spur] {
4467 icon-image: "presets/misc/deprecated.svg";
4468 set icon_z17;
4469}
4470way[railway=construction][!highway] {
4471 width: 1;
4472 color: construction#ffff00;
4473 dashes: 9,9;
4474}
4475way[railway=construction][construction=rail] {
4476 width: 2;
4477 color: rail#404040;
4478 dashes: 9,9;
4479 dashes-background-color: construction#ffff00;
4480}
4481way[railway=construction][construction=light_rail][highway]::core_railway,
4482way[railway=construction][construction=light_rail][!highway] {
4483 z-index: 1;
4484 width: 2;
4485 dashes: 9,9;
4486 color: construction#ffff00;
4487}
4488way[railway=construction][construction=tram][highway]::core_railway,
4489way[railway=construction][construction=tram][!highway] {
4490 z-index: 1;
4491 width: 1;
4492 color: railover#202020;
4493 dashes: 9,9;
4494 casing-width: 1;
4495 casing-color: construction#ffff00;
4496 casing-linecap: round;
4497 casing-dashes: 9,9;
4498}
4499
4500/****************/
4501/* aeroway tags */
4502/****************/
4503
4504area[aeroway=aerodrome] {
4505 fill-color: aeroway#660000;
4506 width: 2;
4507 dashes: 9,9;
4508}
4509node[aeroway=aerodrome][military!=airfield] {
4510 icon-image: "presets/transport/airport.svg";
4511 set icon_z17;
4512}
4513area[aeroway=terminal] {
4514 fill-color: terminal#bb0000;
4515}
4516node[aeroway=terminal] {
4517 icon-image: "presets/transport/airport/terminal.svg";
4518 set icon_z17;
4519}
4520area[aeroway=helipad] {
4521 fill-color: aeroway_dark#330000;
4522}
4523node[aeroway=helipad] {
4524 icon-image: "presets/transport/airport/helipad.svg";
4525 set icon_z17;
4526}
4527area[aeroway=runway]:closed {
4528 fill-color: aeroway_dark#330000;
4529}
4530way[aeroway=runway] {
4531 width: 3;
4532 color: aeroway_dark#330000;
4533}
4534area[aeroway=taxiway]:closed {
4535 fill-color: aeroway#660000;
4536}
4537way[aeroway=taxiway] {
4538 width: 2;
4539 color: aeroway#660000;
4540}
4541way[aeroway=parking_position] {
4542 width: 1;
4543 color: aeroway#660000;
4544}
4545node[aeroway=parking_position] {
4546 icon-image: "presets/transport/airport/parking_position.svg";
4547 set icon_z17;
4548}
4549area[aeroway=apron],
4550area[aeroway=hangar] {
4551 fill-color: aeroway_light#990000;
4552}
4553node[aeroway=apron],
4554node[aeroway=runway],
4555node[aeroway=taxiway] {
4556 icon-image: "presets/misc/deprecated.svg";
4557 set icon_z17;
4558}
4559node[aeroway=holding_position] {
4560 icon-image: "presets/transport/airport/holding_position.svg";
4561 set icon_z17;
4562}
4563way[aeroway=holding_position] {
4564 width: 1;
4565 color: aeroway_marking#D6CE08;
4566}
4567node[aeroway=hangar] {
4568 icon-image: "presets/transport/airport/hangar.svg";
4569 set icon_z17;
4570}
4571node[aeroway=gate] {
4572 icon-image: "presets/transport/airport/gate.svg";
4573 set icon_z17;
4574}
4575node[airmark=beacon] {
4576 icon-image: "presets/transport/airport/airmark_beacon.svg";
4577 set icon_z17;
4578}
4579node[aeroway=navigationaid] {
4580 icon-image: "presets/transport/airport/navigationaid.svg";
4581 set icon_z17;
4582}
4583node[aeroway=navigationaid][navigationaid=papi] {
4584 icon-image: "presets/transport/airport/papi.svg";
4585 set icon_z17;
4586}
4587node[aeroway=navigationaid][navigationaid=vasi] {
4588 icon-image: "presets/transport/airport/vasi.svg";
4589 set icon_z17;
4590}
4591node[aeroway=windsock] {
4592 icon-image: "presets/transport/airport/windsock.svg";
4593 set icon_z17;
4594}
4595
4596/******************/
4597/* aerialway tags */
4598/******************/
4599
4600way[aerialway=cable_car],
4601way[aerialway=gondola] {
4602 width: 1;
4603 color: aerialway#663300;
4604 dashes: 9,9;
4605}
4606way[aerialway=chair_lift] {
4607 width: 1;
4608 color: aerialway#663300;
4609 dashes: 6,6;
4610}
4611way[aerialway=mixed_lift] {
4612 width: 1;
4613 color: aerialway#663300;
4614 dashes: 6,6,9,6;
4615}
4616way[aerialway=j-bar],
4617way[aerialway=t-bar],
4618way[aerialway=platter],
4619way[aerialway=rope_tow],
4620way[aerialway=drag_lift] {
4621 width: 1;
4622 color: aerialway#663300;
4623 dashes: 3,3;
4624}
4625way[aerialway=magic_carpet] {
4626 width: 1;
4627 color: aerialway#663300;
4628 dashes: 3,3;
4629}
4630way[aerialway=goods] {
4631 width: 1;
4632 color: aerialway#663300;
4633 dashes: 2,2;
4634}
4635way[aerialway=zip_line] {
4636 width: 1;
4637 color: aerialway#663300;
4638 dashes: 3,3;
4639}
4640area[aerialway=station] {
4641 fill-color: aerialway#663300;
4642}
4643node[aerialway=station] {
4644 icon-image: "presets/transport/aerialway/station.svg";
4645 set icon_z17;
4646}
4647node[aerialway=pylon] {
4648 icon-image: "presets/transport/aerialway/pylon.svg";
4649 set icon_z17;
4650}
4651node[aerialway=cable_car],
4652node[aerialway=gondola],
4653node[aerialway=chair_lift],
4654node[aerialway=mixed_lift],
4655node[aerialway=drag_lift],
4656node[aerialway=t-bar],
4657node[aerialway=j-bar],
4658node[aerialway=platter],
4659node[aerialway=magic_carpet],
4660node[aerialway=rope_tow],
4661node[aerialway=goods],
4662node[aerialway=zip_line] {
4663 icon-image: "presets/misc/deprecated.svg";
4664 set icon_z17;
4665}
4666
4667/*************************/
4668/* public_transport tags */
4669/*************************/
4670
4671node[highway=bus_stop] {
4672 icon-image: "presets/transport/bus_small.svg";
4673 set icon_z17;
4674}
4675node[public_transport=stop_position] {
4676 icon-image: "presets/transport/stop_position.svg";
4677 set icon_z17;
4678}
4679node[public_transport=stop_position][share_taxi=yes] {
4680 icon-image: "presets/transport/share_taxi.svg";
4681 set icon_z17;
4682}
4683node[public_transport=stop_position][bus=yes] {
4684 icon-image: "presets/transport/bus.svg";
4685 set icon_z17;
4686}
4687node[public_transport=stop_position][train=yes] {
4688 icon-image: "presets/transport/train.svg";
4689 set icon_z17;
4690}
4691node[public_transport=stop_position][light_rail=yes] {
4692 icon-image: "presets/transport/railway/light_rail.svg";
4693 set icon_z17;
4694}
4695node[public_transport=stop_position][tram=yes] {
4696 icon-image: "presets/transport/railway/tram.svg";
4697 set icon_z17;
4698}
4699node[public_transport=stop_position][subway=yes] {
4700 icon-image: "presets/transport/railway/subway.svg";
4701 set icon_z17;
4702}
4703node[public_transport=stop_position][monorail=yes] {
4704 icon-image: "presets/transport/railway/monorail.svg";
4705 set icon_z17;
4706}
4707node[public_transport=stop_position][trolleybus=yes] {
4708 icon-image: "presets/transport/trolleybus.svg";
4709 set icon_z17;
4710}
4711node[public_transport=stop_position][funicular=yes] {
4712 icon-image: "presets/transport/railway/funicular.svg";
4713 set icon_z17;
4714}
4715node[public_transport=stop_position][aerialway=yes] {
4716 icon-image: "presets/transport/aerialway/station.svg";
4717 set icon_z17;
4718}
4719node[public_transport=stop_position][ferry=yes] {
4720 icon-image: "presets/nautical/ferry.svg";
4721 set icon_z17;
4722}
4723area[public_transport=platform]:closed {
4724 fill-color: service#809bc0;
4725}
4726way[public_transport=platform]!:closed {
4727 width: 3;
4728 color: service#809bc0;
4729 dashes: 12,3;
4730}
4731node[public_transport=platform] {
4732 icon-image: "presets/transport/platform.svg";
4733 set icon_z17;
4734}
4735area[public_transport=station] {
4736 fill-color: railwaypoint#f7efb7;
4737}
4738node[public_transport=station] {
4739 icon-image: "presets/transport/station.svg";
4740 set icon_z17;
4741}
4742
4743/**************/
4744/* sport tags */
4745/**************/
4746
4747area[sport="9pin"],
4748area[sport="10pin"],
4749area[sport=soccer],
4750area[sport=australian_football],
4751area[sport=american_football],
4752area[sport=canadian_football],
4753area[sport=gaelic_games],
4754area[sport=rugby_league],
4755area[sport=rugby_union] {
4756 fill-color: sport#bde3cb;
4757}
4758node[sport="9pin"] {
4759 icon-image: "presets/sport/9pin.svg";
4760 set icon_z17;
4761}
4762node[sport="10pin"] {
4763 icon-image: "presets/sport/10pin.svg";
4764 set icon_z17;
4765}
4766node[sport=soccer],
4767node[sport=gaelic_games] {
4768 icon-image: "presets/sport/soccer.svg";
4769 set icon_z17;
4770}
4771node[sport=australian_football],
4772node[sport=american_football],
4773node[sport=canadian_football],
4774node[sport=rugby_league],
4775node[sport=rugby_union] {
4776 icon-image: "presets/sport/football.svg";
4777 set icon_z17;
4778}
4779area[sport=baseball],
4780area[sport=basketball],
4781area[sport=boules],
4782area[sport=bowls],
4783area[sport=canoe],
4784area[sport=chess],
4785area[sport=climbing]:closed,
4786area[sport=cricket],
4787area[sport=croquet] {
4788 fill-color: sport#bde3cb;
4789}
4790node[sport=baseball] {
4791 icon-image: "presets/sport/baseball.svg";
4792 set icon_z17;
4793}
4794node[sport=basketball] {
4795 icon-image: "presets/sport/basketball.svg";
4796 set icon_z17;
4797}
4798node[sport=boules] {
4799 icon-image: "presets/sport/boule.svg";
4800 set icon_z17;
4801}
4802node[sport=bowls] {
4803 icon-image: "presets/sport/boule.svg";
4804 set icon_z17;
4805}
4806node[sport=canoe] {
4807 icon-image: "presets/sport/canoe.svg";
4808 set icon_z17;
4809}
4810node[sport=chess] {
4811 icon-image: "presets/sport/chess.svg";
4812 set icon_z17;
4813}
4814node[sport=climbing] {
4815 icon-image: "presets/sport/climbing.svg";
4816 set icon_z17;
4817}
4818node[climbing=route_bottom] {
4819 icon-image: "presets/sport/climbing_route_bottom.svg";
4820 set icon_z17;
4821}
4822node[climbing=route_top] {
4823 icon-image: "presets/sport/climbing_route_top.svg";
4824 set icon_z17;
4825}
4826node[sport=cricket] {
4827 icon-image: "presets/sport/cricket.svg";
4828 set icon_z17;
4829}
4830node[sport=croquet] {
4831 icon-image: "presets/sport/croquet.svg";
4832 set icon_z17;
4833}
4834area[sport=cycling],
4835area[sport=dog_racing],
4836area[sport=equestrian],
4837area[sport=golf],
4838area[sport=gymnastics],
4839area[sport=field_hockey],
4840area[sport=ice_hockey],
4841area[sport=curling],
4842area[sport=horse_racing],
4843area[sport=karting][highway!=raceway],
4844area[sport=karting][highway=raceway][area=yes],
4845area[sport=motocross][highway!=raceway],
4846area[sport=motocross][highway=raceway][area=yes],
4847area[sport=motor][highway!=raceway],
4848area[sport=motor][highway=raceway][area=yes] {
4849 fill-color: sport#bde3cb;
4850}
4851node[sport=cycling] {
4852 icon-image: "presets/sport/cycling.svg";
4853 set icon_z17;
4854}
4855node[sport=dog_racing] {
4856 icon-image: "presets/sport/dog_racing.svg";
4857 set icon_z17;
4858}
4859node[sport=equestrian] {
4860 icon-image: "presets/sport/equestrian.svg";
4861 set icon_z17;
4862}
4863node[sport=golf] {
4864 icon-image: "presets/sport/golf.svg";
4865 set icon_z17;
4866}
4867node[sport=gymnastics] {
4868 icon-image: "presets/sport/gymnastics.svg";
4869 set icon_z17;
4870}
4871node[sport=field_hockey] {
4872 icon-image: "presets/sport/field_hockey.svg";
4873 set icon_z17;
4874}
4875node[sport=ice_hockey] {
4876 icon-image: "presets/sport/ice_hockey.svg";
4877 set icon_z17;
4878}
4879node[sport=curling] {
4880 icon-image: "presets/sport/curling.svg";
4881 set icon_z17;
4882}
4883node[sport=horse_racing] {
4884 icon-image: "presets/sport/riding.svg";
4885 set icon_z17;
4886}
4887node[sport=karting] {
4888 icon-image: "presets/sport/karting.svg";
4889 set icon_z17;
4890}
4891node[sport=motocross] {
4892 icon-image: "presets/sport/motocross.svg";
4893 set icon_z17;
4894}
4895node[sport=motor] {
4896 icon-image: "presets/sport/motor.svg";
4897 set icon_z17;
4898}
4899area[sport=athletics] {
4900 fill-color: sport_athletics#cfebd7;
4901}
4902node[sport=athletics] {
4903 icon-image: "presets/sport/athletics.svg";
4904 set icon_z17;
4905}
4906area[sport=running]:closed {
4907 fill-color: sport_running#cfebd8;
4908}
4909way[sport=running] {
4910 width: 2;
4911 color: sport_running#cfebd8;
4912}
4913node[sport=running] {
4914 icon-image: "presets/sport/running.svg";
4915 set icon_z17;
4916}
4917area[sport=multi] {
4918 fill-color: sport_multi#cfebd9;
4919}
4920node[sport=multi] {
4921 icon-image: "presets/sport/multi.svg";
4922 set icon_z17;
4923}
4924area[sport=pelota],
4925area[sport=racquet],
4926area[sport=ice_skating],
4927area[sport=roller_skating],
4928area[sport=skateboard] {
4929 fill-color: sport#bde3cb;
4930}
4931node[sport=pelota] {
4932 icon-image: "presets/sport/pelota.svg";
4933 set icon_z17;
4934}
4935node[sport=racquet] {
4936 icon-image: "presets/sport/racquetball.svg";
4937 set icon_z17;
4938}
4939node[sport=ice_skating] {
4940 icon-image: "presets/sport/ice_skating.svg";
4941 set icon_z17;
4942}
4943node[sport=roller_skating] {
4944 icon-image: "presets/sport/roller_skating.svg";
4945 set icon_z17;
4946}
4947node[sport=skating] {
4948 icon-image: "presets/misc/deprecated.svg";
4949 set icon_z17;
4950}
4951node[sport=skateboard] {
4952 icon-image: "presets/sport/skateboard.svg";
4953 set icon_z17;
4954}
4955area[sport=swimming] {
4956 fill-color: swimming_pool#51c4ef;
4957}
4958node[sport=swimming] {
4959 icon-image: "presets/sport/swimming.svg";
4960 set icon_z17;
4961}
4962area[sport=table_tennis],
4963area[sport=tennis],
4964area[sport=paintball] {
4965 fill-color: sport#bde3cb;
4966}
4967node[sport=table_tennis] {
4968 icon-image: "presets/sport/table_tennis.svg";
4969 set icon_z17;
4970}
4971node[sport=tennis] {
4972 icon-image: "presets/sport/tennis.svg";
4973 set icon_z17;
4974}
4975node[sport=paintball][!is_prop_set(icon-image)] {
4976 icon-image: "presets/misc/no_icon.svg";
4977 set icon_z17;
4978}
4979area[sport=squash],
4980area[sport=shooting],
4981area[sport=volleyball],
4982area[sport=beachvolleyball],
4983area[sport=billiards],
4984area[sport=bowling],
4985area[sport=handball],
4986area[sport=rowing],
4987area[sport=sailing],
4988area[sport=scuba_diving],
4989area[sport=badminton] {
4990 fill-color: sport#bde3cb;
4991}
4992node[sport=squash][!is_prop_set(icon-image)] {
4993 icon-image: "presets/misc/no_icon.svg";
4994 set icon_z17;
4995}
4996node[sport=shooting] {
4997 icon-image: "presets/sport/range.svg";
4998 set icon_z17;
4999}
5000node[sport=volleyball] {
5001 icon-image: "presets/sport/volleyball.svg";
5002 set icon_z17;
5003}
5004node[sport=beachvolleyball] {
5005 icon-image: "presets/sport/beachvolleyball.svg";
5006 set icon_z17;
5007}
5008node[sport=billiards] {
5009 icon-image: "presets/sport/billiards.svg";
5010 set icon_z17;
5011}
5012node[sport=bowling] {
5013 icon-image: "presets/sport/9pin.svg";
5014 set icon_z17;
5015}
5016node[sport=handball] {
5017 icon-image: "presets/sport/handball.svg";
5018 set icon_z17;
5019}
5020node[sport=rowing] {
5021 icon-image: "presets/sport/rowing.svg";
5022 set icon_z17;
5023}
5024node[sport=sailing][!is_prop_set(icon-image)] {
5025 icon-image: "presets/misc/no_icon.svg";
5026 set icon_z17;
5027}
5028node[sport=scuba_diving] {
5029 icon-image: "presets/sport/scuba_diving.svg";
5030 set icon_z17;
5031}
5032node[sport=badminton][!is_prop_set(icon-image)] {
5033 icon-image: "presets/misc/no_icon.svg";
5034 set icon_z17;
5035}
5036area[sport=archery],
5037area[sport=fishing],
5038area[sport=model_aerodrome],
5039area[sport=rc_car] {
5040 fill-color: sport#bde3cb;
5041}
5042node[sport=archery] {
5043 icon-image: "presets/sport/archery.svg";
5044 set icon_z17;
5045}
5046node[sport=fishing] {
5047 icon-image: "presets/sport/fishing.svg";
5048 set icon_z17;
5049}
5050node[sport=model_aerodrome] {
5051 icon-image: "presets/transport/airport.svg";
5052 set icon_z17;
5053}
5054node[sport=rc_car] {
5055 icon-image: "presets/sport/rc_car.svg";
5056 set icon_z17;
5057}
5058
5059/****************/
5060/* natural tags */
5061/****************/
5062
5063area[natural=spring] {
5064 fill-color: light_water#00005f;
5065}
5066node[natural=spring] {
5067 icon-image: "presets/landmark/spring.svg";
5068 set icon_z17;
5069}
5070node[natural=saddle] {
5071 icon-image: "presets/landmark/saddle.svg";
5072 set icon_z0;
5073 set text_z0;
5074}
5075node[natural=peak] {
5076 icon-image: "presets/landmark/peak.svg";
5077 set icon_z0;
5078 set text_z0;
5079}
5080node[natural=peak][tourism=viewpoint] {
5081 icon-image: "presets/sightseeing/peak_viewpoint.svg";
5082 set icon_z0;
5083 set text_z0;
5084}
5085area[natural=glacier] {
5086 fill-color: glacier#ffffff;
5087}
5088node[natural=volcano] {
5089 icon-image: "presets/landmark/volcano.svg";
5090 set icon_z0;
5091 set text_z0;
5092}
5093area[natural=cliff]:closed {
5094 fill-color: natural#002f00;
5095}
5096way[natural=cliff] {
5097 repeat-image: "presets/misc/cliff_pattern.svg";
5098 repeat-image-align: top;
5099 repeat-image-offset: 0.5;
5100 width: 1;
5101 color: #b2b2b2;
5102}
5103node[natural=cliff] {
5104 icon-image: "presets/misc/cliff.svg";
5105 set icon_z17;
5106}
5107way[natural=earth_bank] {
5108 repeat-image: "presets/misc/earth_bank_pattern.svg";
5109 repeat-image-align: top;
5110 repeat-image-offset: 0.5;
5111 width: 1;
5112 color: #9c6f32;
5113}
5114way[natural=arete] {
5115 width: 1;
5116 color: arete#e6e6e6;
5117}
5118way[natural=ridge] {
5119 width: 1;
5120 color: natural#002f00;
5121}
5122way[natural=valley] {
5123 width: 1;
5124 color: natural#002f00;
5125}
5126area[natural=scree] {
5127 fill-color: scree#c3c3c3;
5128}
5129area[natural=shingle] {
5130 fill-color: shingle#c3c3c3;
5131}
5132area[natural=scrub] {
5133 fill-color: scrub#007000;
5134}
5135area[natural=shrubbery] {
5136 fill-color: shrubbery#399a4e;
5137}
5138area[natural=fell] {
5139 fill-color: natural#002f00;
5140}
5141area[natural=heath] {
5142 fill-color: heath#ffffc0;
5143}
5144way[natural=tree_row] {
5145 width: 2;
5146 color: woodarea#008000;
5147}
5148area[natural=wood] {
5149 fill-color: woodarea#008000;
5150}
5151area[natural=grassland] {
5152 fill-color: green#b1e0c2;
5153}
5154area[natural=wetland] {
5155 fill-color: marsh#4f4ff3;
5156}
5157area[natural=water] {
5158 fill-color: water#0000ff;
5159}
5160area[natural=water][intermittent=yes] {
5161 width: 2;
5162 dashes: 15, 5;
5163}
5164way[natural=coastline] {
5165 width: 2;
5166 color: water#0000ff;
5167 right-casing-color: water#0000ff;
5168 right-casing-width: 8;
5169 right-casing-opacity: 0.35;
5170}
5171area[natural=mud] {
5172 fill-color: mud#cba762;
5173}
5174area[natural=beach] {
5175 fill-color: beach#f8dba2;
5176}
5177area[natural=sand] {
5178 fill-color: sand#f8dba2;
5179}
5180area[natural=bare_rock] {
5181 fill-color: bare_rock#f8f8c7;
5182}
5183area[natural=rock] {
5184 fill-color: stone#f8f8c7;
5185}
5186node[natural=rock] {
5187 icon-image: "presets/misc/rock.svg";
5188 set icon_z17;
5189}
5190area[natural=stone] {
5191 fill-color: stone#f8f8c7;
5192}
5193node[natural=stone] {
5194 icon-image: "presets/misc/stone.svg";
5195 set icon_z17;
5196}
5197area[natural=bay]:closed {
5198 fill-color: natural#002f00;
5199}
5200way[natural=bay] {
5201 width: 2;
5202 color: natural#002f00;
5203}
5204node[natural=bay] {
5205 icon-image: "presets/nautical/bay.svg";
5206 set icon_z17;
5207}
5208area[natural=strait]:closed {
5209 fill-color: natural#002f00;
5210}
5211way[natural=strait] {
5212 width: 2;
5213 color: natural#002f00;
5214}
5215node[natural=strait] {
5216 icon-image: "presets/nautical/strait.svg";
5217 set icon_z17;
5218}
5219area[natural=cape],
5220area[natural=sinkhole],
5221area[natural=cave_entrance] {
5222 fill-color: natural#002f00;
5223}
5224node[natural=cape] {
5225 icon-image: "presets/nautical/cape.svg";
5226 set icon_z17;
5227}
5228node[natural=sinkhole] {
5229 icon-image: "presets/landmark/sinkhole.svg";
5230 set icon_z17;
5231}
5232node[natural=sinkhole][sinkhole=bluehole] {
5233 icon-image: "presets/landmark/bluehole.svg";
5234 set icon_z17;
5235}
5236node[natural=sinkhole][sinkhole=doline] {
5237 icon-image: "presets/landmark/doline.svg";
5238 set icon_z17;
5239}
5240node[natural=sinkhole][sinkhole=estavelle] {
5241 icon-image: "presets/landmark/estavelle.svg";
5242 set icon_z17;
5243}
5244node[natural=sinkhole][sinkhole=pit] {
5245 icon-image: "presets/landmark/pit.svg";
5246 set icon_z17;
5247}
5248node[natural=sinkhole][sinkhole=ponor] {
5249 icon-image: "presets/landmark/ponor.svg";
5250 set icon_z17;
5251}
5252node[natural=cave_entrance] {
5253 icon-image: "presets/landmark/cave_entrance.svg";
5254 set icon_z17;
5255}
5256area[natural=reef] {
5257 fill-color: reef#80c9ff;
5258}
5259node[natural=reef] {
5260 icon-image: "presets/landmark/reef.svg";
5261 set icon_z17;
5262}
5263node[natural=shrub] {
5264 icon-image: "presets/landmark/shrub.svg";
5265 set icon_z17;
5266}
5267node[natural=tree] {
5268 icon-image: "presets/landmark/trees.svg";
5269 set icon_z17;
5270}
5271node[natural=tree][leaf_type=needleleaved] {
5272 icon-image: "presets/landmark/trees_conifer.svg";
5273 set icon_z17;
5274}
5275node[natural=tree][leaf_type=broadleaved] {
5276 icon-image: "presets/landmark/trees_broad_leaved.svg";
5277 set icon_z17;
5278}
5279node[natural=glacier],
5280node[natural=scree],
5281node[natural=shingle],
5282node[natural=scrub],
5283node[natural=shrubbery],
5284node[natural=fell],
5285node[natural=heath],
5286node[natural=tree_row],
5287node[natural=wood],
5288node[natural=grassland],
5289node[natural=wetland],
5290node[natural=water],
5291node[natural=coastline],
5292node[natural=mud],
5293node[natural=beach],
5294node[natural=sand],
5295node[natural=land],
5296node[natural=bare_rock],
5297node[natural=arete],
5298node[natural=ridge],
5299node[natural=valley] {
5300 icon-image: "presets/misc/deprecated.svg";
5301 set icon_z17;
5302}
5303/*****************/
5304/* waterway tags */
5305/*****************/
5306
5307way[waterway=river] {
5308 width: 2;
5309 color: water#0000ff;
5310}
5311area[waterway=riverbank] {
5312 fill-color: riverbank#0000cf;
5313 width: 1;
5314 color: riverbank#0000cf;
5315}
5316way[waterway=pressurised],
5317way[waterway=canal] {
5318 width: 2;
5319 color: water#0000ff;
5320}
5321way[waterway=river][lock=yes],
5322way[waterway=canal][lock=yes] {
5323 casing-width: 2;
5324 casing-color: lock#303030;
5325 casing-dashes: 5,20;
5326}
5327way[waterway=pressurised][tunnel] {
5328 casing-width: 1;
5329 casing-color: tunnel#964B00;
5330}
5331way[waterway=pressurised][man_made=pipeline] {
5332 casing-width: 1;
5333 casing-color: pipeline#660000;
5334}
5335way[waterway=stream] {
5336 width: 1;
5337 color: stream#6600cc;
5338}
5339way[waterway=ditch],
5340way[waterway=drain] {
5341 width: 1;
5342 color: water#0000ff;
5343}
5344way[waterway=tidal_channel] {
5345 width: 1;
5346 color: tidal_channel#0000ff;
5347}
5348way[waterway=river][intermittent=yes],
5349area[waterway=riverbank][intermittent=yes],
5350way[waterway=canal][intermittent=yes],
5351way[waterway=stream][intermittent=yes],
5352way[waterway=ditch][intermittent=yes],
5353way[waterway=drain][intermittent=yes],
5354way[waterway=tidal_channel][intermittent=yes] {
5355 dashes: 15, 5;
5356}
5357area[waterway=dock] {
5358 fill-color: dock#0000cf;
5359}
5360node[waterway=dock] {
5361 icon-image: "presets/nautical/boatyard.svg";
5362 set icon_z17;
5363}
5364way[waterway=lock_gate] {
5365 width: 3;
5366 color: lock_gate#303030;
5367}
5368node[waterway=lock_gate] {
5369 icon-image: "presets/nautical/lock_gate.svg";
5370 set icon_z17;
5371}
5372node[waterway=turning_point] {
5373 icon-image: "presets/nautical/turning.svg";
5374 set icon_z17;
5375}
5376area[waterway=boatyard] {
5377 fill-color: manmade#d8d8d8;
5378}
5379node[waterway=boatyard] {
5380 icon-image: "presets/nautical/boatyard.svg";
5381 set icon_z17;
5382}
5383node[waterway=water_point],
5384node[waterway=waste_disposal],
5385node[waterway=mooring] {
5386 icon-image: "presets/misc/deprecated.svg";
5387 set icon_z17;
5388}
5389node[mooring] {
5390 icon-image: "presets/nautical/marina.svg";
5391 set icon_z17;
5392}
5393area[waterway=fuel] {
5394 fill-color: amenity_traffic#f7efb7;
5395}
5396node[waterway=fuel] {
5397 icon-image: "presets/nautical/marine_fuel.svg";
5398 set icon_z17;
5399}
5400way[waterway=weir] {
5401 width: 2;
5402 color: manmade#d8d8d8;
5403}
5404node[waterway=weir] {
5405 icon-image: "presets/nautical/weir.svg";
5406 set icon_z17;
5407}
5408area[waterway=dam]:closed {
5409 fill-color: manmade#d8d8d8;
5410}
5411way[waterway=dam] {
5412 width: 2;
5413 color: manmade#d8d8d8;
5414}
5415node[waterway=dam] {
5416 icon-image: "presets/nautical/dam.svg";
5417 set icon_z17;
5418}
5419/* it's not possible to have both line and area, line seems more likely */
5420way[waterway=waterfall] {
5421 width: 2;
5422 color: manmade#d8d8d8;
5423}
5424node[waterway=waterfall] {
5425 icon-image: "presets/nautical/waterfall.svg";
5426 set icon_z17;
5427}
5428node[waterway=river], node[waterway=riverbank],
5429node[waterway=canal], node[waterway=wadi],
5430node[waterway=stream],
5431node[waterway=ditch], node[waterway=drain] {
5432 icon-image: "presets/misc/deprecated.svg";
5433 set icon_z17;
5434}
5435
5436/**************/
5437/* route tags */
5438/**************/
5439
5440way[route=ferry] {
5441 width: 1;
5442 color: ferry#809bc0;
5443 dashes: 9,9;
5444}
5445node[route=bus],
5446node[route=ferry],
5447node[route=flight],
5448node[route=ncn],
5449node[route=subsea],
5450node[route=ski],
5451node[route=tour],
5452node[route=pub_crawl] {
5453 icon-image: "presets/misc/deprecated.svg";
5454 set icon_z17;
5455}
5456
5457/*******************/
5458/* properties tags */
5459/*******************/
5460
5461node[mountain_pass?] {
5462 icon-image: "presets/landmark/mountain_pass.svg";
5463 set icon_z0;
5464 set text_z0;
5465}
5466
5467/*****************/
5468/* boundary tags */
5469/*****************/
5470
5471relation[boundary=protected_area] > way::core_boundary,
5472relation[boundary=administrative] > way::core_boundary,
5473relation[boundary=postal_code] > way::core_boundary,
5474relation[boundary=political] > way::core_boundary,
5475relation[boundary=maritime] > way::core_boundary,
5476relation[boundary=hazard] > way::core_boundary,
5477relation[boundary=national_park] > way::core_boundary,
5478way[boundary=protected_area]::core_boundary,
5479way[boundary=administrative]::core_boundary,
5480way[boundary=postal_code]::core_boundary,
5481way[boundary=political]::core_boundary,
5482way[boundary=maritime]::core_boundary,
5483way[boundary=hazard]::core_boundary,
5484way[boundary=national_park]::core_boundary {
5485 z-index: 2;
5486 modifier: false;
5487 width: 1;
5488 color: boundary#FF6600;
5489 dashes: 9,9;
5490}
5491/* admin_level >=9 use the default width of 1 defined above */
5492way[boundary=administrative][admin_level=7]::core_boundary,
5493relation[boundary=administrative][admin_level=7] > way::core_boundary,
5494way[boundary=administrative][admin_level=8]::core_boundary,
5495relation[boundary=administrative][admin_level=8] > way::core_boundary {
5496 width: 2;
5497}
5498way[boundary=administrative][admin_level=5]::core_boundary,
5499relation[boundary=administrative][admin_level=5] > way::core_boundary,
5500way[boundary=administrative][admin_level=6]::core_boundary,
5501relation[boundary=administrative][admin_level=6] > way::core_boundary {
5502 width: 3;
5503}
5504way[boundary=administrative][admin_level=3]::core_boundary,
5505relation[boundary=administrative][admin_level=3] > way::core_boundary,
5506way[boundary=administrative][admin_level=4]::core_boundary,
5507relation[boundary=administrative][admin_level=4] > way::core_boundary {
5508 width: 4;
5509}
5510way[boundary=administrative][admin_level=1]::core_boundary,
5511relation[boundary=administrative][admin_level=1] > way::core_boundary,
5512way[boundary=administrative][admin_level=2]::core_boundary,
5513relation[boundary=administrative][admin_level=2] > way::core_boundary {
5514 width: 5;
5515}
5516
5517node[boundary=marker] {
5518 icon-image: "presets/landmark/boundary_marker.svg";
5519 set icon_z17;
5520}
5521
5522node[boundary=national],
5523node[boundary=administrative],
5524node[boundary=postal_code],
5525node[boundary=political],
5526node[boundary=national_park] {
5527 icon-image: "presets/misc/deprecated.svg";
5528 set icon_z17;
5529}
5530
5531/******************/
5532/* maxspeed nodes */
5533/******************/
5534node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
5535 icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
5536 set icon_z17;
5537}
5538node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
5539 maxspeedprop: tag(maxspeed);
5540 set maxspeedclass;
5541}
5542node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
5543 maxspeedprop: " ?";
5544 set maxspeedclass;
5545}
5546node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
5547 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
5548 set maxspeedclass;
5549}
5550node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
5551 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
5552 set maxspeedclass;
5553}
5554node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
5555 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
5556 set maxspeedclass;
5557}
5558node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
5559 /* background (white) */
5560 symbol-shape: circle;
5561 symbol-size: 17;
5562 symbol-fill-color: white;
5563 major-z-index: 4.2;
5564}
5565node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
5566node[traffic_sign][maxspeed=signals]::core_maxnodebg {
5567 /* background (black) */
5568 symbol-fill-color: black;
5569}
5570node[prop(maxspeedclass, default)]::core_maxnodefg {
5571 /* foreground (black text and red circle) */
5572 symbol-shape: circle;
5573 symbol-size: 15;
5574 symbol-stroke-color: crimson;
5575 symbol-stroke-width: 2;
5576 text: prop(maxspeedprop, default);
5577 font-size: 8;
5578 font-weight: bold;
5579 text-color: black;
5580 text-anchor-horizontal: center;
5581 text-anchor-vertical: center;
5582 text-offset-x: 0;
5583 text-offset-y: -1;
5584 major-z-index: 4.2;
5585}
5586node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
5587node[traffic_sign][maxspeed=signals]::core_maxnodefg {
5588 /* foreground (white text) */
5589 text-color: white;
5590}
5591node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
5592 symbol-shape: none;
5593}
5594node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
5595 text: none;
5596 symbol-shape: none;
5597}
5598
5599/**************/
5600/* place tags */
5601/**************/
5602
5603area[setting("place_fill_colour")][place=continent],
5604area[setting("place_fill_colour")][place=country],
5605area[setting("place_fill_colour")][place=state],
5606area[setting("place_fill_colour")][place=region],
5607area[setting("place_fill_colour")][place=county],
5608area[setting("place_fill_colour")][place=city],
5609area[setting("place_fill_colour")][place=town],
5610area[setting("place_fill_colour")][place=village],
5611area[setting("place_fill_colour")][place=hamlet],
5612area[setting("place_fill_colour")][place=municipality],
5613area[setting("place_fill_colour")][place=farm],
5614area[setting("place_fill_colour")][place=isolated_dwelling],
5615area[setting("place_fill_colour")][place=neighbourhood],
5616area[setting("place_fill_colour")][place=suburb],
5617area[setting("place_fill_colour")][place=locality],
5618area[setting("place_fill_colour")][place=city_block],
5619area[place=island],
5620area[place=islet] {
5621 fill-color: place#8de3cb;
5622 set place;
5623}
5624node[place=continent],
5625node[place=country],
5626node[place=state],
5627node[place=region],
5628node[place=county],
5629node[place=city],
5630node[place=town],
5631node[place=suburb],
5632node[place=village],
5633node[place=quarter],
5634node[place=neighbourhood],
5635node[place=hamlet],
5636node[place=municipality],
5637node[place=isolated_dwelling],
5638node[place=farm],
5639node[place=city_block],
5640node[place=island],
5641node[place=islet] {
5642 set icon_z0;
5643 set text_z0;
5644 font-weight: bold;
5645 text-color:black;
5646 text-halo-color: white;
5647 text-halo-radius: 1;
5648 set place;
5649}
5650
5651node[place=continent],
5652node[place=country],
5653node[place=state],
5654node[place=region],
5655node[place=county] {
5656 icon-image: "presets/place/capital.svg";
5657 z-index: 2.9;
5658}
5659node[place=city] {
5660 icon-image: "presets/place/city.svg";
5661 z-index: 2.8;
5662}
5663node[place=town] {
5664 icon-image: "presets/place/town.svg";
5665 z-index: 2.7;
5666}
5667node[place=suburb] {
5668 icon-image: "presets/place/suburb.svg";
5669 z-index: 2.6;
5670}
5671node[place=village] {
5672 icon-image: "presets/place/village.svg";
5673 z-index: 2.5;
5674}
5675node[place=quarter] {
5676 icon-image: "presets/place/quarter.svg";
5677 z-index: 2.5;
5678}
5679node[place=neighbourhood] {
5680 icon-image: "presets/place/neighbourhood.svg";
5681 z-index: 2.4;
5682}
5683node[place=hamlet] {
5684 icon-image: "presets/place/hamlet.svg";
5685 z-index: 2.3;
5686}
5687node[place=municipality] {
5688 icon-image: "presets/place/municipality.svg";
5689 z-index: 2.21;
5690}
5691node[place=isolated_dwelling] {
5692 icon-image: "presets/place/isolated_dwelling.svg";
5693 z-index: 2.2;
5694}
5695node[place=farm] {
5696 icon-image: "presets/place/farm.svg";
5697 z-index: 2.1;
5698}
5699node[place=city_block] {
5700 icon-image: "presets/place/cityblock.svg";
5701 z-index: 2.1;
5702}
5703node|z15-[place=locality],
5704node|z-14[place=locality][!setting("hide_icons")] {
5705 icon-image: "presets/place/locality.svg";
5706 font-weight: bold;
5707 text-color: black;
5708 text-halo-color: white;
5709 text-halo-radius: 1;
5710}
5711node[place=island] {
5712 icon-image: "presets/place/island.svg";
5713}
5714node[place=islet] {
5715 icon-image: "presets/place/islet.svg";
5716}
5717
5718area[place=square] {
5719 fill-color: place#8de3cb;
5720}
5721node[place=square] {
5722 icon-image: "presets/place/square.svg";
5723 set icon_z17;
5724}
5725
5726/***************************/
5727/* "work in progress" tags */
5728/***************************/
5729
5730node|z17-[fixme]::core_note_fixme,
5731node|z-16[fixme][!setting("hide_icons")]::core_note_fixme,
5732node|z17-[FIXME]::core_note_fixme,
5733node|z-16[FIXME][!setting("hide_icons")]::core_note_fixme {
5734 object-z-index: 10;
5735 icon-image: "presets/misc/fixme_annotation.svg";
5736}
5737node|z17-[note][setting("note_annotation")]::core_note_fixme,
5738node|z-16[note][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5739 object-z-index: 10;
5740 icon-image: "presets/misc/note_annotation.svg";
5741}
5742node|z16-[note][fixme][setting("note_annotation")]::core_note_fixme,
5743node|z-16[note][fixme][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme,
5744node|z17-[note][FIXME][setting("note_annotation")]::core_note_fixme,
5745node|z-16[note][FIXME][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5746 icon-image: "presets/misc/note_fixme_annotation.svg";
5747}
5748
5749/****************************************/
5750/* zoom levels and general node display */
5751/****************************************/
5752
5753/*
5754Summary of different zoom levels:
5755 (any zoom) place=* (except locality and square) and a few natural icons with their text is shown
5756 |z-14 tagged way nodes are hidden completely
5757 |z-15 untagged way nodes are hidden completely
5758 |z15 place=locality icon
5759 |z16- place=locality text
5760 |z17- normal POI icons (without text),
5761 street name along highway=* ways
5762 |z18- text for normal POI icons is shown
5763
5764 * 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
5765 * all these zoom features are modifiable via style settings
5766 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5767
5768*/
5769
5770node|z-16[setting("hide_icons")],
5771node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5772node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5773 symbol-size: 2;
5774 symbol-shape: square;
5775 symbol-stroke-color: node_standard#ffff00;
5776 major-z-index: 4.95; /* put node squares above line text */
5777}
5778way > node|z-15[setting("shrink_nodes")]!:tagged {
5779 symbol-shape: none;
5780}
5781node:connection {
5782 symbol-stroke-color: node_connection#ffff00;
5783}
5784node:tagged {
5785 symbol-stroke-color: none;
5786 symbol-fill-color: node_tagged#00ffff;
5787}
5788node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5789 symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5790}
5791way > 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 */
5792 symbol-shape: none;
5793}
5794
5795way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5796
5797node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5798way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5799node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5800
5801node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5802way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5803node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5804
5805node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5806way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5807node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5808
5809node[!setting("shrink_nodes")] { symbol-size: 4; }
5810way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5811node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5812
5813node:selected {
5814 symbol-shape: square;
5815 symbol-size: 6;
5816 symbol-fill-color: node_selected#ff0000;
5817 symbol-stroke-color: node_selected#ff0000;
5818}
5819
5820node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5821relation|z-16[type=restriction][setting("hide_icons")] {
5822 icon-image: none;
5823}
5824node|z-17[setting("hide_icons")]!.text_z0 {
5825 text: none;
5826}
5827node|z16-17[setting("hide_icons")][place=locality] {
5828 text: auto;
5829}
5830
5831node|z-18,area|z-18 { font-size: 8; }
5832node|z19,area|z19 { font-size: 9; }
5833node|z20-,area|z20- { font-size: 11; }
5834
5835node.place, way.place, area.place { font-size: 11; }
5836
5837
5838/*******************/
5839/* way text labels */
5840/*******************/
5841
5842way|z18-[highway=motorway][setting("highway_labels")],
5843way|z18-[highway=motorway_link][setting("highway_labels")],
5844way|z18-[highway=trunk][setting("highway_labels")],
5845way|z18-[highway=trunk_link][setting("highway_labels")],
5846way|z18-[highway=primary][setting("highway_labels")],
5847way|z18-[highway=primary_link][setting("highway_labels")],
5848way|z18-[highway=secondary][setting("highway_labels")],
5849way|z18-[highway=secondary_link][setting("highway_labels")],
5850way|z18-[highway=tertiary][setting("highway_labels")],
5851way|z18-[highway=tertiary_link][setting("highway_labels")],
5852way|z18-[highway=unclassified][setting("highway_labels")],
5853way|z18-[highway=residential][setting("highway_labels")],
5854way|z18-[highway=living_street][setting("highway_labels")],
5855way|z18-[highway=escape][setting("highway_labels")],
5856way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5857way|z18-[highway=steps][setting("highway_labels")],
5858way|z18-[highway=footway][setting("highway_labels")],
5859way|z18-[highway=path][setting("highway_labels")],
5860way|z18-[highway=service][setting("highway_labels")],
5861way|z18-[highway=track][setting("highway_labels")],
5862way|z18-[highway=cycleway][setting("highway_labels")],
5863way|z18-[highway=bridleway][setting("highway_labels")],
5864way|z18-[highway=bus_guideway][setting("highway_labels")],
5865way|z18-[highway=busway][setting("highway_labels")],
5866way|z18-[highway=raceway][setting("highway_labels")],
5867way|z18-[highway=construction][setting("highway_labels")],
5868way|z18-[highway=road][setting("highway_labels")] {
5869 text: auto;
5870 text-color: black;
5871 font-size: 10;
5872 text-position: line;
5873 text-halo-opacity: 1;
5874 text-halo-radius: 1.5;
5875}
5876way|z18-[highway=motorway][setting("highway_labels")],
5877way|z18-[highway=motorway_link][setting("highway_labels")] {
5878 text-halo-color: motorway#809bc0;
5879}
5880way|z18-[highway=trunk][setting("highway_labels")],
5881way|z18-[highway=trunk_link][setting("highway_labels")] {
5882 text-halo-color: trunk#7fc97f;
5883}
5884way|z18-[highway=primary][setting("highway_labels")],
5885way|z18-[highway=primary_link][setting("highway_labels")] {
5886 text-halo-color: primary#fb805f;
5887}
5888way|z18-[highway=secondary][setting("highway_labels")],
5889way|z18-[highway=secondary_link][setting("highway_labels")] {
5890 text-halo-color: secondary#fdbf6f;
5891}
5892way|z18-[highway=tertiary][setting("highway_labels")],
5893way|z18-[highway=tertiary_link][setting("highway_labels")] {
5894 text-halo-color: tertiary#f7f496;
5895}
5896way|z18-[highway=unclassified][setting("highway_labels")],
5897way|z18-[highway=residential][setting("highway_labels")],
5898way|z18-[highway=living_street][setting("highway_labels")],
5899way|z18-[highway=escape][setting("highway_labels")] {
5900 text-halo-color: street#c0c0c0;
5901}
5902way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5903way|z18-[highway=steps][setting("highway_labels")],
5904way|z18-[highway=footway][setting("highway_labels")],
5905way|z18-[highway=path][setting("highway_labels")] {
5906 text-halo-color: foot#00ff00;
5907}
5908way|z18-[highway=service][setting("highway_labels")] {
5909 text-halo-color: service#809bc0;
5910}
5911way|z18-[highway=track][setting("highway_labels")] {
5912 text-halo-color: highway_track#6e541c;
5913}
5914way|z18-[highway=cycleway][setting("highway_labels")],
5915way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5916 text-halo-color: bicycle#b100ff;
5917}
5918way|z18-[highway=bridleway][setting("highway_labels")] {
5919 text-halo-color: horse#a18559;
5920}
5921way|z18-[highway=bus_guideway][setting("highway_labels")] {
5922 text-halo-color: rail#404040;
5923}
5924way|z18-[highway=busway][setting("highway_labels")] {
5925 text-halo-color: bus#89cbeb;
5926}
5927way|z18-[highway=raceway][setting("highway_labels")] {
5928 text-halo-color: raceway#ff80ff;
5929}
5930way|z18-[highway=construction][setting("highway_labels")] {
5931 text-halo-color: construction#ffff00;
5932}
5933way|z18-[highway=road][setting("highway_labels")] {
5934 text-halo-color: highway_road#770000;
5935}
5936way|z18-[highway][railway=platform][setting("highway_labels")] {
5937 text-halo-color: rail#404040;
5938}
5939way|z18-[highway][public_transport=platform][setting("highway_labels")] {
5940 text-halo-color: service#809bc0;
5941}
5942way|z19[highway][setting("highway_labels")] {
5943 font-size: 11;
5944}
5945way|z20-[highway][setting("highway_labels")] {
5946 font-size: 12;
5947}
5948
5949/*************/
5950/* Area fill */
5951/*************/
5952
5953/* small extent for unclosed area (see below for closed) */
5954area[setting("partial_fill")] {
5955 fill-extent: 15;
5956}
5957
5958/* Turn partial fill off and use plain fill, when the partial fill covers about
5959 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5960 Switching between full and partial fill while drawing an area might be irritating,
5961 so only do this at low zoom. */
5962area|z-13[setting("partial_fill")] {
5963 fill-extent-threshold: 1.0;
5964}
5965
5966/* Larger extent for closed areas.
5967 Turn partial fill off, when it covers more than about 50% of the area. This avoids
5968 areas with small unfilled patches in the center. */
5969area[setting("partial_fill")]:closed2 {
5970 fill-extent: 25;
5971 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5972}
5973
Note: See TracBrowser for help on using the repository browser.