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

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

display name and ref at highway=motorway_junction nodes

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