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

Last change on this file since 9433 was 9433, checked in by Klumbumbus, 8 years ago

see #12297 - add power=portal, power=insulator and building=transformer_tower to preset and mappaint style

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