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

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

see #12386 - remove support of power=transformer on ways and add validator warning. add validator info for some power features without voltage, adjust presets, integrate separate power.mapcss in combinations.mapcss

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