source: josm/trunk/styles/standard/elemstyles.mapcss @ 12993

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

fix #15357 - add cemetery=grave and historic=tomb

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