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

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

see #10684 - use svg logo for scaling in toolbar (since r9251)

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