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

Last change on this file since 10822 was 10822, checked in by Klumbumbus, 7 years ago

fix #13335 - add leisure=beach_resort to preset and mappaint style (icon from https://openclipart.org/detail/82753/umbrella, reworked, PD and CC0 licensed); see #13357 - improve some icons and fix icons, which changed their appearance after cleanup; use new bus icon for PTV2 group

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