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

Last change on this file was 18400, checked in by stoecker, 4 months ago

fix #20963 - patch by skyper - improve build presets, fix svg mime types

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