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

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

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