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

Last change on this file since 15269 was 15269, checked in by Klumbumbus, 6 weeks ago

fix #18010 - remove special rendering of deprecated tags type=conifer and type=broad_leaved

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