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

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

see #12297 - add new power icons (by zermes), move old icons to nodist folder; see also [o31980]; fix cable_distribution_cabinet link

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