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

Last change on this file since 17045 was 17045, checked in by Klumbumbus, 2 years ago

see #19739 - Add icons for all sinkhole types, based on png icons from https://josm.openstreetmap.de/wiki/Presets/NewTags from Penegal, LGPL licensed, add anthropogenic and refitted checkboxes, make sinkhole values searchable

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