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

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

fix #13008 - deprecate name:botanical in favor of species; remove empty node icons in mapview for barrier=fence|portcullis|drawbridge

  • Property svn:eol-style set to native
File size: 110.6 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] {
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=stadium],
1619area[leisure=horse_riding],
1620area[leisure=water_park] {
1621    fill-color: leisure#c7f1a3;
1622}
1623node[leisure=sports_centre] {
1624    icon-image: "sport/centre.png";
1625    set icon_z17;
1626}
1627node[leisure=stadium] {
1628    icon-image: "sport/stadium.png";
1629    set icon_z17;
1630}
1631node[leisure=horse_riding] {
1632    icon-image: "presets/equestrian.png";
1633    icon-width: 16;
1634    set icon_z17;
1635}
1636node[leisure=water_park] {
1637    icon-image: "leisure/water_park.png";
1638    set icon_z17;
1639}
1640area[leisure=track][!area?!]:closed {
1641    fill-color: leisuretrack#d4f4b9;
1642}
1643way[leisure=track] {
1644    width: 2;
1645    color: leisuretrack#d4f4b9;
1646}
1647node[leisure=track] {
1648    icon-image: "sport/track.png";
1649    set icon_z17;
1650}
1651area[leisure=pitch] {
1652    fill-color: pitch#baee8d;
1653}
1654node[leisure=pitch] {
1655    icon-image: "sport/pitch.png";
1656    set icon_z17;
1657}
1658area[leisure=marina] {
1659    fill-color: marina#0070cf;
1660}
1661node[leisure=marina] {
1662    icon-image: "nautical/marina.png";
1663    set icon_z17;
1664}
1665way[leisure=slipway] {
1666    width: 2;
1667    color: leisure#c7f1a3;
1668}
1669node[leisure=slipway] {
1670    icon-image: "nautical/slipway.png";
1671    set icon_z17;
1672}
1673area[leisure=fishing],
1674area[leisure=bird_hide],
1675area[leisure=nature_reserve],
1676area[leisure=park],
1677area[leisure=playground],
1678area[leisure=garden],
1679area[leisure=common],
1680area[leisure=firepit] {
1681    fill-color: leisure#c7f1a3;
1682}
1683node[leisure=fishing] {
1684    icon-image: "sport/fishing.png";
1685    set icon_z17;
1686}
1687node[leisure=bird_hide] {
1688    icon-image: "leisure/bird_hide.svg";
1689    set icon_z17;
1690}
1691node[leisure=nature_reserve] {
1692    icon-image: "leisure/nature_reserve.png";
1693    set icon_z17;
1694}
1695node[leisure=park] {
1696    icon-image: "misc/deprecated.png";
1697    set icon_z17;
1698}
1699node[leisure=playground] {
1700    icon-image: "leisure/playground.png";
1701    set icon_z17;
1702}
1703node[leisure=garden] {
1704    icon-image: "leisure/garden.png";
1705    set icon_z17;
1706}
1707node[leisure=common] {
1708    icon-image: "leisure/common.png";
1709    set icon_z17;
1710}
1711node[leisure=firepit] { 
1712    icon-image: "leisure/firepit.svg";
1713    set icon_z17;
1714}
1715node[leisure=picnic_table] {
1716    icon-image: "leisure/picnic.png";
1717    set icon_z17;
1718}
1719area[leisure=swimming_pool] {
1720    fill-color: swimming_pool#51c4ef;
1721}
1722node[leisure=swimming_pool] {
1723    icon-image: "sport/pool.png";
1724    set icon_z17;
1725}
1726area[leisure=fitness_station],
1727area[leisure=miniature_golf],
1728area[leisure=dog_park],
1729area[leisure=ice_rink],
1730area[leisure=sauna] {
1731    fill-color: leisure#c7f1a3;
1732}
1733node[leisure=fitness_station] {
1734    icon-image: "leisure/fitness_station.svg";
1735    set icon_z17;
1736}
1737node[leisure=miniature_golf] {
1738    icon-image: "sport/miniature_golf.svg";
1739    set icon_z17;
1740}
1741node[leisure=dog_park] {
1742    icon-image: "presets/dogpark.png";
1743    icon-width: 16;
1744    set icon_z17;
1745}
1746node[leisure=ice_rink] {
1747    icon-image: "sport/ice_hockey.png";
1748    set icon_z17;
1749}
1750node[leisure=sauna] {
1751    icon-image: "leisure/sauna.png";
1752    set icon_z17;
1753}
1754area[leisure=golf_course] {
1755    fill-color: leisure#c7f1a3;
1756}
1757node[leisure=golf_course] {
1758    icon-image: "sport/golf/golf.svg";
1759    set icon_z17;
1760}
1761
1762/*************/
1763/* golf tags */
1764/*************/
1765area[golf=tee] {
1766    fill-color: golf#c7f1a3;
1767}
1768node[golf=tee] {
1769    icon-image: "sport/golf/tee.svg";
1770    set icon_z17;
1771}
1772way[golf=hole] {
1773    width: 1;
1774    dashes: 10,10;
1775    color: golf_hole#808080;
1776}
1777node[golf=pin] {
1778    icon-image: "sport/golf/pin.svg";
1779    set icon_z17;
1780}
1781area[golf=bunker] {
1782    fill-color: golf_bunker#ffab00;
1783}
1784area[golf=water_hazard],
1785area[golf=lateral_water_hazard] {
1786    fill-color: golf_water_hazard#0000ff;
1787}
1788area[golf=green] {
1789    fill-color: golf_green#00e700;
1790}
1791area[golf=fairway] {
1792    fill-color: golf_fairway#009a00;
1793}
1794area[golf=rough] {
1795    fill-color: golf_rough#006700;
1796}
1797area[golf=driving_range] {
1798    fill-color: golf_driving_range#c7f1a3;
1799}
1800node[golf=driving_range] {
1801    icon-image: "sport/golf/driving_range.svg";
1802    set icon_z17;
1803}
1804
1805/********************/
1806/* advertising tags */
1807/********************/
1808
1809node[advertising=column] {
1810    icon-image: "leisure/advertising_column.svg";
1811    set icon_z17;
1812}
1813node[advertising=billboard] {
1814    icon-image: "leisure/billboard.svg";
1815    set icon_z17;
1816}
1817
1818/*************/
1819/* shop tags */
1820/*************/
1821
1822area[shop=supermarket],
1823area[shop=convenience],
1824area[shop=bakery],
1825area[shop=butcher],
1826area[shop=bicycle],
1827area[shop=doityourself],
1828area[shop=dry_cleaning],
1829area[shop=laundry],
1830area[shop=outdoor],
1831area[shop=kiosk],
1832area[shop=alcohol],
1833area[shop=beverages],
1834area[shop=books],
1835area[shop=boutique],
1836area[shop=car],
1837area[shop=car_dealer],
1838area[shop=car_repair],
1839area[shop=tyres],
1840area[shop=chemist],
1841area[shop=tobacco],
1842area[shop=clothes],
1843area[shop=computer],
1844area[shop=confectionery],
1845area[shop=copyshop],
1846area[shop=curtain],
1847area[shop=cycle_repair],
1848area[shop=department_store],
1849area[shop=deli],
1850area[shop=electronics],
1851area[shop=erotic],
1852area[shop=furniture],
1853area[shop=fabric],
1854area[shop=florist],
1855area[shop=frame],
1856area[shop=gift],
1857area[shop=greengrocer],
1858area[shop=garden_centre],
1859area[shop=hairdresser],
1860area[shop=hardware],
1861area[shop=hearing_aids],
1862area[shop=hifi],
1863area[shop=houseware],
1864area[shop=jewelry],
1865area[shop=kitchen],
1866area[shop=mall],
1867area[shop=mobile_phone],
1868area[shop=motorcycle],
1869area[shop=musical_instrument],
1870area[shop=newsagent],
1871area[shop=optician],
1872area[shop=medical_supply],
1873area[shop=paint],
1874area[shop=pawnbroker],
1875area[shop=seafood],
1876area[shop=shoes],
1877area[shop=sports],
1878area[shop=stationery],
1879area[shop=tailor],
1880area[shop=travel_agency],
1881area[shop=toys],
1882area[shop=vacuum_cleaner],
1883area[shop=variety_store],
1884area[shop=video],
1885area[shop=bookmaker],
1886area[shop=lottery],
1887area[shop=shopping_centre],
1888area[shop=pet],
1889area[shop=photo],
1890area[shop=ticket],
1891area[shop=interior_decoration],
1892area[shop=car_parts],
1893area[shop=video_games],
1894area[shop=bed],
1895area[shop=beauty],
1896area[shop=cosmetics],
1897area[shop=perfumery],
1898area[shop=tea],
1899area[shop=coffee],
1900area[shop=antiques],
1901area[shop=music],
1902area[shop=funeral_directors],
1903area[shop=wine],
1904area[shop=farm],
1905area[shop=tattoo],
1906area[shop=art],
1907area[shop=bag] {
1908    fill-color: shop#00005f;
1909}
1910node[shop=supermarket] {
1911    icon-image: "shop/supermarket.svg";
1912    set icon_z17;
1913}
1914node[shop=convenience] {
1915    icon-image: "shop/convenience.png";
1916    set icon_z17;
1917}
1918node[shop=bakery] {
1919    icon-image: "shop/groceries/bakery.png";
1920    set icon_z17;
1921}
1922node[shop=butcher] {
1923    icon-image: "shop/groceries/butcher.png";
1924    set icon_z17;
1925}
1926node[shop=bicycle] {
1927    icon-image: "sport/bicycle.png";
1928    set icon_z17;
1929}
1930node[shop=doityourself] {
1931    icon-image: "shop/diy_store.png";
1932    set icon_z17;
1933}
1934node[shop=dry_cleaning],
1935node[shop=laundry] {
1936    icon-image: "shop/laundry.png";
1937    set icon_z17;
1938}
1939node[shop=outdoor] {
1940    icon-image: "shop/outdoor.png";
1941    set icon_z17;
1942}
1943node[shop=kiosk] {
1944    icon-image: "shop/kiosk.png";
1945    set icon_z17;
1946}
1947node[shop=beverages] {
1948    icon-image: "shop/beverages.png";
1949    set icon_z17;
1950}
1951node[shop=alcohol] {
1952    icon-image: "shop/alcohol.png";
1953    set icon_z17;
1954}
1955node[shop=books] {
1956    icon-image: "shop/book.svg";
1957    set icon_z17;
1958}
1959node[shop=boutique] {
1960    icon-image: "shop/boutique.png";
1961    set icon_z17;
1962}
1963node[shop=car],
1964node[shop=car_dealer] {
1965    icon-image: "vehicle.png";
1966    set icon_z17;
1967}
1968node[shop=car_repair] {
1969    icon-image: "vehicle/repair_shop.png";
1970    set icon_z17;
1971}
1972node[shop=tyres] {
1973    icon-image: "vehicle/tyres.png";
1974    set icon_z17;
1975}
1976node[shop=chemist] {
1977    icon-image: "shop/chemist.png";
1978    set icon_z17;
1979}
1980node[shop=tobacco] {
1981    icon-image: "shop/tobacco.svg";
1982    set icon_z17;
1983}
1984node[shop=clothes] {
1985    icon-image: "shop/clothes.png";
1986    set icon_z17;
1987}
1988node[shop=computer] {
1989    icon-image: "shop/computer.png";
1990    set icon_z17;
1991}
1992node[shop=confectionery] {
1993    icon-image: "shop/groceries/confectionery.png";
1994    set icon_z17;
1995}
1996node[shop=copyshop] {
1997    icon-image: "shop/copyshop.png";
1998    set icon_z17;
1999}
2000node[shop=curtain] {
2001    icon-image: "shop/curtain.png";
2002    set icon_z17;
2003}
2004node[shop=cycle_repair] {
2005    icon-image: "sport/bicycle.png";
2006    set icon_z17;
2007}
2008node[shop=department_store] {
2009    icon-image: "shop/mall.png";
2010    set icon_z17;
2011}
2012node[shop=deli] {
2013    icon-image: "shop/groceries/deli.png";
2014    set icon_z17;
2015}
2016node[shop=electronics] {
2017    icon-image: "shop/electronics.png";
2018    set icon_z17;
2019}
2020node[shop=erotic] {
2021    icon-image: "shop/erotic.png";
2022    set icon_z17;
2023}
2024node[shop=furniture] {
2025    icon-image: "shop/furniture.png";
2026    set icon_z17;
2027}
2028node[shop=fabric] {
2029    icon-image: "shop/fabric.png";
2030    set icon_z17;
2031}
2032node[shop=florist] {
2033    icon-image: "shop/florist.png";
2034    set icon_z17;
2035}
2036node[shop=frame] {
2037    icon-image: "shop/frame.png";
2038    set icon_z17;
2039}
2040node[shop=gift] {
2041    icon-image: "presets/present.svg";
2042    set icon_z17;
2043}
2044node[shop=greengrocer] {
2045    icon-image: "shop/groceries/greengrocer.png";
2046    set icon_z17;
2047}
2048node[shop=garden_centre] {
2049    icon-image: "shop/garden_centre.png";
2050    set icon_z17;
2051}
2052node[shop=hairdresser] {
2053    icon-image: "shop/hairdresser.png";
2054    set icon_z17;
2055}
2056node[shop=hardware] {
2057    icon-image: "shop/hardware.png";
2058    set icon_z17;
2059}
2060node[shop=hearing_aids] {
2061    icon-image: "shop/hearing_aids.png";
2062    set icon_z17;
2063}
2064node[shop=hifi] {
2065    icon-image: "shop/hifi.svg";
2066    set icon_z17;
2067}
2068node[shop=houseware] {
2069    icon-image: "shop/houseware.svg";
2070    set icon_z17;
2071}
2072node[shop=jewelry] {
2073    icon-image: "shop/jewelry.png";
2074    set icon_z17;
2075}
2076node[shop=kitchen] {
2077    icon-image: "shop/kitchen.png";
2078    set icon_z17;
2079}
2080node[shop=mall] {
2081    icon-image: "shop/mall.png";
2082    set icon_z17;
2083}
2084node[shop=mobile_phone] {
2085    icon-image: "shop/mobile_phone.png";
2086    set icon_z17;
2087}
2088node[shop=motorcycle] {
2089    icon-image: "vehicle/motorbike.png";
2090    set icon_z17;
2091}
2092node[shop=musical_instrument] {
2093    icon-image: "shop/musical_instrument.png";
2094    set icon_z17;
2095}
2096node[shop=newsagent] {
2097    icon-image: "shop/news.svg";
2098    set icon_z17;
2099}
2100node[shop=optician] {
2101    icon-image: "shop/optician.svg";
2102    set icon_z17;
2103}
2104node[shop=medical_supply] {
2105    icon-image: "shop/medical_supply.svg";
2106    set icon_z17;
2107}
2108node[shop=paint] {
2109    icon-image: "shop/paint.png";
2110    set icon_z17;
2111}
2112node[shop=pawnbroker] {
2113    icon-image: "presets/pawnbroker.svg";
2114    set icon_z17;
2115}
2116node[shop=seafood] {
2117    icon-image: "shop/groceries/seafood.png";
2118    set icon_z17;
2119}
2120node[shop=shoes] {
2121    icon-image: "shop/shoes.png";
2122    set icon_z17;
2123}
2124node[shop=sports] {
2125    icon-image: "sport/multi.png";
2126    set icon_z17;
2127}
2128node[shop=stationery] {
2129    icon-image: "shop/stationery.png";
2130    set icon_z17;
2131}
2132node[shop=tailor] {
2133    icon-image: "shop/tailor.png";
2134    set icon_z17;
2135}
2136node[shop=travel_agency] {
2137    icon-image: "presets/travel.png";
2138    icon-width: 16;
2139    set icon_z17;
2140}
2141node[shop=toys] {
2142    icon-image: "shop/toys.png";
2143    set icon_z17;
2144}
2145node[shop=vacuum_cleaner] {
2146    icon-image: "shop/vacuum_cleaner.png";
2147    set icon_z17;
2148}
2149node[shop=variety_store] {
2150    icon-image: "shop/variety_store.png";
2151    set icon_z17;
2152}
2153node[shop=video] {
2154    icon-image: "shop/video.png";
2155    set icon_z17;
2156}
2157node[shop=bookmaker] {
2158    icon-image: "presets/lottery.svg";
2159    set icon_z17;
2160}
2161node[shop=lottery] {
2162    icon-image: "presets/lottery.svg";
2163    set icon_z17;
2164}
2165/* duplicate of shopping_centre? */
2166node[shop=shopping_centre] {
2167    icon-image: "shop/mall.png";
2168    set icon_z17;
2169}
2170node[shop=pet] {
2171    icon-image: "shop/pet.svg";
2172    set icon_z17;
2173}
2174node[shop=photo] {
2175    icon-image: "shop/photo.svg";
2176    set icon_z17;
2177}
2178node[shop=ticket] {
2179    icon-image: "shop/ticket.svg";
2180    set icon_z17;
2181}
2182node[shop=interior_decoration] {
2183    icon-image: "shop/interior_decoration.svg";
2184    set icon_z17;
2185}
2186node[shop=car_parts] {
2187    icon-image: "vehicle/car_parts.svg";
2188    set icon_z17;
2189}
2190node[shop=video_games] {
2191    icon-image: "shop/video_games.png";
2192    set icon_z17;
2193}
2194node[shop=bed] {
2195    icon-image: "shop/bed.svg";
2196    set icon_z17;
2197}
2198node[shop=beauty] {
2199    icon-image: "shop/beauty.svg";
2200    set icon_z17;
2201}
2202node[shop=cosmetics] {
2203    icon-image: "shop/cosmetics.svg";
2204    set icon_z17;
2205}
2206node[shop=perfumery] {
2207    icon-image: "shop/perfumery.svg";
2208    set icon_z17;
2209}
2210node[shop=tea] {
2211    icon-image: "shop/groceries/tea.svg";
2212    set icon_z17;
2213}
2214node[shop=coffee] {
2215    icon-image: "shop/groceries/coffee.svg";
2216    set icon_z17;
2217}
2218node[shop=antiques] {
2219    icon-image: "shop/antique.svg";
2220    set icon_z17;
2221}
2222node[shop=music] {
2223    icon-image: "shop/music.svg";
2224    set icon_z17;
2225}
2226node[shop=funeral_directors] {
2227    icon-image: "shop/funeral_directors.svg";
2228    set icon_z17;
2229}
2230node[shop=wine] {
2231    icon-image: "shop/wine.svg";
2232    set icon_z17;
2233}
2234node[shop=farm] {
2235    icon-image: "presets/apple.png";
2236    set icon_z17;
2237}
2238node[shop=tattoo] {
2239    icon-image: "shop/tattoo.svg";
2240    set icon_z17;
2241}
2242node[shop=art] {
2243    icon-image: "shop/art.svg";
2244    set icon_z17;
2245}
2246node[shop=bag] {
2247    icon-image: "shop/bag.svg";
2248    set icon_z17;
2249}
2250
2251/******************/
2252/* emergency tags */
2253/******************/
2254area[emergency=ambulance_station],
2255area[emergency=water_tank] {
2256    fill-color: emergency#eeeeee;
2257}
2258node[emergency=ambulance_station] {
2259    icon-image: "emergency/ambulance_station.svg";
2260    set icon_z17;
2261}
2262node[emergency=water_tank] {
2263    icon-image: "emergency/water_tank.svg";
2264    set icon_z17;
2265}
2266node[emergency=phone] {
2267    icon-image: "vehicle/emergency_phone.png";
2268    set icon_z17;
2269}
2270node[emergency=defibrillator] {
2271    icon-image: "presets/aed.svg";
2272    set icon_z17;
2273}
2274node[emergency=fire_hydrant] {
2275    icon-image: "service/fire_hydrant.png";
2276    set icon_z17;
2277}
2278node[emergency=fire_extinguisher] {
2279    icon-image: "emergency/fire_extinguisher.svg";
2280    set icon_z17;
2281}
2282node[emergency=fire_hose] {
2283    icon-image: "emergency/fire_hose.svg";
2284    set icon_z17;
2285}
2286node[emergency=assembly_point] {
2287    icon-image: "emergency/assembly_point.svg";
2288    set icon_z17;
2289}
2290node[emergency=siren] {
2291    icon-image: "emergency/siren.svg";
2292    set icon_z17;
2293}
2294
2295/****************/
2296/* amenity tags */
2297/****************/
2298
2299area[amenity=pub],
2300area[amenity=biergarten],
2301area[amenity=nightclub],
2302area[amenity=stripclub],
2303area[amenity=casino],
2304area[amenity=brothel],
2305area[amenity=cafe],
2306area[amenity=restaurant],
2307area[amenity=food_court],
2308area[amenity=fast_food],
2309area[amenity=bar],
2310area[amenity=ice_cream] {
2311    fill-color: amenity#ecba52;
2312}
2313node[amenity=pub] {
2314    icon-image: "food/pub.png";
2315    set icon_z17;
2316}
2317node[amenity=biergarten] {
2318    icon-image: "food/biergarten.png";
2319    set icon_z17;
2320}
2321node[amenity=nightclub] {
2322    icon-image: "leisure/discoball.svg";
2323    set icon_z17;
2324}
2325node[amenity=stripclub] {
2326    icon-image: "leisure/nightclub.png";
2327    set icon_z17;
2328}
2329node[amenity=casino] {
2330    icon-image: "leisure/casino.svg";
2331    set icon_z17;
2332}
2333node[amenity=brothel] {
2334    icon-image: "leisure/stripclub.png";
2335    set icon_z17;
2336}
2337node[amenity=cafe] {
2338    icon-image: "food/cafe.png";
2339    set icon_z17;
2340}
2341node[amenity=restaurant] {
2342    icon-image: "food/restaurant.svg";
2343    set icon_z17;
2344}
2345node[amenity=food_court] {
2346    icon-image: "food/restaurant.png";
2347    set icon_z17;
2348}
2349node[amenity=fast_food] {
2350    icon-image: "food/fastfood.png";
2351    set icon_z17;
2352}
2353node[amenity=bar] {
2354    icon-image: "food/bar.png";
2355    set icon_z17;
2356}
2357node[amenity=ice_cream] {
2358    icon-image: "food/icecream.png";
2359    set icon_z17;
2360}
2361area[amenity=bicycle_parking]:closed {
2362    fill-color: amenity_traffic#f7efb7;
2363}
2364way[amenity=bicycle_parking] {
2365    width: 2;
2366    color: amenity_traffic#f7efb7;
2367}
2368area[amenity=parking_space],
2369area[amenity=parking],
2370area[amenity=motorcycle_parking],
2371area[amenity=bicycle_rental],
2372area[amenity=bicycle_repair_station],
2373area[amenity=car_rental],
2374area[amenity=car_sharing],
2375area[amenity=car_wash],
2376area[amenity=taxi],
2377area[amenity=fuel] {
2378    fill-color: amenity_traffic#f7efb7;
2379}
2380node[amenity=parking_space] {
2381    icon-image: "vehicle/parking/parking_space.svg";
2382    set icon_z17;
2383}
2384node[amenity=parking] {
2385    icon-image: "vehicle/parking.png";
2386    set icon_z17;
2387}
2388node[amenity=parking_entrance] {
2389    icon-image: "vehicle/parking.png";
2390    set icon_z17;
2391}
2392node[amenity=parking_entrance][parking=multi-storey],
2393node[amenity=parking][parking=multi-storey] {
2394    icon-image: "vehicle/parking/multi-storey.png";
2395    set icon_z17;
2396}
2397node[amenity=parking_entrance][parking=underground],
2398node[amenity=parking][parking=underground] {
2399    icon-image: "vehicle/parking/underground.png";
2400    set icon_z17;
2401}
2402node[amenity=motorcycle_parking] {
2403    icon-image: "vehicle/parking/motorbike.png";
2404    set icon_z17;
2405}
2406node[amenity=bicycle_parking] {
2407    icon-image: "vehicle/parking/bicycle.png";
2408    set icon_z17;
2409}
2410node[park_ride][park_ride!=no] {
2411    icon-image: "vehicle/parking/park_ride.svg";
2412    set icon_z17;
2413}
2414node[amenity=parking_space][wheelchair?] {
2415    icon-image: "vehicle/parking/handicapped.png";
2416    set icon_z17;
2417}
2418node[amenity=bicycle_rental] {
2419    icon-image: "vehicle/rental/bicycle.png";
2420    set icon_z17;
2421}
2422node[amenity=bicycle_repair_station] {
2423    icon-image: "vehicle/bicycle_repair_station.svg";
2424    set icon_z17;
2425}
2426node[amenity=car_rental] {
2427    icon-image: "vehicle/rental/car.png";
2428    set icon_z17;
2429}
2430node[amenity=car_sharing] {
2431    icon-image: "vehicle/car_sharing.png";
2432    set icon_z17;
2433}
2434node[amenity=car_wash] {
2435    icon-image: "vehicle/car_wash.png";
2436    set icon_z17;
2437}
2438node[amenity=taxi] {
2439    icon-image: "transport/taxi.png";
2440    set icon_z17;
2441}
2442node[amenity=fuel] {
2443    icon-image: "vehicle/fuel.png";
2444    set icon_z17;
2445}
2446node[amenity=charging_station] {
2447    icon-image: "vehicle/fuel/charging_station.png";
2448    set icon_z17;
2449}
2450node[amenity=grit_bin] {
2451    icon-image: "misc/grit_bin.svg";
2452    set icon_z17;
2453}
2454node[amenity=telephone] {
2455    icon-image: "service/telephone.png";
2456    set icon_z17;
2457}
2458node[amenity=clock] {
2459    icon-image: "service/clock.svg";
2460    set icon_z17;
2461}
2462area[amenity=toilets],
2463area[amenity=shower],
2464area[amenity=recycling],
2465area[amenity=sanitary_dump_station] {
2466    fill-color: amenity_light#f7efb7;
2467}
2468node[amenity=toilets] {
2469    icon-image: "service/toilets.png";
2470    set icon_z17;
2471}
2472node[amenity=shower] { 
2473    icon-image: "service/shower.svg";
2474    set icon_z17;
2475}
2476node[amenity=recycling] {
2477    icon-image: "service/recycling/recycling.svg";
2478    set icon_z17;
2479}
2480node[amenity=recycling][recycling_type=container] {
2481    icon-image: "service/recycling/recycling_container.svg";
2482}
2483node[amenity=recycling][recycling_type=centre] {
2484    icon-image: "service/recycling/recycling_centre.svg";
2485}
2486node[amenity=waste_basket] {
2487    icon-image: "service/recycling/trash-bin.png";
2488    set icon_z17;
2489}
2490node[amenity=waste_disposal] {
2491    icon-image: "service/recycling/waste_disposal.png";
2492    set icon_z17;
2493}
2494node[amenity=sanitary_dump_station] {
2495    icon-image: "service/recycling/sanitary_dump_station.svg";
2496    set icon_z17;
2497}
2498area[amenity=townhall],
2499area[amenity=embassy],
2500area[amenity=community_centre] {
2501    fill-color: amenity_light#f7efb7;
2502}
2503node[amenity=townhall] {
2504    icon-image: "presets/townhall.png";
2505    set icon_z17;
2506}
2507node[amenity=embassy] {
2508    icon-image: "service/administration/embassy.png";
2509    set icon_z17;
2510}
2511node[amenity=community_centre] {
2512    icon-image: "service/community_centre.png";
2513    set icon_z17;
2514}
2515area[amenity=water_point],
2516area[amenity=fountain] {
2517    fill-color: light_water#00005f;
2518}
2519node[amenity=drinking_water] {
2520    icon-image: "food/drinking_water.png";
2521    set icon_z17;
2522}
2523node[amenity=water_point] {
2524    icon-image: "accommodation/camping/water.png";
2525    set icon_z17;
2526}
2527node[amenity=fountain] {
2528    icon-image: "misc/fountain.png";
2529    set icon_z17;
2530}
2531area[amenity=place_of_worship],
2532area[amenity=grave_yard],
2533area[amenity=crematorium],
2534area[amenity=post_office],
2535area[amenity=studio],
2536area[amenity=school],
2537area[amenity=university],
2538area[amenity=college],
2539area[amenity=kindergarten],
2540area[amenity=driving_school] {
2541    fill-color: amenity_light#f7efb7;
2542}
2543node[amenity=place_of_worship] {
2544    icon-image: "religion.png";
2545    set icon_z17;
2546}
2547node[amenity=place_of_worship][religion=bahai] {
2548    icon-image: "religion/bahai.png";
2549    set icon_z17;
2550}
2551node[amenity=place_of_worship][religion=buddhist] {
2552    icon-image: "religion/buddhism.png";
2553    set icon_z17;
2554}
2555node[amenity=place_of_worship][religion=christian] {
2556    icon-image: "religion/church.png";
2557    set icon_z17;
2558}
2559node[amenity=place_of_worship][religion=hindu] {
2560    icon-image: "religion/hinduism.png";
2561    set icon_z17;
2562}
2563node[amenity=place_of_worship][religion=jain] {
2564    icon-image: "religion/jainism.png";
2565    set icon_z17;
2566}
2567node[amenity=place_of_worship][religion=jewish] {
2568    icon-image: "religion/jewish.png";
2569    set icon_z17;
2570}
2571node[amenity=place_of_worship][religion=muslim] {
2572    icon-image: "religion/muslim.png";
2573    set icon_z17;
2574}
2575node[amenity=place_of_worship][religion=sikh] {
2576    icon-image: "religion/sikhism.png";
2577    set icon_z17;
2578}
2579node[amenity=place_of_worship][religion=shinto] {
2580    icon-image: "religion/shinto.png";
2581    set icon_z17;
2582}
2583node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
2584    icon-image: "misc/no_icon.png";
2585    set icon_z17;
2586}
2587node[amenity=place_of_worship][religion=taoist] {
2588    icon-image: "religion/taoism.png";
2589    set icon_z17;
2590}
2591node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] {
2592    icon-image: "misc/no_icon.png";
2593    set icon_z17;
2594}
2595node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
2596    icon-image: "misc/no_icon.png";
2597    set icon_z17;
2598}
2599node[amenity=grave_yard] {
2600    icon-image: "rendering/landuse/cemetery.png";
2601    set icon_z17;
2602}
2603node[amenity=crematorium][!is_prop_set(icon-image)] {
2604    icon-image: "misc/no_icon.png";
2605    set icon_z17;
2606}
2607node[amenity=post_office] {
2608    icon-image: "service/post_office.png";
2609    set icon_z17;
2610}
2611node[amenity=post_box] {
2612    icon-image: "service/post_box.png";
2613    set icon_z17;
2614}
2615node[amenity=studio] {
2616    icon-image: "service/studio.png";
2617    set icon_z17;
2618}
2619node[amenity=school] {
2620    icon-image: "education/school.png";
2621    set icon_z17;
2622}
2623node[amenity=university] {
2624    icon-image: "education/university.png";
2625    set icon_z17;
2626}
2627node[amenity=college] {
2628    icon-image: "education/college.png";
2629    set icon_z17;
2630}
2631node[amenity=kindergarten] {
2632    icon-image: "education/kindergarten.png";
2633    set icon_z17;
2634}
2635node[amenity=driving_school] {
2636    icon-image: "education/driving_school.png";
2637    set icon_z17;
2638}
2639area[amenity=pharmacy],
2640area[amenity=hospital],
2641area[amenity=clinic],
2642area[amenity=nursing_home],
2643area[amenity=social_facility],
2644area[amenity=baby_hatch],
2645area[amenity=doctors],
2646area[amenity=dentist],
2647area[amenity=veterinary] {
2648    fill-color: health#eeeeee;
2649}
2650node[amenity=pharmacy] {
2651    icon-image: "health/pharmacy.svg";
2652    set icon_z17;
2653}
2654node[amenity=hospital] {
2655    icon-image: "health/hospital.svg";
2656    set icon_z17;
2657}
2658node[amenity=clinic] {
2659    icon-image: "health/clinic.svg";
2660    set icon_z17;
2661}
2662node[amenity=nursing_home] {
2663    icon-image: "social_facility/nursing_home.svg";
2664    set icon_z17;
2665}
2666node[amenity=social_facility][social_facility=group_home] {
2667    icon-image: "social_facility/group_home.svg";
2668    set icon_z17;
2669}
2670node[amenity=social_facility][social_facility=assisted_living] {
2671    icon-image: "social_facility/assisted_living.svg";
2672    set icon_z17;
2673}
2674node[amenity=social_facility][social_facility=outreach] {
2675    icon-image: "social_facility/outreach.svg";
2676    set icon_z17;
2677}
2678node[amenity=social_facility][social_facility=shelter] {
2679    icon-image: "social_facility/shelter.svg";
2680    set icon_z17;
2681}
2682node[amenity=social_facility][social_facility=food_bank] {
2683    icon-image: "social_facility/food_bank.svg";
2684    set icon_z17;
2685}
2686node[amenity=baby_hatch] {
2687    icon-image: "health/baby_hatch.svg";
2688    set icon_z17;
2689}
2690node[amenity=doctors] {
2691    icon-image: "health/doctors.svg";
2692    set icon_z17;
2693}
2694node[amenity=dentist] {
2695    icon-image: "health/dentist.svg";
2696    set icon_z17;
2697}
2698node[amenity=veterinary] {
2699    icon-image: "health/veterinary.svg";
2700    set icon_z17;
2701}
2702area[amenity=library],
2703area[amenity=police],
2704area[amenity=ranger_station],
2705area[amenity=fire_station],
2706area[amenity=bus_station],
2707area[amenity=ferry_terminal],
2708area[amenity=theatre],
2709area[amenity=cinema],
2710area[amenity=arts_centre],
2711area[amenity=courthouse],
2712area[amenity=prison],
2713area[amenity=bank],
2714area[amenity=bureau_de_change],
2715area[amenity=bbq] {
2716    fill-color: amenity_light#f7efb7;
2717}
2718node[amenity=library] {
2719    icon-image: "shop/library.png";
2720    set icon_z17;
2721}
2722node[amenity=police] {
2723    icon-image: "service/police.png";
2724    set icon_z17;
2725}
2726node[amenity=ranger_station] {
2727    icon-image: "service/ranger_station.svg";
2728    set icon_z17;
2729}
2730node[amenity=fire_station] {
2731    icon-image: "service/firebrigade.png";
2732    set icon_z17;
2733}
2734node[amenity=bus_station] {
2735    icon-image: "transport/bus.png";
2736    set icon_z17;
2737}
2738node[amenity=ferry_terminal] {
2739    icon-image: "nautical/ferry.svg";
2740    set icon_z17;
2741}
2742node[amenity=theatre] {
2743    icon-image: "presets/theater.png";
2744    icon-width: 16;
2745    set icon_z17;
2746}
2747node[amenity=cinema] {
2748    icon-image: "leisure/cinema.png";
2749    set icon_z17;
2750}
2751node[amenity=arts_centre] {
2752    icon-image: "service/arts_centre.png";
2753    set icon_z17;
2754}
2755node[amenity=courthouse] {
2756    icon-image: "service/administration/courthouse.svg";
2757    set icon_z17;
2758}
2759node[amenity=prison] {
2760    icon-image: "service/administration/prison.svg";
2761    set icon_z17;
2762}
2763node[amenity=bank] {
2764    icon-image: "money/bank.png";
2765    set icon_z17;
2766}
2767node[amenity=bureau_de_change] {
2768    icon-image: "money/exchange.png";
2769    set icon_z17;
2770}
2771node[amenity=atm] {
2772    icon-image: "money/atm.png";
2773    set icon_z17;
2774}
2775way[amenity=bench] {
2776    width: 2;
2777    color: amenity_light#f7efb7;
2778}
2779node[amenity=bench] {
2780    icon-image: "leisure/bench.png";
2781    set icon_z17;
2782}
2783node[amenity=bbq] {
2784    icon-image: "leisure/bbq.png";
2785    set icon_z17;
2786}
2787node[amenity=compressed_air] {
2788    icon-image: "vehicle/compressed_air.svg";
2789    set icon_z17;
2790}
2791area[amenity=shelter],
2792area[amenity=marketplace],
2793area[amenity=wlan] {
2794    fill-color: amenity_light#f7efb7;
2795}
2796node[amenity=shelter] {
2797    icon-image: "accommodation/shelter.png";
2798    set icon_z17;
2799}
2800node[amenity=shelter][shelter_type=public_transport] {
2801    icon-image: "accommodation/shelter_public_transport_brown.png";
2802    set icon_z17;
2803}
2804node[amenity=shelter][shelter_type=picnic_shelter] {
2805    icon-image: "accommodation/shelter_picnic_brown.png";
2806    set icon_z17;
2807}
2808node[amenity=shelter][shelter_type=basic_hut] {
2809    icon-image: "accommodation/basic_hut_blue.png";
2810    set icon_z17;
2811}
2812node[amenity=shelter][shelter_type=lean_to] {
2813    icon-image: "accommodation/shelter_lean_to.svg";
2814    set icon_z17;
2815}
2816node[amenity=hunting_stand] {
2817    icon-image: "hunting_stand.png";
2818    set icon_z17;
2819}
2820node[amenity=marketplace] {
2821    icon-image: "place/marketplace.png";
2822    set icon_z17;
2823}
2824node[amenity=wlan] {
2825    icon-image: "wlan.png";
2826    set icon_z17;
2827}
2828node[amenity=vending_machine] {
2829    icon-image: "transport/ticket-machine.png";
2830    set icon_z17;
2831}
2832node[vending=excrement_bags] {
2833    icon-image: "service/excrement_bags.png";
2834    set icon_z17;
2835}
2836
2837/**************/
2838/* craft tags */
2839/**************/
2840
2841area[craft=carpenter],
2842area[craft=shoemaker],
2843area[craft=photographer],
2844area[craft=metal_construction],
2845area[craft=electrician],
2846area[craft=brewery],
2847area[craft=plumber],
2848area[craft=sawmill],
2849area[craft=gardener],
2850area[craft=winery],
2851area[craft=hvac],
2852area[craft=painter],
2853area[craft=stonemason],
2854area[craft=handicraft],
2855area[craft=pottery],
2856area[craft=key_cutter],
2857area[craft=caterer],
2858area[craft=roofer],
2859area[craft=beekeeper],
2860area[craft=blacksmith],
2861area[craft=locksmith],
2862area[craft=window_construction],
2863area[craft=upholsterer],
2864area[craft=tiler] {
2865    fill-color: craft#999900;
2866}
2867node[craft=carpenter][!is_prop_set(icon-image)] {
2868    icon-image: "misc/no_icon.png";
2869    set icon_z17;
2870}
2871node[craft=shoemaker][!is_prop_set(icon-image)] {
2872    icon-image: "misc/no_icon.png";
2873    set icon_z17;
2874}
2875node[craft=photographer][!is_prop_set(icon-image)] {
2876    icon-image: "misc/no_icon.png";
2877    set icon_z17;
2878}
2879node[craft=metal_construction][!is_prop_set(icon-image)] {
2880    icon-image: "misc/no_icon.png";
2881    set icon_z17;
2882}node[craft=electrician][!is_prop_set(icon-image)] {
2883    icon-image: "misc/no_icon.png";
2884    set icon_z17;
2885}
2886node[craft=brewery][!is_prop_set(icon-image)] {
2887    icon-image: "misc/no_icon.png";
2888    set icon_z17;
2889}
2890node[craft=plumber] {
2891    icon-image: "craft/plumber.png";
2892    set icon_z17;
2893}
2894node[craft=sawmill][!is_prop_set(icon-image)] {
2895    icon-image: "misc/no_icon.png";
2896    set icon_z17;
2897}
2898node[craft=gardener][!is_prop_set(icon-image)] {
2899    icon-image: "misc/no_icon.png";
2900    set icon_z17;
2901}
2902node[craft=winery][!is_prop_set(icon-image)] {
2903    icon-image: "misc/no_icon.png";
2904    set icon_z17;
2905}
2906node[craft=hvac][!is_prop_set(icon-image)] {
2907    icon-image: "misc/no_icon.png";
2908    set icon_z17;
2909}
2910node[craft=painter] {
2911    icon-image: "craft/painter.png";
2912    set icon_z17;
2913}
2914node[craft=stonemason][!is_prop_set(icon-image)] {
2915    icon-image: "misc/no_icon.png";
2916    set icon_z17;
2917}
2918node[craft=handicraft][!is_prop_set(icon-image)] {
2919    icon-image: "misc/no_icon.png";
2920    set icon_z17;
2921}
2922node[craft=pottery] {
2923    icon-image: "craft/pottery.png";
2924    set icon_z17;
2925}
2926node[craft=key_cutter][!is_prop_set(icon-image)] {
2927    icon-image: "misc/no_icon.png";
2928    set icon_z17;
2929}
2930node[craft=caterer][!is_prop_set(icon-image)] {
2931    icon-image: "misc/no_icon.png";
2932    set icon_z17;
2933}
2934node[craft=roofer][!is_prop_set(icon-image)] {
2935    icon-image: "misc/no_icon.png";
2936    set icon_z17;
2937}
2938node[craft=beekeeper][!is_prop_set(icon-image)] {
2939    icon-image: "misc/no_icon.png";
2940    set icon_z17;
2941}
2942node[craft=blacksmith][!is_prop_set(icon-image)] {
2943    icon-image: "misc/no_icon.png";
2944    set icon_z17;
2945}
2946node[craft=locksmith][!is_prop_set(icon-image)] {
2947    icon-image: "misc/no_icon.png";
2948    set icon_z17;
2949}
2950node[craft=window_construction] {
2951    icon-image: "craft/window_construction.png";
2952    set icon_z17;
2953}
2954node[craft=upholsterer][!is_prop_set(icon-image)] {
2955    icon-image: "misc/no_icon.png";
2956    set icon_z17;
2957}
2958node[craft=tiler] {
2959    icon-image: "craft/tiler.png";
2960    set icon_z17;
2961}
2962
2963/****************/
2964/* tourism tags */
2965/****************/
2966
2967area[tourism=hotel],
2968area[tourism=motel],
2969area[tourism=guest_house],
2970area[tourism=hostel],
2971area[tourism=chalet],
2972area[tourism=alpine_hut],
2973area[tourism=wilderness_hut],
2974area[tourism=camp_site],
2975area[tourism=caravan_site] {
2976    fill-color: hotel#feced0;
2977}
2978node[tourism=hotel] {
2979    icon-image: "accommodation/hotel.svg";
2980    set icon_z17;
2981}
2982node[tourism=motel] {
2983    icon-image: "accommodation/motel.svg";
2984    set icon_z17;
2985}
2986node[tourism=guest_house] {
2987    icon-image: "accommodation/guest_house.png";
2988    set icon_z17;
2989}
2990node[tourism=hostel] {
2991    icon-image: "accommodation/hostel.svg";
2992    set icon_z17;
2993}
2994node[tourism=chalet] {
2995    icon-image: "accommodation/chalet.png";
2996    set icon_z17;
2997}
2998node[tourism=alpine_hut] {
2999    icon-image: "accommodation/alpine_hut_blue.png";
3000    set icon_z17;
3001}
3002node[tourism=wilderness_hut] {
3003    icon-image: "accommodation/wilderness_hut_blue.png";
3004    set icon_z17;
3005}
3006node[tourism=camp_site] {
3007    icon-image: "accommodation/camping.png";
3008    set icon_z17;
3009}
3010node[tourism=caravan_site] {
3011    icon-image: "accommodation/camping/caravan.png";
3012    set icon_z17;
3013}
3014area[tourism=picnic_site],
3015area[tourism=viewpoint],
3016area[tourism=theme_park],
3017area[tourism=attraction],
3018area[tourism=zoo],
3019area[tourism=museum] {
3020    fill-color: tourism#e180a2;
3021}
3022node[tourism=picnic_site] {
3023    icon-image: "leisure/picnic.png";
3024    set icon_z17;
3025}
3026node[tourism=viewpoint] {
3027    icon-image: "sightseeing/viewpoint.png";
3028    set icon_z17;
3029}
3030node[tourism=theme_park] {
3031    icon-image: "leisure/theme_park.png";
3032    set icon_z17;
3033}
3034node[tourism=attraction] {
3035    icon-image: "sightseeing.png";
3036    set icon_z17;
3037}
3038node[tourism=zoo] {
3039    icon-image: "leisure/zoo.png";
3040    set icon_z17;
3041}
3042area[tourism=artwork]:closed {
3043    fill-color: tourism#e180a2;
3044}
3045way[tourism=artwork] {
3046    width: 2;
3047    color: tourism#e180a2;
3048}
3049node[tourism=artwork] {
3050    icon-image: "service/arts_centre.png";
3051    set icon_z17;
3052}
3053node[tourism=museum] {
3054    icon-image: "sightseeing/museum.svg";
3055    set icon_z17;
3056}
3057
3058/********************/
3059/* information tags */
3060/********************/
3061
3062area[tourism=information] {
3063    fill-color: tourism#e180a2;
3064}
3065node[tourism=information] {
3066    icon-image: "misc/information.png";
3067    set icon_z17;
3068}
3069node[tourism=information][information=guidepost] {
3070    icon-image: "misc/information/guidepost.png";
3071    set icon_z17;
3072}
3073area[tourism=information][information=office] {
3074    fill-color: tourism#e180a2;
3075}
3076node[tourism=information][information=office] {
3077    icon-image: "misc/information/informationoffice.png";
3078    set icon_z17;
3079}
3080node[tourism=information][information=map] {
3081    icon-image: "misc/information/map.png";
3082    set icon_z17;
3083}
3084node[tourism=information][information=board] {
3085    icon-image: "misc/information/board.png";
3086    set icon_z17;
3087}
3088
3089/*****************/
3090/* historic tags */
3091/*****************/
3092
3093area[historic=castle],
3094area[historic=monument],
3095area[historic=memorial],
3096area[historic=archaeological_site],
3097area[historic=ruins],
3098area[historic=battlefield],
3099area[geological=palaeontological_site],
3100area[historic=wayside_cross],
3101area[historic=wayside_shrine],
3102area[historic=boundary_stone] {
3103    fill-color: historic#663300;
3104}
3105node[historic=castle] {
3106    icon-image: "sightseeing/castle.svg";
3107    set icon_z17;
3108}
3109node[historic=monument] {
3110    icon-image: "sightseeing/monument.png";
3111    set icon_z17;
3112}
3113node[historic=memorial] {
3114    icon-image: "sightseeing/memorial.png";
3115    set icon_z17;
3116}
3117node[historic=archaeological_site] {
3118    icon-image: "sightseeing/archaeological.png";
3119    set icon_z17;
3120}
3121node[historic=ruins] {
3122    icon-image: "sightseeing/ruins.png";
3123    set icon_z17;
3124}
3125node[historic=battlefield] {
3126    icon-image: "sightseeing/battlefield.png";
3127    set icon_z17;
3128}
3129node[geological=palaeontological_site] {
3130    icon-image: "historic/palaeontological_site.png";
3131    set icon_z17;
3132}
3133node[historic=wayside_cross] {
3134    icon-image: "religion/wayside_cross.png";
3135    set icon_z17;
3136}
3137node[historic=wayside_shrine] {
3138    icon-image: "religion/wayside_shrine.png";
3139    set icon_z17;
3140}
3141node[historic=boundary_stone] {
3142    icon-image: "historic/boundary_stone.png";
3143    set icon_z17;
3144}
3145
3146/****************/
3147/* landuse tags */
3148/****************/
3149
3150area[landuse],
3151area[leisure],
3152area[amenity],
3153area[place],
3154area[natural],
3155area[man_made] {
3156    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3157}
3158area[landuse=farmland] {
3159    fill-color: farmland#b8e0b1;
3160}
3161area[landuse=meadow] {
3162    fill-color: meadow#b1e0b6;
3163}
3164area[landuse=vineyard],
3165area[landuse=orchard] {
3166    fill-color: green#b1e0c2;
3167}
3168area[landuse=quarry] {
3169    fill-color: quarry#888888;
3170}
3171area[landuse=landfill] {
3172    fill-color: landfill#663300;
3173}
3174area[landuse=basin],
3175area[landuse=reservoir] {
3176    fill-color: basin#0000bf;
3177}
3178area[landuse=forest] {
3179    fill-color: forest#b1efc8;
3180}
3181area[landuse=allotments] {
3182    fill-color: allotments#5dbf80;
3183}
3184area[landuse=greenhouse_horticulture],
3185area[landuse=plant_nursery] {
3186    fill-color: green#b1e0c2;
3187}
3188area[landuse=grass] {
3189    fill-color: grass#97ca96;
3190}
3191area[landuse=residential] {
3192    fill-color: residential#f0f0f0;
3193}
3194area[landuse=garages] {
3195    fill-color: garages#d6c8aa;
3196}
3197area[landuse=farmyard] {
3198    fill-color: farmyard#f0f0f0;
3199}
3200area[landuse=retail],
3201area[landuse=commercial] {
3202    fill-color: retail#ffc4ee;
3203}
3204area[landuse=industrial] {
3205    fill-color: industrial#ecd8ff;
3206}
3207area[landuse=brownfield] {
3208    fill-color: brownfield#ecba32;
3209}
3210area[landuse=greenfield] {
3211    fill-color: greenfield#b1ec5c;
3212}
3213area[landuse=railway] {
3214    fill-color: railland#888888;
3215}
3216area[landuse=construction] {
3217    fill-color: construction#ffff00;
3218}
3219way[landuse=construction] {
3220    width: 1;
3221    color: construction#ffff00;
3222    dashes: 9,9;
3223}
3224area[landuse=military] {
3225    fill-color: military#b62c2c;
3226}
3227area[landuse=religious] {
3228    fill-color: religious#ffd454;
3229}
3230area[landuse=cemetery] {
3231    fill-color: cemetery#b1efc8;
3232}
3233area[landuse=village_green] {
3234    fill-color: green#b1e0c2;
3235}
3236area[landuse=recreation_ground] {
3237    fill-color: green#b1e0c2;
3238}
3239node[landuse] {
3240    icon-image: "misc/deprecated.png";
3241    set icon_z17;
3242}
3243
3244/*****************/
3245/* military tags */
3246/*****************/
3247
3248area[military=airfield],
3249area[military=bunker],
3250area[military=barracks],
3251area[military=danger_area],
3252area[military=range] {
3253    fill-color: military#b62c2c;
3254}
3255node[military=airfield] {
3256    icon-image: "transport/airport/airfield.png";
3257    set icon_z17;
3258}
3259node[military=bunker] {
3260    icon-image: "misc/landmark/bunker.png";
3261    set icon_z17;
3262}
3263node[military=barracks][!is_prop_set(icon-image)] {
3264    icon-image: "misc/no_icon.png";
3265    set icon_z17;
3266}
3267node[military=danger_area] {
3268    icon-image: "misc/danger.png";
3269    set icon_z17;
3270}
3271node[military=range] {
3272    icon-image: "misc/landmark/range.png";
3273    set icon_z17;
3274}
3275
3276/****************/
3277/* railway tags */
3278/****************/
3279
3280area[railway=station] {
3281    fill-color: railwaypoint#f7efb7;
3282}
3283node[railway=station] {
3284    icon-image: "transport/railway_station.png";
3285    set icon_z17;
3286}
3287node[railway=halt] {
3288    icon-image: "presets/station16.png";
3289    set icon_z17;
3290}
3291node[railway=tram_stop] {
3292    icon-image: "transport/tram.png";
3293    set icon_z17;
3294}
3295node[railway=subway_entrance] {
3296    icon-image: "transport/underground.png";
3297    set icon_z17;
3298}
3299node[railway=crossing] {
3300    icon-image: "transport/railway/crossing.svg";
3301    set icon_z17;
3302}
3303node[railway=level_crossing] {
3304    icon-image: "transport/railway/level_crossing.svg";
3305    icon-width: 16;
3306    set icon_z17;
3307}
3308way[railway=rail] {
3309    width: 2;
3310    color: rail#404040;
3311    dashes: 9,9;
3312    dashes-background-color: raildashed#ffffff;
3313}
3314way[railway=rail][service=crossover],
3315way[railway=rail][service=siding] {
3316    width: 1;
3317}
3318way[railway=rail][service=yard],
3319way[railway=rail][service=spur] {
3320    width: 1;
3321    color: railyard#552200;
3322}
3323/* draw tram on top of other way (highway=*) or
3324   as a standalone style */
3325way[highway][railway=tram]::core_railway,
3326way[!highway][railway=tram] {
3327    object-z-index: 1;
3328    modifier: false; /* don't draw default way if there is no line on default layer */
3329    width: 1;
3330    color: railover#202020;
3331    dashes: 9,9;
3332    casing-width: 1;
3333    casing-color: otherrail#808080;
3334    casing-linecap: round;
3335    casing-dashes: 9,9;
3336}
3337way[highway][railway=tram][service=crossover]::core_railway,
3338way[!highway][railway=tram][service=crossover],
3339way[highway][railway=tram][service=siding]::core_railway,
3340way[!highway][railway=tram][service=siding],
3341way[highway][railway=tram][service=yard]::core_railway,
3342way[!highway][railway=tram][service=yard],
3343way[highway][railway=tram][service=spur]::core_railway,
3344way[!highway][railway=tram][service=spur] {
3345    dashes: 6,6;
3346    casing-dashes: 6,6;
3347}
3348
3349way[railway=light_rail] {
3350    width: 2;
3351    color: otherrail#808080;
3352    dashes: 9,9;
3353}
3354way[railway=subway] {
3355    width: 1;
3356    color: subway#606060;
3357    dashes: 9,9;
3358}
3359way[railway=preserved] {
3360    width: 1;
3361    color: oldrail#404040;
3362    dashes: 9,9;
3363}
3364way[railway=light_rail][service=crossover],
3365way[railway=light_rail][service=siding],
3366way[railway=light_rail][service=yard],
3367way[railway=light_rail][service=spur],
3368way[railway=subway][service=crossover],
3369way[railway=subway][service=siding],
3370way[railway=subway][service=yard],
3371way[railway=subway][service=spur],
3372way[railway=preserved][service=crossover],
3373way[railway=preserved][service=siding],
3374way[railway=preserved][service=yard],
3375way[railway=preserved][service=spur] {
3376    dashes: 6,6;
3377}
3378/* disused often appears together with highway=xy */
3379/* -> draw on separate layer with higher z-index, but use */
3380/* modifier: false; to suppress default line when used alone. */
3381/* use default layer when used without highway=* to display bridge correctly */
3382way[railway=disused][highway]::core_railway,
3383way[railway=disused][!highway],
3384way[railway=abandoned][highway]::core_railway,
3385way[railway=abandoned][!highway] {
3386    width: 1;
3387    modifier: false;
3388    z-index: 1;
3389    color: oldrail#404040;
3390    dashes: 9,9;
3391}
3392way[railway=narrow_gauge],
3393way[railway=monorail] {
3394    width: 1;
3395    color: rail#404040;
3396    dashes: 9,9;
3397}
3398way[railway=narrow_gauge][service=crossover],
3399way[railway=narrow_gauge][service=siding],
3400way[railway=narrow_gauge][service=yard],
3401way[railway=narrow_gauge][service=spur],
3402way[railway=monorail][service=crossover],
3403way[railway=monorail][service=siding],
3404way[railway=monorail][service=yard],
3405way[railway=monorail][service=spur] {
3406    dashes: 6,6;
3407}
3408area[railway=turntable] {
3409    fill-color: rail#404040;
3410}
3411node[railway=turntable] {
3412    icon-image: "transport/railway/turntable.svg";
3413    set icon_z17;
3414}
3415node[railway=buffer_stop] {
3416    icon-image: "transport/railway/buffer_stop.svg";
3417    set icon_z17;
3418}
3419area[railway=platform]:closed {
3420    fill-color: rail#404040;
3421}
3422way[railway=platform] {
3423    width: 2;
3424    color: rail#404040;
3425}
3426way[railway=funicular] {
3427    width: 1;
3428    color: rail#404040;
3429    dashes: 9,9;
3430}
3431node[railway=switch] {
3432    icon-image: "transport/railway/switch.svg";
3433    icon-width: 16;
3434    set icon_z17;
3435}
3436node[railway=signal] {
3437    icon-image: "transport/railway/signal.svg";
3438    set icon_z17;
3439}
3440node[railway=milestone] {
3441    icon-image: "transport/railway/milestone.svg";
3442    set icon_z17;
3443}
3444node[railway=rail], node[railway=tram], node[railway=light_rail],
3445node[railway=subway], node[railway=preserved],
3446node[railway=disused], node[railway=abandoned],
3447node[railway=narrow_gauge], node[railway=monorail],
3448node[railway=platform], node[railway=funicular],
3449node[service=yard], node[service=siding], node[service=spur] {
3450    icon-image: "misc/deprecated.png";
3451    set icon_z17;
3452}
3453way[railway=construction][!highway] {
3454    width: 1;
3455    color: construction#ffff00;
3456    dashes: 9,9;
3457}
3458way[railway=construction][construction=rail] {
3459    width: 2;
3460    color: rail#404040;
3461    dashes: 9,9;
3462    dashes-background-color: construction#ffff00;
3463}
3464way[railway=construction][construction=light_rail] {
3465    width: 2;
3466}
3467way[railway=construction][construction=tram][highway]::core_railway,
3468way[railway=construction][construction=tram][!highway] {
3469    z-index: 1;
3470    width: 1;
3471    color: railover#202020;
3472    dashes: 9,9;
3473    casing-width: 1;
3474    casing-color: construction#ffff00;
3475    casing-linecap: round;
3476    casing-dashes: 9,9;
3477}
3478
3479/****************/
3480/* aeroway tags */
3481/****************/
3482
3483area[aeroway=aerodrome] {
3484    fill-color: aeroway#660000;
3485    width: 2;
3486    dashes: 9,9;
3487}
3488node[aeroway=aerodrome][military!=airfield] {
3489    icon-image: "transport/airport.png";
3490    set icon_z17;
3491}
3492area[aeroway=terminal] {
3493    fill-color: terminal#bb0000;
3494}
3495node[aeroway=terminal] {
3496    icon-image: "transport/airport/terminal.png";
3497    set icon_z17;
3498}
3499area[aeroway=helipad] {
3500    fill-color: aeroway_dark#330000;
3501}
3502node[aeroway=helipad] {
3503    icon-image: "transport/airport/helipad.png";
3504    set icon_z17;
3505}
3506area[aeroway=runway]:closed {
3507    fill-color: aeroway_dark#330000;
3508}
3509way[aeroway=runway] {
3510    width: 3;
3511    color: aeroway_dark#330000;
3512}
3513area[aeroway=taxiway]:closed {
3514    fill-color: aeroway#660000;
3515}
3516way[aeroway=taxiway] {
3517    width: 2;
3518    color: aeroway#660000;
3519}
3520way[aeroway=parking_position] {
3521    width: 1;
3522    color: aeroway#660000;
3523}
3524node[aeroway=parking_position] {
3525    icon-image: "transport/airport/parking_position.png";
3526    set icon_z17;
3527}
3528area[aeroway=apron],
3529area[aeroway=hangar] {
3530    fill-color: aeroway_light#990000;
3531}
3532node[aeroway=apron],
3533node[aeroway=runway],
3534node[aeroway=taxiway] {
3535    icon-image: "misc/deprecated.png";
3536    set icon_z17;
3537}
3538node[aeroway=hangar] {
3539    icon-image: "transport/airport/hangar.png";
3540    set icon_z17;
3541}
3542node[aeroway=gate] {
3543    icon-image: "transport/airport/gate.png";
3544    set icon_z17;
3545}
3546node[aeroway=windsock] {
3547    icon-image: "transport/airport/windsock.png";
3548    set icon_z17;
3549}
3550
3551/******************/
3552/* aerialway tags */
3553/******************/
3554
3555way[aerialway=cable_car],
3556way[aerialway=gondola] {
3557    width: 1;
3558    color: aerialway#663300;
3559    dashes: 9,9;
3560}
3561way[aerialway=chair_lift] {
3562    width: 1;
3563    color: aerialway#663300;
3564    dashes: 6,6;
3565}
3566way[aerialway=mixed_lift] {
3567    width: 1;
3568    color: aerialway#663300;
3569    dashes: 6,6,9,6;
3570}
3571way[aerialway=j-bar],
3572way[aerialway=t-bar],
3573way[aerialway=platter],
3574way[aerialway=rope_tow],
3575way[aerialway=drag_lift] {
3576    width: 1;
3577    color: aerialway#663300;
3578    dashes: 3,3;
3579}
3580way[aerialway=magic_carpet] {
3581    width: 1;
3582    color: aerialway#663300;
3583    dashes: 3,3;
3584}
3585way[aerialway=goods] {
3586    width: 1;
3587    color: aerialway#663300;
3588    dashes: 2,2;
3589}
3590area[aerialway=station] {
3591    fill-color: aerialway#663300;
3592}
3593node[aerialway=station] {
3594    icon-image: "transport/aerialway/station.png";
3595    set icon_z17;
3596}
3597node[aerialway=pylon] {
3598    icon-image: "transport/aerialway/pylon.svg";
3599    set icon_z17;
3600}
3601node[aerialway=cable_car],
3602node[aerialway=gondola],
3603node[aerialway=chair_lift],
3604node[aerialway=mixed_lift],
3605node[aerialway=drag_lift],
3606node[aerialway=t-bar],
3607node[aerialway=j-bar],
3608node[aerialway=platter],
3609node[aerialway=magic_carpet],
3610node[aerialway=rope_tow],
3611node[aerialway=goods] {
3612    icon-image: "misc/deprecated.png";
3613    set icon_z17;
3614}
3615
3616/*************************/
3617/* public_transport tags */
3618/*************************/
3619
3620node[highway=bus_stop] {
3621    icon-image: "transport/bus_small.png";
3622    set icon_z17;
3623}
3624node[public_transport=stop_position] {
3625    icon-image: "transport/railway_small.png";
3626    set icon_z17;
3627}
3628node[public_transport=stop_position][bus=yes] {
3629    icon-image: "transport/bus.svg";
3630    set icon_z17;
3631}
3632node[public_transport=stop_position][train=yes] {
3633    icon-image: "transport/train.svg";
3634    set icon_z17;
3635}
3636node[public_transport=stop_position][tram=yes] {
3637    icon-image: "transport/railway/tram.svg";
3638    set icon_z17;
3639}
3640node[public_transport=stop_position][subway=yes] {
3641    icon-image: "transport/railway/subway.svg";
3642    set icon_z17;
3643}
3644node[public_transport=stop_position][monorail=yes] {
3645    icon-image: "transport/railway/monorail.svg";
3646    set icon_z17;
3647}
3648node[public_transport=stop_position][trolleybus=yes] {
3649    icon-image: "transport/trolleybus.svg";
3650    set icon_z17;
3651}
3652node[public_transport=stop_position][aerialway=yes] {
3653    icon-image: "transport/aerialway/station.png";
3654    set icon_z17;
3655}
3656node[public_transport=stop_position][ferry=yes] {
3657    icon-image: "nautical/ferry.svg";
3658    set icon_z17;
3659}
3660area[public_transport=platform]:closed {
3661    fill-color: service#809bc0;
3662}
3663way[public_transport=platform]!:closed {
3664    width: 3;
3665    color: service#809bc0;
3666    dashes: 12,3;
3667}
3668node[public_transport=platform] {
3669    icon-image: "transport/platform.svg";
3670    set icon_z17;
3671}
3672area[public_transport=station] {
3673    fill-color: railwaypoint#f7efb7;
3674}
3675node[public_transport=station] {
3676    icon-image: "transport/station.svg";
3677    set icon_z17;
3678}
3679
3680/**************/
3681/* sport tags */
3682/**************/
3683
3684area[sport="9pin"],
3685area[sport="10pin"],
3686area[sport=athletics],
3687area[sport=running],
3688area[sport=soccer],
3689area[sport=australian_football],
3690area[sport=american_football],
3691area[sport=canadian_football],
3692area[sport=gaelic_games],
3693area[sport=rugby_league],
3694area[sport=rugby_union] {
3695    fill-color: sport#bde3cb;
3696}
3697node[sport="9pin"] {
3698    icon-image: "sport/10pin.png";
3699    set icon_z17;
3700}
3701node[sport="10pin"] {
3702    icon-image: "sport/10pin.png";
3703    set icon_z17;
3704}
3705node[sport=athletics] {
3706    icon-image: "sport/athletics.png";
3707    set icon_z17;
3708}
3709node[sport=running] {
3710    icon-image: "sport/running.svg";
3711    set icon_z17;
3712}
3713node[sport=soccer],
3714node[sport=gaelic_games] {
3715    icon-image: "sport/soccer.png";
3716    set icon_z17;
3717}
3718node[sport=australian_football],
3719node[sport=american_football],
3720node[sport=canadian_football],
3721node[sport=rugby_league],
3722node[sport=rugby_union] {
3723    icon-image: "sport/football.png";
3724    set icon_z17;
3725}
3726area[sport=baseball],
3727area[sport=basketball],
3728area[sport=boules],
3729area[sport=bowls],
3730area[sport=canoe],
3731area[sport=chess],
3732area[sport=climbing]:closed,
3733area[sport=cricket],
3734area[sport=croquet] {
3735    fill-color: sport#bde3cb;
3736}
3737node[sport=baseball] {
3738    icon-image: "sport/baseball.png";
3739    set icon_z17;
3740}
3741node[sport=basketball] {
3742    icon-image: "sport/basketball.png";
3743    set icon_z17;
3744}
3745node[sport=boules] {
3746    icon-image: "sport/boule.png";
3747    set icon_z17;
3748}
3749node[sport=bowls] {
3750    icon-image: "sport/boule.png";
3751    set icon_z17;
3752}
3753node[sport=canoe] {
3754    icon-image: "sport/canoe.svg";
3755    set icon_z17;
3756}
3757node[sport=chess] {
3758    icon-image: "sport/chess.png";
3759    set icon_z17;
3760}
3761node[sport=climbing] {
3762    icon-image: "sport/climbing.png";
3763    set icon_z17;
3764}
3765node[sport=cricket] {
3766    icon-image: "sport/cricket.png";
3767    set icon_z17;
3768}
3769node[sport=croquet] {
3770    icon-image: "sport/croquet.png";
3771    set icon_z17;
3772}
3773area[sport=cycling],
3774area[sport=dog_racing],
3775area[sport=equestrian],
3776area[sport=golf],
3777area[sport=gymnastics],
3778area[sport=field_hockey],
3779area[sport=ice_hockey],
3780area[sport=horse_racing],
3781area[sport=karting][highway!=raceway],
3782area[sport=karting][highway=raceway][area=yes],
3783area[sport=motocross][highway!=raceway],
3784area[sport=motocross][highway=raceway][area=yes],
3785area[sport=motor][highway!=raceway],
3786area[sport=motor][highway=raceway][area=yes] {
3787    fill-color: sport#bde3cb;
3788}
3789node[sport=cycling] {
3790    icon-image: "sport/cycling.png";
3791    set icon_z17;
3792}
3793node[sport=dog_racing] {
3794    icon-image: "leisure/dog.png";
3795    set icon_z17;
3796}
3797node[sport=equestrian] {
3798    icon-image: "presets/equestrian.png";
3799    icon-width: 16;
3800    set icon_z17;
3801}
3802node[sport=golf] {
3803    icon-image: "sport/golf.svg";
3804    set icon_z17;
3805}
3806node[sport=gymnastics] {
3807    icon-image: "presets/gymnastics.png";
3808    icon-width: 16;
3809    set icon_z17;
3810}
3811node[sport=field_hockey] {
3812    icon-image: "sport/field_hockey.png";
3813    set icon_z17;
3814}
3815node[sport=ice_hockey] {
3816    icon-image: "sport/ice_hockey.png";
3817    set icon_z17;
3818}
3819node[sport=horse_racing] {
3820    icon-image: "sport/riding.png";
3821    set icon_z17;
3822}
3823node[sport=karting] {
3824    icon-image: "sport/karting.png";
3825    set icon_z17;
3826}
3827node[sport=motocross] {
3828    icon-image: "sport/motocross.png";
3829    set icon_z17;
3830}
3831node[sport=motor] {
3832    icon-image: "sport/motor.png";
3833    set icon_z17;
3834}
3835area[sport=multi],
3836area[sport=pelota],
3837area[sport=racquet],
3838area[sport=ice_skating],
3839area[sport=roller_skating],
3840area[sport=skateboard] {
3841    fill-color: sport#bde3cb;
3842}
3843node[sport=multi] {
3844    icon-image: "sport/multi.png";
3845    set icon_z17;
3846}
3847node[sport=pelota] {
3848    icon-image: "sport/pelota.png";
3849    set icon_z17;
3850}
3851node[sport=racquet] {
3852    icon-image: "sport/racquetball.png";
3853    set icon_z17;
3854}
3855node[sport=ice_skating] {
3856    icon-image: "sport/skating.png";
3857    set icon_z17;
3858}
3859node[sport=roller_skating] {
3860    icon-image: "sport/roller_skating.svg";
3861    set icon_z17;
3862}
3863node[sport=skating] {
3864    icon-image: "misc/deprecated.png";
3865    set icon_z17;
3866}
3867node[sport=skateboard] {
3868    icon-image: "sport/skateboard.png";
3869    set icon_z17;
3870}
3871area[sport=swimming] {
3872    fill-color: swimming_pool#51c4ef;
3873}
3874node[sport=swimming] {
3875    icon-image: "sport/pool.png";
3876    set icon_z17;
3877}
3878area[sport=table_tennis],
3879area[sport=tennis],
3880area[sport=paintball] {
3881    fill-color: sport#bde3cb;
3882}
3883node[sport=table_tennis] {
3884    icon-image: "sport/table_tennis.png";
3885    set icon_z17;
3886}
3887node[sport=tennis] {
3888    icon-image: "sport/tennis.png";
3889    set icon_z17;
3890}
3891node[sport=paintball][!is_prop_set(icon-image)] {
3892    icon-image: "misc/no_icon.png";
3893    set icon_z17;
3894}
3895area[sport=squash],
3896area[sport=shooting],
3897area[sport=volleyball],
3898area[sport=beachvolleyball],
3899area[sport=billiards],
3900area[sport=bowling],
3901area[sport=handball],
3902area[sport=rowing],
3903area[sport=sailing],
3904area[sport=scuba_diving],
3905area[sport=badminton] {
3906    fill-color: sport#bde3cb;
3907}
3908node[sport=squash][!is_prop_set(icon-image)] {
3909    icon-image: "misc/no_icon.png";
3910    set icon_z17;
3911}
3912node[sport=shooting] {
3913    icon-image: "presets/range.png";
3914    icon-width: 16;
3915    set icon_z17;
3916}
3917node[sport=volleyball] {
3918    icon-image: "sport/volleyball.png";
3919    set icon_z17;
3920}
3921node[sport=beachvolleyball] {
3922    icon-image: "sport/beachvolleyball.png";
3923    set icon_z17;
3924}
3925node[sport=billiards] {
3926    icon-image: "sport/billiards.svg";
3927    set icon_z17;
3928}
3929node[sport=bowling] {
3930    icon-image: "sport/10pin.png";
3931    set icon_z17;
3932}
3933node[sport=handball] {
3934    icon-image: "sport/handball.png";
3935    set icon_z17;
3936}
3937node[sport=rowing] {
3938    icon-image: "sport/rowing.png";
3939    set icon_z17;
3940}
3941node[sport=sailing][!is_prop_set(icon-image)] {
3942    icon-image: "misc/no_icon.png";
3943    set icon_z17;
3944}
3945node[sport=scuba_diving] {
3946    icon-image: "sport/scuba_diving.svg";
3947    set icon_z17;
3948}
3949node[sport=badminton][!is_prop_set(icon-image)] {
3950    icon-image: "misc/no_icon.png";
3951    set icon_z17;
3952}
3953area[sport=archery],
3954area[sport=fishing],
3955area[sport=model_aerodrome],
3956area[sport=rc_car] {
3957    fill-color: sport#bde3cb;
3958}
3959node[sport=archery] {
3960    icon-image: "sport/archery.png";
3961    set icon_z17;
3962}
3963node[sport=fishing] {
3964    icon-image: "sport/fishing.png";
3965    set icon_z17;
3966}
3967node[sport=model_aerodrome] {
3968    icon-image: "transport/airport.png";
3969    set icon_z17;
3970}
3971node[sport=rc_car] {
3972    icon-image: "transport/car.png";
3973    set icon_z17;
3974}
3975
3976/****************/
3977/* natural tags */
3978/****************/
3979
3980area[natural=spring] {
3981    fill-color: light_water#00005f;
3982}
3983node[natural=spring] {
3984    icon-image: "misc/landmark/spring.svg";
3985    set icon_z17;
3986}
3987node[natural=saddle] {
3988    icon-image: "presets/saddle.svg";
3989    set icon_z0;
3990    set text_z0;
3991}
3992node[natural=peak] {
3993    icon-image: "presets/peak.svg";
3994    set icon_z0;
3995    set text_z0;
3996}
3997node[natural=peak][tourism=viewpoint] {
3998    icon-image: "sightseeing/peak_viewpoint.svg";
3999    set icon_z0;
4000    set text_z0;
4001}
4002area[natural=glacier] {
4003    fill-color: glacier#ffffff;
4004}
4005node[natural=volcano] {
4006    icon-image: "misc/landmark/volcano_small.png";
4007    set icon_z0;
4008    set text_z0;
4009}
4010area[natural=cliff]:closed {
4011    fill-color: natural#002f00;
4012}
4013way[natural=cliff] {
4014    repeat-image: "misc/cliff-pattern.png";
4015    repeat-image-align: top;
4016    width: 1;
4017    color: #b2b2b2;
4018}
4019node[natural=cliff] {
4020    icon-image: "misc/cliff.svg";
4021    set icon_z17;
4022}
4023way[natural=ridge] {
4024    width: 1;
4025    color: natural#002f00;
4026}
4027way[natural=valley] {
4028    width: 1;
4029    color: natural#002f00;
4030}
4031area[natural=scree] {
4032    fill-color: natural#002f00;
4033}
4034area[natural=scrub] {
4035    fill-color: scrub#007000;
4036}
4037area[natural=fell] {
4038    fill-color: natural#002f00;
4039}
4040area[natural=heath] {
4041    fill-color: heath#ffffc0;
4042}
4043way[natural=tree_row] {
4044    width: 2;
4045    color: woodarea#008000;
4046}
4047area[natural=wood] {
4048    fill-color: woodarea#008000;
4049}
4050area[natural=grassland] {
4051    fill-color: green#b1e0c2;
4052}
4053area[natural=wetland] {
4054    fill-color: marsh#4f4ff3;
4055}
4056area[natural=water] {
4057    fill-color: water#0000ff;
4058}
4059area[natural=water][intermittent=yes] {
4060    width: 2;
4061    dashes: 15, 5;
4062}
4063way[natural=coastline] {
4064    width: 2;
4065    color: water#0000ff;
4066    right-casing-color: water#0000ff;
4067    right-casing-width: 5;
4068    right-casing-opacity: 0.30;
4069}
4070area[natural=mud] {
4071    fill-color: mud#cba762;
4072}
4073area[natural=beach] {
4074    fill-color: beach#f8dba2;
4075}
4076area[natural=sand] {
4077    fill-color: sand#f8dba2;
4078}
4079area[natural=bare_rock] {
4080    fill-color: bare_rock#f8f8c7;
4081}
4082area[natural=rock] {
4083    fill-color: stone#f8f8c7;
4084}
4085node[natural=rock] {
4086    icon-image: "misc/rock.svg";
4087    set icon_z17;
4088}
4089area[natural=stone] {
4090    fill-color: stone#f8f8c7;
4091}
4092node[natural=stone] {
4093    icon-image: "misc/stone.svg";
4094    set icon_z17;
4095}
4096area[natural=bay],
4097area[natural=cave_entrance] {
4098    fill-color: natural#002f00;
4099}
4100node[natural=bay] {
4101    icon-image: "nautical/bay.svg";
4102    set icon_z17;
4103}
4104node[natural=cave_entrance] {
4105    icon-image: "misc/landmark/cave_entrance.png";
4106    set icon_z17;
4107}
4108node[natural=tree] {
4109    icon-image: "misc/landmark/trees.png";
4110    set icon_z17;
4111}
4112node[natural=tree][type=conifer],
4113node[natural=tree][leaf_type=needleleaved] {
4114    icon-image: "misc/landmark/trees_conifer.png";
4115    set icon_z17;
4116}
4117node[natural=tree][type=broad_leaved],
4118node[natural=tree][leaf_type=broadleaved] {
4119    icon-image: "misc/landmark/trees_broad_leaved.png";
4120    set icon_z17;
4121}
4122node[natural=tree][type=palm] {
4123    icon-image: "misc/landmark/trees_palm.png";
4124    set icon_z17;
4125}
4126node[natural=glacier],
4127node[natural=scree],
4128node[natural=scrub],
4129node[natural=fell],
4130node[natural=heath],
4131node[natural=tree_row],
4132node[natural=wood],
4133node[natural=grassland],
4134node[natural=wetland],
4135node[natural=water],
4136node[natural=coastline],
4137node[natural=mud],
4138node[natural=beach],
4139node[natural=sand],
4140node[natural=land],
4141node[natural=bare_rock],
4142node[natural=ridge],
4143node[natural=valley] {
4144    icon-image: "misc/deprecated.png";
4145    set icon_z17;
4146}
4147/*****************/
4148/* waterway tags */
4149/*****************/
4150
4151way[waterway=river] {
4152    width: 2;
4153    color: water#0000ff;
4154}
4155area[waterway=riverbank] {
4156    fill-color: riverbank#0000cf;
4157    width: 1;
4158    color: riverbank#0000cf;
4159}
4160way[waterway=canal] {
4161    width: 2;
4162    color: water#0000ff;
4163}
4164way[waterway=stream] {
4165    width: 1;
4166    color: stream#6600cc;
4167}
4168way[waterway=ditch],
4169way[waterway=drain] {
4170    width: 1;
4171    color: water#0000ff;
4172}
4173way[waterway=river][intermittent=yes],
4174area[waterway=riverbank][intermittent=yes],
4175way[waterway=canal][intermittent=yes],
4176way[waterway=stream][intermittent=yes],
4177way[waterway=ditch][intermittent=yes],
4178way[waterway=drain][intermittent=yes] {
4179    dashes: 15, 5;
4180}
4181area[waterway=dock] {
4182    fill-color: dock#0000cf;
4183}
4184node[waterway=dock] {
4185    icon-image: "nautical/boatyard.png";
4186    set icon_z17;
4187}
4188node[waterway=lock_gate] {
4189    icon-image: "nautical/lock_gate.png";
4190    set icon_z17;
4191}
4192node[waterway=turning_point] {
4193    icon-image: "nautical/turning.png";
4194    set icon_z17;
4195}
4196area[waterway=boatyard] {
4197    fill-color: manmade#d8d8d8;
4198}
4199node[waterway=boatyard] {
4200    icon-image: "nautical/boatyard.png";
4201    set icon_z17;
4202}
4203node[waterway=water_point],
4204node[waterway=waste_disposal],
4205node[waterway=mooring] {
4206    icon-image: "misc/deprecated.png";
4207    set icon_z17;
4208}
4209node[mooring] {
4210    icon-image: "nautical/marina.png";
4211    set icon_z17;
4212}
4213area[waterway=fuel] {
4214    fill-color: amenity_traffic#f7efb7;
4215}
4216node[waterway=fuel] {
4217    icon-image: "nautical/marine_fuel.png";
4218    icon-width: 16;
4219    set icon_z17;
4220}
4221way[waterway=weir] {
4222    width: 2;
4223    color: manmade#d8d8d8;
4224}
4225node[waterway=weir] {
4226    icon-image: "nautical/weir.svg";
4227    set icon_z17;
4228}
4229area[waterway=dam]:closed {
4230    fill-color: manmade#d8d8d8;
4231}
4232way[waterway=dam] {
4233    width: 2;
4234    color: manmade#d8d8d8;
4235}
4236node[waterway=dam] {
4237    icon-image: "nautical/dam.svg";
4238    set icon_z17;
4239}
4240/* it's not possible to have both line and area, line seems more likely */
4241way[waterway=waterfall] {
4242    width: 2;
4243    color: manmade#d8d8d8;
4244}
4245node[waterway=waterfall] {
4246    icon-image: "nautical/waterfall.svg";
4247    set icon_z17;
4248}
4249node[waterway=river], node[waterway=riverbank],
4250node[waterway=canal], node[waterway=wadi],
4251node[waterway=stream],
4252node[waterway=ditch], node[waterway=drain] {
4253    icon-image: "misc/deprecated.png";
4254    set icon_z17;
4255}
4256
4257/**************/
4258/* route tags */
4259/**************/
4260
4261way[route=ferry] {
4262    width: 1;
4263    color: ferry#809bc0;
4264    dashes: 9,9;
4265}
4266node[route=bus],
4267node[route=ferry],
4268node[route=flight],
4269node[route=ncn],
4270node[route=subsea],
4271node[route=ski],
4272node[route=tour],
4273node[route=pub_crawl] {
4274    icon-image: "misc/deprecated.png";
4275    set icon_z17;
4276}
4277
4278/*******************/
4279/* properties tags */
4280/*******************/
4281
4282node[mountain_pass?] {
4283    icon-image: "misc/landmark/mountain_pass.svg";
4284    set icon_z0;
4285    set text_z0;
4286}
4287
4288/*****************/
4289/* boundary tags */
4290/*****************/
4291
4292way[boundary=protected_area]::core_boundary,
4293way[boundary=administrative]::core_boundary,
4294way[boundary=postal_code]::core_boundary,
4295way[boundary=political]::core_boundary,
4296way[boundary=maritime]::core_boundary,
4297way[boundary=national_park]::core_boundary {
4298    z-index: 2;
4299    modifier: false;
4300    width: 1;
4301    color: boundary#FF6600;
4302    dashes: 9,9;
4303}
4304way[admin_level=9]::core_boundary,
4305relation[admin_level=9] > way::core_boundary,
4306way[admin_level=10]::core_boundary,
4307relation[admin_level=10] > way::core_boundary {
4308    z-index: 2;
4309    modifier: false;
4310    width: 1;
4311    color: boundary#FF6600;
4312    dashes: 9,9;
4313}
4314way[admin_level=7]::core_boundary,
4315relation[admin_level=7] > way::core_boundary,
4316way[admin_level=8]::core_boundary,
4317relation[admin_level=8] > way::core_boundary {
4318    z-index: 2;
4319    modifier: false;
4320    width: 2;
4321    color: boundary#FF6600;
4322    dashes: 9,9;
4323}
4324way[admin_level=5]::core_boundary,
4325relation[admin_level=5] > way::core_boundary,
4326way[admin_level=6]::core_boundary,
4327relation[admin_level=6] > way::core_boundary {
4328    z-index: 2;
4329    modifier: false;
4330    width: 3;
4331    color: boundary#FF6600;
4332    dashes: 9,9;
4333}
4334way[admin_level=3]::core_boundary,
4335relation[admin_level=3] > way::core_boundary,
4336way[admin_level=4]::core_boundary,
4337relation[admin_level=4] > way::core_boundary {
4338    z-index: 2;
4339    modifier: false;
4340    width: 4;
4341    color: boundary#FF6600;
4342    dashes: 9,9;
4343}
4344way[admin_level=1]::core_boundary,
4345relation[admin_level=1] > way::core_boundary,
4346way[admin_level=2]::core_boundary,
4347relation[admin_level=2] > way::core_boundary {
4348    z-index: 2;
4349    modifier: false;
4350    width: 5;
4351    color: boundary#FF6600;
4352    dashes: 9,9;
4353}
4354node[boundary=national],
4355node[boundary=administrative],
4356node[boundary=postal_code],
4357node[boundary=political],
4358node[boundary=national_park] {
4359    icon-image: "misc/deprecated.png";
4360    set icon_z17;
4361}
4362
4363/******************/
4364/* maxspeed nodes */
4365/******************/
4366node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4367    icon-image: "vehicle/restriction/maxspeed_none.svg";
4368    set icon_z17;
4369}
4370node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4371    maxspeedprop: tag(maxspeed);
4372    set maxspeedclass;
4373}
4374node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4375    maxspeedprop: " ?";
4376    set maxspeedclass;
4377}
4378node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4379    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4380    set maxspeedclass;
4381}
4382node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4383    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4384    set maxspeedclass;
4385}
4386node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4387    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4388    set maxspeedclass;
4389}
4390node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4391    /* background (white) */
4392    symbol-shape: circle;
4393    symbol-size: 17;
4394    symbol-fill-color: white;
4395    major-z-index: 4.2;
4396}
4397node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4398node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4399    /* background (black) */
4400    symbol-fill-color: black;
4401}
4402node[prop(maxspeedclass, default)]::core_maxnodefg {
4403    /* foreground (black text and red circle) */
4404    symbol-shape: circle;
4405    symbol-size: 15;
4406    symbol-stroke-color: crimson;
4407    symbol-stroke-width: 2;
4408    text: prop(maxspeedprop, default);
4409    font-size: 8;
4410    font-weight: bold;
4411    text-color: black;
4412    text-anchor-horizontal: center;
4413    text-anchor-vertical: center;
4414    text-offset-x: 0;
4415    text-offset-y: -1;
4416    major-z-index: 4.2;
4417}
4418node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4419node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4420    /* foreground (white text) */
4421    text-color: white;
4422}
4423node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4424    symbol-shape: none;
4425}
4426node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4427    text: none;
4428    symbol-shape: none;
4429}
4430
4431/**************/
4432/* place tags */
4433/**************/
4434
4435area[setting("place_fill_colour")][place=continent],
4436area[setting("place_fill_colour")][place=country],
4437area[setting("place_fill_colour")][place=state],
4438area[setting("place_fill_colour")][place=region],
4439area[setting("place_fill_colour")][place=county],
4440area[setting("place_fill_colour")][place=city],
4441area[setting("place_fill_colour")][place=town],
4442area[setting("place_fill_colour")][place=village],
4443area[setting("place_fill_colour")][place=hamlet],
4444area[setting("place_fill_colour")][place=farm],
4445area[setting("place_fill_colour")][place=isolated_dwelling],
4446area[setting("place_fill_colour")][place=neighbourhood],
4447area[setting("place_fill_colour")][place=suburb],
4448area[setting("place_fill_colour")][place=locality],
4449area[setting("place_fill_colour")][place=island],
4450area[setting("place_fill_colour")][place=islet] {
4451    fill-color: place#8de3cb;
4452    set place;
4453}
4454node[place=continent],
4455node[place=country],
4456node[place=state],
4457node[place=region],
4458node[place=county],
4459node[place=city],
4460node[place=town],
4461node[place=suburb],
4462node[place=village],
4463node[place=neighbourhood],
4464node[place=hamlet],
4465node[place=isolated_dwelling],
4466node[place=farm],
4467node[place=island],
4468node[place=islet] {
4469    set icon_z0;
4470    set text_z0;
4471    font-weight: bold;
4472    text-color:black;
4473    text-halo-color: white;
4474    text-halo-radius: 1;
4475    set place;
4476}
4477
4478node[place=continent],
4479node[place=country],
4480node[place=state],
4481node[place=region],
4482node[place=county] {
4483    icon-image: "place/settlement/capital.png";
4484    z-index: 2.9;
4485}
4486node[place=city] {
4487    icon-image: "place/settlement/city.png";
4488    z-index: 2.8;
4489}
4490node[place=town] {
4491    icon-image: "place/settlement/town.png";
4492    z-index: 2.7;
4493}
4494node[place=suburb] {
4495    icon-image: "place/settlement/suburb.png";
4496    z-index: 2.6;
4497}
4498node[place=village] {
4499    icon-image: "place/settlement/village.png";
4500    z-index: 2.5;
4501}
4502node[place=neighbourhood] {
4503    icon-image: "place/settlement/neighbourhood.png";
4504    z-index: 2.4;
4505}
4506node[place=hamlet] {
4507    icon-image: "place/settlement/hamlet.png";
4508    z-index: 2.3;
4509}
4510node[place=isolated_dwelling] {
4511    icon-image: "place/settlement/isolated_dwelling.png";
4512    z-index: 2.2;
4513}
4514node[place=farm] {
4515    icon-image: "place/settlement/farm.png";
4516    z-index: 2.1;
4517}
4518node|z15-[place=locality],
4519node|z-14[place=locality][!setting("hide_icons")] {
4520    icon-image: "place/locality.png";
4521    font-weight: bold;
4522    text-color:black;
4523    text-halo-color: white;
4524    text-halo-radius: 1;
4525}
4526node[place=island] {
4527    icon-image: "place/island.png";
4528}
4529node[place=islet] {
4530    icon-image: "place/islet.png";
4531}
4532
4533/***************************/
4534/* "work in progress" tags */
4535/***************************/
4536
4537node|z16-[fixme]::core_note_fixme,
4538node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4539node|z16-[FIXME]::core_note_fixme,
4540node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4541    object-z-index: 10;
4542    icon-image: "misc/fixme-annotation.png";
4543}
4544node|z16-[note]::core_note_fixme,
4545node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4546    object-z-index: 10;
4547    icon-image: "misc/note-annotation.png";
4548}
4549node|z16-[note][fixme]::core_note_fixme,
4550node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4551node|z16-[note][FIXME]::core_note_fixme,
4552node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4553    icon-image: "misc/note-fixme-annotation.png";
4554}
4555
4556/* special display of unreviewed tiger data (USA) */
4557way["tiger:reviewed"=no]::core_tiger {
4558    major-z-index: -10;
4559    width: 11;
4560    color: tiger_data#808000;
4561    opacity: 0.6;
4562}
4563
4564/****************************************/
4565/* zoom levels and general node display */
4566/****************************************/
4567
4568/*
4569Summary of different zoom levels:
4570  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4571  |z-15         untagged way nodes are hidden completely
4572  |z15          place=locality icon
4573  |z16-         fixme=* and note=* symbols; place=locality text
4574  |z17-         normal POI icons (without text),
4575                street name along highway=* ways
4576  |z18-         text for normal POI icons is shown
4577 
4578 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
4579 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4580
4581*/
4582
4583node|z-16[setting("hide_icons")],
4584node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4585node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4586    symbol-size: 2;
4587    symbol-shape: square;
4588    symbol-stroke-color: node_standard#ffff00;
4589    major-z-index: 4.95; /* put node squares above line text */
4590}
4591way > node|z-15[setting("shrink_nodes")]!:tagged {
4592    symbol-shape: none;
4593}
4594node:connection {
4595    symbol-stroke-color: node_connection#ffff00;
4596}
4597node:tagged {
4598    symbol-stroke-color: none;
4599    symbol-fill-color: node_tagged#00ffff;
4600}
4601
4602way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4603
4604node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4605way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4606node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4607
4608node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4609way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4610node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4611
4612node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4613way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4614node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4615
4616node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4617way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4618node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4619
4620node:selected {
4621    symbol-shape: square;
4622    symbol-size: 6;
4623    symbol-fill-color: node_selected#ff0000;
4624    symbol-stroke-color: node_selected#ff0000;
4625}
4626
4627node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4628relation|z-16[type=restriction][setting("hide_icons")] {
4629    icon-image: none;
4630}
4631node|z-17[setting("hide_icons")]!.text_z0 {
4632    text: none;
4633}
4634node|z16-17[setting("hide_icons")][place=locality] {
4635    text: auto;
4636}
4637
4638node|z-18,area|z-18 { font-size: 8; }
4639node|z19,area|z19   { font-size: 9; }
4640node|z20-,area|z20- { font-size: 11; }
4641
4642node.place, way.place, area.place { font-size: 11; }
4643
4644
4645/*******************/
4646/* way text labels */
4647/*******************/
4648
4649way|z17-[highway^=motorway][setting("highway_labels")],
4650way|z17-[highway^=trunk][setting("highway_labels")],
4651way|z17-[highway^=primary][setting("highway_labels")],
4652way|z17-[highway^=secondary][setting("highway_labels")],
4653way|z17-[highway^=tertiary][setting("highway_labels")],
4654way|z17-[highway=unclassified][setting("highway_labels")],
4655way|z17-[highway=residential][setting("highway_labels")],
4656way|z17-[highway=living_street][setting("highway_labels")],
4657way|z17-[highway=escape][setting("highway_labels")],
4658way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4659way|z17-[highway=steps][setting("highway_labels")],
4660way|z17-[highway=footway][setting("highway_labels")],
4661way|z17-[highway=path][setting("highway_labels")],
4662way|z17-[highway=service][setting("highway_labels")],
4663way|z17-[highway=track][setting("highway_labels")],
4664way|z17-[highway=cycleway][setting("highway_labels")],
4665way|z17-[highway=bridleway][setting("highway_labels")],
4666way|z17-[highway=bus_guideway][setting("highway_labels")],
4667way|z17-[highway=raceway][setting("highway_labels")],
4668way|z17-[highway=construction][setting("highway_labels")],
4669way|z17-[highway=road][setting("highway_labels")] {
4670    text: auto;
4671    text-color: black;
4672    font-size: 9;
4673    text-position: line;
4674    text-halo-opacity: 1;
4675    text-halo-radius: 1.5;
4676}
4677way|z17-[highway^=motorway][setting("highway_labels")] {
4678    text-halo-color: motorway#809bc0;
4679}
4680way|z17-[highway^=trunk][setting("highway_labels")] {
4681    text-halo-color: trunk#7fc97f;
4682}
4683way|z17-[highway^=primary][setting("highway_labels")] {
4684    text-halo-color: primary#fb805f;
4685}
4686way|z17-[highway^=secondary][setting("highway_labels")] {
4687    text-halo-color: secondary#fdbf6f;
4688}
4689way|z17-[highway^=tertiary][setting("highway_labels")] {
4690    text-halo-color: tertiary#f7f496;
4691}
4692way|z17-[highway=unclassified][setting("highway_labels")],
4693way|z17-[highway=residential][setting("highway_labels")],
4694way|z17-[highway=living_street][setting("highway_labels")],
4695way|z17-[highway=escape][setting("highway_labels")] {
4696    text-halo-color: street#c0c0c0;
4697}
4698way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4699way|z17-[highway=steps][setting("highway_labels")],
4700way|z17-[highway=footway][setting("highway_labels")],
4701way|z17-[highway=path][setting("highway_labels")] {
4702    text-halo-color: foot#00ff00;
4703}
4704way|z17-[highway=service][setting("highway_labels")] {
4705    text-halo-color: service#809bc0;
4706}
4707way|z17-[highway=track][setting("highway_labels")] {
4708    text-halo-color: highway_track#6e541c;
4709}
4710way|z17-[highway=cycleway][setting("highway_labels")],
4711way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4712    text-halo-color: bicycle#b100ff;
4713}
4714way|z17-[highway=bridleway][setting("highway_labels")] {
4715    text-halo-color: horse#a18559;
4716}
4717way|z17-[highway=bus_guideway][setting("highway_labels")] {
4718    text-halo-color: rail#404040;
4719}
4720way|z17-[highway=raceway][setting("highway_labels")] {
4721    text-halo-color: raceway#ff80ff;
4722}
4723way|z17-[highway=construction][setting("highway_labels")] {
4724    text-halo-color: construction#ffff00;
4725}
4726way|z17-[highway=road][setting("highway_labels")] {
4727    text-halo-color: highway_road#770000;
4728}
4729way|z17-[highway][railway=platform][setting("highway_labels")] {
4730    text-halo-color: rail#404040;
4731}
4732way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4733    text-halo-color: service#809bc0;
4734}
4735way|z18[highway][setting("highway_labels")] {
4736    font-size: 10;
4737}
4738way|z19[highway][setting("highway_labels")] {
4739    font-size: 11;
4740}
4741way|z20-[highway][setting("highway_labels")] {
4742    font-size: 12;
4743}
4744
4745/*************/
4746/* Area fill */
4747/*************/
4748
4749/* small extent for unclosed area (see below for closed) */
4750area[setting("partial_fill")] {
4751    fill-extent: 15;
4752}
4753
4754/* Turn partial fill off and use plain fill, when the partial fill covers about
4755   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4756   Switching between full and partial fill while drawing an area might be irritating,
4757   so only do this at low zoom. */
4758area|z-13[setting("partial_fill")] {
4759    fill-extent-threshold: 1.0;
4760}
4761
4762/* Larger extent for closed areas.
4763   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4764   areas with small unfilled patches in the center. */
4765area[setting("partial_fill")]:closed2 {
4766    fill-extent: 25;
4767    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4768}
4769
Note: See TracBrowser for help on using the repository browser.