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

Last change on this file since 10544 was 10544, checked in by Klumbumbus, 3 years ago

fix #13140 - add government=* combobox to office=government preset; see #13117 - fix icon path

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