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

Last change on this file since 13083 was 13083, checked in by Klumbumbus, 2 weeks ago

fix #15503 - draw administrative boundaries only if boundary=administrative is tagged; add a warning for usage on nodes (used 330 times atm)

  • Property svn:eol-style set to native
File size: 118.7 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][switch] {
1150    icon-image: "presets/power/pole_switch.svg";
1151    set icon_z17;
1152}
1153node[power=pole][transformer=distribution] {
1154    icon-image: "presets/power/pole_transformer.svg";
1155    set icon_z17;
1156}
1157node[power=insulator] {
1158    icon-image: "presets/power/insulator.svg";
1159    set icon_z17;
1160}
1161way[power=portal],
1162way[power=line],
1163way[power=minor_line] {
1164    width: 1;
1165    color: power#eeeeee;
1166}
1167way[power=cable] {
1168    width: 1;
1169    color: power#eeeeee;
1170    dashes: 9,9;
1171}
1172node[power=plant],
1173node[power=sub_station],
1174node[power=line],
1175node[power=cable],
1176node[power=minor_line] {
1177    icon-image: "presets/misc/deprecated.svg";
1178    set icon_z17;
1179}
1180area[power=plant],
1181area[power=substation],
1182area[power=compensator],
1183area[power=converter],
1184area[power=generator] {
1185    fill-color: power#eeeeee;
1186}
1187node[man_made=street_cabinet][street_cabinet=power] {
1188    icon-image: "presets/power/cable_distribution_cabinet.svg";
1189    set icon_z17;
1190}
1191node[power=generator] {
1192    icon-image: "presets/power/generator.svg";
1193    set icon_z17;
1194}
1195node[power=substation] {
1196    icon-image: "presets/power/substation.svg";
1197    set icon_z17;
1198}
1199node[power=transformer] {
1200    icon-image: "presets/power/transformer.svg";
1201    set icon_z17;
1202}
1203
1204node[power=switchgear] {
1205    icon-image: "presets/power/switchgear.svg";
1206    set icon_z17;
1207}
1208node[power=switch] {
1209    icon-image: "presets/power/switch.svg";
1210    set icon_z17;
1211}
1212node[power=converter] {
1213    icon-image: "presets/power/converter.svg";
1214    set icon_z17;
1215}
1216node[power=compensator] {
1217    icon-image: "presets/power/compensator.svg";
1218    set icon_z17;
1219}
1220
1221
1222/*************************/
1223/* generator:source tags */
1224/*************************/
1225
1226area[generator:source=nuclear],
1227area[generator:source=wind],
1228area[generator:source=hydro],
1229area[generator:source=tidal],
1230area[generator:source=wave],
1231area[generator:source=osmotic],
1232area[generator:source=geothermal],
1233area[generator:source=solar],
1234area[generator:source=coal],
1235area[generator:source=gas],
1236area[generator:source=biomass],
1237area[generator:source=biofuel],
1238area[generator:source=biogas],
1239area[generator:source=oil],
1240area[generator:source=diesel],
1241area[generator:source=gasoline],
1242area[generator:source=waste] {
1243    fill-color: power#eeeeee;
1244}
1245node[generator:source=nuclear] {
1246    icon-image: "presets/power/power_source-nuclear.svg";
1247    set icon_z17;
1248}
1249node[generator:source=wind] {
1250    icon-image: "presets/power/power_source-wind.svg";
1251    set icon_z17;
1252}
1253node[generator:source=hydro],
1254node[generator:source=tidal],
1255node[generator:source=wave],
1256node[generator:source=osmotic] {
1257    icon-image: "presets/power/power_source-water.svg";
1258    set icon_z17;
1259}
1260node[generator:source=geothermal] {
1261    icon-image: "presets/power/power_source-geothermal.svg";
1262    set icon_z17;
1263}
1264node[generator:source=solar] {
1265    icon-image: "presets/power/power_source-sun.svg";
1266    set icon_z17;
1267}
1268node[generator:source=coal] {
1269    icon-image: "presets/power/power_source-coal.svg";
1270    set icon_z17;
1271}
1272node[generator:source=gas] {
1273    icon-image: "presets/power/power_source-gas.svg";
1274    set icon_z17;
1275}
1276node[generator:source=biomass],
1277node[generator:source=biofuel],
1278node[generator:source=biogas] {
1279    icon-image: "presets/power/power_source-biofuel.svg";
1280    set icon_z17;
1281}
1282node[generator:source=oil],
1283node[generator:source=diesel],
1284node[generator:source=gasoline] {
1285    icon-image: "presets/power/power_source-oil.svg";
1286    set icon_z17;
1287}
1288node[generator:source=waste] {
1289    icon-image: "presets/power/power_source-waste.svg";
1290    set icon_z17;
1291}
1292node[power_source] {
1293    icon-image: "presets/misc/deprecated.svg";
1294    set icon_z17;
1295}
1296/*****************/
1297/* man_made tags */
1298/*****************/
1299
1300area[man_made=beacon],
1301area[man_made=bridge],
1302area[bridge:support],
1303area[man_made=chimney],
1304area[man_made=gasometer],
1305area[man_made=silo],
1306area[man_made=storage_tank],
1307area[man_made=bunker_silo],
1308area[man_made=lighthouse],
1309area[man_made=monitoring_station],
1310area[man_made=mineshaft] {
1311    fill-color: manmade#d8d8d8;
1312}
1313node[man_made=beacon] {
1314    icon-image: "presets/landmark/beacon.svg";
1315    set icon_z17;
1316}
1317node[man_made=bridge] {
1318    icon-image: "presets/misc/deprecated.svg";
1319    set icon_z17;
1320}
1321node[bridge:support] {
1322    icon-image: "presets/transport/bridge/bridge_support.svg";
1323    set icon_z17;
1324}
1325node[man_made=chimney] {
1326    icon-image: "presets/landmark/chimney.svg";
1327    set icon_z17;
1328}
1329node[man_made=flagpole] {
1330    icon-image: "presets/misc/flag.svg";
1331    set icon_z17;
1332}
1333node[man_made=cross] {
1334    icon-image: "presets/landmark/cross.svg";
1335    set icon_z17;
1336}
1337node[man_made=gasometer] {
1338    icon-image: "presets/landmark/gasometer.svg";
1339    set icon_z17;
1340}
1341node[man_made=silo] {
1342    icon-image: "presets/landmark/silo.svg";
1343    set icon_z17;
1344}
1345node[man_made=storage_tank] {
1346    icon-image: "presets/landmark/storage_tank.svg";
1347    set icon_z17;
1348}
1349node[man_made=bunker_silo] {
1350    icon-image: "presets/landmark/bunker_silo.svg";
1351    set icon_z17;
1352}
1353area[man_made=groyne]:closed {
1354    fill-color: manmade#d8d8d8;
1355}
1356way[man_made=groyne] {
1357    width: 2;
1358    color: manmade#d8d8d8;
1359}
1360area[man_made=breakwater]:closed {
1361    fill-color: manmade#d8d8d8;
1362}
1363way[man_made=breakwater] {
1364    width: 2;
1365    color: manmade#d8d8d8;
1366}
1367node[man_made=lighthouse] {
1368    icon-image: "presets/landmark/lighthouse.svg";
1369    set icon_z17;
1370}
1371node[man_made=monitoring_station] {
1372    icon-image: "presets/misc/monitoring_station.svg";
1373    set icon_z17;
1374}
1375node[man_made=mineshaft] {
1376    icon-image: "presets/landmark/mine.svg";
1377    set icon_z17;
1378}
1379area[man_made=crane]:closed {
1380    fill-color: manmade#d8d8d8;
1381}
1382way[man_made=crane] {
1383    width: 2;
1384    color: manmade#d8d8d8;
1385}
1386node[man_made=crane] {
1387    icon-image: "presets/landmark/crane.svg";
1388    set icon_z17;
1389}
1390node[man_made=adit] {
1391    icon-image: "presets/landmark/adit.svg";
1392    set icon_z17;
1393}
1394area[man_made=pier]:closed {
1395    fill-color: pier#660000;
1396}
1397way[man_made=pier] {
1398    width: 2;
1399    color: pier#660000;
1400}
1401node[man_made=pier] {
1402    icon-image: "presets/nautical/pier.svg";
1403    set icon_z17;
1404}
1405way[embankment?][!highway][!railway][!waterway],
1406way[man_made=embankment][!highway][!railway][!waterway] {
1407    repeat-image: "presets/misc/embankment-pattern.png";
1408    repeat-image-align: top;
1409    width: 1;
1410    color: embankment#c14d00;
1411}
1412way[embankment?][highway],
1413way[embankment?][railway],
1414way[embankment?][waterway],
1415way[man_made=embankment][highway],
1416way[man_made=embankment][railway],
1417way[man_made=embankment][waterway] {
1418    repeat-image: "presets/misc/embankment-pattern-centered.png";
1419}
1420way[man_made=pipeline] {
1421    width: 2;
1422    color: pipeline#660000;
1423}
1424node[pipeline=marker] {
1425    icon-image: "presets/misc/pipeline_marker.svg";
1426    set icon_z17;
1427}
1428node[pipeline=valve] {
1429    icon-image: "presets/misc/valve.svg";
1430    set icon_z17;
1431}
1432node[man_made=breakwater],
1433node[man_made=groyne],
1434node[man_made=embankment],
1435node[man_made=pipeline] {
1436    icon-image: "presets/misc/deprecated.svg";
1437    set icon_z17;
1438}
1439node[man_made=petroleum_well][!is_prop_set(icon-image)] {
1440    icon-image: "presets/misc/no_icon.svg";
1441    set icon_z17;
1442}
1443area[man_made=reservoir_covered],
1444area[man_made=tower],
1445area[man_made=wastewater_plant],
1446area[man_made=watermill],
1447area[man_made=water_tower],
1448area[man_made=water_well],
1449area[man_made=windmill],
1450area[man_made=works],
1451area[man_made=water_works] {
1452    fill-color: manmade#d8d8d8;
1453}
1454node[man_made=reservoir_covered] {
1455    icon-image: "presets/landmark/reservoir_covered.svg";
1456    set icon_z17;
1457}
1458node[man_made=surveillance] {
1459    icon-image: "presets/service/surveillance.svg";
1460    set icon_z17;
1461}
1462node[man_made=survey_point] {
1463    icon-image: "presets/landmark/survey_point.svg";
1464    set icon_z17;
1465}
1466node[man_made=tower] {
1467    icon-image: "presets/landmark/tower.svg";
1468    set icon_z17;
1469}
1470node[man_made=wastewater_plant] {
1471    icon-image: "presets/landmark/wastewater_plant.svg";
1472    set icon_z17;
1473}
1474node[man_made=watermill] {
1475    icon-image: "presets/landmark/watermill.svg";
1476    set icon_z17;
1477}
1478node[man_made=water_tower] {
1479    icon-image: "presets/landmark/water_tower.svg";
1480    set icon_z17;
1481}
1482node[man_made=water_well] {
1483    icon-image: "presets/landmark/water_well.svg";
1484    set icon_z17;
1485}
1486node[man_made=windmill] {
1487    icon-image: "presets/landmark/windmill.svg";
1488    set icon_z17;
1489}
1490node[man_made=works] {
1491    icon-image: "presets/landmark/works.svg";
1492    set icon_z17;
1493}
1494node[man_made=water_works] {
1495    icon-image: "presets/landmark/water_works.svg";
1496    set icon_z17;
1497}
1498way[man_made=cutline] {
1499    width: 2;
1500    color: cutline#99ff55;
1501}
1502node[man_made=cutline] {
1503    icon-image: "presets/misc/deprecated.svg";
1504    set icon_z17;
1505}
1506
1507/***************/
1508/* office tags */
1509/***************/
1510
1511area[office=accountant],
1512area[office=administrative],
1513area[office=advertising_agency],
1514area[office=architect],
1515area[office=association],
1516area[office=company],
1517area[office=educational_institution],
1518area[office=employment_agency],
1519area[office=estate_agent],
1520area[office=foundation],
1521area[office=government],
1522area[office=insurance],
1523area[office=it],
1524area[office=lawyer],
1525area[office=newspaper],
1526area[office=ngo],
1527area[office=notary],
1528area[office=political_party],
1529area[office=religion],
1530area[office=research],
1531area[office=tax_advisor],
1532area[office=telecommunication] {
1533    fill-color: office#de5696;
1534}
1535node[office=accountant] {
1536    icon-image: "presets/office/accountant.svg";
1537    set icon_z17;
1538}
1539node[office=administrative] {
1540    icon-image: "presets/office/administrative.svg";
1541    set icon_z17;
1542}
1543node[office=advertising_agency] {
1544    icon-image: "presets/office/advertising_agency.svg";
1545    set icon_z17;
1546}
1547node[office=architect] {
1548    icon-image: "presets/office/architect.svg";
1549    set icon_z17;
1550}
1551node[office=association] {
1552    icon-image: "presets/office/association.svg";
1553    set icon_z17;
1554}
1555node[office=company] {
1556    icon-image: "presets/office/private_company.svg";
1557    set icon_z17;
1558}
1559node[office=educational_institution] {
1560    icon-image: "presets/office/educational_institution.svg";
1561    set icon_z17;
1562}
1563node[office=employment_agency] {
1564    icon-image: "presets/office/employment_agency.svg";
1565    set icon_z17;
1566}
1567node[office=estate_agent] {
1568    icon-image: "presets/office/real_state.svg";
1569    set icon_z17;
1570}
1571node[office=foundation] {
1572    icon-image: "presets/office/foundation.svg";
1573    set icon_z17;
1574}
1575node[office=insurance] {
1576    icon-image: "presets/office/insurance.svg";
1577    set icon_z17;
1578}
1579node[office=it] {
1580    icon-image: "presets/office/it.svg";
1581    set icon_z17;
1582}
1583node[office=lawyer] {
1584    icon-image: "presets/office/lawyer.svg";
1585    set icon_z17;
1586}
1587node[office=newspaper] {
1588    icon-image: "presets/office/newspaper.svg";
1589    set icon_z17;
1590}
1591node[office=ngo] {
1592    icon-image: "presets/office/ong.svg";
1593    set icon_z17;
1594}
1595node[office=notary] {
1596    icon-image: "presets/office/notary.svg";
1597    set icon_z17;
1598}
1599node[office=political_party] {
1600    icon-image: "presets/office/political_party.svg";
1601    set icon_z17;
1602}
1603node[office=religion] {
1604    icon-image: "presets/office/religion.svg";
1605    set icon_z17;
1606}
1607node[office=research] {
1608    icon-image: "presets/office/research.svg";
1609    set icon_z17;
1610}
1611node[office=tax_advisor] {
1612    icon-image: "presets/office/tax_advisor.svg";
1613    set icon_z17;
1614}
1615node[office=telecommunication] {
1616    icon-image: "presets/office/telecommunication.svg";
1617    set icon_z17;
1618}
1619node[office=government] {
1620    icon-image: "presets/office/government.svg";
1621    set icon_z17;
1622}
1623
1624/****************/
1625/* leisure tags */
1626/****************/
1627
1628area[leisure=sports_centre],
1629area[leisure=fitness_centre],
1630area[leisure=stadium],
1631area[leisure=horse_riding],
1632area[leisure=beach_resort],
1633area[leisure=water_park] {
1634    fill-color: leisure#c7f1a3;
1635}
1636node[leisure=sports_centre] {
1637    icon-image: "presets/sport/sports_centre.svg";
1638    set icon_z17;
1639}
1640node[leisure=fitness_centre] {
1641    icon-image: "presets/sport/fitness_centre.svg";
1642    set icon_z17;
1643}
1644node[leisure=stadium] {
1645    icon-image: "presets/sport/stadium.svg";
1646    set icon_z17;
1647}
1648node[leisure=horse_riding] {
1649    icon-image: "presets/leisure/horse_riding.svg";
1650    set icon_z17;
1651}
1652node[leisure=beach_resort] {
1653    icon-image: "presets/leisure/beach_resort.svg";
1654    set icon_z17;
1655}
1656node[leisure=water_park] {
1657    icon-image: "presets/leisure/water_park.svg";
1658    set icon_z17;
1659}
1660area[leisure=track][!area?!]:closed {
1661    fill-color: leisuretrack#d4f4b9;
1662}
1663way[leisure=track] {
1664    width: 2;
1665    color: leisuretrack#d4f4b9;
1666}
1667node[leisure=track] {
1668    icon-image: "presets/sport/track.svg";
1669    set icon_z17;
1670}
1671area[leisure=pitch] {
1672    fill-color: pitch#baee8d;
1673}
1674node[leisure=pitch] {
1675    icon-image: "presets/sport/pitch.svg";
1676    set icon_z17;
1677}
1678area[leisure=marina] {
1679    fill-color: marina#0070cf;
1680}
1681node[leisure=marina] {
1682    icon-image: "presets/nautical/marina.svg";
1683    set icon_z17;
1684}
1685way[leisure=slipway] {
1686    width: 2;
1687    color: leisure#c7f1a3;
1688}
1689node[leisure=slipway] {
1690    icon-image: "presets/nautical/slipway.svg";
1691    set icon_z17;
1692}
1693area[leisure=fishing],
1694area[leisure=bird_hide],
1695area[leisure=nature_reserve],
1696area[leisure=park],
1697area[leisure=playground],
1698area[leisure=garden],
1699area[leisure=common],
1700area[leisure=firepit] {
1701    fill-color: leisure#c7f1a3;
1702}
1703node[leisure=fishing] {
1704    icon-image: "presets/sport/fishing.svg";
1705    set icon_z17;
1706}
1707node[leisure=bird_hide] {
1708    icon-image: "presets/leisure/bird_hide.svg";
1709    set icon_z17;
1710}
1711node[leisure=nature_reserve] {
1712    icon-image: "presets/leisure/nature_reserve.svg";
1713    set icon_z17;
1714}
1715node[leisure=park] {
1716    icon-image: "presets/misc/deprecated.svg";
1717    set icon_z17;
1718}
1719node[leisure=playground] {
1720    icon-image: "presets/leisure/playground.svg";
1721    set icon_z17;
1722}
1723node[leisure=garden] {
1724    icon-image: "presets/leisure/garden.svg";
1725    set icon_z17;
1726}
1727node[leisure=common] {
1728    icon-image: "presets/leisure/common.svg";
1729    set icon_z17;
1730}
1731node[leisure=firepit] { 
1732    icon-image: "presets/leisure/firepit.svg";
1733    set icon_z17;
1734}
1735node[leisure=picnic_table] {
1736    icon-image: "presets/leisure/picnic.svg";
1737    set icon_z17;
1738}
1739area[leisure=swimming_pool] {
1740    fill-color: swimming_pool#51c4ef;
1741}
1742node[leisure=swimming_pool] {
1743    icon-image: "presets/sport/swimming.svg";
1744    set icon_z17;
1745}
1746area[leisure=fitness_station],
1747area[leisure=miniature_golf],
1748area[leisure=dog_park],
1749area[leisure=ice_rink],
1750area[leisure=sauna] {
1751    fill-color: leisure#c7f1a3;
1752}
1753node[leisure=fitness_station] {
1754    icon-image: "presets/leisure/fitness_station.svg";
1755    set icon_z17;
1756}
1757node[leisure=miniature_golf] {
1758    icon-image: "presets/sport/miniature_golf.svg";
1759    set icon_z17;
1760}
1761node[leisure=dog_park] {
1762    icon-image: "presets/leisure/dogpark.svg";
1763    set icon_z17;
1764}
1765node[leisure=ice_rink] {
1766    icon-image: "presets/sport/ice_hockey.svg";
1767    set icon_z17;
1768}
1769node[leisure=sauna] {
1770    icon-image: "presets/leisure/sauna.svg";
1771    set icon_z17;
1772}
1773area[leisure=golf_course] {
1774    fill-color: leisure#c7f1a3;
1775}
1776node[leisure=golf_course] {
1777    icon-image: "presets/sport/golf/golf.svg";
1778    set icon_z17;
1779}
1780
1781/*************/
1782/* golf tags */
1783/*************/
1784area[golf=tee] {
1785    fill-color: golf#c7f1a3;
1786}
1787node[golf=tee] {
1788    icon-image: "presets/sport/golf/tee.svg";
1789    set icon_z17;
1790}
1791way[golf=hole] {
1792    width: 1;
1793    dashes: 10,10;
1794    color: golf_hole#808080;
1795}
1796node[golf=pin] {
1797    icon-image: "presets/sport/golf/pin.svg";
1798    set icon_z17;
1799}
1800area[golf=bunker] {
1801    fill-color: golf_bunker#ffab00;
1802}
1803area[golf=water_hazard],
1804area[golf=lateral_water_hazard] {
1805    fill-color: golf_water_hazard#0000ff;
1806}
1807area[golf=green] {
1808    fill-color: golf_green#00e700;
1809}
1810area[golf=fairway] {
1811    fill-color: golf_fairway#009a00;
1812}
1813area[golf=rough] {
1814    fill-color: golf_rough#006700;
1815}
1816area[golf=driving_range] {
1817    fill-color: golf_driving_range#c7f1a3;
1818}
1819node[golf=driving_range] {
1820    icon-image: "presets/sport/golf/driving_range.svg";
1821    set icon_z17;
1822}
1823
1824/********************/
1825/* advertising tags */
1826/********************/
1827
1828node[advertising=column] {
1829    icon-image: "presets/leisure/advertising_column.svg";
1830    set icon_z17;
1831}
1832area[advertising=column] {
1833    fill-color: advertising#880000;
1834}
1835node[advertising=billboard] {
1836    icon-image: "presets/leisure/billboard.svg";
1837    set icon_z17;
1838}
1839
1840/*************/
1841/* shop tags */
1842/*************/
1843
1844area[shop=supermarket],
1845area[shop=convenience],
1846area[shop=bakery],
1847area[shop=butcher],
1848area[shop=bicycle],
1849area[shop=doityourself],
1850area[shop=dry_cleaning],
1851area[shop=laundry],
1852area[shop=outdoor],
1853area[shop=kiosk],
1854area[shop=alcohol],
1855area[shop=beverages],
1856area[shop=books],
1857area[shop=boutique],
1858area[shop=car],
1859area[shop=car_repair],
1860area[shop=tyres],
1861area[shop=chemist],
1862area[shop=tobacco],
1863area[shop=clothes],
1864area[shop=computer],
1865area[shop=confectionery],
1866area[shop=pastry],
1867area[shop=copyshop],
1868area[shop=curtain],
1869area[shop=cycle_repair],
1870area[shop=department_store],
1871area[shop=deli],
1872area[shop=electronics],
1873area[shop=erotic],
1874area[shop=furniture],
1875area[shop=fabric],
1876area[shop=florist],
1877area[shop=frame],
1878area[shop=gift],
1879area[shop=greengrocer],
1880area[shop=garden_centre],
1881area[shop=hairdresser],
1882area[shop=hardware],
1883area[shop=hearing_aids],
1884area[shop=hifi],
1885area[shop=houseware],
1886area[shop=jewelry],
1887area[shop=kitchen],
1888area[shop=mall],
1889area[shop=mobile_phone],
1890area[shop=motorcycle],
1891area[shop=musical_instrument],
1892area[shop=newsagent],
1893area[shop=optician],
1894area[shop=medical_supply],
1895area[shop=paint],
1896area[shop=pawnbroker],
1897area[shop=seafood],
1898area[shop=dairy],
1899area[shop=cheese],
1900area[shop=shoes],
1901area[shop=sports],
1902area[shop=stationery],
1903area[shop=tailor],
1904area[shop=travel_agency],
1905area[shop=toys],
1906area[shop=vacuum_cleaner],
1907area[shop=variety_store],
1908area[shop=charity],
1909area[shop=video],
1910area[shop=bookmaker],
1911area[shop=lottery],
1912area[shop=shopping_centre],
1913area[shop=pet],
1914area[shop=photo],
1915area[shop=ticket],
1916area[shop=interior_decoration],
1917area[shop=car_parts],
1918area[shop=video_games],
1919area[shop=bed],
1920area[shop=beauty],
1921area[shop=cosmetics],
1922area[shop=perfumery],
1923area[shop=tea],
1924area[shop=coffee],
1925area[shop=antiques],
1926area[shop=music],
1927area[shop=funeral_directors],
1928area[shop=wine],
1929area[shop=farm],
1930area[shop=tattoo],
1931area[shop=art],
1932area[shop=bag] {
1933    fill-color: shop#00005f;
1934}
1935node[shop=supermarket] {
1936    icon-image: "presets/shop/supermarket.svg";
1937    set icon_z17;
1938}
1939node[shop=convenience] {
1940    icon-image: "presets/shop/convenience.svg";
1941    set icon_z17;
1942}
1943node[shop=bakery] {
1944    icon-image: "presets/shop/groceries/bakery.svg";
1945    set icon_z17;
1946}
1947node[shop=butcher] {
1948    icon-image: "presets/shop/groceries/butcher.svg";
1949    set icon_z17;
1950}
1951node[shop=bicycle] {
1952    icon-image: "presets/shop/bicycle.svg";
1953    set icon_z17;
1954}
1955node[shop=doityourself] {
1956    icon-image: "presets/shop/diy_store.svg";
1957    set icon_z17;
1958}
1959node[shop=dry_cleaning],
1960node[shop=laundry] {
1961    icon-image: "presets/shop/laundry.svg";
1962    set icon_z17;
1963}
1964node[shop=outdoor] {
1965    icon-image: "presets/shop/outdoor.svg";
1966    set icon_z17;
1967}
1968node[shop=kiosk] {
1969    icon-image: "presets/shop/kiosk.svg";
1970    set icon_z17;
1971}
1972node[shop=beverages] {
1973    icon-image: "presets/shop/beverages.svg";
1974    set icon_z17;
1975}
1976node[shop=alcohol] {
1977    icon-image: "presets/shop/alcohol.svg";
1978    set icon_z17;
1979}
1980node[shop=books] {
1981    icon-image: "presets/shop/book.svg";
1982    set icon_z17;
1983}
1984node[shop=boutique] {
1985    icon-image: "presets/shop/boutique.svg";
1986    set icon_z17;
1987}
1988node[shop=car] {
1989    icon-image: "presets/shop/vehicle.svg";
1990    set icon_z17;
1991}
1992node[shop=car_repair] {
1993    icon-image: "presets/vehicle/repair_shop.svg";
1994    set icon_z17;
1995}
1996node[shop=tyres] {
1997    icon-image: "presets/vehicle/tyres.svg";
1998    set icon_z17;
1999}
2000node[shop=chemist] {
2001    icon-image: "presets/shop/chemist.svg";
2002    set icon_z17;
2003}
2004node[shop=tobacco] {
2005    icon-image: "presets/shop/tobacco.svg";
2006    set icon_z17;
2007}
2008node[shop=clothes] {
2009    icon-image: "presets/shop/clothes.svg";
2010    set icon_z17;
2011}
2012node[shop=computer] {
2013    icon-image: "presets/shop/computer.svg";
2014    set icon_z17;
2015}
2016node[shop=confectionery] {
2017    icon-image: "presets/shop/groceries/confectionery.svg";
2018    set icon_z17;
2019}
2020node[shop=pastry] {
2021    icon-image: "presets/shop/groceries/pastry.svg";
2022    set icon_z17;
2023}
2024node[shop=copyshop] {
2025    icon-image: "presets/shop/copyshop.svg";
2026    set icon_z17;
2027}
2028node[shop=curtain] {
2029    icon-image: "presets/shop/curtain.svg";
2030    set icon_z17;
2031}
2032node[shop=cycle_repair] {
2033    icon-image: "presets/shop/bicycle.svg";
2034    set icon_z17;
2035}
2036node[shop=department_store] {
2037    icon-image: "presets/shop/mall.svg";
2038    set icon_z17;
2039}
2040node[shop=deli] {
2041    icon-image: "presets/shop/groceries/deli.svg";
2042    set icon_z17;
2043}
2044node[shop=electronics] {
2045    icon-image: "presets/shop/electronics.svg";
2046    set icon_z17;
2047}
2048node[shop=erotic] {
2049    icon-image: "presets/shop/erotic.svg";
2050    set icon_z17;
2051}
2052node[shop=furniture] {
2053    icon-image: "presets/shop/furniture.svg";
2054    set icon_z17;
2055}
2056node[shop=fabric] {
2057    icon-image: "presets/shop/fabric.svg";
2058    set icon_z17;
2059}
2060node[shop=florist] {
2061    icon-image: "presets/shop/florist.svg";
2062    set icon_z17;
2063}
2064node[shop=frame] {
2065    icon-image: "presets/shop/frame.svg";
2066    set icon_z17;
2067}
2068node[shop=gift] {
2069    icon-image: "presets/shop/present.svg";
2070    set icon_z17;
2071}
2072node[shop=greengrocer] {
2073    icon-image: "presets/shop/groceries/greengrocer.svg";
2074    set icon_z17;
2075}
2076node[shop=garden_centre] {
2077    icon-image: "presets/shop/garden_centre.svg";
2078    set icon_z17;
2079}
2080node[shop=hairdresser] {
2081    icon-image: "presets/shop/hairdresser.svg";
2082    set icon_z17;
2083}
2084node[shop=hardware] {
2085    icon-image: "presets/shop/hardware.svg";
2086    set icon_z17;
2087}
2088node[shop=hearing_aids] {
2089    icon-image: "presets/shop/hearing_aids.svg";
2090    set icon_z17;
2091}
2092node[shop=hifi] {
2093    icon-image: "presets/shop/hifi.svg";
2094    set icon_z17;
2095}
2096node[shop=houseware] {
2097    icon-image: "presets/shop/houseware.svg";
2098    set icon_z17;
2099}
2100node[shop=jewelry] {
2101    icon-image: "presets/shop/jewelry.svg";
2102    set icon_z17;
2103}
2104node[shop=kitchen] {
2105    icon-image: "presets/shop/kitchen.svg";
2106    set icon_z17;
2107}
2108node[shop=mall] {
2109    icon-image: "presets/shop/mall.svg";
2110    set icon_z17;
2111}
2112node[shop=mobile_phone] {
2113    icon-image: "presets/shop/mobile_phone.svg";
2114    set icon_z17;
2115}
2116node[shop=motorcycle] {
2117    icon-image: "presets/vehicle/motorbike.svg";
2118    set icon_z17;
2119}
2120node[shop=musical_instrument] {
2121    icon-image: "presets/shop/musical_instrument.svg";
2122    set icon_z17;
2123}
2124node[shop=newsagent] {
2125    icon-image: "presets/shop/news.svg";
2126    set icon_z17;
2127}
2128node[shop=optician] {
2129    icon-image: "presets/shop/optician.svg";
2130    set icon_z17;
2131}
2132node[shop=medical_supply] {
2133    icon-image: "presets/shop/medical_supply.svg";
2134    set icon_z17;
2135}
2136node[shop=paint] {
2137    icon-image: "presets/shop/paint.svg";
2138    set icon_z17;
2139}
2140node[shop=pawnbroker] {
2141    icon-image: "presets/shop/pawnbroker.svg";
2142    set icon_z17;
2143}
2144node[shop=seafood] {
2145    icon-image: "presets/shop/groceries/seafood.svg";
2146    set icon_z17;
2147}
2148node[shop=dairy] {
2149    icon-image: "presets/shop/groceries/dairy.svg";
2150    set icon_z17;
2151}
2152node[shop=cheese] {
2153    icon-image: "presets/shop/groceries/cheese.svg";
2154    set icon_z17;
2155}
2156node[shop=shoes] {
2157    icon-image: "presets/shop/shoes.svg";
2158    set icon_z17;
2159}
2160node[shop=sports] {
2161    icon-image: "presets/sport/multi.svg";
2162    set icon_z17;
2163}
2164node[shop=stationery] {
2165    icon-image: "presets/shop/stationery.svg";
2166    set icon_z17;
2167}
2168node[shop=tailor] {
2169    icon-image: "presets/shop/tailor.svg";
2170    set icon_z17;
2171}
2172node[shop=travel_agency] {
2173    icon-image: "presets/shop/travel_agency.svg";
2174    set icon_z17;
2175}
2176node[shop=toys] {
2177    icon-image: "presets/shop/toys.svg";
2178    set icon_z17;
2179}
2180node[shop=vacuum_cleaner] {
2181    icon-image: "presets/shop/vacuum_cleaner.svg";
2182    set icon_z17;
2183}
2184node[shop=variety_store] {
2185    icon-image: "presets/shop/variety_store.svg";
2186    set icon_z17;
2187}
2188node[shop=charity] {
2189    icon-image: "presets/shop/charity.svg";
2190    set icon_z17;
2191}
2192node[shop=video] {
2193    icon-image: "presets/shop/video.svg";
2194    set icon_z17;
2195}
2196node[shop=bookmaker] {
2197    icon-image: "presets/shop/lottery.svg";
2198    set icon_z17;
2199}
2200node[shop=lottery] {
2201    icon-image: "presets/shop/lottery.svg";
2202    set icon_z17;
2203}
2204/* duplicate of shopping_centre? */
2205node[shop=shopping_centre] {
2206    icon-image: "presets/shop/mall.svg";
2207    set icon_z17;
2208}
2209node[shop=pet] {
2210    icon-image: "presets/shop/pet.svg";
2211    set icon_z17;
2212}
2213node[shop=photo] {
2214    icon-image: "presets/shop/photo.svg";
2215    set icon_z17;
2216}
2217node[shop=ticket] {
2218    icon-image: "presets/shop/ticket.svg";
2219    set icon_z17;
2220}
2221node[shop=interior_decoration] {
2222    icon-image: "presets/shop/interior_decoration.svg";
2223    set icon_z17;
2224}
2225node[shop=car_parts] {
2226    icon-image: "presets/vehicle/car_parts.svg";
2227    set icon_z17;
2228}
2229node[shop=video_games] {
2230    icon-image: "presets/shop/video_games.svg";
2231    set icon_z17;
2232}
2233node[shop=bed] {
2234    icon-image: "presets/shop/bed.svg";
2235    set icon_z17;
2236}
2237node[shop=beauty] {
2238    icon-image: "presets/shop/beauty.svg";
2239    set icon_z17;
2240}
2241node[shop=cosmetics] {
2242    icon-image: "presets/shop/cosmetics.svg";
2243    set icon_z17;
2244}
2245node[shop=perfumery] {
2246    icon-image: "presets/shop/perfumery.svg";
2247    set icon_z17;
2248}
2249node[shop=tea] {
2250    icon-image: "presets/shop/groceries/tea.svg";
2251    set icon_z17;
2252}
2253node[shop=coffee] {
2254    icon-image: "presets/shop/groceries/coffee.svg";
2255    set icon_z17;
2256}
2257node[shop=antiques] {
2258    icon-image: "presets/shop/antique.svg";
2259    set icon_z17;
2260}
2261node[shop=music] {
2262    icon-image: "presets/shop/music.svg";
2263    set icon_z17;
2264}
2265node[shop=funeral_directors] {
2266    icon-image: "presets/shop/funeral_directors.svg";
2267    set icon_z17;
2268}
2269node[shop=wine] {
2270    icon-image: "presets/shop/wine.svg";
2271    set icon_z17;
2272}
2273node[shop=farm] {
2274    icon-image: "presets/shop/groceries/farm.svg";
2275    set icon_z17;
2276}
2277node[shop=tattoo] {
2278    icon-image: "presets/shop/tattoo.svg";
2279    set icon_z17;
2280}
2281node[shop=art] {
2282    icon-image: "presets/shop/art.svg";
2283    set icon_z17;
2284}
2285node[shop=bag] {
2286    icon-image: "presets/shop/bag.svg";
2287    set icon_z17;
2288}
2289
2290/******************/
2291/* emergency tags */
2292/******************/
2293area[emergency=ambulance_station],
2294area[emergency=water_tank] {
2295    fill-color: emergency#eeeeee;
2296}
2297node[emergency=ambulance_station] {
2298    icon-image: "presets/emergency/ambulance_station.svg";
2299    set icon_z17;
2300}
2301node[emergency=water_tank] {
2302    icon-image: "presets/emergency/water_tank.svg";
2303    set icon_z17;
2304}
2305node[emergency=phone] {
2306    icon-image: "presets/vehicle/emergency_phone.svg";
2307    set icon_z17;
2308}
2309node[emergency=defibrillator] {
2310    icon-image: "presets/emergency/aed.svg";
2311    set icon_z17;
2312}
2313node[emergency=fire_hydrant] {
2314    icon-image: "presets/service/fire_hydrant.svg";
2315    set icon_z17;
2316}
2317node[emergency=fire_extinguisher] {
2318    icon-image: "presets/emergency/fire_extinguisher.svg";
2319    set icon_z17;
2320}
2321node[emergency=fire_hose] {
2322    icon-image: "presets/emergency/fire_hose.svg";
2323    set icon_z17;
2324}
2325node[emergency=assembly_point] {
2326    icon-image: "presets/emergency/assembly_point.svg";
2327    set icon_z17;
2328}
2329node[emergency=siren] {
2330    icon-image: "presets/emergency/siren.svg";
2331    set icon_z17;
2332}
2333
2334/****************/
2335/* amenity tags */
2336/****************/
2337
2338area[amenity=pub],
2339area[amenity=biergarten],
2340area[amenity=nightclub],
2341area[amenity=stripclub],
2342area[amenity=casino],
2343area[amenity=brothel],
2344area[amenity=cafe],
2345area[amenity=restaurant],
2346area[amenity=food_court],
2347area[amenity=fast_food],
2348area[amenity=bar],
2349area[amenity=ice_cream] {
2350    fill-color: amenity#ecba52;
2351}
2352node[amenity=pub] {
2353    icon-image: "presets/food/pub.svg";
2354    set icon_z17;
2355}
2356node[amenity=biergarten] {
2357    icon-image: "presets/food/biergarten.svg";
2358    set icon_z17;
2359}
2360node[amenity=nightclub] {
2361    icon-image: "presets/leisure/nightclub.svg";
2362    set icon_z17;
2363}
2364node[amenity=stripclub] {
2365    icon-image: "presets/leisure/stripclub.svg";
2366    set icon_z17;
2367}
2368node[amenity=casino] {
2369    icon-image: "presets/leisure/casino.svg";
2370    set icon_z17;
2371}
2372node[amenity=brothel] {
2373    icon-image: "presets/leisure/brothel.svg";
2374    set icon_z17;
2375}
2376node[amenity=cafe] {
2377    icon-image: "presets/food/cafe.svg";
2378    set icon_z17;
2379}
2380node[amenity=restaurant] {
2381    icon-image: "presets/food/restaurant.svg";
2382    set icon_z17;
2383}
2384node[amenity=food_court] {
2385    icon-image: "presets/food/food_court.svg";
2386    set icon_z17;
2387}
2388node[amenity=fast_food] {
2389    icon-image: "presets/food/fast_food.svg";
2390    set icon_z17;
2391}
2392node[amenity=bar] {
2393    icon-image: "presets/food/bar.svg";
2394    set icon_z17;
2395}
2396node[amenity=ice_cream] {
2397    icon-image: "presets/food/ice_cream.svg";
2398    set icon_z17;
2399}
2400area[amenity=bicycle_parking]:closed {
2401    fill-color: amenity_traffic#f7efb7;
2402}
2403way[amenity=bicycle_parking] {
2404    width: 2;
2405    color: amenity_traffic#f7efb7;
2406}
2407area[amenity=parking_space],
2408area[amenity=parking],
2409area[amenity=motorcycle_parking],
2410area[amenity=bicycle_rental],
2411area[amenity=bicycle_repair_station],
2412area[amenity=car_rental],
2413area[amenity=car_sharing],
2414area[amenity=car_wash],
2415area[amenity=taxi],
2416area[amenity=fuel] {
2417    fill-color: amenity_traffic#f7efb7;
2418}
2419node[amenity=parking_space] {
2420    icon-image: "presets/vehicle/parking/parking_space.svg";
2421    set icon_z17;
2422}
2423node[amenity=parking] {
2424    icon-image: "presets/vehicle/parking/parking.svg";
2425    set icon_z17;
2426}
2427node[amenity=parking_entrance] {
2428    icon-image: "presets/vehicle/parking/parking.svg";
2429    set icon_z17;
2430}
2431node[amenity=parking_entrance][parking=multi-storey],
2432node[amenity=parking][parking=multi-storey] {
2433    icon-image: "presets/vehicle/parking/multi-storey.svg";
2434    set icon_z17;
2435}
2436node[amenity=parking_entrance][parking=underground],
2437node[amenity=parking][parking=underground] {
2438    icon-image: "presets/vehicle/parking/underground.svg";
2439    set icon_z17;
2440}
2441node[amenity=motorcycle_parking] {
2442    icon-image: "presets/vehicle/parking/motorbike.svg";
2443    set icon_z17;
2444}
2445node[amenity=bicycle_parking] {
2446    icon-image: "presets/vehicle/parking/bicycle.svg";
2447    set icon_z17;
2448}
2449node[park_ride][park_ride!=no] {
2450    icon-image: "presets/vehicle/parking/park_ride.svg";
2451    set icon_z17;
2452}
2453node[amenity=parking_space][wheelchair?] {
2454    icon-image: "presets/vehicle/parking/handicapped.svg";
2455    set icon_z17;
2456}
2457node[amenity=bicycle_rental] {
2458    icon-image: "presets/vehicle/bicycle_rental.svg";
2459    set icon_z17;
2460}
2461node[amenity=bicycle_repair_station] {
2462    icon-image: "presets/vehicle/bicycle_repair_station.svg";
2463    set icon_z17;
2464}
2465node[amenity=car_rental] {
2466    icon-image: "presets/vehicle/car_rental.svg";
2467    set icon_z17;
2468}
2469node[amenity=car_sharing] {
2470    icon-image: "presets/vehicle/car_sharing.svg";
2471    set icon_z17;
2472}
2473node[amenity=car_wash] {
2474    icon-image: "presets/vehicle/car_wash.svg";
2475    set icon_z17;
2476}
2477node[amenity=taxi] {
2478    icon-image: "presets/transport/taxi.svg";
2479    set icon_z17;
2480}
2481node[amenity=fuel] {
2482    icon-image: "presets/vehicle/fuel.svg";
2483    set icon_z17;
2484}
2485node[amenity=charging_station] {
2486    icon-image: "presets/vehicle/charging_station.svg";
2487    set icon_z17;
2488}
2489node[amenity=grit_bin] {
2490    icon-image: "presets/misc/grit_bin.svg";
2491    set icon_z17;
2492}
2493node[amenity=telephone] {
2494    icon-image: "presets/service/telephone.svg";
2495    set icon_z17;
2496}
2497node[amenity=clock] {
2498    icon-image: "presets/service/clock.svg";
2499    set icon_z17;
2500}
2501node[amenity=photo_booth] {
2502    icon-image: "presets/service/photo_booth.svg";
2503    set icon_z17;
2504}
2505area[amenity=toilets],
2506area[amenity=shower],
2507area[amenity=internet_cafe],
2508area[amenity=recycling],
2509area[amenity=sanitary_dump_station] {
2510    fill-color: amenity_light#f7efb7;
2511}
2512node[amenity=toilets] {
2513    icon-image: "presets/service/toilets.svg";
2514    set icon_z17;
2515}
2516node[amenity=shower] { 
2517    icon-image: "presets/service/shower.svg";
2518    set icon_z17;
2519}
2520node[amenity=internet_cafe] { 
2521    icon-image: "presets/service/internet_cafe.svg";
2522    set icon_z17;
2523}
2524node[amenity=recycling] {
2525    icon-image: "presets/service/recycling/recycling.svg";
2526    set icon_z17;
2527}
2528node[amenity=recycling][recycling_type=container] {
2529    icon-image: "presets/service/recycling/recycling_container.svg";
2530}
2531node[amenity=recycling][recycling_type=centre] {
2532    icon-image: "presets/service/recycling/recycling_centre.svg";
2533}
2534node[amenity=waste_basket] {
2535    icon-image: "presets/service/recycling/waste_basket.svg";
2536    set icon_z17;
2537}
2538node[amenity=waste_disposal] {
2539    icon-image: "presets/service/recycling/waste_disposal.svg";
2540    set icon_z17;
2541}
2542node[amenity=sanitary_dump_station] {
2543    icon-image: "presets/service/recycling/sanitary_dump_station.svg";
2544    set icon_z17;
2545}
2546area[amenity=townhall],
2547area[amenity=embassy],
2548area[amenity=community_centre] {
2549    fill-color: amenity_light#f7efb7;
2550}
2551node[amenity=townhall] {
2552    icon-image: "presets/service/townhall.svg";
2553    set icon_z17;
2554}
2555node[amenity=embassy] {
2556    icon-image: "presets/service/embassy.svg";
2557    set icon_z17;
2558}
2559node[amenity=community_centre] {
2560    icon-image: "presets/service/community_centre.svg";
2561    set icon_z17;
2562}
2563area[amenity=water_point],
2564area[amenity=fountain] {
2565    fill-color: light_water#00005f;
2566}
2567node[amenity=drinking_water] {
2568    icon-image: "presets/food/drinking_water.svg";
2569    set icon_z17;
2570}
2571node[amenity=water_point] {
2572    icon-image: "presets/accommodation/water.svg";
2573    set icon_z17;
2574}
2575node[amenity=fountain] {
2576    icon-image: "presets/misc/fountain.svg";
2577    set icon_z17;
2578}
2579area[amenity=place_of_worship],
2580area[amenity=grave_yard],
2581area[amenity=crematorium],
2582area[amenity=post_office],
2583area[amenity=studio],
2584area[amenity=school],
2585area[amenity=university],
2586area[amenity=college],
2587area[amenity=kindergarten],
2588area[amenity=driving_school] {
2589    fill-color: amenity_light#f7efb7;
2590}
2591node[amenity=place_of_worship] {
2592    icon-image: "presets/religion/religion.svg";
2593    set icon_z17;
2594}
2595node[amenity=place_of_worship][religion=bahai] {
2596    icon-image: "presets/religion/bahai.svg";
2597    set icon_z17;
2598}
2599node[amenity=place_of_worship][religion=buddhist] {
2600    icon-image: "presets/religion/buddhism.svg";
2601    set icon_z17;
2602}
2603node[amenity=place_of_worship][religion=christian] {
2604    icon-image: "presets/religion/church.svg";
2605    set icon_z17;
2606}
2607node[amenity=place_of_worship][religion=hindu] {
2608    icon-image: "presets/religion/hinduism.svg";
2609    set icon_z17;
2610}
2611node[amenity=place_of_worship][religion=jain] {
2612    icon-image: "presets/religion/jainism.svg";
2613    set icon_z17;
2614}
2615node[amenity=place_of_worship][religion=jewish] {
2616    icon-image: "presets/religion/jewish.svg";
2617    set icon_z17;
2618}
2619node[amenity=place_of_worship][religion=muslim] {
2620    icon-image: "presets/religion/muslim.svg";
2621    set icon_z17;
2622}
2623node[amenity=place_of_worship][religion=sikh] {
2624    icon-image: "presets/religion/sikhism.svg";
2625    set icon_z17;
2626}
2627node[amenity=place_of_worship][religion=shinto] {
2628    icon-image: "presets/religion/shinto.svg";
2629    set icon_z17;
2630}
2631node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
2632    icon-image: "presets/misc/no_icon.svg";
2633    set icon_z17;
2634}
2635node[amenity=place_of_worship][religion=taoist] {
2636    icon-image: "presets/religion/taoism.svg";
2637    set icon_z17;
2638}
2639node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] {
2640    icon-image: "presets/misc/no_icon.svg";
2641    set icon_z17;
2642}
2643node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
2644    icon-image: "presets/misc/no_icon.svg";
2645    set icon_z17;
2646}
2647node[amenity=grave_yard] {
2648    icon-image: "presets/landuse/graveyard.svg";
2649    set icon_z17;
2650}
2651node[amenity=crematorium][!is_prop_set(icon-image)] {
2652    icon-image: "presets/misc/no_icon.svg";
2653    set icon_z17;
2654}
2655node[amenity=post_office] {
2656    icon-image: "presets/service/post_office.svg";
2657    set icon_z17;
2658}
2659node[amenity=post_box] {
2660    icon-image: "presets/service/post_box.svg";
2661    set icon_z17;
2662}
2663node[amenity=studio] {
2664    icon-image: "presets/service/studio.svg";
2665    set icon_z17;
2666}
2667node[amenity=school] {
2668    icon-image: "presets/education/school.svg";
2669    set icon_z17;
2670}
2671node[amenity=university] {
2672    icon-image: "presets/education/university.svg";
2673    set icon_z17;
2674}
2675node[amenity=college] {
2676    icon-image: "presets/education/college.svg";
2677    set icon_z17;
2678}
2679node[amenity=kindergarten] {
2680    icon-image: "presets/education/kindergarten.svg";
2681    set icon_z17;
2682}
2683node[amenity=driving_school] {
2684    icon-image: "presets/education/driving_school.svg";
2685    set icon_z17;
2686}
2687area[amenity=pharmacy],
2688area[amenity=hospital],
2689area[amenity=clinic],
2690area[amenity=nursing_home],
2691area[amenity=social_facility],
2692area[amenity=baby_hatch],
2693area[amenity=doctors],
2694area[amenity=dentist],
2695area[amenity=veterinary] {
2696    fill-color: health#eeeeee;
2697}
2698node[amenity=pharmacy] {
2699    icon-image: "presets/health/pharmacy.svg";
2700    set icon_z17;
2701}
2702node[amenity=hospital] {
2703    icon-image: "presets/health/hospital.svg";
2704    set icon_z17;
2705}
2706node[amenity=clinic] {
2707    icon-image: "presets/health/clinic.svg";
2708    set icon_z17;
2709}
2710node[amenity=social_facility][social_facility=nursing_home],
2711node[amenity=nursing_home] {
2712    icon-image: "presets/social_facility/nursing_home.svg";
2713    set icon_z17;
2714}
2715node[amenity=social_facility][social_facility=group_home] {
2716    icon-image: "presets/social_facility/group_home.svg";
2717    set icon_z17;
2718}
2719node[amenity=social_facility][social_facility=assisted_living] {
2720    icon-image: "presets/social_facility/assisted_living.svg";
2721    set icon_z17;
2722}
2723node[amenity=social_facility][social_facility=outreach] {
2724    icon-image: "presets/social_facility/outreach.svg";
2725    set icon_z17;
2726}
2727node[amenity=social_facility][social_facility=shelter] {
2728    icon-image: "presets/social_facility/shelter.svg";
2729    set icon_z17;
2730}
2731node[amenity=social_facility][social_facility=food_bank] {
2732    icon-image: "presets/social_facility/food_bank.svg";
2733    set icon_z17;
2734}
2735node[amenity=baby_hatch] {
2736    icon-image: "presets/health/baby_hatch.svg";
2737    set icon_z17;
2738}
2739node[amenity=doctors] {
2740    icon-image: "presets/health/doctors.svg";
2741    set icon_z17;
2742}
2743node[amenity=dentist] {
2744    icon-image: "presets/health/dentist.svg";
2745    set icon_z17;
2746}
2747node[amenity=veterinary] {
2748    icon-image: "presets/health/veterinary.svg";
2749    set icon_z17;
2750}
2751area[amenity=library],
2752area[amenity=police],
2753area[amenity=ranger_station],
2754area[amenity=fire_station],
2755area[amenity=bus_station],
2756area[amenity=ferry_terminal],
2757area[amenity=theatre],
2758area[amenity=cinema],
2759area[amenity=arts_centre],
2760area[amenity=courthouse],
2761area[amenity=prison],
2762area[amenity=bank],
2763area[amenity=bureau_de_change],
2764area[amenity=bbq],
2765area[amenity=watering_place] {
2766    fill-color: amenity_light#f7efb7;
2767}
2768node[amenity=library] {
2769    icon-image: "presets/education/library.svg";
2770    set icon_z17;
2771}
2772node[amenity=police] {
2773    icon-image: "presets/service/police.svg";
2774    set icon_z17;
2775}
2776node[amenity=ranger_station] {
2777    icon-image: "presets/service/ranger_station.svg";
2778    set icon_z17;
2779}
2780node[amenity=fire_station] {
2781    icon-image: "presets/service/firebrigade.svg";
2782    set icon_z17;
2783}
2784node[amenity=bus_station] {
2785    icon-image: "presets/transport/bus_old.svg";
2786    set icon_z17;
2787}
2788node[amenity=ferry_terminal] {
2789    icon-image: "presets/nautical/ferry.svg";
2790    set icon_z17;
2791}
2792node[amenity=theatre] {
2793    icon-image: "presets/leisure/theater.svg";
2794    set icon_z17;
2795}
2796node[amenity=cinema] {
2797    icon-image: "presets/leisure/cinema.svg";
2798    set icon_z17;
2799}
2800node[amenity=arts_centre] {
2801    icon-image: "presets/sightseeing/arts_centre.svg";
2802    set icon_z17;
2803}
2804node[amenity=courthouse] {
2805    icon-image: "presets/service/courthouse.svg";
2806    set icon_z17;
2807}
2808node[amenity=prison] {
2809    icon-image: "presets/service/prison.svg";
2810    set icon_z17;
2811}
2812node[amenity=bank] {
2813    icon-image: "presets/money/bank.svg";
2814    set icon_z17;
2815}
2816node[amenity=bureau_de_change] {
2817    icon-image: "presets/money/exchange.svg";
2818    set icon_z17;
2819}
2820node[amenity=atm] {
2821    icon-image: "presets/money/atm.svg";
2822    set icon_z17;
2823}
2824way[amenity=bench] {
2825    width: 2;
2826    color: amenity_light#f7efb7;
2827}
2828node[amenity=bench] {
2829    icon-image: "presets/leisure/bench.svg";
2830    set icon_z17;
2831}
2832node[amenity=bbq] {
2833    icon-image: "presets/leisure/bbq.svg";
2834    set icon_z17;
2835}
2836node[amenity=compressed_air] {
2837    icon-image: "presets/vehicle/compressed_air.svg";
2838    set icon_z17;
2839}
2840node[amenity=watering_place] {
2841    icon-image: "presets/misc/watering_place.svg";
2842    set icon_z17;
2843}
2844area[amenity=shelter],
2845area[amenity=marketplace],
2846area[amenity=wlan] {
2847    fill-color: amenity_light#f7efb7;
2848}
2849node[amenity=shelter] {
2850    icon-image: "presets/accommodation/shelter.svg";
2851    set icon_z17;
2852}
2853node[amenity=shelter][shelter_type=public_transport] {
2854    icon-image: "presets/accommodation/shelter_public_transport.svg";
2855    set icon_z17;
2856}
2857node[amenity=shelter][shelter_type=picnic_shelter] {
2858    icon-image: "presets/accommodation/shelter_picnic.svg";
2859    set icon_z17;
2860}
2861node[amenity=shelter][shelter_type=basic_hut] {
2862    icon-image: "presets/accommodation/basic_hut.svg";
2863    set icon_z17;
2864}
2865node[amenity=shelter][shelter_type=lean_to] {
2866    icon-image: "presets/accommodation/shelter_lean_to.svg";
2867    set icon_z17;
2868}
2869node[amenity=hunting_stand] {
2870    icon-image: "presets/landmark/hunting_stand.svg";
2871    set icon_z17;
2872}
2873node[amenity=marketplace] {
2874    icon-image: "presets/shop/marketplace.svg";
2875    set icon_z17;
2876}
2877node[amenity=wlan] {
2878    icon-image: "presets/misc/wlan.svg";
2879    set icon_z17;
2880}
2881node[amenity=vending_machine] {
2882    icon-image: "presets/transport/ticket-machine.svg";
2883    set icon_z17;
2884}
2885node[vending=excrement_bags] {
2886    icon-image: "presets/service/excrement_bags.svg";
2887    set icon_z17;
2888}
2889
2890/**************/
2891/* craft tags */
2892/**************/
2893
2894area[craft=carpenter],
2895area[craft=shoemaker],
2896area[craft=photographer],
2897area[craft=metal_construction],
2898area[craft=electrician],
2899area[craft=brewery],
2900area[craft=plumber],
2901area[craft=sawmill],
2902area[craft=gardener],
2903area[craft=winery],
2904area[craft=hvac],
2905area[craft=painter],
2906area[craft=stonemason],
2907area[craft=handicraft],
2908area[craft=pottery],
2909area[craft=key_cutter],
2910area[craft=caterer],
2911area[craft=roofer],
2912area[craft=beekeeper],
2913area[craft=blacksmith],
2914area[craft=locksmith],
2915area[craft=window_construction],
2916area[craft=upholsterer],
2917area[craft=tiler] {
2918    fill-color: craft#999900;
2919}
2920node[craft=carpenter][!is_prop_set(icon-image)] {
2921    icon-image: "presets/misc/no_icon.svg";
2922    set icon_z17;
2923}
2924node[craft=shoemaker][!is_prop_set(icon-image)] {
2925    icon-image: "presets/misc/no_icon.svg";
2926    set icon_z17;
2927}
2928node[craft=photographer][!is_prop_set(icon-image)] {
2929    icon-image: "presets/misc/no_icon.svg";
2930    set icon_z17;
2931}
2932node[craft=metal_construction][!is_prop_set(icon-image)] {
2933    icon-image: "presets/misc/no_icon.svg";
2934    set icon_z17;
2935}node[craft=electrician][!is_prop_set(icon-image)] {
2936    icon-image: "presets/misc/no_icon.svg";
2937    set icon_z17;
2938}
2939node[craft=brewery][!is_prop_set(icon-image)] {
2940    icon-image: "presets/misc/no_icon.svg";
2941    set icon_z17;
2942}
2943node[craft=plumber] {
2944    icon-image: "presets/craft/plumber.svg";
2945    set icon_z17;
2946}
2947node[craft=sawmill][!is_prop_set(icon-image)] {
2948    icon-image: "presets/misc/no_icon.svg";
2949    set icon_z17;
2950}
2951node[craft=gardener][!is_prop_set(icon-image)] {
2952    icon-image: "presets/misc/no_icon.svg";
2953    set icon_z17;
2954}
2955node[craft=winery][!is_prop_set(icon-image)] {
2956    icon-image: "presets/misc/no_icon.svg";
2957    set icon_z17;
2958}
2959node[craft=hvac][!is_prop_set(icon-image)] {
2960    icon-image: "presets/misc/no_icon.svg";
2961    set icon_z17;
2962}
2963node[craft=painter] {
2964    icon-image: "presets/craft/painter.svg";
2965    set icon_z17;
2966}
2967node[craft=stonemason][!is_prop_set(icon-image)] {
2968    icon-image: "presets/misc/no_icon.svg";
2969    set icon_z17;
2970}
2971node[craft=handicraft][!is_prop_set(icon-image)] {
2972    icon-image: "presets/misc/no_icon.svg";
2973    set icon_z17;
2974}
2975node[craft=pottery] {
2976    icon-image: "presets/craft/pottery.svg";
2977    set icon_z17;
2978}
2979node[craft=key_cutter][!is_prop_set(icon-image)] {
2980    icon-image: "presets/misc/no_icon.svg";
2981    set icon_z17;
2982}
2983node[craft=caterer][!is_prop_set(icon-image)] {
2984    icon-image: "presets/misc/no_icon.svg";
2985    set icon_z17;
2986}
2987node[craft=roofer] {
2988    icon-image: "presets/craft/roofer.svg";
2989    set icon_z17;
2990}
2991node[craft=beekeeper] {
2992    icon-image: "presets/craft/beekeeper.svg";
2993    set icon_z17;
2994}
2995node[craft=blacksmith][!is_prop_set(icon-image)] {
2996    icon-image: "presets/misc/no_icon.svg";
2997    set icon_z17;
2998}
2999node[craft=locksmith][!is_prop_set(icon-image)] {
3000    icon-image: "presets/misc/no_icon.svg";
3001    set icon_z17;
3002}
3003node[craft=window_construction] {
3004    icon-image: "presets/craft/window_construction.svg";
3005    set icon_z17;
3006}
3007node[craft=upholsterer][!is_prop_set(icon-image)] {
3008    icon-image: "presets/misc/no_icon.svg";
3009    set icon_z17;
3010}
3011node[craft=tiler] {
3012    icon-image: "presets/craft/tiler.svg";
3013    set icon_z17;
3014}
3015
3016/****************/
3017/* tourism tags */
3018/****************/
3019
3020area[tourism=hotel],
3021area[tourism=motel],
3022area[tourism=guest_house],
3023area[tourism=apartment],
3024area[tourism=hostel],
3025area[tourism=chalet],
3026area[tourism=alpine_hut],
3027area[tourism=wilderness_hut],
3028area[tourism=camp_site],
3029area[tourism=caravan_site] {
3030    fill-color: hotel#feced0;
3031}
3032node[tourism=hotel] {
3033    icon-image: "presets/accommodation/hotel.svg";
3034    set icon_z17;
3035}
3036node[tourism=motel] {
3037    icon-image: "presets/accommodation/motel.svg";
3038    set icon_z17;
3039}
3040node[tourism=guest_house] {
3041    icon-image: "presets/accommodation/guest_house.svg";
3042    set icon_z17;
3043}
3044node[tourism=apartment] {
3045    icon-image: "presets/accommodation/apartment.svg";
3046    set icon_z17;
3047}
3048node[tourism=hostel] {
3049    icon-image: "presets/accommodation/hostel.svg";
3050    set icon_z17;
3051}
3052node[tourism=chalet] {
3053    icon-image: "presets/accommodation/chalet.svg";
3054    set icon_z17;
3055}
3056node[tourism=alpine_hut] {
3057    icon-image: "presets/accommodation/alpine_hut.svg";
3058    set icon_z17;
3059}
3060node[tourism=wilderness_hut] {
3061    icon-image: "presets/accommodation/wilderness_hut.svg";
3062    set icon_z17;
3063}
3064node[tourism=camp_site] {
3065    icon-image: "presets/accommodation/camping.svg";
3066    set icon_z17;
3067}
3068node[tourism=caravan_site] {
3069    icon-image: "presets/accommodation/caravan.svg";
3070    set icon_z17;
3071}
3072area[tourism=attraction]:closed {
3073    fill-color: tourism#e180a2;
3074}
3075way[tourism=attraction] {
3076    width: 2;
3077    color: tourism#e180a2;
3078}
3079node[tourism=attraction] {
3080    icon-image: "presets/sightseeing/attraction.svg";
3081    set icon_z17;
3082}
3083area[tourism=picnic_site],
3084area[tourism=viewpoint],
3085area[tourism=theme_park],
3086area[tourism=zoo],
3087area[tourism=museum] {
3088    fill-color: tourism#e180a2;
3089}
3090node[tourism=picnic_site] {
3091    icon-image: "presets/leisure/picnic.svg";
3092    set icon_z17;
3093}
3094node[tourism=viewpoint] {
3095    icon-image: "presets/sightseeing/viewpoint.svg";
3096    set icon_z17;
3097}
3098node[tourism=theme_park] {
3099    icon-image: "presets/leisure/theme_park.svg";
3100    set icon_z17;
3101}
3102node[tourism=zoo] {
3103    icon-image: "presets/leisure/zoo.svg";
3104    set icon_z17;
3105}
3106area[tourism=artwork]:closed {
3107    fill-color: tourism#e180a2;
3108}
3109way[tourism=artwork] {
3110    width: 2;
3111    color: tourism#e180a2;
3112}
3113node[tourism=artwork] {
3114    icon-image: "presets/sightseeing/arts_centre.svg";
3115    set icon_z17;
3116}
3117node[tourism=museum] {
3118    icon-image: "presets/sightseeing/museum.svg";
3119    set icon_z17;
3120}
3121
3122/********************/
3123/* information tags */
3124/********************/
3125
3126area[tourism=information] {
3127    fill-color: tourism#e180a2;
3128}
3129node[tourism=information] {
3130    icon-image: "presets/misc/information/information.svg";
3131    set icon_z17;
3132}
3133node[tourism=information][information=guidepost] {
3134    icon-image: "presets/misc/information/guidepost.svg";
3135    set icon_z17;
3136}
3137area[tourism=information][information=office] {
3138    fill-color: tourism#e180a2;
3139}
3140node[tourism=information][information=office] {
3141    icon-image: "presets/misc/information/informationoffice.svg";
3142    set icon_z17;
3143}
3144node[tourism=information][information=map] {
3145    icon-image: "presets/misc/information/map.svg";
3146    set icon_z17;
3147}
3148node[tourism=information][information=board] {
3149    icon-image: "presets/misc/information/board.svg";
3150    set icon_z17;
3151}
3152
3153/*****************/
3154/* historic tags */
3155/*****************/
3156
3157area[historic=castle],
3158area[historic=monument],
3159area[historic=memorial],
3160area[historic=tomb],
3161area[historic=archaeological_site],
3162area[historic=ruins],
3163area[historic=battlefield],
3164area[geological=palaeontological_site],
3165area[historic=wayside_cross],
3166area[historic=wayside_shrine],
3167area[historic=boundary_stone] {
3168    fill-color: historic#663300;
3169}
3170node[historic=castle] {
3171    icon-image: "presets/sightseeing/castle.svg";
3172    set icon_z17;
3173}
3174node[historic=monument] {
3175    icon-image: "presets/sightseeing/monument.svg";
3176    set icon_z17;
3177}
3178node[historic=memorial] {
3179    icon-image: "presets/sightseeing/memorial.svg";
3180    set icon_z17;
3181}
3182node[historic=archaeological_site] {
3183    icon-image: "presets/sightseeing/archaeological.svg";
3184    set icon_z17;
3185}
3186node[historic=ruins] {
3187    icon-image: "presets/sightseeing/ruins.svg";
3188    set icon_z17;
3189}
3190node[historic=battlefield] {
3191    icon-image: "presets/sightseeing/battlefield.svg";
3192    set icon_z17;
3193}
3194node[geological=palaeontological_site] {
3195    icon-image: "presets/sightseeing/palaeontological_site.svg";
3196    set icon_z17;
3197}
3198node[historic=wayside_cross] {
3199    icon-image: "presets/religion/wayside_cross.svg";
3200    set icon_z17;
3201}
3202node[historic=wayside_shrine] {
3203    icon-image: "presets/religion/wayside_shrine.svg";
3204    set icon_z17;
3205}
3206node[historic=boundary_stone] {
3207    icon-image: "presets/landmark/boundary_stone.svg";
3208    set icon_z17;
3209}
3210area[cemetery=grave] {
3211    fill-color: grave#663300;
3212}
3213node[cemetery=grave] {
3214    icon-image: "presets/misc/grave.svg";
3215    set icon_z17;
3216}
3217node[historic=tomb] {
3218    icon-image: "presets/misc/tomb.svg";
3219    set icon_z17;
3220}
3221
3222/****************/
3223/* landuse tags */
3224/****************/
3225
3226area[landuse],
3227area[leisure],
3228area[amenity],
3229area[place],
3230area[natural],
3231area[man_made] {
3232    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3233}
3234area[landuse=farmland] {
3235    fill-color: farmland#b8e0b1;
3236}
3237area[landuse=meadow] {
3238    fill-color: meadow#b1e0b6;
3239}
3240area[landuse=vineyard],
3241area[landuse=orchard] {
3242    fill-color: green#b1e0c2;
3243}
3244area[landuse=quarry] {
3245    fill-color: quarry#888888;
3246}
3247area[landuse=landfill] {
3248    fill-color: landfill#663300;
3249}
3250area[landuse=basin],
3251area[landuse=reservoir] {
3252    fill-color: basin#0000bf;
3253}
3254area[landuse=forest] {
3255    fill-color: forest#b1efc8;
3256}
3257area[landuse=allotments] {
3258    fill-color: allotments#5dbf80;
3259}
3260area[landuse=greenhouse_horticulture],
3261area[landuse=plant_nursery] {
3262    fill-color: green#b1e0c2;
3263}
3264area[landuse=salt_pond] {
3265    fill-color: salt_pond#eeeeee;
3266}
3267area[landuse=aquaculture] {
3268    fill-color: aquaculture#189dff;
3269}
3270area[landuse=grass] {
3271    fill-color: grass#97ca96;
3272}
3273area[landuse=residential] {
3274    fill-color: residential#f0f0f0;
3275}
3276area[landuse=garages] {
3277    fill-color: garages#d6c8aa;
3278}
3279area[landuse=farmyard] {
3280    fill-color: farmyard#f0f0f0;
3281}
3282area[landuse=retail],
3283area[landuse=commercial] {
3284    fill-color: retail#ffc4ee;
3285}
3286area[landuse=industrial] {
3287    fill-color: industrial#ecd8ff;
3288}
3289area[landuse=brownfield] {
3290    fill-color: brownfield#ecba32;
3291}
3292area[landuse=greenfield] {
3293    fill-color: greenfield#b1ec5c;
3294}
3295area[landuse=railway] {
3296    fill-color: railland#888888;
3297}
3298area[landuse=construction] {
3299    fill-color: construction#ffff00;
3300}
3301way[landuse=construction] {
3302    width: 1;
3303    color: construction#ffff00;
3304    dashes: 9,9;
3305}
3306area[landuse=military] {
3307    fill-color: military#b62c2c;
3308}
3309area[landuse=religious] {
3310    fill-color: religious#ffd454;
3311}
3312area[landuse=cemetery] {
3313    fill-color: cemetery#b1efc8;
3314}
3315area[landuse=village_green] {
3316    fill-color: green#b1e0c2;
3317}
3318area[landuse=recreation_ground] {
3319    fill-color: green#b1e0c2;
3320}
3321node[landuse] {
3322    icon-image: "presets/misc/deprecated.svg";
3323    set icon_z17;
3324}
3325
3326/*****************/
3327/* military tags */
3328/*****************/
3329
3330area[military=airfield],
3331area[military=bunker],
3332area[military=barracks],
3333area[military=danger_area],
3334area[military=range] {
3335    fill-color: military#b62c2c;
3336}
3337node[military=airfield] {
3338    icon-image: "presets/transport/airport/airfield.svg";
3339    set icon_z17;
3340}
3341node[military=bunker] {
3342    icon-image: "presets/landmark/bunker.svg";
3343    set icon_z17;
3344}
3345node[military=barracks][!is_prop_set(icon-image)] {
3346    icon-image: "presets/misc/no_icon.svg";
3347    set icon_z17;
3348}
3349node[military=danger_area] {
3350    icon-image: "presets/misc/danger.svg";
3351    set icon_z17;
3352}
3353node[military=range] {
3354    icon-image: "presets/sport/range.svg";
3355    set icon_z17;
3356}
3357
3358/****************/
3359/* railway tags */
3360/****************/
3361
3362area[railway=station] {
3363    fill-color: railwaypoint#f7efb7;
3364}
3365node[railway=station] {
3366    icon-image: "presets/transport/railway_station.svg";
3367    set icon_z17;
3368}
3369node[railway=halt] {
3370    icon-image: "presets/transport/railway_halt.svg";
3371    set icon_z17;
3372}
3373node[railway=tram_stop] {
3374    icon-image: "presets/transport/tram.svg";
3375    set icon_z17;
3376}
3377node[railway=subway_entrance] {
3378    icon-image: "presets/transport/underground.svg";
3379    set icon_z17;
3380}
3381node[railway=crossing] {
3382    icon-image: "presets/transport/railway/crossing.svg";
3383    set icon_z17;
3384}
3385node[railway=level_crossing] {
3386    icon-image: "presets/transport/railway/level_crossing.svg";
3387    set icon_z17;
3388}
3389way[railway=rail] {
3390    width: 2;
3391    color: rail#404040;
3392    dashes: 9,9;
3393    dashes-background-color: raildashed#ffffff;
3394}
3395way[railway=rail][service=crossover],
3396way[railway=rail][service=siding] {
3397    width: 1;
3398}
3399way[railway=rail][service=yard],
3400way[railway=rail][service=spur] {
3401    width: 1;
3402    color: railyard#552200;
3403}
3404/* draw tram on top of other way (highway=*) or
3405   as a standalone style */
3406way[highway][railway=tram]::core_railway,
3407way[!highway][railway=tram] {
3408    object-z-index: 1;
3409    modifier: false; /* don't draw default way if there is no line on default layer */
3410    width: 1;
3411    color: railover#202020;
3412    dashes: 9,9;
3413    casing-width: 1;
3414    casing-color: otherrail#808080;
3415    casing-linecap: round;
3416    casing-dashes: 9,9;
3417}
3418way[highway][railway=tram][service=crossover]::core_railway,
3419way[!highway][railway=tram][service=crossover],
3420way[highway][railway=tram][service=siding]::core_railway,
3421way[!highway][railway=tram][service=siding],
3422way[highway][railway=tram][service=yard]::core_railway,
3423way[!highway][railway=tram][service=yard],
3424way[highway][railway=tram][service=spur]::core_railway,
3425way[!highway][railway=tram][service=spur] {
3426    dashes: 6,6;
3427    casing-dashes: 6,6;
3428}
3429
3430way[railway=light_rail] {
3431    width: 2;
3432    color: otherrail#808080;
3433    dashes: 9,9;
3434}
3435way[railway=subway] {
3436    width: 1;
3437    color: subway#606060;
3438    dashes: 9,9;
3439}
3440way[railway=preserved] {
3441    width: 1;
3442    color: oldrail#404040;
3443    dashes: 9,9;
3444}
3445way[railway=light_rail][service=crossover],
3446way[railway=light_rail][service=siding],
3447way[railway=light_rail][service=yard],
3448way[railway=light_rail][service=spur],
3449way[railway=subway][service=crossover],
3450way[railway=subway][service=siding],
3451way[railway=subway][service=yard],
3452way[railway=subway][service=spur],
3453way[railway=preserved][service=crossover],
3454way[railway=preserved][service=siding],
3455way[railway=preserved][service=yard],
3456way[railway=preserved][service=spur] {
3457    dashes: 6,6;
3458}
3459/* disused often appears together with highway=xy */
3460/* -> draw on separate layer with higher z-index, but use */
3461/* modifier: false; to suppress default line when used alone. */
3462/* use default layer when used without highway=* to display bridge correctly */
3463way[railway=disused][highway]::core_railway,
3464way[railway=disused][!highway],
3465way[railway=abandoned][highway]::core_railway,
3466way[railway=abandoned][!highway] {
3467    width: 1;
3468    modifier: false;
3469    z-index: 1;
3470    color: oldrail#404040;
3471    dashes: 9,9;
3472}
3473way[railway=narrow_gauge],
3474way[railway=monorail] {
3475    width: 1;
3476    color: rail#404040;
3477    dashes: 9,9;
3478}
3479way[railway=narrow_gauge][service=crossover],
3480way[railway=narrow_gauge][service=siding],
3481way[railway=narrow_gauge][service=yard],
3482way[railway=narrow_gauge][service=spur],
3483way[railway=monorail][service=crossover],
3484way[railway=monorail][service=siding],
3485way[railway=monorail][service=yard],
3486way[railway=monorail][service=spur] {
3487    dashes: 6,6;
3488}
3489area[railway=turntable] {
3490    fill-color: rail#404040;
3491}
3492node[railway=turntable] {
3493    icon-image: "presets/transport/railway/turntable.svg";
3494    set icon_z17;
3495}
3496node[railway=buffer_stop] {
3497    icon-image: "presets/transport/railway/buffer_stop.svg";
3498    set icon_z17;
3499}
3500area[railway=platform]:closed {
3501    fill-color: rail#404040;
3502}
3503way[railway=platform] {
3504    width: 2;
3505    color: rail#404040;
3506}
3507way[railway=funicular] {
3508    width: 1;
3509    color: rail#404040;
3510    dashes: 9,9;
3511}
3512node[railway=switch] {
3513    icon-image: "presets/transport/railway/switch.svg";
3514    set icon_z17;
3515}
3516node[railway=signal] {
3517    icon-image: "presets/transport/railway/signal.svg";
3518    set icon_z17;
3519}
3520node[railway=milestone] {
3521    icon-image: "presets/transport/railway/milestone.svg";
3522    set icon_z17;
3523}
3524node[railway=rail], node[railway=tram], node[railway=light_rail],
3525node[railway=subway], node[railway=preserved],
3526node[railway=disused], node[railway=abandoned],
3527node[railway=narrow_gauge], node[railway=monorail],
3528node[railway=platform], node[railway=funicular],
3529node[service=yard], node[service=siding], node[service=spur] {
3530    icon-image: "presets/misc/deprecated.svg";
3531    set icon_z17;
3532}
3533way[railway=construction][!highway] {
3534    width: 1;
3535    color: construction#ffff00;
3536    dashes: 9,9;
3537}
3538way[railway=construction][construction=rail] {
3539    width: 2;
3540    color: rail#404040;
3541    dashes: 9,9;
3542    dashes-background-color: construction#ffff00;
3543}
3544way[railway=construction][construction=light_rail] {
3545    width: 2;
3546}
3547way[railway=construction][construction=tram][highway]::core_railway,
3548way[railway=construction][construction=tram][!highway] {
3549    z-index: 1;
3550    width: 1;
3551    color: railover#202020;
3552    dashes: 9,9;
3553    casing-width: 1;
3554    casing-color: construction#ffff00;
3555    casing-linecap: round;
3556    casing-dashes: 9,9;
3557}
3558
3559/****************/
3560/* aeroway tags */
3561/****************/
3562
3563area[aeroway=aerodrome] {
3564    fill-color: aeroway#660000;
3565    width: 2;
3566    dashes: 9,9;
3567}
3568node[aeroway=aerodrome][military!=airfield] {
3569    icon-image: "presets/transport/airport.svg";
3570    set icon_z17;
3571}
3572area[aeroway=terminal] {
3573    fill-color: terminal#bb0000;
3574}
3575node[aeroway=terminal] {
3576    icon-image: "presets/transport/airport/terminal.svg";
3577    set icon_z17;
3578}
3579area[aeroway=helipad] {
3580    fill-color: aeroway_dark#330000;
3581}
3582node[aeroway=helipad] {
3583    icon-image: "presets/transport/airport/helipad.svg";
3584    set icon_z17;
3585}
3586area[aeroway=runway]:closed {
3587    fill-color: aeroway_dark#330000;
3588}
3589way[aeroway=runway] {
3590    width: 3;
3591    color: aeroway_dark#330000;
3592}
3593area[aeroway=taxiway]:closed {
3594    fill-color: aeroway#660000;
3595}
3596way[aeroway=taxiway] {
3597    width: 2;
3598    color: aeroway#660000;
3599}
3600way[aeroway=parking_position] {
3601    width: 1;
3602    color: aeroway#660000;
3603}
3604node[aeroway=parking_position] {
3605    icon-image: "presets/transport/airport/parking_position.svg";
3606    set icon_z17;
3607}
3608area[aeroway=apron],
3609area[aeroway=hangar] {
3610    fill-color: aeroway_light#990000;
3611}
3612node[aeroway=apron],
3613node[aeroway=runway],
3614node[aeroway=taxiway] {
3615    icon-image: "presets/misc/deprecated.svg";
3616    set icon_z17;
3617}
3618node[aeroway=holding_position] {
3619    icon-image: "presets/transport/airport/holding_position.svg";
3620    set icon_z17;
3621}
3622node[aeroway=hangar] {
3623    icon-image: "presets/transport/airport/hangar.svg";
3624    set icon_z17;
3625}
3626node[aeroway=gate] {
3627    icon-image: "presets/transport/airport/gate.svg";
3628    set icon_z17;
3629}
3630node[airmark=beacon] {
3631    icon-image: "presets/transport/airport/airmark_beacon.svg";
3632    set icon_z17;
3633}
3634node[aeroway=navigationaid] {
3635    icon-image: "presets/transport/airport/navigationaid.svg";
3636    set icon_z17;
3637}
3638node[aeroway=windsock] {
3639    icon-image: "presets/transport/airport/windsock.svg";
3640    set icon_z17;
3641}
3642
3643/******************/
3644/* aerialway tags */
3645/******************/
3646
3647way[aerialway=cable_car],
3648way[aerialway=gondola] {
3649    width: 1;
3650    color: aerialway#663300;
3651    dashes: 9,9;
3652}
3653way[aerialway=chair_lift] {
3654    width: 1;
3655    color: aerialway#663300;
3656    dashes: 6,6;
3657}
3658way[aerialway=mixed_lift] {
3659    width: 1;
3660    color: aerialway#663300;
3661    dashes: 6,6,9,6;
3662}
3663way[aerialway=j-bar],
3664way[aerialway=t-bar],
3665way[aerialway=platter],
3666way[aerialway=rope_tow],
3667way[aerialway=drag_lift] {
3668    width: 1;
3669    color: aerialway#663300;
3670    dashes: 3,3;
3671}
3672way[aerialway=magic_carpet] {
3673    width: 1;
3674    color: aerialway#663300;
3675    dashes: 3,3;
3676}
3677way[aerialway=goods] {
3678    width: 1;
3679    color: aerialway#663300;
3680    dashes: 2,2;
3681}
3682area[aerialway=station] {
3683    fill-color: aerialway#663300;
3684}
3685node[aerialway=station] {
3686    icon-image: "presets/transport/aerialway/station.svg";
3687    set icon_z17;
3688}
3689node[aerialway=pylon] {
3690    icon-image: "presets/transport/aerialway/pylon.svg";
3691    set icon_z17;
3692}
3693node[aerialway=cable_car],
3694node[aerialway=gondola],
3695node[aerialway=chair_lift],
3696node[aerialway=mixed_lift],
3697node[aerialway=drag_lift],
3698node[aerialway=t-bar],
3699node[aerialway=j-bar],
3700node[aerialway=platter],
3701node[aerialway=magic_carpet],
3702node[aerialway=rope_tow],
3703node[aerialway=goods] {
3704    icon-image: "presets/misc/deprecated.svg";
3705    set icon_z17;
3706}
3707
3708/*************************/
3709/* public_transport tags */
3710/*************************/
3711
3712node[highway=bus_stop] {
3713    icon-image: "presets/transport/bus_small.svg";
3714    set icon_z17;
3715}
3716node[public_transport=stop_position] {
3717    icon-image: "presets/transport/stop_position.svg";
3718    set icon_z17;
3719}
3720node[public_transport=stop_position][share_taxi=yes] {
3721    icon-image: "presets/transport/share_taxi.svg";
3722    set icon_z17;
3723}
3724node[public_transport=stop_position][bus=yes] {
3725    icon-image: "presets/transport/bus.svg";
3726    set icon_z17;
3727}
3728node[public_transport=stop_position][train=yes] {
3729    icon-image: "presets/transport/train.svg";
3730    set icon_z17;
3731}
3732node[public_transport=stop_position][light_rail=yes] {
3733    icon-image: "presets/transport/railway/light_rail.svg";
3734    set icon_z17;
3735}
3736node[public_transport=stop_position][tram=yes] {
3737    icon-image: "presets/transport/railway/tram.svg";
3738    set icon_z17;
3739}
3740node[public_transport=stop_position][subway=yes] {
3741    icon-image: "presets/transport/railway/subway.svg";
3742    set icon_z17;
3743}
3744node[public_transport=stop_position][monorail=yes] {
3745    icon-image: "presets/transport/railway/monorail.svg";
3746    set icon_z17;
3747}
3748node[public_transport=stop_position][trolleybus=yes] {
3749    icon-image: "presets/transport/trolleybus.svg";
3750    set icon_z17;
3751}
3752node[public_transport=stop_position][funicular=yes] {
3753    icon-image: "presets/transport/railway/funicular.svg";
3754    set icon_z17;
3755}
3756node[public_transport=stop_position][aerialway=yes] {
3757    icon-image: "presets/transport/aerialway/station.svg";
3758    set icon_z17;
3759}
3760node[public_transport=stop_position][ferry=yes] {
3761    icon-image: "presets/nautical/ferry.svg";
3762    set icon_z17;
3763}
3764area[public_transport=platform]:closed {
3765    fill-color: service#809bc0;
3766}
3767way[public_transport=platform]!:closed {
3768    width: 3;
3769    color: service#809bc0;
3770    dashes: 12,3;
3771}
3772node[public_transport=platform] {
3773    icon-image: "presets/transport/platform.svg";
3774    set icon_z17;
3775}
3776area[public_transport=station] {
3777    fill-color: railwaypoint#f7efb7;
3778}
3779node[public_transport=station] {
3780    icon-image: "presets/transport/station.svg";
3781    set icon_z17;
3782}
3783
3784/**************/
3785/* sport tags */
3786/**************/
3787
3788area[sport="9pin"],
3789area[sport="10pin"],
3790area[sport=soccer],
3791area[sport=australian_football],
3792area[sport=american_football],
3793area[sport=canadian_football],
3794area[sport=gaelic_games],
3795area[sport=rugby_league],
3796area[sport=rugby_union] {
3797    fill-color: sport#bde3cb;
3798}
3799node[sport="9pin"] {
3800    icon-image: "presets/sport/9pin.svg";
3801    set icon_z17;
3802}
3803node[sport="10pin"] {
3804    icon-image: "presets/sport/10pin.svg";
3805    set icon_z17;
3806}
3807node[sport=soccer],
3808node[sport=gaelic_games] {
3809    icon-image: "presets/sport/soccer.svg";
3810    set icon_z17;
3811}
3812node[sport=australian_football],
3813node[sport=american_football],
3814node[sport=canadian_football],
3815node[sport=rugby_league],
3816node[sport=rugby_union] {
3817    icon-image: "presets/sport/football.svg";
3818    set icon_z17;
3819}
3820area[sport=baseball],
3821area[sport=basketball],
3822area[sport=boules],
3823area[sport=bowls],
3824area[sport=canoe],
3825area[sport=chess],
3826area[sport=climbing]:closed,
3827area[sport=cricket],
3828area[sport=croquet] {
3829    fill-color: sport#bde3cb;
3830}
3831node[sport=baseball] {
3832    icon-image: "presets/sport/baseball.svg";
3833    set icon_z17;
3834}
3835node[sport=basketball] {
3836    icon-image: "presets/sport/basketball.svg";
3837    set icon_z17;
3838}
3839node[sport=boules] {
3840    icon-image: "presets/sport/boule.svg";
3841    set icon_z17;
3842}
3843node[sport=bowls] {
3844    icon-image: "presets/sport/boule.svg";
3845    set icon_z17;
3846}
3847node[sport=canoe] {
3848    icon-image: "presets/sport/canoe.svg";
3849    set icon_z17;
3850}
3851node[sport=chess] {
3852    icon-image: "presets/sport/chess.svg";
3853    set icon_z17;
3854}
3855node[sport=climbing] {
3856    icon-image: "presets/sport/climbing.svg";
3857    set icon_z17;
3858}
3859node[sport=cricket] {
3860    icon-image: "presets/sport/cricket.svg";
3861    set icon_z17;
3862}
3863node[sport=croquet] {
3864    icon-image: "presets/sport/croquet.svg";
3865    set icon_z17;
3866}
3867area[sport=cycling],
3868area[sport=dog_racing],
3869area[sport=equestrian],
3870area[sport=golf],
3871area[sport=gymnastics],
3872area[sport=field_hockey],
3873area[sport=ice_hockey],
3874area[sport=horse_racing],
3875area[sport=karting][highway!=raceway],
3876area[sport=karting][highway=raceway][area=yes],
3877area[sport=motocross][highway!=raceway],
3878area[sport=motocross][highway=raceway][area=yes],
3879area[sport=motor][highway!=raceway],
3880area[sport=motor][highway=raceway][area=yes] {
3881    fill-color: sport#bde3cb;
3882}
3883node[sport=cycling] {
3884    icon-image: "presets/sport/cycling.svg";
3885    set icon_z17;
3886}
3887node[sport=dog_racing] {
3888    icon-image: "presets/sport/dog_racing.svg";
3889    set icon_z17;
3890}
3891node[sport=equestrian] {
3892    icon-image: "presets/sport/equestrian.svg";
3893    set icon_z17;
3894}
3895node[sport=golf] {
3896    icon-image: "presets/sport/golf.svg";
3897    set icon_z17;
3898}
3899node[sport=gymnastics] {
3900    icon-image: "presets/sport/gymnastics.svg";
3901    set icon_z17;
3902}
3903node[sport=field_hockey] {
3904    icon-image: "presets/sport/field_hockey.svg";
3905    set icon_z17;
3906}
3907node[sport=ice_hockey] {
3908    icon-image: "presets/sport/ice_hockey.svg";
3909    set icon_z17;
3910}
3911node[sport=horse_racing] {
3912    icon-image: "presets/sport/riding.svg";
3913    set icon_z17;
3914}
3915node[sport=karting] {
3916    icon-image: "presets/sport/karting.svg";
3917    set icon_z17;
3918}
3919node[sport=motocross] {
3920    icon-image: "presets/sport/motocross.svg";
3921    set icon_z17;
3922}
3923node[sport=motor] {
3924    icon-image: "presets/sport/motor.svg";
3925    set icon_z17;
3926}
3927area[sport=athletics] {
3928    fill-color: sport_athletics#cfebd7;
3929}
3930node[sport=athletics] {
3931    icon-image: "presets/sport/athletics.svg";
3932    set icon_z17;
3933}
3934area[sport=running] {
3935    fill-color: sport_running#cfebd8;
3936}
3937node[sport=running] {
3938    icon-image: "presets/sport/running.svg";
3939    set icon_z17;
3940}
3941area[sport=multi] {
3942    fill-color: sport_multi#cfebd9;
3943}
3944node[sport=multi] {
3945    icon-image: "presets/sport/multi.svg";
3946    set icon_z17;
3947}
3948area[sport=pelota],
3949area[sport=racquet],
3950area[sport=ice_skating],
3951area[sport=roller_skating],
3952area[sport=skateboard] {
3953    fill-color: sport#bde3cb;
3954}
3955node[sport=pelota] {
3956    icon-image: "presets/sport/pelota.svg";
3957    set icon_z17;
3958}
3959node[sport=racquet] {
3960    icon-image: "presets/sport/racquetball.svg";
3961    set icon_z17;
3962}
3963node[sport=ice_skating] {
3964    icon-image: "presets/sport/ice_skating.svg";
3965    set icon_z17;
3966}
3967node[sport=roller_skating] {
3968    icon-image: "presets/sport/roller_skating.svg";
3969    set icon_z17;
3970}
3971node[sport=skating] {
3972    icon-image: "presets/misc/deprecated.svg";
3973    set icon_z17;
3974}
3975node[sport=skateboard] {
3976    icon-image: "presets/sport/skateboard.svg";
3977    set icon_z17;
3978}
3979area[sport=swimming] {
3980    fill-color: swimming_pool#51c4ef;
3981}
3982node[sport=swimming] {
3983    icon-image: "presets/sport/swimming.svg";
3984    set icon_z17;
3985}
3986area[sport=table_tennis],
3987area[sport=tennis],
3988area[sport=paintball] {
3989    fill-color: sport#bde3cb;
3990}
3991node[sport=table_tennis] {
3992    icon-image: "presets/sport/table_tennis.svg";
3993    set icon_z17;
3994}
3995node[sport=tennis] {
3996    icon-image: "presets/sport/tennis.svg";
3997    set icon_z17;
3998}
3999node[sport=paintball][!is_prop_set(icon-image)] {
4000    icon-image: "presets/misc/no_icon.svg";
4001    set icon_z17;
4002}
4003area[sport=squash],
4004area[sport=shooting],
4005area[sport=volleyball],
4006area[sport=beachvolleyball],
4007area[sport=billiards],
4008area[sport=bowling],
4009area[sport=handball],
4010area[sport=rowing],
4011area[sport=sailing],
4012area[sport=scuba_diving],
4013area[sport=badminton] {
4014    fill-color: sport#bde3cb;
4015}
4016node[sport=squash][!is_prop_set(icon-image)] {
4017    icon-image: "presets/misc/no_icon.svg";
4018    set icon_z17;
4019}
4020node[sport=shooting] {
4021    icon-image: "presets/sport/range.svg";
4022    set icon_z17;
4023}
4024node[sport=volleyball] {
4025    icon-image: "presets/sport/volleyball.svg";
4026    set icon_z17;
4027}
4028node[sport=beachvolleyball] {
4029    icon-image: "presets/sport/beachvolleyball.svg";
4030    set icon_z17;
4031}
4032node[sport=billiards] {
4033    icon-image: "presets/sport/billiards.svg";
4034    set icon_z17;
4035}
4036node[sport=bowling] {
4037    icon-image: "presets/sport/9pin.svg";
4038    set icon_z17;
4039}
4040node[sport=handball] {
4041    icon-image: "presets/sport/handball.svg";
4042    set icon_z17;
4043}
4044node[sport=rowing] {
4045    icon-image: "presets/sport/rowing.svg";
4046    set icon_z17;
4047}
4048node[sport=sailing][!is_prop_set(icon-image)] {
4049    icon-image: "presets/misc/no_icon.svg";
4050    set icon_z17;
4051}
4052node[sport=scuba_diving] {
4053    icon-image: "presets/sport/scuba_diving.svg";
4054    set icon_z17;
4055}
4056node[sport=badminton][!is_prop_set(icon-image)] {
4057    icon-image: "presets/misc/no_icon.svg";
4058    set icon_z17;
4059}
4060area[sport=archery],
4061area[sport=fishing],
4062area[sport=model_aerodrome],
4063area[sport=rc_car] {
4064    fill-color: sport#bde3cb;
4065}
4066node[sport=archery] {
4067    icon-image: "presets/sport/archery.svg";
4068    set icon_z17;
4069}
4070node[sport=fishing] {
4071    icon-image: "presets/sport/fishing.svg";
4072    set icon_z17;
4073}
4074node[sport=model_aerodrome] {
4075    icon-image: "presets/transport/airport.svg";
4076    set icon_z17;
4077}
4078node[sport=rc_car] {
4079    icon-image: "presets/sport/rc_car.svg";
4080    set icon_z17;
4081}
4082
4083/****************/
4084/* natural tags */
4085/****************/
4086
4087area[natural=spring] {
4088    fill-color: light_water#00005f;
4089}
4090node[natural=spring] {
4091    icon-image: "presets/landmark/spring.svg";
4092    set icon_z17;
4093}
4094node[natural=saddle] {
4095    icon-image: "presets/landmark/saddle.svg";
4096    set icon_z0;
4097    set text_z0;
4098}
4099node[natural=peak] {
4100    icon-image: "presets/landmark/peak.svg";
4101    set icon_z0;
4102    set text_z0;
4103}
4104node[natural=peak][tourism=viewpoint] {
4105    icon-image: "presets/sightseeing/peak_viewpoint.svg";
4106    set icon_z0;
4107    set text_z0;
4108}
4109area[natural=glacier] {
4110    fill-color: glacier#ffffff;
4111}
4112node[natural=volcano] {
4113    icon-image: "presets/landmark/volcano.svg";
4114    set icon_z0;
4115    set text_z0;
4116}
4117area[natural=cliff]:closed {
4118    fill-color: natural#002f00;
4119}
4120way[natural=cliff] {
4121    repeat-image: "presets/misc/cliff_pattern.svg";
4122    repeat-image-align: top;
4123    width: 1;
4124    color: #b2b2b2;
4125}
4126node[natural=cliff] {
4127    icon-image: "presets/misc/cliff.svg";
4128    set icon_z17;
4129}
4130way[natural=ridge] {
4131    width: 1;
4132    color: natural#002f00;
4133}
4134way[natural=valley] {
4135    width: 1;
4136    color: natural#002f00;
4137}
4138area[natural=scree] {
4139    fill-color: scree#c3c3c3;
4140}
4141area[natural=shingle] {
4142    fill-color: shingle#c3c3c3;
4143}
4144area[natural=scrub] {
4145    fill-color: scrub#007000;
4146}
4147area[natural=fell] {
4148    fill-color: natural#002f00;
4149}
4150area[natural=heath] {
4151    fill-color: heath#ffffc0;
4152}
4153way[natural=tree_row] {
4154    width: 2;
4155    color: woodarea#008000;
4156}
4157area[natural=wood] {
4158    fill-color: woodarea#008000;
4159}
4160area[natural=grassland] {
4161    fill-color: green#b1e0c2;
4162}
4163area[natural=wetland] {
4164    fill-color: marsh#4f4ff3;
4165}
4166area[natural=water] {
4167    fill-color: water#0000ff;
4168}
4169area[natural=water][intermittent=yes] {
4170    width: 2;
4171    dashes: 15, 5;
4172}
4173way[natural=coastline] {
4174    width: 2;
4175    color: water#0000ff;
4176    right-casing-color: water#0000ff;
4177    right-casing-width: 5;
4178    right-casing-opacity: 0.30;
4179}
4180area[natural=mud] {
4181    fill-color: mud#cba762;
4182}
4183area[natural=beach] {
4184    fill-color: beach#f8dba2;
4185}
4186area[natural=sand] {
4187    fill-color: sand#f8dba2;
4188}
4189area[natural=bare_rock] {
4190    fill-color: bare_rock#f8f8c7;
4191}
4192area[natural=rock] {
4193    fill-color: stone#f8f8c7;
4194}
4195node[natural=rock] {
4196    icon-image: "presets/misc/rock.svg";
4197    set icon_z17;
4198}
4199area[natural=stone] {
4200    fill-color: stone#f8f8c7;
4201}
4202node[natural=stone] {
4203    icon-image: "presets/misc/stone.svg";
4204    set icon_z17;
4205}
4206area[natural=bay],
4207area[natural=cave_entrance] {
4208    fill-color: natural#002f00;
4209}
4210node[natural=bay] {
4211    icon-image: "presets/nautical/bay.svg";
4212    set icon_z17;
4213}
4214area[natural=reef] {
4215    fill-color: reef#80c9ff;
4216}
4217node[natural=reef] {
4218    icon-image: "presets/landmark/reef.svg";
4219    set icon_z17;
4220}
4221node[natural=cave_entrance] {
4222    icon-image: "presets/landmark/cave_entrance.svg";
4223    set icon_z17;
4224}
4225node[natural=tree] {
4226    icon-image: "presets/landmark/trees.svg";
4227    set icon_z17;
4228}
4229node[natural=tree][type=conifer],
4230node[natural=tree][leaf_type=needleleaved] {
4231    icon-image: "presets/landmark/trees_conifer.svg";
4232    set icon_z17;
4233}
4234node[natural=tree][type=broad_leaved],
4235node[natural=tree][leaf_type=broadleaved] {
4236    icon-image: "presets/landmark/trees_broad_leaved.svg";
4237    set icon_z17;
4238}
4239node[natural=glacier],
4240node[natural=scree],
4241node[natural=shingle],
4242node[natural=scrub],
4243node[natural=fell],
4244node[natural=heath],
4245node[natural=tree_row],
4246node[natural=wood],
4247node[natural=grassland],
4248node[natural=wetland],
4249node[natural=water],
4250node[natural=coastline],
4251node[natural=mud],
4252node[natural=beach],
4253node[natural=sand],
4254node[natural=land],
4255node[natural=bare_rock],
4256node[natural=ridge],
4257node[natural=valley] {
4258    icon-image: "presets/misc/deprecated.svg";
4259    set icon_z17;
4260}
4261/*****************/
4262/* waterway tags */
4263/*****************/
4264
4265way[waterway=river] {
4266    width: 2;
4267    color: water#0000ff;
4268}
4269area[waterway=riverbank] {
4270    fill-color: riverbank#0000cf;
4271    width: 1;
4272    color: riverbank#0000cf;
4273}
4274way[waterway=canal] {
4275    width: 2;
4276    color: water#0000ff;
4277}
4278way[waterway=river][lock=yes],
4279way[waterway=canal][lock=yes] {
4280    casing-width: 2;
4281    casing-color: lock#303030;
4282    casing-dashes: 5,20;
4283}
4284way[waterway=stream] {
4285    width: 1;
4286    color: stream#6600cc;
4287}
4288way[waterway=ditch],
4289way[waterway=drain] {
4290    width: 1;
4291    color: water#0000ff;
4292}
4293way[waterway=river][intermittent=yes],
4294area[waterway=riverbank][intermittent=yes],
4295way[waterway=canal][intermittent=yes],
4296way[waterway=stream][intermittent=yes],
4297way[waterway=ditch][intermittent=yes],
4298way[waterway=drain][intermittent=yes] {
4299    dashes: 15, 5;
4300}
4301area[waterway=dock] {
4302    fill-color: dock#0000cf;
4303}
4304node[waterway=dock] {
4305    icon-image: "presets/nautical/boatyard.svg";
4306    set icon_z17;
4307}
4308way[waterway=lock_gate] {
4309    width: 3;
4310    color: lock_gate#303030;
4311}
4312node[waterway=lock_gate] {
4313    icon-image: "presets/nautical/lock_gate.svg";
4314    set icon_z17;
4315}
4316node[waterway=turning_point] {
4317    icon-image: "presets/nautical/turning.svg";
4318    set icon_z17;
4319}
4320area[waterway=boatyard] {
4321    fill-color: manmade#d8d8d8;
4322}
4323node[waterway=boatyard] {
4324    icon-image: "presets/nautical/boatyard.svg";
4325    set icon_z17;
4326}
4327node[waterway=water_point],
4328node[waterway=waste_disposal],
4329node[waterway=mooring] {
4330    icon-image: "presets/misc/deprecated.svg";
4331    set icon_z17;
4332}
4333node[mooring] {
4334    icon-image: "presets/nautical/marina.svg";
4335    set icon_z17;
4336}
4337area[waterway=fuel] {
4338    fill-color: amenity_traffic#f7efb7;
4339}
4340node[waterway=fuel] {
4341    icon-image: "presets/nautical/marine_fuel.svg";
4342    set icon_z17;
4343}
4344way[waterway=weir] {
4345    width: 2;
4346    color: manmade#d8d8d8;
4347}
4348node[waterway=weir] {
4349    icon-image: "presets/nautical/weir.svg";
4350    set icon_z17;
4351}
4352area[waterway=dam]:closed {
4353    fill-color: manmade#d8d8d8;
4354}
4355way[waterway=dam] {
4356    width: 2;
4357    color: manmade#d8d8d8;
4358}
4359node[waterway=dam] {
4360    icon-image: "presets/nautical/dam.svg";
4361    set icon_z17;
4362}
4363/* it's not possible to have both line and area, line seems more likely */
4364way[waterway=waterfall] {
4365    width: 2;
4366    color: manmade#d8d8d8;
4367}
4368node[waterway=waterfall] {
4369    icon-image: "presets/nautical/waterfall.svg";
4370    set icon_z17;
4371}
4372node[waterway=river], node[waterway=riverbank],
4373node[waterway=canal], node[waterway=wadi],
4374node[waterway=stream],
4375node[waterway=ditch], node[waterway=drain] {
4376    icon-image: "presets/misc/deprecated.svg";
4377    set icon_z17;
4378}
4379
4380/**************/
4381/* route tags */
4382/**************/
4383
4384way[route=ferry] {
4385    width: 1;
4386    color: ferry#809bc0;
4387    dashes: 9,9;
4388}
4389node[route=bus],
4390node[route=ferry],
4391node[route=flight],
4392node[route=ncn],
4393node[route=subsea],
4394node[route=ski],
4395node[route=tour],
4396node[route=pub_crawl] {
4397    icon-image: "presets/misc/deprecated.svg";
4398    set icon_z17;
4399}
4400
4401/*******************/
4402/* properties tags */
4403/*******************/
4404
4405node[mountain_pass?] {
4406    icon-image: "presets/landmark/mountain_pass.svg";
4407    set icon_z0;
4408    set text_z0;
4409}
4410
4411/*****************/
4412/* boundary tags */
4413/*****************/
4414
4415way[boundary=protected_area]::core_boundary,
4416way[boundary=administrative]::core_boundary,
4417way[boundary=postal_code]::core_boundary,
4418way[boundary=political]::core_boundary,
4419way[boundary=maritime]::core_boundary,
4420way[boundary=national_park]::core_boundary {
4421    z-index: 2;
4422    modifier: false;
4423    width: 1;
4424    color: boundary#FF6600;
4425    dashes: 9,9;
4426}
4427way[boundary=administrative][admin_level=9]::core_boundary,
4428relation[boundary=administrative][admin_level=9] > way::core_boundary,
4429way[boundary=administrative][admin_level=10]::core_boundary,
4430relation[boundary=administrative][admin_level=10] > way::core_boundary {
4431    z-index: 2;
4432    modifier: false;
4433    width: 1;
4434    color: boundary#FF6600;
4435    dashes: 9,9;
4436}
4437way[boundary=administrative][admin_level=7]::core_boundary,
4438relation[boundary=administrative][admin_level=7] > way::core_boundary,
4439way[boundary=administrative][admin_level=8]::core_boundary,
4440relation[boundary=administrative][admin_level=8] > way::core_boundary {
4441    z-index: 2;
4442    modifier: false;
4443    width: 2;
4444    color: boundary#FF6600;
4445    dashes: 9,9;
4446}
4447way[boundary=administrative][admin_level=5]::core_boundary,
4448relation[boundary=administrative][admin_level=5] > way::core_boundary,
4449way[boundary=administrative][admin_level=6]::core_boundary,
4450relation[boundary=administrative][admin_level=6] > way::core_boundary {
4451    z-index: 2;
4452    modifier: false;
4453    width: 3;
4454    color: boundary#FF6600;
4455    dashes: 9,9;
4456}
4457way[boundary=administrative][admin_level=3]::core_boundary,
4458relation[boundary=administrative][admin_level=3] > way::core_boundary,
4459way[boundary=administrative][admin_level=4]::core_boundary,
4460relation[boundary=administrative][admin_level=4] > way::core_boundary {
4461    z-index: 2;
4462    modifier: false;
4463    width: 4;
4464    color: boundary#FF6600;
4465    dashes: 9,9;
4466}
4467way[boundary=administrative][admin_level=1]::core_boundary,
4468relation[boundary=administrative][admin_level=1] > way::core_boundary,
4469way[boundary=administrative][admin_level=2]::core_boundary,
4470relation[boundary=administrative][admin_level=2] > way::core_boundary {
4471    z-index: 2;
4472    modifier: false;
4473    width: 5;
4474    color: boundary#FF6600;
4475    dashes: 9,9;
4476}
4477node[boundary=national],
4478node[boundary=administrative],
4479node[boundary=postal_code],
4480node[boundary=political],
4481node[boundary=national_park] {
4482    icon-image: "presets/misc/deprecated.svg";
4483    set icon_z17;
4484}
4485
4486/******************/
4487/* maxspeed nodes */
4488/******************/
4489node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4490    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
4491    set icon_z17;
4492}
4493node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4494    maxspeedprop: tag(maxspeed);
4495    set maxspeedclass;
4496}
4497node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4498    maxspeedprop: " ?";
4499    set maxspeedclass;
4500}
4501node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4502    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4503    set maxspeedclass;
4504}
4505node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4506    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4507    set maxspeedclass;
4508}
4509node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4510    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4511    set maxspeedclass;
4512}
4513node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4514    /* background (white) */
4515    symbol-shape: circle;
4516    symbol-size: 17;
4517    symbol-fill-color: white;
4518    major-z-index: 4.2;
4519}
4520node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4521node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4522    /* background (black) */
4523    symbol-fill-color: black;
4524}
4525node[prop(maxspeedclass, default)]::core_maxnodefg {
4526    /* foreground (black text and red circle) */
4527    symbol-shape: circle;
4528    symbol-size: 15;
4529    symbol-stroke-color: crimson;
4530    symbol-stroke-width: 2;
4531    text: prop(maxspeedprop, default);
4532    font-size: 8;
4533    font-weight: bold;
4534    text-color: black;
4535    text-anchor-horizontal: center;
4536    text-anchor-vertical: center;
4537    text-offset-x: 0;
4538    text-offset-y: -1;
4539    major-z-index: 4.2;
4540}
4541node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4542node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4543    /* foreground (white text) */
4544    text-color: white;
4545}
4546node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4547    symbol-shape: none;
4548}
4549node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4550    text: none;
4551    symbol-shape: none;
4552}
4553
4554/**************/
4555/* place tags */
4556/**************/
4557
4558area[setting("place_fill_colour")][place=continent],
4559area[setting("place_fill_colour")][place=country],
4560area[setting("place_fill_colour")][place=state],
4561area[setting("place_fill_colour")][place=region],
4562area[setting("place_fill_colour")][place=county],
4563area[setting("place_fill_colour")][place=city],
4564area[setting("place_fill_colour")][place=town],
4565area[setting("place_fill_colour")][place=village],
4566area[setting("place_fill_colour")][place=hamlet],
4567area[setting("place_fill_colour")][place=farm],
4568area[setting("place_fill_colour")][place=isolated_dwelling],
4569area[setting("place_fill_colour")][place=neighbourhood],
4570area[setting("place_fill_colour")][place=suburb],
4571area[setting("place_fill_colour")][place=locality],
4572area[setting("place_fill_colour")][place=island],
4573area[setting("place_fill_colour")][place=islet] {
4574    fill-color: place#8de3cb;
4575    set place;
4576}
4577node[place=continent],
4578node[place=country],
4579node[place=state],
4580node[place=region],
4581node[place=county],
4582node[place=city],
4583node[place=town],
4584node[place=suburb],
4585node[place=village],
4586node[place=quarter],
4587node[place=neighbourhood],
4588node[place=hamlet],
4589node[place=isolated_dwelling],
4590node[place=farm],
4591node[place=island],
4592node[place=islet] {
4593    set icon_z0;
4594    set text_z0;
4595    font-weight: bold;
4596    text-color:black;
4597    text-halo-color: white;
4598    text-halo-radius: 1;
4599    set place;
4600}
4601
4602node[place=continent],
4603node[place=country],
4604node[place=state],
4605node[place=region],
4606node[place=county] {
4607    icon-image: "presets/place/capital.svg";
4608    z-index: 2.9;
4609}
4610node[place=city] {
4611    icon-image: "presets/place/city.svg";
4612    z-index: 2.8;
4613}
4614node[place=town] {
4615    icon-image: "presets/place/town.svg";
4616    z-index: 2.7;
4617}
4618node[place=suburb] {
4619    icon-image: "presets/place/suburb.svg";
4620    z-index: 2.6;
4621}
4622node[place=village] {
4623    icon-image: "presets/place/village.svg";
4624    z-index: 2.5;
4625}
4626node[place=quarter] {
4627    icon-image: "presets/place/quarter.svg";
4628    z-index: 2.5;
4629}
4630node[place=neighbourhood] {
4631    icon-image: "presets/place/neighbourhood.svg";
4632    z-index: 2.4;
4633}
4634node[place=hamlet] {
4635    icon-image: "presets/place/hamlet.svg";
4636    z-index: 2.3;
4637}
4638node[place=isolated_dwelling] {
4639    icon-image: "presets/place/isolated_dwelling.svg";
4640    z-index: 2.2;
4641}
4642node[place=farm] {
4643    icon-image: "presets/place/farm.svg";
4644    z-index: 2.1;
4645}
4646node|z15-[place=locality],
4647node|z-14[place=locality][!setting("hide_icons")] {
4648    icon-image: "presets/place/locality.svg";
4649    font-weight: bold;
4650    text-color:black;
4651    text-halo-color: white;
4652    text-halo-radius: 1;
4653}
4654node[place=island] {
4655    icon-image: "presets/place/island.svg";
4656}
4657node[place=islet] {
4658    icon-image: "presets/place/islet.svg";
4659}
4660
4661/***************************/
4662/* "work in progress" tags */
4663/***************************/
4664
4665node|z16-[fixme]::core_note_fixme,
4666node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4667node|z16-[FIXME]::core_note_fixme,
4668node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4669    object-z-index: 10;
4670    icon-image: "presets/misc/fixme_annotation.svg";
4671}
4672node|z16-[note]::core_note_fixme,
4673node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4674    object-z-index: 10;
4675    icon-image: "presets/misc/note_annotation.svg";
4676}
4677node|z16-[note][fixme]::core_note_fixme,
4678node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4679node|z16-[note][FIXME]::core_note_fixme,
4680node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4681    icon-image: "presets/misc/note_fixme_annotation.svg";
4682}
4683
4684/****************************************/
4685/* zoom levels and general node display */
4686/****************************************/
4687
4688/*
4689Summary of different zoom levels:
4690  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4691  |z-15         untagged way nodes are hidden completely
4692  |z15          place=locality icon
4693  |z16-         fixme=* and note=* symbols; place=locality text
4694  |z17-         normal POI icons (without text),
4695                street name along highway=* ways
4696  |z18-         text for normal POI icons is shown
4697 
4698 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
4699 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4700
4701*/
4702
4703node|z-16[setting("hide_icons")],
4704node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4705node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4706    symbol-size: 2;
4707    symbol-shape: square;
4708    symbol-stroke-color: node_standard#ffff00;
4709    major-z-index: 4.95; /* put node squares above line text */
4710}
4711way > node|z-15[setting("shrink_nodes")]!:tagged {
4712    symbol-shape: none;
4713}
4714node:connection {
4715    symbol-stroke-color: node_connection#ffff00;
4716}
4717node:tagged {
4718    symbol-stroke-color: none;
4719    symbol-fill-color: node_tagged#00ffff;
4720}
4721
4722way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4723
4724node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4725way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4726node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4727
4728node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4729way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4730node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4731
4732node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4733way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4734node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4735
4736node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4737way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4738node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4739
4740node:selected {
4741    symbol-shape: square;
4742    symbol-size: 6;
4743    symbol-fill-color: node_selected#ff0000;
4744    symbol-stroke-color: node_selected#ff0000;
4745}
4746
4747node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4748relation|z-16[type=restriction][setting("hide_icons")] {
4749    icon-image: none;
4750}
4751node|z-17[setting("hide_icons")]!.text_z0 {
4752    text: none;
4753}
4754node|z16-17[setting("hide_icons")][place=locality] {
4755    text: auto;
4756}
4757
4758node|z-18,area|z-18 { font-size: 8; }
4759node|z19,area|z19   { font-size: 9; }
4760node|z20-,area|z20- { font-size: 11; }
4761
4762node.place, way.place, area.place { font-size: 11; }
4763
4764
4765/*******************/
4766/* way text labels */
4767/*******************/
4768
4769way|z17-[highway=motorway][setting("highway_labels")],
4770way|z17-[highway=motorway_link][setting("highway_labels")],
4771way|z17-[highway=trunk][setting("highway_labels")],
4772way|z17-[highway=trunk_link][setting("highway_labels")],
4773way|z17-[highway=primary][setting("highway_labels")],
4774way|z17-[highway=primary_link][setting("highway_labels")],
4775way|z17-[highway=secondary][setting("highway_labels")],
4776way|z17-[highway=secondary_link][setting("highway_labels")],
4777way|z17-[highway=tertiary][setting("highway_labels")],
4778way|z17-[highway=tertiary_link][setting("highway_labels")],
4779way|z17-[highway=unclassified][setting("highway_labels")],
4780way|z17-[highway=residential][setting("highway_labels")],
4781way|z17-[highway=living_street][setting("highway_labels")],
4782way|z17-[highway=escape][setting("highway_labels")],
4783way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4784way|z17-[highway=steps][setting("highway_labels")],
4785way|z17-[highway=footway][setting("highway_labels")],
4786way|z17-[highway=path][setting("highway_labels")],
4787way|z17-[highway=service][setting("highway_labels")],
4788way|z17-[highway=track][setting("highway_labels")],
4789way|z17-[highway=cycleway][setting("highway_labels")],
4790way|z17-[highway=bridleway][setting("highway_labels")],
4791way|z17-[highway=bus_guideway][setting("highway_labels")],
4792way|z17-[highway=raceway][setting("highway_labels")],
4793way|z17-[highway=construction][setting("highway_labels")],
4794way|z17-[highway=road][setting("highway_labels")] {
4795    text: auto;
4796    text-color: black;
4797    font-size: 9;
4798    text-position: line;
4799    text-halo-opacity: 1;
4800    text-halo-radius: 1.5;
4801}
4802way|z17-[highway=motorway][setting("highway_labels")],
4803way|z17-[highway=motorway_link][setting("highway_labels")] {
4804    text-halo-color: motorway#809bc0;
4805}
4806way|z17-[highway=trunk][setting("highway_labels")],
4807way|z17-[highway=trunk_link][setting("highway_labels")] {
4808    text-halo-color: trunk#7fc97f;
4809}
4810way|z17-[highway=primary][setting("highway_labels")],
4811way|z17-[highway=primary_link][setting("highway_labels")] {
4812    text-halo-color: primary#fb805f;
4813}
4814way|z17-[highway=secondary][setting("highway_labels")],
4815way|z17-[highway=secondary_link][setting("highway_labels")] {
4816    text-halo-color: secondary#fdbf6f;
4817}
4818way|z17-[highway=tertiary][setting("highway_labels")],
4819way|z17-[highway=tertiary_link][setting("highway_labels")] {
4820    text-halo-color: tertiary#f7f496;
4821}
4822way|z17-[highway=unclassified][setting("highway_labels")],
4823way|z17-[highway=residential][setting("highway_labels")],
4824way|z17-[highway=living_street][setting("highway_labels")],
4825way|z17-[highway=escape][setting("highway_labels")] {
4826    text-halo-color: street#c0c0c0;
4827}
4828way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4829way|z17-[highway=steps][setting("highway_labels")],
4830way|z17-[highway=footway][setting("highway_labels")],
4831way|z17-[highway=path][setting("highway_labels")] {
4832    text-halo-color: foot#00ff00;
4833}
4834way|z17-[highway=service][setting("highway_labels")] {
4835    text-halo-color: service#809bc0;
4836}
4837way|z17-[highway=track][setting("highway_labels")] {
4838    text-halo-color: highway_track#6e541c;
4839}
4840way|z17-[highway=cycleway][setting("highway_labels")],
4841way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4842    text-halo-color: bicycle#b100ff;
4843}
4844way|z17-[highway=bridleway][setting("highway_labels")] {
4845    text-halo-color: horse#a18559;
4846}
4847way|z17-[highway=bus_guideway][setting("highway_labels")] {
4848    text-halo-color: rail#404040;
4849}
4850way|z17-[highway=raceway][setting("highway_labels")] {
4851    text-halo-color: raceway#ff80ff;
4852}
4853way|z17-[highway=construction][setting("highway_labels")] {
4854    text-halo-color: construction#ffff00;
4855}
4856way|z17-[highway=road][setting("highway_labels")] {
4857    text-halo-color: highway_road#770000;
4858}
4859way|z17-[highway][railway=platform][setting("highway_labels")] {
4860    text-halo-color: rail#404040;
4861}
4862way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4863    text-halo-color: service#809bc0;
4864}
4865way|z18[highway][setting("highway_labels")] {
4866    font-size: 10;
4867}
4868way|z19[highway][setting("highway_labels")] {
4869    font-size: 11;
4870}
4871way|z20-[highway][setting("highway_labels")] {
4872    font-size: 12;
4873}
4874
4875/*************/
4876/* Area fill */
4877/*************/
4878
4879/* small extent for unclosed area (see below for closed) */
4880area[setting("partial_fill")] {
4881    fill-extent: 15;
4882}
4883
4884/* Turn partial fill off and use plain fill, when the partial fill covers about
4885   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4886   Switching between full and partial fill while drawing an area might be irritating,
4887   so only do this at low zoom. */
4888area|z-13[setting("partial_fill")] {
4889    fill-extent-threshold: 1.0;
4890}
4891
4892/* Larger extent for closed areas.
4893   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4894   areas with small unfilled patches in the center. */
4895area[setting("partial_fill")]:closed2 {
4896    fill-extent: 25;
4897    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4898}
4899
Note: See TracBrowser for help on using the repository browser.