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

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

fix #12232 - Add new railway and way icons, by zermes (CC0/PD), icons see [o31936]; drop steps mappaint icon

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