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

Last change on this file since 14050 was 14050, checked in by Klumbumbus, 11 months ago

fix #16490 - add man_made=dyke (icon self created, PD and CC0 licensed)

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