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

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

fix #11984 - add emergency preset group, move some items there and add some (modified patch by Yarl); icons see [o31999] and [o32000]

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