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

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

fix #17249 - clean up religion and denomination, replace religion=unitarian by religion=unitarian_universalist, warn about religion=catholic, add religion=tenrikyo and religion=confucian, add icons (https://commons.wikimedia.org/wiki/File:Tenrikyo_emblem.svg and https://commons.wikimedia.org/wiki/File:%E6%9C%A8%E9%90%B8_---_Confucian_wooden-clapper_bell.svg, modified, PD and CC0 licensed)

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