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

Last change on this file since 15093 was 15093, checked in by Klumbumbus, 4 months ago

see #17727, fix #17731 - add natural=strait (icon self created, CC0 and PD licensed)

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