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

Last change on this file was 15996, checked in by simon04, 4 weeks ago

see #18832 - Use logo_32x32x8.png for elemstyles.mapcss

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