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

Last change on this file since 16990 was 16990, checked in by Klumbumbus, 3 months ago

see #18934 - Fix rendering of leisure=amusement_arcade and leisure=adult_gaming_centre

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