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

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

fix #12973 - fix intermittent-dashes for natural=water and waterway=riverbank multipolygons; see #9182 - adjust negative layer warning messages; remove unnecessary spaces

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