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

Last change on this file since 14806 was 14806, checked in by Klumbumbus, 19 months ago

fix #17133 - support rendering of boundary on relation ways for all boundary types not just administrative

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