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

Last change on this file since 17525 was 17525, checked in by Don-vip, 2 months ago

see #20447 - add hazard tags

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