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

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

fix #19427 - Add pipeline=substation (icon self created based on internal pipeline icon, PD and CC0 licensed)

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