source: josm/trunk/styles/standard/elemstyles.mapcss@ 15809

Last change on this file since 15809 was 15809, checked in by Don-vip, 5 years ago

add leisure=outdoor_seating preset

icon from https://wiki.openstreetmap.org/wiki/File:Outdoor_seating-14.svg

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