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

Last change on this file since 12616 was 12616, checked in by Klumbumbus, 21 months ago

fix #15164 - paint building=roof and building=* + wall=no a bit lighter like building:part=*

  • Property svn:eol-style set to native
File size: 117.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=archaeological_site],
3157area[historic=ruins],
3158area[historic=battlefield],
3159area[geological=palaeontological_site],
3160area[historic=wayside_cross],
3161area[historic=wayside_shrine],
3162area[historic=boundary_stone] {
3163    fill-color: historic#663300;
3164}
3165node[historic=castle] {
3166    icon-image: "presets/sightseeing/castle.svg";
3167    set icon_z17;
3168}
3169node[historic=monument] {
3170    icon-image: "presets/sightseeing/monument.svg";
3171    set icon_z17;
3172}
3173node[historic=memorial] {
3174    icon-image: "presets/sightseeing/memorial.svg";
3175    set icon_z17;
3176}
3177node[historic=archaeological_site] {
3178    icon-image: "presets/sightseeing/archaeological.svg";
3179    set icon_z17;
3180}
3181node[historic=ruins] {
3182    icon-image: "presets/sightseeing/ruins.svg";
3183    set icon_z17;
3184}
3185node[historic=battlefield] {
3186    icon-image: "presets/sightseeing/battlefield.svg";
3187    set icon_z17;
3188}
3189node[geological=palaeontological_site] {
3190    icon-image: "presets/sightseeing/palaeontological_site.svg";
3191    set icon_z17;
3192}
3193node[historic=wayside_cross] {
3194    icon-image: "presets/religion/wayside_cross.svg";
3195    set icon_z17;
3196}
3197node[historic=wayside_shrine] {
3198    icon-image: "presets/religion/wayside_shrine.svg";
3199    set icon_z17;
3200}
3201node[historic=boundary_stone] {
3202    icon-image: "presets/landmark/boundary_stone.svg";
3203    set icon_z17;
3204}
3205
3206/****************/
3207/* landuse tags */
3208/****************/
3209
3210area[landuse],
3211area[leisure],
3212area[amenity],
3213area[place],
3214area[natural],
3215area[man_made] {
3216    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3217}
3218area[landuse=farmland] {
3219    fill-color: farmland#b8e0b1;
3220}
3221area[landuse=meadow] {
3222    fill-color: meadow#b1e0b6;
3223}
3224area[landuse=vineyard],
3225area[landuse=orchard] {
3226    fill-color: green#b1e0c2;
3227}
3228area[landuse=quarry] {
3229    fill-color: quarry#888888;
3230}
3231area[landuse=landfill] {
3232    fill-color: landfill#663300;
3233}
3234area[landuse=basin],
3235area[landuse=reservoir] {
3236    fill-color: basin#0000bf;
3237}
3238area[landuse=forest] {
3239    fill-color: forest#b1efc8;
3240}
3241area[landuse=allotments] {
3242    fill-color: allotments#5dbf80;
3243}
3244area[landuse=greenhouse_horticulture],
3245area[landuse=plant_nursery] {
3246    fill-color: green#b1e0c2;
3247}
3248area[landuse=aquaculture] {
3249    fill-color: aquaculture#189dff;
3250}
3251area[landuse=grass] {
3252    fill-color: grass#97ca96;
3253}
3254area[landuse=residential] {
3255    fill-color: residential#f0f0f0;
3256}
3257area[landuse=garages] {
3258    fill-color: garages#d6c8aa;
3259}
3260area[landuse=farmyard] {
3261    fill-color: farmyard#f0f0f0;
3262}
3263area[landuse=retail],
3264area[landuse=commercial] {
3265    fill-color: retail#ffc4ee;
3266}
3267area[landuse=industrial] {
3268    fill-color: industrial#ecd8ff;
3269}
3270area[landuse=brownfield] {
3271    fill-color: brownfield#ecba32;
3272}
3273area[landuse=greenfield] {
3274    fill-color: greenfield#b1ec5c;
3275}
3276area[landuse=railway] {
3277    fill-color: railland#888888;
3278}
3279area[landuse=construction] {
3280    fill-color: construction#ffff00;
3281}
3282way[landuse=construction] {
3283    width: 1;
3284    color: construction#ffff00;
3285    dashes: 9,9;
3286}
3287area[landuse=military] {
3288    fill-color: military#b62c2c;
3289}
3290area[landuse=religious] {
3291    fill-color: religious#ffd454;
3292}
3293area[landuse=cemetery] {
3294    fill-color: cemetery#b1efc8;
3295}
3296area[landuse=village_green] {
3297    fill-color: green#b1e0c2;
3298}
3299area[landuse=recreation_ground] {
3300    fill-color: green#b1e0c2;
3301}
3302node[landuse] {
3303    icon-image: "presets/misc/deprecated.svg";
3304    set icon_z17;
3305}
3306
3307/*****************/
3308/* military tags */
3309/*****************/
3310
3311area[military=airfield],
3312area[military=bunker],
3313area[military=barracks],
3314area[military=danger_area],
3315area[military=range] {
3316    fill-color: military#b62c2c;
3317}
3318node[military=airfield] {
3319    icon-image: "presets/transport/airport/airfield.svg";
3320    set icon_z17;
3321}
3322node[military=bunker] {
3323    icon-image: "presets/landmark/bunker.svg";
3324    set icon_z17;
3325}
3326node[military=barracks][!is_prop_set(icon-image)] {
3327    icon-image: "presets/misc/no_icon.svg";
3328    set icon_z17;
3329}
3330node[military=danger_area] {
3331    icon-image: "presets/misc/danger.svg";
3332    set icon_z17;
3333}
3334node[military=range] {
3335    icon-image: "presets/sport/range.svg";
3336    set icon_z17;
3337}
3338
3339/****************/
3340/* railway tags */
3341/****************/
3342
3343area[railway=station] {
3344    fill-color: railwaypoint#f7efb7;
3345}
3346node[railway=station] {
3347    icon-image: "presets/transport/railway_station.svg";
3348    set icon_z17;
3349}
3350node[railway=halt] {
3351    icon-image: "presets/transport/railway_halt.svg";
3352    set icon_z17;
3353}
3354node[railway=tram_stop] {
3355    icon-image: "presets/transport/tram.svg";
3356    set icon_z17;
3357}
3358node[railway=subway_entrance] {
3359    icon-image: "presets/transport/underground.svg";
3360    set icon_z17;
3361}
3362node[railway=crossing] {
3363    icon-image: "presets/transport/railway/crossing.svg";
3364    set icon_z17;
3365}
3366node[railway=level_crossing] {
3367    icon-image: "presets/transport/railway/level_crossing.svg";
3368    set icon_z17;
3369}
3370way[railway=rail] {
3371    width: 2;
3372    color: rail#404040;
3373    dashes: 9,9;
3374    dashes-background-color: raildashed#ffffff;
3375}
3376way[railway=rail][service=crossover],
3377way[railway=rail][service=siding] {
3378    width: 1;
3379}
3380way[railway=rail][service=yard],
3381way[railway=rail][service=spur] {
3382    width: 1;
3383    color: railyard#552200;
3384}
3385/* draw tram on top of other way (highway=*) or
3386   as a standalone style */
3387way[highway][railway=tram]::core_railway,
3388way[!highway][railway=tram] {
3389    object-z-index: 1;
3390    modifier: false; /* don't draw default way if there is no line on default layer */
3391    width: 1;
3392    color: railover#202020;
3393    dashes: 9,9;
3394    casing-width: 1;
3395    casing-color: otherrail#808080;
3396    casing-linecap: round;
3397    casing-dashes: 9,9;
3398}
3399way[highway][railway=tram][service=crossover]::core_railway,
3400way[!highway][railway=tram][service=crossover],
3401way[highway][railway=tram][service=siding]::core_railway,
3402way[!highway][railway=tram][service=siding],
3403way[highway][railway=tram][service=yard]::core_railway,
3404way[!highway][railway=tram][service=yard],
3405way[highway][railway=tram][service=spur]::core_railway,
3406way[!highway][railway=tram][service=spur] {
3407    dashes: 6,6;
3408    casing-dashes: 6,6;
3409}
3410
3411way[railway=light_rail] {
3412    width: 2;
3413    color: otherrail#808080;
3414    dashes: 9,9;
3415}
3416way[railway=subway] {
3417    width: 1;
3418    color: subway#606060;
3419    dashes: 9,9;
3420}
3421way[railway=preserved] {
3422    width: 1;
3423    color: oldrail#404040;
3424    dashes: 9,9;
3425}
3426way[railway=light_rail][service=crossover],
3427way[railway=light_rail][service=siding],
3428way[railway=light_rail][service=yard],
3429way[railway=light_rail][service=spur],
3430way[railway=subway][service=crossover],
3431way[railway=subway][service=siding],
3432way[railway=subway][service=yard],
3433way[railway=subway][service=spur],
3434way[railway=preserved][service=crossover],
3435way[railway=preserved][service=siding],
3436way[railway=preserved][service=yard],
3437way[railway=preserved][service=spur] {
3438    dashes: 6,6;
3439}
3440/* disused often appears together with highway=xy */
3441/* -> draw on separate layer with higher z-index, but use */
3442/* modifier: false; to suppress default line when used alone. */
3443/* use default layer when used without highway=* to display bridge correctly */
3444way[railway=disused][highway]::core_railway,
3445way[railway=disused][!highway],
3446way[railway=abandoned][highway]::core_railway,
3447way[railway=abandoned][!highway] {
3448    width: 1;
3449    modifier: false;
3450    z-index: 1;
3451    color: oldrail#404040;
3452    dashes: 9,9;
3453}
3454way[railway=narrow_gauge],
3455way[railway=monorail] {
3456    width: 1;
3457    color: rail#404040;
3458    dashes: 9,9;
3459}
3460way[railway=narrow_gauge][service=crossover],
3461way[railway=narrow_gauge][service=siding],
3462way[railway=narrow_gauge][service=yard],
3463way[railway=narrow_gauge][service=spur],
3464way[railway=monorail][service=crossover],
3465way[railway=monorail][service=siding],
3466way[railway=monorail][service=yard],
3467way[railway=monorail][service=spur] {
3468    dashes: 6,6;
3469}
3470area[railway=turntable] {
3471    fill-color: rail#404040;
3472}
3473node[railway=turntable] {
3474    icon-image: "presets/transport/railway/turntable.svg";
3475    set icon_z17;
3476}
3477node[railway=buffer_stop] {
3478    icon-image: "presets/transport/railway/buffer_stop.svg";
3479    set icon_z17;
3480}
3481area[railway=platform]:closed {
3482    fill-color: rail#404040;
3483}
3484way[railway=platform] {
3485    width: 2;
3486    color: rail#404040;
3487}
3488way[railway=funicular] {
3489    width: 1;
3490    color: rail#404040;
3491    dashes: 9,9;
3492}
3493node[railway=switch] {
3494    icon-image: "presets/transport/railway/switch.svg";
3495    set icon_z17;
3496}
3497node[railway=signal] {
3498    icon-image: "presets/transport/railway/signal.svg";
3499    set icon_z17;
3500}
3501node[railway=milestone] {
3502    icon-image: "presets/transport/railway/milestone.svg";
3503    set icon_z17;
3504}
3505node[railway=rail], node[railway=tram], node[railway=light_rail],
3506node[railway=subway], node[railway=preserved],
3507node[railway=disused], node[railway=abandoned],
3508node[railway=narrow_gauge], node[railway=monorail],
3509node[railway=platform], node[railway=funicular],
3510node[service=yard], node[service=siding], node[service=spur] {
3511    icon-image: "presets/misc/deprecated.svg";
3512    set icon_z17;
3513}
3514way[railway=construction][!highway] {
3515    width: 1;
3516    color: construction#ffff00;
3517    dashes: 9,9;
3518}
3519way[railway=construction][construction=rail] {
3520    width: 2;
3521    color: rail#404040;
3522    dashes: 9,9;
3523    dashes-background-color: construction#ffff00;
3524}
3525way[railway=construction][construction=light_rail] {
3526    width: 2;
3527}
3528way[railway=construction][construction=tram][highway]::core_railway,
3529way[railway=construction][construction=tram][!highway] {
3530    z-index: 1;
3531    width: 1;
3532    color: railover#202020;
3533    dashes: 9,9;
3534    casing-width: 1;
3535    casing-color: construction#ffff00;
3536    casing-linecap: round;
3537    casing-dashes: 9,9;
3538}
3539
3540/****************/
3541/* aeroway tags */
3542/****************/
3543
3544area[aeroway=aerodrome] {
3545    fill-color: aeroway#660000;
3546    width: 2;
3547    dashes: 9,9;
3548}
3549node[aeroway=aerodrome][military!=airfield] {
3550    icon-image: "presets/transport/airport.svg";
3551    set icon_z17;
3552}
3553area[aeroway=terminal] {
3554    fill-color: terminal#bb0000;
3555}
3556node[aeroway=terminal] {
3557    icon-image: "presets/transport/airport/terminal.svg";
3558    set icon_z17;
3559}
3560area[aeroway=helipad] {
3561    fill-color: aeroway_dark#330000;
3562}
3563node[aeroway=helipad] {
3564    icon-image: "presets/transport/airport/helipad.svg";
3565    set icon_z17;
3566}
3567area[aeroway=runway]:closed {
3568    fill-color: aeroway_dark#330000;
3569}
3570way[aeroway=runway] {
3571    width: 3;
3572    color: aeroway_dark#330000;
3573}
3574area[aeroway=taxiway]:closed {
3575    fill-color: aeroway#660000;
3576}
3577way[aeroway=taxiway] {
3578    width: 2;
3579    color: aeroway#660000;
3580}
3581way[aeroway=parking_position] {
3582    width: 1;
3583    color: aeroway#660000;
3584}
3585node[aeroway=parking_position] {
3586    icon-image: "presets/transport/airport/parking_position.svg";
3587    set icon_z17;
3588}
3589area[aeroway=apron],
3590area[aeroway=hangar] {
3591    fill-color: aeroway_light#990000;
3592}
3593node[aeroway=apron],
3594node[aeroway=runway],
3595node[aeroway=taxiway] {
3596    icon-image: "presets/misc/deprecated.svg";
3597    set icon_z17;
3598}
3599node[aeroway=holding_position] {
3600    icon-image: "presets/transport/airport/holding_position.svg";
3601    set icon_z17;
3602}
3603node[aeroway=hangar] {
3604    icon-image: "presets/transport/airport/hangar.svg";
3605    set icon_z17;
3606}
3607node[aeroway=gate] {
3608    icon-image: "presets/transport/airport/gate.svg";
3609    set icon_z17;
3610}
3611node[airmark=beacon] {
3612    icon-image: "presets/transport/airport/airmark_beacon.svg";
3613    set icon_z17;
3614}
3615node[aeroway=navigationaid] {
3616    icon-image: "presets/transport/airport/navigationaid.svg";
3617    set icon_z17;
3618}
3619node[aeroway=windsock] {
3620    icon-image: "presets/transport/airport/windsock.svg";
3621    set icon_z17;
3622}
3623
3624/******************/
3625/* aerialway tags */
3626/******************/
3627
3628way[aerialway=cable_car],
3629way[aerialway=gondola] {
3630    width: 1;
3631    color: aerialway#663300;
3632    dashes: 9,9;
3633}
3634way[aerialway=chair_lift] {
3635    width: 1;
3636    color: aerialway#663300;
3637    dashes: 6,6;
3638}
3639way[aerialway=mixed_lift] {
3640    width: 1;
3641    color: aerialway#663300;
3642    dashes: 6,6,9,6;
3643}
3644way[aerialway=j-bar],
3645way[aerialway=t-bar],
3646way[aerialway=platter],
3647way[aerialway=rope_tow],
3648way[aerialway=drag_lift] {
3649    width: 1;
3650    color: aerialway#663300;
3651    dashes: 3,3;
3652}
3653way[aerialway=magic_carpet] {
3654    width: 1;
3655    color: aerialway#663300;
3656    dashes: 3,3;
3657}
3658way[aerialway=goods] {
3659    width: 1;
3660    color: aerialway#663300;
3661    dashes: 2,2;
3662}
3663area[aerialway=station] {
3664    fill-color: aerialway#663300;
3665}
3666node[aerialway=station] {
3667    icon-image: "presets/transport/aerialway/station.svg";
3668    set icon_z17;
3669}
3670node[aerialway=pylon] {
3671    icon-image: "presets/transport/aerialway/pylon.svg";
3672    set icon_z17;
3673}
3674node[aerialway=cable_car],
3675node[aerialway=gondola],
3676node[aerialway=chair_lift],
3677node[aerialway=mixed_lift],
3678node[aerialway=drag_lift],
3679node[aerialway=t-bar],
3680node[aerialway=j-bar],
3681node[aerialway=platter],
3682node[aerialway=magic_carpet],
3683node[aerialway=rope_tow],
3684node[aerialway=goods] {
3685    icon-image: "presets/misc/deprecated.svg";
3686    set icon_z17;
3687}
3688
3689/*************************/
3690/* public_transport tags */
3691/*************************/
3692
3693node[highway=bus_stop] {
3694    icon-image: "presets/transport/bus_small.svg";
3695    set icon_z17;
3696}
3697node[public_transport=stop_position] {
3698    icon-image: "presets/transport/stop_position.svg";
3699    set icon_z17;
3700}
3701node[public_transport=stop_position][share_taxi=yes] {
3702    icon-image: "presets/transport/share_taxi.svg";
3703    set icon_z17;
3704}
3705node[public_transport=stop_position][bus=yes] {
3706    icon-image: "presets/transport/bus.svg";
3707    set icon_z17;
3708}
3709node[public_transport=stop_position][train=yes] {
3710    icon-image: "presets/transport/train.svg";
3711    set icon_z17;
3712}
3713node[public_transport=stop_position][tram=yes] {
3714    icon-image: "presets/transport/railway/tram.svg";
3715    set icon_z17;
3716}
3717node[public_transport=stop_position][subway=yes] {
3718    icon-image: "presets/transport/railway/subway.svg";
3719    set icon_z17;
3720}
3721node[public_transport=stop_position][monorail=yes] {
3722    icon-image: "presets/transport/railway/monorail.svg";
3723    set icon_z17;
3724}
3725node[public_transport=stop_position][trolleybus=yes] {
3726    icon-image: "presets/transport/trolleybus.svg";
3727    set icon_z17;
3728}
3729node[public_transport=stop_position][funicular=yes] {
3730    icon-image: "presets/transport/railway/funicular.svg";
3731    set icon_z17;
3732}
3733node[public_transport=stop_position][aerialway=yes] {
3734    icon-image: "presets/transport/aerialway/station.svg";
3735    set icon_z17;
3736}
3737node[public_transport=stop_position][ferry=yes] {
3738    icon-image: "presets/nautical/ferry.svg";
3739    set icon_z17;
3740}
3741area[public_transport=platform]:closed {
3742    fill-color: service#809bc0;
3743}
3744way[public_transport=platform]!:closed {
3745    width: 3;
3746    color: service#809bc0;
3747    dashes: 12,3;
3748}
3749node[public_transport=platform] {
3750    icon-image: "presets/transport/platform.svg";
3751    set icon_z17;
3752}
3753area[public_transport=station] {
3754    fill-color: railwaypoint#f7efb7;
3755}
3756node[public_transport=station] {
3757    icon-image: "presets/transport/station.svg";
3758    set icon_z17;
3759}
3760
3761/**************/
3762/* sport tags */
3763/**************/
3764
3765area[sport="9pin"],
3766area[sport="10pin"],
3767area[sport=soccer],
3768area[sport=australian_football],
3769area[sport=american_football],
3770area[sport=canadian_football],
3771area[sport=gaelic_games],
3772area[sport=rugby_league],
3773area[sport=rugby_union] {
3774    fill-color: sport#bde3cb;
3775}
3776node[sport="9pin"] {
3777    icon-image: "presets/sport/9pin.svg";
3778    set icon_z17;
3779}
3780node[sport="10pin"] {
3781    icon-image: "presets/sport/10pin.svg";
3782    set icon_z17;
3783}
3784node[sport=soccer],
3785node[sport=gaelic_games] {
3786    icon-image: "presets/sport/soccer.svg";
3787    set icon_z17;
3788}
3789node[sport=australian_football],
3790node[sport=american_football],
3791node[sport=canadian_football],
3792node[sport=rugby_league],
3793node[sport=rugby_union] {
3794    icon-image: "presets/sport/football.svg";
3795    set icon_z17;
3796}
3797area[sport=baseball],
3798area[sport=basketball],
3799area[sport=boules],
3800area[sport=bowls],
3801area[sport=canoe],
3802area[sport=chess],
3803area[sport=climbing]:closed,
3804area[sport=cricket],
3805area[sport=croquet] {
3806    fill-color: sport#bde3cb;
3807}
3808node[sport=baseball] {
3809    icon-image: "presets/sport/baseball.svg";
3810    set icon_z17;
3811}
3812node[sport=basketball] {
3813    icon-image: "presets/sport/basketball.svg";
3814    set icon_z17;
3815}
3816node[sport=boules] {
3817    icon-image: "presets/sport/boule.svg";
3818    set icon_z17;
3819}
3820node[sport=bowls] {
3821    icon-image: "presets/sport/boule.svg";
3822    set icon_z17;
3823}
3824node[sport=canoe] {
3825    icon-image: "presets/sport/canoe.svg";
3826    set icon_z17;
3827}
3828node[sport=chess] {
3829    icon-image: "presets/sport/chess.svg";
3830    set icon_z17;
3831}
3832node[sport=climbing] {
3833    icon-image: "presets/sport/climbing.svg";
3834    set icon_z17;
3835}
3836node[sport=cricket] {
3837    icon-image: "presets/sport/cricket.svg";
3838    set icon_z17;
3839}
3840node[sport=croquet] {
3841    icon-image: "presets/sport/croquet.svg";
3842    set icon_z17;
3843}
3844area[sport=cycling],
3845area[sport=dog_racing],
3846area[sport=equestrian],
3847area[sport=golf],
3848area[sport=gymnastics],
3849area[sport=field_hockey],
3850area[sport=ice_hockey],
3851area[sport=horse_racing],
3852area[sport=karting][highway!=raceway],
3853area[sport=karting][highway=raceway][area=yes],
3854area[sport=motocross][highway!=raceway],
3855area[sport=motocross][highway=raceway][area=yes],
3856area[sport=motor][highway!=raceway],
3857area[sport=motor][highway=raceway][area=yes] {
3858    fill-color: sport#bde3cb;
3859}
3860node[sport=cycling] {
3861    icon-image: "presets/sport/cycling.svg";
3862    set icon_z17;
3863}
3864node[sport=dog_racing] {
3865    icon-image: "presets/sport/dog_racing.svg";
3866    set icon_z17;
3867}
3868node[sport=equestrian] {
3869    icon-image: "presets/sport/equestrian.svg";
3870    set icon_z17;
3871}
3872node[sport=golf] {
3873    icon-image: "presets/sport/golf.svg";
3874    set icon_z17;
3875}
3876node[sport=gymnastics] {
3877    icon-image: "presets/sport/gymnastics.svg";
3878    set icon_z17;
3879}
3880node[sport=field_hockey] {
3881    icon-image: "presets/sport/field_hockey.svg";
3882    set icon_z17;
3883}
3884node[sport=ice_hockey] {
3885    icon-image: "presets/sport/ice_hockey.svg";
3886    set icon_z17;
3887}
3888node[sport=horse_racing] {
3889    icon-image: "presets/sport/riding.svg";
3890    set icon_z17;
3891}
3892node[sport=karting] {
3893    icon-image: "presets/sport/karting.svg";
3894    set icon_z17;
3895}
3896node[sport=motocross] {
3897    icon-image: "presets/sport/motocross.svg";
3898    set icon_z17;
3899}
3900node[sport=motor] {
3901    icon-image: "presets/sport/motor.svg";
3902    set icon_z17;
3903}
3904area[sport=athletics] {
3905    fill-color: sport_athletics#cfebd7;
3906}
3907node[sport=athletics] {
3908    icon-image: "presets/sport/athletics.svg";
3909    set icon_z17;
3910}
3911area[sport=running] {
3912    fill-color: sport_running#cfebd8;
3913}
3914node[sport=running] {
3915    icon-image: "presets/sport/running.svg";
3916    set icon_z17;
3917}
3918area[sport=multi] {
3919    fill-color: sport_multi#cfebd9;
3920}
3921node[sport=multi] {
3922    icon-image: "presets/sport/multi.svg";
3923    set icon_z17;
3924}
3925area[sport=pelota],
3926area[sport=racquet],
3927area[sport=ice_skating],
3928area[sport=roller_skating],
3929area[sport=skateboard] {
3930    fill-color: sport#bde3cb;
3931}
3932node[sport=pelota] {
3933    icon-image: "presets/sport/pelota.svg";
3934    set icon_z17;
3935}
3936node[sport=racquet] {
3937    icon-image: "presets/sport/racquetball.svg";
3938    set icon_z17;
3939}
3940node[sport=ice_skating] {
3941    icon-image: "presets/sport/ice_skating.svg";
3942    set icon_z17;
3943}
3944node[sport=roller_skating] {
3945    icon-image: "presets/sport/roller_skating.svg";
3946    set icon_z17;
3947}
3948node[sport=skating] {
3949    icon-image: "presets/misc/deprecated.svg";
3950    set icon_z17;
3951}
3952node[sport=skateboard] {
3953    icon-image: "presets/sport/skateboard.svg";
3954    set icon_z17;
3955}
3956area[sport=swimming] {
3957    fill-color: swimming_pool#51c4ef;
3958}
3959node[sport=swimming] {
3960    icon-image: "presets/sport/swimming.svg";
3961    set icon_z17;
3962}
3963area[sport=table_tennis],
3964area[sport=tennis],
3965area[sport=paintball] {
3966    fill-color: sport#bde3cb;
3967}
3968node[sport=table_tennis] {
3969    icon-image: "presets/sport/table_tennis.svg";
3970    set icon_z17;
3971}
3972node[sport=tennis] {
3973    icon-image: "presets/sport/tennis.svg";
3974    set icon_z17;
3975}
3976node[sport=paintball][!is_prop_set(icon-image)] {
3977    icon-image: "presets/misc/no_icon.svg";
3978    set icon_z17;
3979}
3980area[sport=squash],
3981area[sport=shooting],
3982area[sport=volleyball],
3983area[sport=beachvolleyball],
3984area[sport=billiards],
3985area[sport=bowling],
3986area[sport=handball],
3987area[sport=rowing],
3988area[sport=sailing],
3989area[sport=scuba_diving],
3990area[sport=badminton] {
3991    fill-color: sport#bde3cb;
3992}
3993node[sport=squash][!is_prop_set(icon-image)] {
3994    icon-image: "presets/misc/no_icon.svg";
3995    set icon_z17;
3996}
3997node[sport=shooting] {
3998    icon-image: "presets/sport/range.svg";
3999    set icon_z17;
4000}
4001node[sport=volleyball] {
4002    icon-image: "presets/sport/volleyball.svg";
4003    set icon_z17;
4004}
4005node[sport=beachvolleyball] {
4006    icon-image: "presets/sport/beachvolleyball.svg";
4007    set icon_z17;
4008}
4009node[sport=billiards] {
4010    icon-image: "presets/sport/billiards.svg";
4011    set icon_z17;
4012}
4013node[sport=bowling] {
4014    icon-image: "presets/sport/9pin.svg";
4015    set icon_z17;
4016}
4017node[sport=handball] {
4018    icon-image: "presets/sport/handball.svg";
4019    set icon_z17;
4020}
4021node[sport=rowing] {
4022    icon-image: "presets/sport/rowing.svg";
4023    set icon_z17;
4024}
4025node[sport=sailing][!is_prop_set(icon-image)] {
4026    icon-image: "presets/misc/no_icon.svg";
4027    set icon_z17;
4028}
4029node[sport=scuba_diving] {
4030    icon-image: "presets/sport/scuba_diving.svg";
4031    set icon_z17;
4032}
4033node[sport=badminton][!is_prop_set(icon-image)] {
4034    icon-image: "presets/misc/no_icon.svg";
4035    set icon_z17;
4036}
4037area[sport=archery],
4038area[sport=fishing],
4039area[sport=model_aerodrome],
4040area[sport=rc_car] {
4041    fill-color: sport#bde3cb;
4042}
4043node[sport=archery] {
4044    icon-image: "presets/sport/archery.svg";
4045    set icon_z17;
4046}
4047node[sport=fishing] {
4048    icon-image: "presets/sport/fishing.svg";
4049    set icon_z17;
4050}
4051node[sport=model_aerodrome] {
4052    icon-image: "presets/transport/airport.svg";
4053    set icon_z17;
4054}
4055node[sport=rc_car] {
4056    icon-image: "presets/sport/rc_car.svg";
4057    set icon_z17;
4058}
4059
4060/****************/
4061/* natural tags */
4062/****************/
4063
4064area[natural=spring] {
4065    fill-color: light_water#00005f;
4066}
4067node[natural=spring] {
4068    icon-image: "presets/landmark/spring.svg";
4069    set icon_z17;
4070}
4071node[natural=saddle] {
4072    icon-image: "presets/landmark/saddle.svg";
4073    set icon_z0;
4074    set text_z0;
4075}
4076node[natural=peak] {
4077    icon-image: "presets/landmark/peak.svg";
4078    set icon_z0;
4079    set text_z0;
4080}
4081node[natural=peak][tourism=viewpoint] {
4082    icon-image: "presets/sightseeing/peak_viewpoint.svg";
4083    set icon_z0;
4084    set text_z0;
4085}
4086area[natural=glacier] {
4087    fill-color: glacier#ffffff;
4088}
4089node[natural=volcano] {
4090    icon-image: "presets/landmark/volcano.svg";
4091    set icon_z0;
4092    set text_z0;
4093}
4094area[natural=cliff]:closed {
4095    fill-color: natural#002f00;
4096}
4097way[natural=cliff] {
4098    repeat-image: "presets/misc/cliff_pattern.svg";
4099    repeat-image-align: top;
4100    width: 1;
4101    color: #b2b2b2;
4102}
4103node[natural=cliff] {
4104    icon-image: "presets/misc/cliff.svg";
4105    set icon_z17;
4106}
4107way[natural=ridge] {
4108    width: 1;
4109    color: natural#002f00;
4110}
4111way[natural=valley] {
4112    width: 1;
4113    color: natural#002f00;
4114}
4115area[natural=scree] {
4116    fill-color: scree#c3c3c3;
4117}
4118area[natural=shingle] {
4119    fill-color: shingle#c3c3c3;
4120}
4121area[natural=scrub] {
4122    fill-color: scrub#007000;
4123}
4124area[natural=fell] {
4125    fill-color: natural#002f00;
4126}
4127area[natural=heath] {
4128    fill-color: heath#ffffc0;
4129}
4130way[natural=tree_row] {
4131    width: 2;
4132    color: woodarea#008000;
4133}
4134area[natural=wood] {
4135    fill-color: woodarea#008000;
4136}
4137area[natural=grassland] {
4138    fill-color: green#b1e0c2;
4139}
4140area[natural=wetland] {
4141    fill-color: marsh#4f4ff3;
4142}
4143area[natural=water] {
4144    fill-color: water#0000ff;
4145}
4146area[natural=water][intermittent=yes] {
4147    width: 2;
4148    dashes: 15, 5;
4149}
4150way[natural=coastline] {
4151    width: 2;
4152    color: water#0000ff;
4153    right-casing-color: water#0000ff;
4154    right-casing-width: 5;
4155    right-casing-opacity: 0.30;
4156}
4157area[natural=mud] {
4158    fill-color: mud#cba762;
4159}
4160area[natural=beach] {
4161    fill-color: beach#f8dba2;
4162}
4163area[natural=sand] {
4164    fill-color: sand#f8dba2;
4165}
4166area[natural=bare_rock] {
4167    fill-color: bare_rock#f8f8c7;
4168}
4169area[natural=rock] {
4170    fill-color: stone#f8f8c7;
4171}
4172node[natural=rock] {
4173    icon-image: "presets/misc/rock.svg";
4174    set icon_z17;
4175}
4176area[natural=stone] {
4177    fill-color: stone#f8f8c7;
4178}
4179node[natural=stone] {
4180    icon-image: "presets/misc/stone.svg";
4181    set icon_z17;
4182}
4183area[natural=bay],
4184area[natural=cave_entrance] {
4185    fill-color: natural#002f00;
4186}
4187node[natural=bay] {
4188    icon-image: "presets/nautical/bay.svg";
4189    set icon_z17;
4190}
4191area[natural=reef] {
4192    fill-color: reef#80c9ff;
4193}
4194node[natural=reef] {
4195    icon-image: "presets/landmark/reef.svg";
4196    set icon_z17;
4197}
4198node[natural=cave_entrance] {
4199    icon-image: "presets/landmark/cave_entrance.svg";
4200    set icon_z17;
4201}
4202node[natural=tree] {
4203    icon-image: "presets/landmark/trees.svg";
4204    set icon_z17;
4205}
4206node[natural=tree][type=conifer],
4207node[natural=tree][leaf_type=needleleaved] {
4208    icon-image: "presets/landmark/trees_conifer.svg";
4209    set icon_z17;
4210}
4211node[natural=tree][type=broad_leaved],
4212node[natural=tree][leaf_type=broadleaved] {
4213    icon-image: "presets/landmark/trees_broad_leaved.svg";
4214    set icon_z17;
4215}
4216node[natural=glacier],
4217node[natural=scree],
4218node[natural=shingle],
4219node[natural=scrub],
4220node[natural=fell],
4221node[natural=heath],
4222node[natural=tree_row],
4223node[natural=wood],
4224node[natural=grassland],
4225node[natural=wetland],
4226node[natural=water],
4227node[natural=coastline],
4228node[natural=mud],
4229node[natural=beach],
4230node[natural=sand],
4231node[natural=land],
4232node[natural=bare_rock],
4233node[natural=ridge],
4234node[natural=valley] {
4235    icon-image: "presets/misc/deprecated.svg";
4236    set icon_z17;
4237}
4238/*****************/
4239/* waterway tags */
4240/*****************/
4241
4242way[waterway=river] {
4243    width: 2;
4244    color: water#0000ff;
4245}
4246area[waterway=riverbank] {
4247    fill-color: riverbank#0000cf;
4248    width: 1;
4249    color: riverbank#0000cf;
4250}
4251way[waterway=canal] {
4252    width: 2;
4253    color: water#0000ff;
4254}
4255way[waterway=river][lock=yes],
4256way[waterway=canal][lock=yes] {
4257    casing-width: 2;
4258    casing-color: lock#303030;
4259    casing-dashes: 5,20;
4260}
4261way[waterway=stream] {
4262    width: 1;
4263    color: stream#6600cc;
4264}
4265way[waterway=ditch],
4266way[waterway=drain] {
4267    width: 1;
4268    color: water#0000ff;
4269}
4270way[waterway=river][intermittent=yes],
4271area[waterway=riverbank][intermittent=yes],
4272way[waterway=canal][intermittent=yes],
4273way[waterway=stream][intermittent=yes],
4274way[waterway=ditch][intermittent=yes],
4275way[waterway=drain][intermittent=yes] {
4276    dashes: 15, 5;
4277}
4278area[waterway=dock] {
4279    fill-color: dock#0000cf;
4280}
4281node[waterway=dock] {
4282    icon-image: "presets/nautical/boatyard.svg";
4283    set icon_z17;
4284}
4285way[waterway=lock_gate] {
4286    width: 3;
4287    color: lock_gate#303030;
4288}
4289node[waterway=lock_gate] {
4290    icon-image: "presets/nautical/lock_gate.svg";
4291    set icon_z17;
4292}
4293node[waterway=turning_point] {
4294    icon-image: "presets/nautical/turning.svg";
4295    set icon_z17;
4296}
4297area[waterway=boatyard] {
4298    fill-color: manmade#d8d8d8;
4299}
4300node[waterway=boatyard] {
4301    icon-image: "presets/nautical/boatyard.svg";
4302    set icon_z17;
4303}
4304node[waterway=water_point],
4305node[waterway=waste_disposal],
4306node[waterway=mooring] {
4307    icon-image: "presets/misc/deprecated.svg";
4308    set icon_z17;
4309}
4310node[mooring] {
4311    icon-image: "presets/nautical/marina.svg";
4312    set icon_z17;
4313}
4314area[waterway=fuel] {
4315    fill-color: amenity_traffic#f7efb7;
4316}
4317node[waterway=fuel] {
4318    icon-image: "presets/nautical/marine_fuel.svg";
4319    set icon_z17;
4320}
4321way[waterway=weir] {
4322    width: 2;
4323    color: manmade#d8d8d8;
4324}
4325node[waterway=weir] {
4326    icon-image: "presets/nautical/weir.svg";
4327    set icon_z17;
4328}
4329area[waterway=dam]:closed {
4330    fill-color: manmade#d8d8d8;
4331}
4332way[waterway=dam] {
4333    width: 2;
4334    color: manmade#d8d8d8;
4335}
4336node[waterway=dam] {
4337    icon-image: "presets/nautical/dam.svg";
4338    set icon_z17;
4339}
4340/* it's not possible to have both line and area, line seems more likely */
4341way[waterway=waterfall] {
4342    width: 2;
4343    color: manmade#d8d8d8;
4344}
4345node[waterway=waterfall] {
4346    icon-image: "presets/nautical/waterfall.svg";
4347    set icon_z17;
4348}
4349node[waterway=river], node[waterway=riverbank],
4350node[waterway=canal], node[waterway=wadi],
4351node[waterway=stream],
4352node[waterway=ditch], node[waterway=drain] {
4353    icon-image: "presets/misc/deprecated.svg";
4354    set icon_z17;
4355}
4356
4357/**************/
4358/* route tags */
4359/**************/
4360
4361way[route=ferry] {
4362    width: 1;
4363    color: ferry#809bc0;
4364    dashes: 9,9;
4365}
4366node[route=bus],
4367node[route=ferry],
4368node[route=flight],
4369node[route=ncn],
4370node[route=subsea],
4371node[route=ski],
4372node[route=tour],
4373node[route=pub_crawl] {
4374    icon-image: "presets/misc/deprecated.svg";
4375    set icon_z17;
4376}
4377
4378/*******************/
4379/* properties tags */
4380/*******************/
4381
4382node[mountain_pass?] {
4383    icon-image: "presets/landmark/mountain_pass.svg";
4384    set icon_z0;
4385    set text_z0;
4386}
4387
4388/*****************/
4389/* boundary tags */
4390/*****************/
4391
4392way[boundary=protected_area]::core_boundary,
4393way[boundary=administrative]::core_boundary,
4394way[boundary=postal_code]::core_boundary,
4395way[boundary=political]::core_boundary,
4396way[boundary=maritime]::core_boundary,
4397way[boundary=national_park]::core_boundary {
4398    z-index: 2;
4399    modifier: false;
4400    width: 1;
4401    color: boundary#FF6600;
4402    dashes: 9,9;
4403}
4404way[admin_level=9]::core_boundary,
4405relation[admin_level=9] > way::core_boundary,
4406way[admin_level=10]::core_boundary,
4407relation[admin_level=10] > way::core_boundary {
4408    z-index: 2;
4409    modifier: false;
4410    width: 1;
4411    color: boundary#FF6600;
4412    dashes: 9,9;
4413}
4414way[admin_level=7]::core_boundary,
4415relation[admin_level=7] > way::core_boundary,
4416way[admin_level=8]::core_boundary,
4417relation[admin_level=8] > way::core_boundary {
4418    z-index: 2;
4419    modifier: false;
4420    width: 2;
4421    color: boundary#FF6600;
4422    dashes: 9,9;
4423}
4424way[admin_level=5]::core_boundary,
4425relation[admin_level=5] > way::core_boundary,
4426way[admin_level=6]::core_boundary,
4427relation[admin_level=6] > way::core_boundary {
4428    z-index: 2;
4429    modifier: false;
4430    width: 3;
4431    color: boundary#FF6600;
4432    dashes: 9,9;
4433}
4434way[admin_level=3]::core_boundary,
4435relation[admin_level=3] > way::core_boundary,
4436way[admin_level=4]::core_boundary,
4437relation[admin_level=4] > way::core_boundary {
4438    z-index: 2;
4439    modifier: false;
4440    width: 4;
4441    color: boundary#FF6600;
4442    dashes: 9,9;
4443}
4444way[admin_level=1]::core_boundary,
4445relation[admin_level=1] > way::core_boundary,
4446way[admin_level=2]::core_boundary,
4447relation[admin_level=2] > way::core_boundary {
4448    z-index: 2;
4449    modifier: false;
4450    width: 5;
4451    color: boundary#FF6600;
4452    dashes: 9,9;
4453}
4454node[boundary=national],
4455node[boundary=administrative],
4456node[boundary=postal_code],
4457node[boundary=political],
4458node[boundary=national_park] {
4459    icon-image: "presets/misc/deprecated.svg";
4460    set icon_z17;
4461}
4462
4463/******************/
4464/* maxspeed nodes */
4465/******************/
4466node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4467    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
4468    set icon_z17;
4469}
4470node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4471    maxspeedprop: tag(maxspeed);
4472    set maxspeedclass;
4473}
4474node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4475    maxspeedprop: " ?";
4476    set maxspeedclass;
4477}
4478node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4479    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4480    set maxspeedclass;
4481}
4482node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4483    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4484    set maxspeedclass;
4485}
4486node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4487    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4488    set maxspeedclass;
4489}
4490node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4491    /* background (white) */
4492    symbol-shape: circle;
4493    symbol-size: 17;
4494    symbol-fill-color: white;
4495    major-z-index: 4.2;
4496}
4497node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4498node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4499    /* background (black) */
4500    symbol-fill-color: black;
4501}
4502node[prop(maxspeedclass, default)]::core_maxnodefg {
4503    /* foreground (black text and red circle) */
4504    symbol-shape: circle;
4505    symbol-size: 15;
4506    symbol-stroke-color: crimson;
4507    symbol-stroke-width: 2;
4508    text: prop(maxspeedprop, default);
4509    font-size: 8;
4510    font-weight: bold;
4511    text-color: black;
4512    text-anchor-horizontal: center;
4513    text-anchor-vertical: center;
4514    text-offset-x: 0;
4515    text-offset-y: -1;
4516    major-z-index: 4.2;
4517}
4518node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4519node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4520    /* foreground (white text) */
4521    text-color: white;
4522}
4523node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4524    symbol-shape: none;
4525}
4526node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4527    text: none;
4528    symbol-shape: none;
4529}
4530
4531/**************/
4532/* place tags */
4533/**************/
4534
4535area[setting("place_fill_colour")][place=continent],
4536area[setting("place_fill_colour")][place=country],
4537area[setting("place_fill_colour")][place=state],
4538area[setting("place_fill_colour")][place=region],
4539area[setting("place_fill_colour")][place=county],
4540area[setting("place_fill_colour")][place=city],
4541area[setting("place_fill_colour")][place=town],
4542area[setting("place_fill_colour")][place=village],
4543area[setting("place_fill_colour")][place=hamlet],
4544area[setting("place_fill_colour")][place=farm],
4545area[setting("place_fill_colour")][place=isolated_dwelling],
4546area[setting("place_fill_colour")][place=neighbourhood],
4547area[setting("place_fill_colour")][place=suburb],
4548area[setting("place_fill_colour")][place=locality],
4549area[setting("place_fill_colour")][place=island],
4550area[setting("place_fill_colour")][place=islet] {
4551    fill-color: place#8de3cb;
4552    set place;
4553}
4554node[place=continent],
4555node[place=country],
4556node[place=state],
4557node[place=region],
4558node[place=county],
4559node[place=city],
4560node[place=town],
4561node[place=suburb],
4562node[place=village],
4563node[place=neighbourhood],
4564node[place=hamlet],
4565node[place=isolated_dwelling],
4566node[place=farm],
4567node[place=island],
4568node[place=islet] {
4569    set icon_z0;
4570    set text_z0;
4571    font-weight: bold;
4572    text-color:black;
4573    text-halo-color: white;
4574    text-halo-radius: 1;
4575    set place;
4576}
4577
4578node[place=continent],
4579node[place=country],
4580node[place=state],
4581node[place=region],
4582node[place=county] {
4583    icon-image: "presets/place/capital.svg";
4584    z-index: 2.9;
4585}
4586node[place=city] {
4587    icon-image: "presets/place/city.svg";
4588    z-index: 2.8;
4589}
4590node[place=town] {
4591    icon-image: "presets/place/town.svg";
4592    z-index: 2.7;
4593}
4594node[place=suburb] {
4595    icon-image: "presets/place/suburb.svg";
4596    z-index: 2.6;
4597}
4598node[place=village] {
4599    icon-image: "presets/place/village.svg";
4600    z-index: 2.5;
4601}
4602node[place=neighbourhood] {
4603    icon-image: "presets/place/neighbourhood.svg";
4604    z-index: 2.4;
4605}
4606node[place=hamlet] {
4607    icon-image: "presets/place/hamlet.svg";
4608    z-index: 2.3;
4609}
4610node[place=isolated_dwelling] {
4611    icon-image: "presets/place/isolated_dwelling.svg";
4612    z-index: 2.2;
4613}
4614node[place=farm] {
4615    icon-image: "presets/place/farm.svg";
4616    z-index: 2.1;
4617}
4618node|z15-[place=locality],
4619node|z-14[place=locality][!setting("hide_icons")] {
4620    icon-image: "presets/place/locality.svg";
4621    font-weight: bold;
4622    text-color:black;
4623    text-halo-color: white;
4624    text-halo-radius: 1;
4625}
4626node[place=island] {
4627    icon-image: "presets/place/island.svg";
4628}
4629node[place=islet] {
4630    icon-image: "presets/place/islet.svg";
4631}
4632
4633/***************************/
4634/* "work in progress" tags */
4635/***************************/
4636
4637node|z16-[fixme]::core_note_fixme,
4638node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4639node|z16-[FIXME]::core_note_fixme,
4640node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4641    object-z-index: 10;
4642    icon-image: "presets/misc/fixme_annotation.svg";
4643}
4644node|z16-[note]::core_note_fixme,
4645node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4646    object-z-index: 10;
4647    icon-image: "presets/misc/note_annotation.svg";
4648}
4649node|z16-[note][fixme]::core_note_fixme,
4650node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4651node|z16-[note][FIXME]::core_note_fixme,
4652node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4653    icon-image: "presets/misc/note_fixme_annotation.svg";
4654}
4655
4656/****************************************/
4657/* zoom levels and general node display */
4658/****************************************/
4659
4660/*
4661Summary of different zoom levels:
4662  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4663  |z-15         untagged way nodes are hidden completely
4664  |z15          place=locality icon
4665  |z16-         fixme=* and note=* symbols; place=locality text
4666  |z17-         normal POI icons (without text),
4667                street name along highway=* ways
4668  |z18-         text for normal POI icons is shown
4669 
4670 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
4671 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4672
4673*/
4674
4675node|z-16[setting("hide_icons")],
4676node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4677node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4678    symbol-size: 2;
4679    symbol-shape: square;
4680    symbol-stroke-color: node_standard#ffff00;
4681    major-z-index: 4.95; /* put node squares above line text */
4682}
4683way > node|z-15[setting("shrink_nodes")]!:tagged {
4684    symbol-shape: none;
4685}
4686node:connection {
4687    symbol-stroke-color: node_connection#ffff00;
4688}
4689node:tagged {
4690    symbol-stroke-color: none;
4691    symbol-fill-color: node_tagged#00ffff;
4692}
4693
4694way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4695
4696node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4697way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4698node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4699
4700node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4701way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4702node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4703
4704node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4705way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4706node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4707
4708node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4709way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4710node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4711
4712node:selected {
4713    symbol-shape: square;
4714    symbol-size: 6;
4715    symbol-fill-color: node_selected#ff0000;
4716    symbol-stroke-color: node_selected#ff0000;
4717}
4718
4719node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4720relation|z-16[type=restriction][setting("hide_icons")] {
4721    icon-image: none;
4722}
4723node|z-17[setting("hide_icons")]!.text_z0 {
4724    text: none;
4725}
4726node|z16-17[setting("hide_icons")][place=locality] {
4727    text: auto;
4728}
4729
4730node|z-18,area|z-18 { font-size: 8; }
4731node|z19,area|z19   { font-size: 9; }
4732node|z20-,area|z20- { font-size: 11; }
4733
4734node.place, way.place, area.place { font-size: 11; }
4735
4736
4737/*******************/
4738/* way text labels */
4739/*******************/
4740
4741way|z17-[highway^=motorway][setting("highway_labels")],
4742way|z17-[highway^=trunk][setting("highway_labels")],
4743way|z17-[highway^=primary][setting("highway_labels")],
4744way|z17-[highway^=secondary][setting("highway_labels")],
4745way|z17-[highway^=tertiary][setting("highway_labels")],
4746way|z17-[highway=unclassified][setting("highway_labels")],
4747way|z17-[highway=residential][setting("highway_labels")],
4748way|z17-[highway=living_street][setting("highway_labels")],
4749way|z17-[highway=escape][setting("highway_labels")],
4750way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4751way|z17-[highway=steps][setting("highway_labels")],
4752way|z17-[highway=footway][setting("highway_labels")],
4753way|z17-[highway=path][setting("highway_labels")],
4754way|z17-[highway=service][setting("highway_labels")],
4755way|z17-[highway=track][setting("highway_labels")],
4756way|z17-[highway=cycleway][setting("highway_labels")],
4757way|z17-[highway=bridleway][setting("highway_labels")],
4758way|z17-[highway=bus_guideway][setting("highway_labels")],
4759way|z17-[highway=raceway][setting("highway_labels")],
4760way|z17-[highway=construction][setting("highway_labels")],
4761way|z17-[highway=road][setting("highway_labels")] {
4762    text: auto;
4763    text-color: black;
4764    font-size: 9;
4765    text-position: line;
4766    text-halo-opacity: 1;
4767    text-halo-radius: 1.5;
4768}
4769way|z17-[highway^=motorway][setting("highway_labels")] {
4770    text-halo-color: motorway#809bc0;
4771}
4772way|z17-[highway^=trunk][setting("highway_labels")] {
4773    text-halo-color: trunk#7fc97f;
4774}
4775way|z17-[highway^=primary][setting("highway_labels")] {
4776    text-halo-color: primary#fb805f;
4777}
4778way|z17-[highway^=secondary][setting("highway_labels")] {
4779    text-halo-color: secondary#fdbf6f;
4780}
4781way|z17-[highway^=tertiary][setting("highway_labels")] {
4782    text-halo-color: tertiary#f7f496;
4783}
4784way|z17-[highway=unclassified][setting("highway_labels")],
4785way|z17-[highway=residential][setting("highway_labels")],
4786way|z17-[highway=living_street][setting("highway_labels")],
4787way|z17-[highway=escape][setting("highway_labels")] {
4788    text-halo-color: street#c0c0c0;
4789}
4790way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4791way|z17-[highway=steps][setting("highway_labels")],
4792way|z17-[highway=footway][setting("highway_labels")],
4793way|z17-[highway=path][setting("highway_labels")] {
4794    text-halo-color: foot#00ff00;
4795}
4796way|z17-[highway=service][setting("highway_labels")] {
4797    text-halo-color: service#809bc0;
4798}
4799way|z17-[highway=track][setting("highway_labels")] {
4800    text-halo-color: highway_track#6e541c;
4801}
4802way|z17-[highway=cycleway][setting("highway_labels")],
4803way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4804    text-halo-color: bicycle#b100ff;
4805}
4806way|z17-[highway=bridleway][setting("highway_labels")] {
4807    text-halo-color: horse#a18559;
4808}
4809way|z17-[highway=bus_guideway][setting("highway_labels")] {
4810    text-halo-color: rail#404040;
4811}
4812way|z17-[highway=raceway][setting("highway_labels")] {
4813    text-halo-color: raceway#ff80ff;
4814}
4815way|z17-[highway=construction][setting("highway_labels")] {
4816    text-halo-color: construction#ffff00;
4817}
4818way|z17-[highway=road][setting("highway_labels")] {
4819    text-halo-color: highway_road#770000;
4820}
4821way|z17-[highway][railway=platform][setting("highway_labels")] {
4822    text-halo-color: rail#404040;
4823}
4824way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4825    text-halo-color: service#809bc0;
4826}
4827way|z18[highway][setting("highway_labels")] {
4828    font-size: 10;
4829}
4830way|z19[highway][setting("highway_labels")] {
4831    font-size: 11;
4832}
4833way|z20-[highway][setting("highway_labels")] {
4834    font-size: 12;
4835}
4836
4837/*************/
4838/* Area fill */
4839/*************/
4840
4841/* small extent for unclosed area (see below for closed) */
4842area[setting("partial_fill")] {
4843    fill-extent: 15;
4844}
4845
4846/* Turn partial fill off and use plain fill, when the partial fill covers about
4847   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4848   Switching between full and partial fill while drawing an area might be irritating,
4849   so only do this at low zoom. */
4850area|z-13[setting("partial_fill")] {
4851    fill-extent-threshold: 1.0;
4852}
4853
4854/* Larger extent for closed areas.
4855   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4856   areas with small unfilled patches in the center. */
4857area[setting("partial_fill")]:closed2 {
4858    fill-extent: 25;
4859    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4860}
4861
Note: See TracBrowser for help on using the repository browser.