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

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