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

Last change on this file since 10091 was 10091, checked in by Klumbumbus, 4 years ago

fix #11705 - display rails with service=spur|yard|siding|crossover with shorter dashes

  • Property svn:eol-style set to native
File size: 111.1 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=crossover],
3392way[railway=rail][service=siding] {
3393    width: 1;
3394}
3395way[railway=rail][service=yard],
3396way[railway=rail][service=spur] {
3397    width: 1;
3398    color: railyard#552200;
3399}
3400/* draw tram on top of other way (highway=*) or
3401   as a standalone style */
3402way[highway][railway=tram]::core_railway,
3403way[!highway][railway=tram] {
3404    object-z-index: 1;
3405    modifier: false; /* don't draw default way if there is no line on default layer */
3406    width: 1;
3407    color: railover#202020;
3408    dashes: 9,9;
3409    casing-width: 1;
3410    casing-color: otherrail#808080;
3411    casing-linecap: round;
3412    casing-dashes: 9,9;
3413}
3414way[highway][railway=tram][service=crossover]::core_railway,
3415way[!highway][railway=tram][service=crossover],
3416way[highway][railway=tram][service=siding]::core_railway,
3417way[!highway][railway=tram][service=siding],
3418way[highway][railway=tram][service=yard]::core_railway,
3419way[!highway][railway=tram][service=yard],
3420way[highway][railway=tram][service=spur]::core_railway,
3421way[!highway][railway=tram][service=spur] {
3422    dashes: 6,6;
3423    casing-dashes: 6,6;
3424}
3425
3426way[railway=light_rail] {
3427    width: 2;
3428    color: otherrail#808080;
3429    dashes: 9,9;
3430}
3431way[railway=subway] {
3432    width: 1;
3433    color: subway#606060;
3434    dashes: 9,9;
3435}
3436way[railway=preserved] {
3437    width: 1;
3438    color: oldrail#404040;
3439    dashes: 9,9;
3440}
3441way[railway=light_rail][service=crossover],
3442way[railway=light_rail][service=siding],
3443way[railway=light_rail][service=yard],
3444way[railway=light_rail][service=spur],
3445way[railway=subway][service=crossover],
3446way[railway=subway][service=siding],
3447way[railway=subway][service=yard],
3448way[railway=subway][service=spur],
3449way[railway=preserved][service=crossover],
3450way[railway=preserved][service=siding],
3451way[railway=preserved][service=yard],
3452way[railway=preserved][service=spur] {
3453    dashes: 6,6;
3454}
3455/* disused often appears together with highway=xy */
3456/* -> draw on separate layer with higher z-index, but use */
3457/* modifier: false; to suppress default line when used alone. */
3458/* use default layer when used without highway=* to display bridge correctly */
3459way[railway=disused][highway]::core_railway,
3460way[railway=disused][!highway],
3461way[railway=abandoned][highway]::core_railway,
3462way[railway=abandoned][!highway] {
3463    width: 1;
3464    modifier: false;
3465    z-index: 1;
3466    color: oldrail#404040;
3467    dashes: 9,9;
3468}
3469way[railway=narrow_gauge],
3470way[railway=monorail] {
3471    width: 1;
3472    color: rail#404040;
3473    dashes: 9,9;
3474}
3475way[railway=narrow_gauge][service=crossover],
3476way[railway=narrow_gauge][service=siding],
3477way[railway=narrow_gauge][service=yard],
3478way[railway=narrow_gauge][service=spur],
3479way[railway=monorail][service=crossover],
3480way[railway=monorail][service=siding],
3481way[railway=monorail][service=yard],
3482way[railway=monorail][service=spur] {
3483    dashes: 6,6;
3484}
3485area[railway=turntable] {
3486    fill-color: rail#404040;
3487}
3488node[railway=turntable] {
3489    icon-image: "transport/railway/turntable.svg";
3490    set icon_z17;
3491}
3492node[railway=buffer_stop] {
3493    icon-image: "transport/railway/buffer_stop.svg";
3494    set icon_z17;
3495}
3496area[railway=platform]:closed {
3497    fill-color: rail#404040;
3498}
3499way[railway=platform] {
3500    width: 2;
3501    color: rail#404040;
3502}
3503way[railway=funicular] {
3504    width: 1;
3505    color: rail#404040;
3506    dashes: 9,9;
3507}
3508node[railway=switch] {
3509    icon-image: "transport/railway/switch.svg";
3510    icon-width: 16;
3511    set icon_z17;
3512}
3513node[railway=signal] {
3514    icon-image: "transport/railway/signal.svg";
3515    set icon_z17;
3516}
3517node[railway=milestone] {
3518    icon-image: "transport/railway/milestone.svg";
3519    set icon_z17;
3520}
3521node[railway=rail], node[railway=tram], node[railway=light_rail],
3522node[railway=subway], node[railway=preserved],
3523node[railway=disused], node[railway=abandoned],
3524node[railway=narrow_gauge], node[railway=monorail],
3525node[railway=platform], node[railway=funicular],
3526node[service=yard], node[service=siding], node[service=spur] {
3527    icon-image: "misc/deprecated.png";
3528    set icon_z17;
3529}
3530way[railway=construction][!highway] {
3531    width: 1;
3532    color: construction#ffff00;
3533    dashes: 9,9;
3534}
3535way[railway=construction][construction=rail] {
3536    width: 2;
3537    color: rail#404040;
3538    dashes: 9,9;
3539    dashes-background-color: construction#ffff00;
3540}
3541way[railway=construction][construction=light_rail] {
3542    width: 2;
3543}
3544way[railway=construction][construction=tram][highway]::core_railway,
3545way[railway=construction][construction=tram][!highway] {
3546    z-index: 1;
3547    width: 1;
3548    color: railover#202020;
3549    dashes: 9,9;
3550    casing-width: 1;
3551    casing-color: construction#ffff00;
3552    casing-linecap: round;
3553    casing-dashes: 9,9;
3554}
3555
3556/****************/
3557/* aeroway tags */
3558/****************/
3559
3560area[aeroway=aerodrome] {
3561    fill-color: aeroway#660000;
3562    width: 2;
3563    dashes: 9,9;
3564}
3565node[aeroway=aerodrome][military!=airfield] {
3566    icon-image: "transport/airport.png";
3567    set icon_z17;
3568}
3569area[aeroway=terminal] {
3570    fill-color: terminal#bb0000;
3571}
3572node[aeroway=terminal] {
3573    icon-image: "transport/airport/terminal.png";
3574    set icon_z17;
3575}
3576area[aeroway=helipad] {
3577    fill-color: aeroway_dark#330000;
3578}
3579node[aeroway=helipad] {
3580    icon-image: "transport/airport/helipad.png";
3581    set icon_z17;
3582}
3583area[aeroway=runway]:closed {
3584    fill-color: aeroway_dark#330000;
3585}
3586way[aeroway=runway] {
3587    width: 3;
3588    color: aeroway_dark#330000;
3589}
3590area[aeroway=taxiway]:closed {
3591    fill-color: aeroway#660000;
3592}
3593way[aeroway=taxiway] {
3594    width: 2;
3595    color: aeroway#660000;
3596}
3597way[aeroway=parking_position] {
3598    width: 1;
3599    color: aeroway#660000;
3600}
3601node[aeroway=parking_position] {
3602    icon-image: "transport/airport/parking_position.png";
3603    set icon_z17;
3604}
3605area[aeroway=apron],
3606area[aeroway=hangar] {
3607    fill-color: aeroway_light#990000;
3608}
3609node[aeroway=apron],
3610node[aeroway=runway],
3611node[aeroway=taxiway] {
3612    icon-image: "misc/deprecated.png";
3613    set icon_z17;
3614}
3615node[aeroway=hangar] {
3616    icon-image: "transport/airport/hangar.png";
3617    set icon_z17;
3618}
3619node[aeroway=gate] {
3620    icon-image: "transport/airport/gate.png";
3621    set icon_z17;
3622}
3623node[aeroway=windsock] {
3624    icon-image: "transport/airport/windsock.png";
3625    set icon_z17;
3626}
3627
3628/******************/
3629/* aerialway tags */
3630/******************/
3631
3632way[aerialway=cable_car],
3633way[aerialway=gondola] {
3634    width: 1;
3635    color: aerialway#663300;
3636    dashes: 9,9;
3637}
3638way[aerialway=chair_lift] {
3639    width: 1;
3640    color: aerialway#663300;
3641    dashes: 6,6;
3642}
3643way[aerialway=mixed_lift] {
3644    width: 1;
3645    color: aerialway#663300;
3646    dashes: 6,6,9,6;
3647}
3648way[aerialway=j-bar],
3649way[aerialway=t-bar],
3650way[aerialway=platter],
3651way[aerialway=rope_tow],
3652way[aerialway=drag_lift] {
3653    width: 1;
3654    color: aerialway#663300;
3655    dashes: 3,3;
3656}
3657way[aerialway=magic_carpet] {
3658    width: 1;
3659    color: aerialway#663300;
3660    dashes: 3,3;
3661}
3662way[aerialway=goods] {
3663    width: 1;
3664    color: aerialway#663300;
3665    dashes: 2,2;
3666}
3667area[aerialway=station] {
3668    fill-color: aerialway#663300;
3669}
3670node[aerialway=station] {
3671    icon-image: "transport/aerialway/station.png";
3672    set icon_z17;
3673}
3674node[aerialway=pylon] {
3675    icon-image: "transport/aerialway/pylon.svg";
3676    set icon_z17;
3677}
3678node[aerialway=cable_car],
3679node[aerialway=gondola],
3680node[aerialway=chair_lift],
3681node[aerialway=mixed_lift],
3682node[aerialway=drag_lift],
3683node[aerialway=t-bar],
3684node[aerialway=j-bar],
3685node[aerialway=platter],
3686node[aerialway=magic_carpet],
3687node[aerialway=rope_tow],
3688node[aerialway=goods] {
3689    icon-image: "misc/deprecated.png";
3690    set icon_z17;
3691}
3692
3693/**************/
3694/* sport tags */
3695/**************/
3696
3697area[sport="9pin"],
3698area[sport="10pin"],
3699area[sport=athletics],
3700area[sport=running],
3701area[sport=soccer],
3702area[sport=australian_football],
3703area[sport=american_football],
3704area[sport=canadian_football],
3705area[sport=gaelic_games],
3706area[sport=rugby_league],
3707area[sport=rugby_union] {
3708    fill-color: sport#bde3cb;
3709}
3710node[sport="9pin"] {
3711    icon-image: "sport/10pin.png";
3712    set icon_z17;
3713}
3714node[sport="10pin"] {
3715    icon-image: "sport/10pin.png";
3716    set icon_z17;
3717}
3718node[sport=athletics] {
3719    icon-image: "sport/athletics.png";
3720    set icon_z17;
3721}
3722node[sport=running] {
3723    icon-image: "sport/running.svg";
3724    set icon_z17;
3725}
3726node[sport=soccer],
3727node[sport=gaelic_games] {
3728    icon-image: "sport/soccer.png";
3729    set icon_z17;
3730}
3731node[sport=australian_football],
3732node[sport=american_football],
3733node[sport=canadian_football],
3734node[sport=rugby_league],
3735node[sport=rugby_union] {
3736    icon-image: "sport/football.png";
3737    set icon_z17;
3738}
3739area[sport=baseball],
3740area[sport=basketball],
3741area[sport=boules],
3742area[sport=bowls],
3743area[sport=canoe],
3744area[sport=chess],
3745area[sport=climbing]:closed,
3746area[sport=cricket],
3747area[sport=croquet] {
3748    fill-color: sport#bde3cb;
3749}
3750node[sport=baseball] {
3751    icon-image: "sport/baseball.png";
3752    set icon_z17;
3753}
3754node[sport=basketball] {
3755    icon-image: "sport/basketball.png";
3756    set icon_z17;
3757}
3758node[sport=boules] {
3759    icon-image: "sport/boule.png";
3760    set icon_z17;
3761}
3762node[sport=bowls] {
3763    icon-image: "sport/boule.png";
3764    set icon_z17;
3765}
3766node[sport=canoe] {
3767    icon-image: "sport/canoe.svg";
3768    set icon_z17;
3769}
3770node[sport=chess] {
3771    icon-image: "sport/chess.png";
3772    set icon_z17;
3773}
3774node[sport=climbing] {
3775    icon-image: "sport/climbing.png";
3776    set icon_z17;
3777}
3778node[sport=cricket] {
3779    icon-image: "sport/cricket.png";
3780    set icon_z17;
3781}
3782node[sport=croquet] {
3783    icon-image: "sport/croquet.png";
3784    set icon_z17;
3785}
3786area[sport=cycling],
3787area[sport=dog_racing],
3788area[sport=equestrian],
3789area[sport=golf],
3790area[sport=gymnastics],
3791area[sport=field_hockey],
3792area[sport=ice_hockey],
3793area[sport=horse_racing],
3794area[sport=karting][highway!=raceway],
3795area[sport=karting][highway=raceway][area=yes],
3796area[sport=motocross][highway!=raceway],
3797area[sport=motocross][highway=raceway][area=yes],
3798area[sport=motor][highway!=raceway],
3799area[sport=motor][highway=raceway][area=yes] {
3800    fill-color: sport#bde3cb;
3801}
3802node[sport=cycling] {
3803    icon-image: "sport/cycling.png";
3804    set icon_z17;
3805}
3806node[sport=dog_racing] {
3807    icon-image: "leisure/dog.png";
3808    set icon_z17;
3809}
3810node[sport=equestrian] {
3811    icon-image: "presets/equestrian.png";
3812    icon-width: 16;
3813    set icon_z17;
3814}
3815node[sport=golf] {
3816    icon-image: "sport/golf.svg";
3817    set icon_z17;
3818}
3819node[sport=gymnastics] {
3820    icon-image: "presets/gymnastics.png";
3821    icon-width: 16;
3822    set icon_z17;
3823}
3824node[sport=field_hockey] {
3825    icon-image: "sport/field_hockey.png";
3826    set icon_z17;
3827}
3828node[sport=ice_hockey] {
3829    icon-image: "sport/ice_hockey.png";
3830    set icon_z17;
3831}
3832node[sport=horse_racing] {
3833    icon-image: "sport/riding.png";
3834    set icon_z17;
3835}
3836node[sport=karting] {
3837    icon-image: "sport/karting.png";
3838    set icon_z17;
3839}
3840node[sport=motocross] {
3841    icon-image: "sport/motocross.png";
3842    set icon_z17;
3843}
3844node[sport=motor] {
3845    icon-image: "sport/motor.png";
3846    set icon_z17;
3847}
3848area[sport=multi],
3849area[sport=pelota],
3850area[sport=racquet],
3851area[sport=ice_skating],
3852area[sport=roller_skating],
3853area[sport=skateboard] {
3854    fill-color: sport#bde3cb;
3855}
3856node[sport=multi] {
3857    icon-image: "sport/multi.png";
3858    set icon_z17;
3859}
3860node[sport=pelota] {
3861    icon-image: "sport/pelota.png";
3862    set icon_z17;
3863}
3864node[sport=racquet] {
3865    icon-image: "sport/racquetball.png";
3866    set icon_z17;
3867}
3868node[sport=ice_skating] {
3869    icon-image: "sport/skating.png";
3870    set icon_z17;
3871}
3872node[sport=roller_skating] {
3873    icon-image: "sport/roller_skating.svg";
3874    set icon_z17;
3875}
3876node[sport=skating] {
3877    icon-image: "misc/deprecated.png";
3878    set icon_z17;
3879}
3880node[sport=skateboard] {
3881    icon-image: "sport/skateboard.png";
3882    set icon_z17;
3883}
3884area[sport=swimming] {
3885    fill-color: swimming_pool#51c4ef;
3886}
3887node[sport=swimming] {
3888    icon-image: "sport/pool.png";
3889    set icon_z17;
3890}
3891area[sport=table_tennis],
3892area[sport=tennis],
3893area[sport=paintball] {
3894    fill-color: sport#bde3cb;
3895}
3896node[sport=table_tennis] {
3897    icon-image: "sport/table_tennis.png";
3898    set icon_z17;
3899}
3900node[sport=tennis] {
3901    icon-image: "sport/tennis.png";
3902    set icon_z17;
3903}
3904node[sport=paintball][!is_prop_set(icon-image)] {
3905    icon-image: "misc/no_icon.png";
3906    set icon_z17;
3907}
3908area[sport=squash],
3909area[sport=shooting],
3910area[sport=volleyball],
3911area[sport=beachvolleyball],
3912area[sport=billiards],
3913area[sport=bowling],
3914area[sport=handball],
3915area[sport=rowing],
3916area[sport=sailing],
3917area[sport=scuba_diving],
3918area[sport=badminton] {
3919    fill-color: sport#bde3cb;
3920}
3921node[sport=squash][!is_prop_set(icon-image)] {
3922    icon-image: "misc/no_icon.png";
3923    set icon_z17;
3924}
3925node[sport=shooting] {
3926    icon-image: "presets/range.png";
3927    icon-width: 16;
3928    set icon_z17;
3929}
3930node[sport=volleyball] {
3931    icon-image: "sport/volleyball.png";
3932    set icon_z17;
3933}
3934node[sport=beachvolleyball] {
3935    icon-image: "sport/beachvolleyball.png";
3936    set icon_z17;
3937}
3938node[sport=billiards] {
3939    icon-image: "sport/billiards.svg";
3940    set icon_z17;
3941}
3942node[sport=bowling] {
3943    icon-image: "sport/10pin.png";
3944    set icon_z17;
3945}
3946node[sport=handball] {
3947    icon-image: "sport/handball.png";
3948    set icon_z17;
3949}
3950node[sport=rowing] {
3951    icon-image: "sport/rowing.png";
3952    set icon_z17;
3953}
3954node[sport=sailing][!is_prop_set(icon-image)] {
3955    icon-image: "misc/no_icon.png";
3956    set icon_z17;
3957}
3958node[sport=scuba_diving] {
3959    icon-image: "sport/scuba_diving.svg";
3960    set icon_z17;
3961}
3962node[sport=badminton][!is_prop_set(icon-image)] {
3963    icon-image: "misc/no_icon.png";
3964    set icon_z17;
3965}
3966area[sport=archery],
3967area[sport=fishing],
3968area[sport=model_aerodrome],
3969area[sport=rc_car] {
3970    fill-color: sport#bde3cb;
3971}
3972node[sport=archery] {
3973    icon-image: "sport/archery.png";
3974    set icon_z17;
3975}
3976node[sport=fishing] {
3977    icon-image: "sport/fishing.png";
3978    set icon_z17;
3979}
3980node[sport=model_aerodrome] {
3981    icon-image: "transport/airport.png";
3982    set icon_z17;
3983}
3984node[sport=rc_car] {
3985    icon-image: "transport/car.png";
3986    set icon_z17;
3987}
3988
3989/****************/
3990/* natural tags */
3991/****************/
3992
3993area[natural=spring] {
3994    fill-color: light_water#00005f;
3995}
3996node[natural=spring] {
3997    icon-image: "misc/landmark/spring.svg";
3998    set icon_z17;
3999}
4000node[natural=saddle] {
4001    icon-image: "presets/saddle.svg";
4002    set icon_z0;
4003    set text_z0;
4004}
4005node[natural=peak] {
4006    icon-image: "presets/peak.svg";
4007    set icon_z0;
4008    set text_z0;
4009}
4010node[natural=peak][tourism=viewpoint] {
4011    icon-image: "sightseeing/peak_viewpoint.svg";
4012    set icon_z0;
4013    set text_z0;
4014}
4015area[natural=glacier] {
4016    fill-color: glacier#ffffff;
4017}
4018node[natural=volcano] {
4019    icon-image: "misc/landmark/volcano_small.png";
4020    set icon_z0;
4021    set text_z0;
4022}
4023area[natural=cliff]:closed {
4024    fill-color: natural#002f00;
4025}
4026way[natural=cliff] {
4027    repeat-image: "misc/cliff-pattern.png";
4028    repeat-image-align: top;
4029    width: 1;
4030    color: #b2b2b2;
4031}
4032node[natural=cliff] {
4033    icon-image: "misc/cliff.svg";
4034    set icon_z17;
4035}
4036way[natural=ridge] {
4037    width: 1;
4038    color: natural#002f00;
4039}
4040way[natural=valley] {
4041    width: 1;
4042    color: natural#002f00;
4043}
4044area[natural=scree] {
4045    fill-color: natural#002f00;
4046}
4047area[natural=scrub] {
4048    fill-color: scrub#007000;
4049}
4050area[natural=fell] {
4051    fill-color: natural#002f00;
4052}
4053area[natural=heath] {
4054    fill-color: heath#ffffc0;
4055}
4056way[natural=tree_row] {
4057    width: 2;
4058    color: woodarea#008000;
4059}
4060area[natural=wood] {
4061    fill-color: woodarea#008000;
4062}
4063area[natural=grassland] {
4064    fill-color: green#b1e0c2;
4065}
4066area[natural=wetland] {
4067    fill-color: marsh#4f4ff3;
4068}
4069area[natural=water] {
4070    fill-color: water#0000ff;
4071}
4072way[natural=coastline] {
4073    width: 2;
4074    color: water#0000ff;
4075    right-casing-color: water#0000ff;
4076    right-casing-width: 5;
4077    right-casing-opacity: 0.30; 
4078}
4079area[natural=mud] {
4080    fill-color: mud#cba762;
4081}
4082area[natural=beach] {
4083    fill-color: beach#f8dba2;
4084}
4085area[natural=sand] {
4086    fill-color: sand#f8dba2;
4087}
4088area[natural=bare_rock] {
4089    fill-color: bare_rock#f8f8c7;
4090}
4091area[natural=rock] {
4092    fill-color: stone#f8f8c7;
4093}
4094node[natural=rock] {
4095    icon-image: "misc/rock.svg";
4096    set icon_z17;
4097}
4098area[natural=stone] {
4099    fill-color: stone#f8f8c7;
4100}
4101node[natural=stone] {
4102    icon-image: "misc/stone.svg";
4103    set icon_z17;
4104}
4105area[natural=bay],
4106area[natural=cave_entrance] {
4107    fill-color: natural#002f00;
4108}
4109node[natural=bay] {
4110    icon-image: "nautical/bay.svg";
4111    set icon_z17;
4112}
4113node[natural=cave_entrance] {
4114    icon-image: "misc/landmark/cave_entrance.png";
4115    set icon_z17;
4116}
4117node[natural=tree] {
4118    icon-image: "misc/landmark/trees.png";
4119    set icon_z17;
4120}
4121node[natural=tree][type=conifer],
4122node[natural=tree][leaf_type=needleleaved] {
4123    icon-image: "misc/landmark/trees_conifer.png";
4124    set icon_z17;
4125}
4126node[natural=tree][type=broad_leaved],
4127node[natural=tree][leaf_type=broadleaved] {
4128    icon-image: "misc/landmark/trees_broad_leaved.png";
4129    set icon_z17;
4130}
4131node[natural=tree][type=palm] {
4132    icon-image: "misc/landmark/trees_palm.png";
4133    set icon_z17;
4134}
4135node[natural=glacier],
4136node[natural=scree],
4137node[natural=scrub],
4138node[natural=fell],
4139node[natural=heath],
4140node[natural=tree_row],
4141node[natural=wood],
4142node[natural=grassland],
4143node[natural=wetland],
4144node[natural=water],
4145node[natural=coastline],
4146node[natural=mud],
4147node[natural=beach],
4148node[natural=sand],
4149node[natural=land],
4150node[natural=bare_rock],
4151node[natural=ridge],
4152node[natural=valley] {
4153    icon-image: "misc/deprecated.png";
4154    set icon_z17;
4155}
4156/*****************/
4157/* waterway tags */
4158/*****************/
4159
4160way[waterway=river] {
4161    width: 2;
4162    color: water#0000ff;
4163}
4164area[waterway=riverbank] {
4165    fill-color: riverbank#0000cf;
4166    width: 1;
4167    color: riverbank#0000cf;
4168}
4169way[waterway=canal] {
4170    width: 2;
4171    color: water#0000ff;
4172}
4173way[waterway=stream] {
4174    width: 1;
4175    color: stream#6600cc;
4176}
4177way[waterway=ditch], way[waterway=drain] {
4178    width: 1;
4179    color: water#0000ff;
4180}
4181area[waterway=dock] {
4182    fill-color: dock#0000cf;
4183}
4184node[waterway=dock] {
4185    icon-image: "nautical/boatyard.png";
4186    set icon_z17;
4187}
4188node[waterway=lock_gate] {
4189    icon-image: "nautical/lock_gate.png";
4190    set icon_z17;
4191}
4192node[waterway=turning_point] {
4193    icon-image: "nautical/turning.png";
4194    set icon_z17;
4195}
4196area[waterway=boatyard] {
4197    fill-color: manmade#d8d8d8;
4198}
4199node[waterway=boatyard] {
4200    icon-image: "nautical/boatyard.png";
4201    set icon_z17;
4202}
4203node[waterway=water_point],
4204node[waterway=waste_disposal],
4205node[waterway=mooring] {
4206    icon-image: "misc/deprecated.png";
4207    set icon_z17;
4208}
4209node[mooring] {
4210    icon-image: "nautical/marina.png";
4211    set icon_z17;
4212}
4213area[waterway=fuel] {
4214    fill-color: amenity_traffic#f7efb7;
4215}
4216node[waterway=fuel] {
4217    icon-image: "nautical/marine_fuel.png";
4218    icon-width: 16;
4219    set icon_z17;
4220}
4221way[waterway=weir] {
4222    width: 2;
4223    color: manmade#d8d8d8;
4224}
4225node[waterway=weir] {
4226    icon-image: "nautical/weir.svg";
4227    set icon_z17;
4228}
4229area[waterway=dam]:closed {
4230    fill-color: manmade#d8d8d8;
4231}
4232way[waterway=dam] {
4233    width: 2;
4234    color: manmade#d8d8d8;
4235}
4236node[waterway=dam] {
4237    icon-image: "nautical/dam.svg";
4238    set icon_z17;
4239}
4240/* it's not possible to have both line and area, line seems more likely */
4241way[waterway=waterfall] {
4242    width: 2;
4243    color: manmade#d8d8d8;
4244}
4245node[waterway=waterfall] {
4246    icon-image: "nautical/waterfall.svg";
4247    set icon_z17;
4248}
4249node[waterway=river], node[waterway=riverbank],
4250node[waterway=canal], node[waterway=wadi],
4251node[waterway=stream],
4252node[waterway=ditch], node[waterway=drain] {
4253    icon-image: "misc/deprecated.png";
4254    set icon_z17;
4255}
4256
4257/**************/
4258/* route tags */
4259/**************/
4260
4261way[route=ferry] {
4262    width: 1;
4263    color: ferry#809bc0;
4264    dashes: 9,9;
4265}
4266node[route=bus],
4267node[route=ferry],
4268node[route=flight],
4269node[route=ncn],
4270node[route=subsea],
4271node[route=ski],
4272node[route=tour],
4273node[route=pub_crawl] {
4274    icon-image: "misc/deprecated.png";
4275    set icon_z17;
4276}
4277
4278/*******************/
4279/* properties tags */
4280/*******************/
4281
4282node[mountain_pass?] {
4283    icon-image: "misc/landmark/mountain_pass.svg";
4284    set icon_z0;
4285    set text_z0;
4286}
4287
4288/*****************/
4289/* boundary tags */
4290/*****************/
4291
4292way[boundary=protected_area]::core_boundary,
4293way[boundary=administrative]::core_boundary,
4294way[boundary=postal_code]::core_boundary,
4295way[boundary=political]::core_boundary,
4296way[boundary=maritime]::core_boundary,
4297way[boundary=national_park]::core_boundary {
4298    z-index: 2;
4299    modifier: false;
4300    width: 1;
4301    color: boundary#FF6600;
4302    dashes: 9,9;
4303}
4304way[admin_level=9]::core_boundary,
4305relation[admin_level=9] > way::core_boundary,
4306way[admin_level=10]::core_boundary,
4307relation[admin_level=10] > way::core_boundary {
4308    z-index: 2;
4309    modifier: false;
4310    width: 1;
4311    color: boundary#FF6600;
4312    dashes: 9,9;
4313}
4314way[admin_level=7]::core_boundary,
4315relation[admin_level=7] > way::core_boundary,
4316way[admin_level=8]::core_boundary,
4317relation[admin_level=8] > way::core_boundary {
4318    z-index: 2;
4319    modifier: false;
4320    width: 2;
4321    color: boundary#FF6600;
4322    dashes: 9,9;
4323}
4324way[admin_level=5]::core_boundary,
4325relation[admin_level=5] > way::core_boundary,
4326way[admin_level=6]::core_boundary,
4327relation[admin_level=6] > way::core_boundary {
4328    z-index: 2;
4329    modifier: false;
4330    width: 3;
4331    color: boundary#FF6600;
4332    dashes: 9,9;
4333}
4334way[admin_level=3]::core_boundary,
4335relation[admin_level=3] > way::core_boundary,
4336way[admin_level=4]::core_boundary,
4337relation[admin_level=4] > way::core_boundary {
4338    z-index: 2;
4339    modifier: false;
4340    width: 4;
4341    color: boundary#FF6600;
4342    dashes: 9,9;
4343}
4344way[admin_level=1]::core_boundary,
4345relation[admin_level=1] > way::core_boundary,
4346way[admin_level=2]::core_boundary,
4347relation[admin_level=2] > way::core_boundary {
4348    z-index: 2;
4349    modifier: false;
4350    width: 5;
4351    color: boundary#FF6600;
4352    dashes: 9,9;
4353}
4354node[boundary=national],
4355node[boundary=administrative],
4356node[boundary=postal_code],
4357node[boundary=political],
4358node[boundary=national_park] {
4359    icon-image: "misc/deprecated.png";
4360    set icon_z17;
4361}
4362
4363/******************/
4364/* maxspeed nodes */
4365/******************/
4366node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4367    icon-image: "vehicle/restriction/maxspeed_none.svg";
4368    set icon_z17;
4369}
4370node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4371    maxspeedprop: tag(maxspeed);
4372    set maxspeedclass;
4373}
4374node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4375    maxspeedprop: " ?";
4376    set maxspeedclass;
4377}
4378node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4379    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4380    set maxspeedclass;
4381}
4382node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4383    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4384    set maxspeedclass;
4385}
4386node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4387    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4388    set maxspeedclass;
4389}
4390node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4391    /* background (white) */
4392    symbol-shape: circle;
4393    symbol-size: 17;
4394    symbol-fill-color: white;
4395    major-z-index: 4.2;
4396}
4397node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4398node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4399    /* background (black) */
4400    symbol-fill-color: black;
4401}
4402node[prop(maxspeedclass, default)]::core_maxnodefg {
4403    /* foreground (black text and red circle) */
4404    symbol-shape: circle;
4405    symbol-size: 15;
4406    symbol-stroke-color: crimson;
4407    symbol-stroke-width: 2;
4408    text: prop(maxspeedprop, default);
4409    font-size: 8;
4410    font-weight: bold;
4411    text-color: black;
4412    text-anchor-horizontal: center;
4413    text-anchor-vertical: center;
4414    text-offset-x: 0;
4415    text-offset-y: -1;
4416    major-z-index: 4.2;
4417}
4418node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4419node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4420    /* foreground (white text) */
4421    text-color: white;
4422}
4423node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4424    symbol-shape: none;
4425}
4426node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4427    text: none;
4428    symbol-shape: none;
4429}
4430
4431/**************/
4432/* place tags */
4433/**************/
4434
4435/* lot's of "openGeoDB:..." tags can be found in germany */
4436node["openGeoDB:type"=Stadt],
4437node["openGeoDB:type"=Kreis],
4438node["openGeoDB:type"=Gemeinde],
4439node["openGeoDB:type"=Ort],
4440node["openGeoDB:type"=District],
4441node["openGeoDB:location"=locality] {
4442    icon-image: "place/settlement/openGeoDB.png";
4443    set icon_z0;
4444    set text_z0;
4445    font-size: 10;
4446    font-weight: bold;
4447    text-color:black;
4448    text-halo-color: white;
4449    text-halo-radius: 1;
4450}
4451area[setting("place_fill_colour")][place=continent],
4452area[setting("place_fill_colour")][place=country],
4453area[setting("place_fill_colour")][place=state],
4454area[setting("place_fill_colour")][place=region],
4455area[setting("place_fill_colour")][place=county],
4456area[setting("place_fill_colour")][place=city],
4457area[setting("place_fill_colour")][place=town],
4458area[setting("place_fill_colour")][place=village],
4459area[setting("place_fill_colour")][place=hamlet],
4460area[setting("place_fill_colour")][place=farm],
4461area[setting("place_fill_colour")][place=isolated_dwelling],
4462area[setting("place_fill_colour")][place=neighbourhood],
4463area[setting("place_fill_colour")][place=suburb],
4464area[setting("place_fill_colour")][place=locality],
4465area[setting("place_fill_colour")][place=island],
4466area[setting("place_fill_colour")][place=islet] {
4467    fill-color: place#8de3cb;
4468}
4469node[place=continent],
4470node[place=country],
4471node[place=state],
4472node[place=region],
4473node[place=county],
4474node[place=city],
4475node[place=town],
4476node[place=suburb],
4477node[place=village],
4478node[place=neighbourhood],
4479node[place=hamlet],
4480node[place=isolated_dwelling],
4481node[place=farm],
4482node[place=island],
4483node[place=islet] {
4484    set icon_z0;
4485    set text_z0;
4486    font-size: 10;
4487    font-weight: bold;
4488    text-color:black;
4489    text-halo-color: white;
4490    text-halo-radius: 1;
4491}
4492
4493node[place=continent],
4494node[place=country],
4495node[place=state],
4496node[place=region],
4497node[place=county] {
4498    icon-image: "place/settlement/capital.png";
4499    z-index: 2.9;
4500}
4501node[place=city] {
4502    icon-image: "place/settlement/city.png";
4503    z-index: 2.8;
4504}
4505node[place=town] {
4506    icon-image: "place/settlement/town.png";
4507    z-index: 2.7;
4508}
4509node[place=suburb] {
4510    icon-image: "place/settlement/suburb.png";
4511    z-index: 2.6;
4512}
4513node[place=village] {
4514    icon-image: "place/settlement/village.png";
4515    z-index: 2.5;
4516}
4517node[place=neighbourhood] {
4518    icon-image: "place/settlement/neighbourhood.png";
4519    z-index: 2.4;
4520}
4521node[place=hamlet] {
4522    icon-image: "place/settlement/hamlet.png";
4523    z-index: 2.3;
4524}
4525node[place=isolated_dwelling] {
4526    icon-image: "place/settlement/isolated_dwelling.png";
4527    z-index: 2.2;
4528}
4529node[place=farm] {
4530    icon-image: "place/settlement/farm.png";
4531    z-index: 2.1;
4532}
4533node|z15-[place=locality],
4534node|z-14[place=locality][!setting("hide_icons")] {
4535    icon-image: "place/locality.png";
4536    font-size: 10;
4537    font-weight: bold;
4538    text-color:black;
4539    text-halo-color: white;
4540    text-halo-radius: 1;
4541}
4542node[place=island] {
4543    icon-image: "place/island.png";
4544}
4545node[place=islet] {
4546    icon-image: "place/islet.png";
4547}
4548
4549/***************************/
4550/* "work in progress" tags */
4551/***************************/
4552
4553node|z16-[fixme]::core_note_fixme,
4554node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4555node|z16-[FIXME]::core_note_fixme,
4556node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4557    object-z-index: 10;
4558    icon-image: "misc/fixme-annotation.png";
4559}
4560node|z16-[note]::core_note_fixme,
4561node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4562    object-z-index: 10;
4563    icon-image: "misc/note-annotation.png";
4564}
4565node|z16-[note][fixme]::core_note_fixme,
4566node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4567node|z16-[note][FIXME]::core_note_fixme,
4568node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4569    icon-image: "misc/note-fixme-annotation.png";
4570}
4571
4572/* special display of unreviewed tiger data (USA) */
4573way["tiger:reviewed"=no]::core_tiger {
4574    major-z-index: -10;
4575    width: 11;
4576    color: tiger_data#808000;
4577    opacity: 0.6;
4578}
4579
4580/****************************************/
4581/* zoom levels and general node display */
4582/****************************************/
4583
4584/*
4585Summary of different zoom levels:
4586  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4587  |z-15         untagged way nodes are hidden completely
4588  |z15          place=locality icon
4589  |z16-         fixme=* and note=* symbols; place=locality text
4590  |z17-         normal POI icons (without text),
4591                street name along highway=* ways
4592  |z18-         text for normal POI icons is shown
4593 
4594 * text size and node size is adapted according to zoom level (see style source below)
4595 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4596
4597*/
4598
4599node|z-16[setting("hide_icons")],
4600node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4601node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4602    symbol-size: 2;
4603    symbol-shape: square;
4604    symbol-stroke-color: node_standard#ffff00;
4605    major-z-index: 4.95; /* put node squares above line text */
4606}
4607way > node|z-15[setting("shrink_nodes")]!:tagged {
4608    symbol-shape: none;
4609}
4610node:connection {
4611    symbol-stroke-color: node_connection#ffff00;
4612}
4613node:tagged {
4614    symbol-stroke-color: none;
4615    symbol-fill-color: node_tagged#00ffff;
4616}
4617
4618way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4619
4620node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4621way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4622node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4623
4624node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4625way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4626node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4627
4628node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4629way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4630node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4631
4632node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4633way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4634node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4635
4636node:selected {
4637    symbol-shape: square;
4638    symbol-size: 6;
4639    symbol-fill-color: node_selected#ff0000;
4640    symbol-stroke-color: node_selected#ff0000;
4641}
4642
4643node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4644relation|z-16[type=restriction][setting("hide_icons")] {
4645    icon-image: none;
4646}
4647node|z-17[setting("hide_icons")]!.text_z0 {
4648    text: none;
4649}
4650node|z16-17[setting("hide_icons")][place=locality] {
4651    text: auto;
4652}
4653
4654node|z19,area|z19   { font-size: 9; }
4655node|z20-,area|z20-   { font-size: 10; }
4656
4657/*******************/
4658/* way text labels */
4659/*******************/
4660
4661way|z17-[highway^=motorway][setting("highway_labels")],
4662way|z17-[highway^=trunk][setting("highway_labels")],
4663way|z17-[highway^=primary][setting("highway_labels")],
4664way|z17-[highway^=secondary][setting("highway_labels")],
4665way|z17-[highway^=tertiary][setting("highway_labels")],
4666way|z17-[highway=unclassified][setting("highway_labels")],
4667way|z17-[highway=residential][setting("highway_labels")],
4668way|z17-[highway=living_street][setting("highway_labels")],
4669way|z17-[highway=escape][setting("highway_labels")],
4670way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4671way|z17-[highway=steps][setting("highway_labels")],
4672way|z17-[highway=footway][setting("highway_labels")],
4673way|z17-[highway=path][setting("highway_labels")],
4674way|z17-[highway=service][setting("highway_labels")],
4675way|z17-[highway=track][setting("highway_labels")],
4676way|z17-[highway=cycleway][setting("highway_labels")],
4677way|z17-[highway=bridleway][setting("highway_labels")],
4678way|z17-[highway=bus_guideway][setting("highway_labels")],
4679way|z17-[highway=raceway][setting("highway_labels")],
4680way|z17-[highway=construction][setting("highway_labels")],
4681way|z17-[highway=road][setting("highway_labels")] {
4682    text: auto;
4683    text-color: black;
4684    font-size: 9;
4685    text-position: line;
4686    text-halo-opacity: 1;
4687    text-halo-radius: 1.5;
4688}
4689way|z17-[highway^=motorway][setting("highway_labels")] {
4690    text-halo-color: motorway#809bc0;
4691}
4692way|z17-[highway^=trunk][setting("highway_labels")] {
4693    text-halo-color: trunk#7fc97f;
4694}
4695way|z17-[highway^=primary][setting("highway_labels")] {
4696    text-halo-color: primary#fb805f;
4697}
4698way|z17-[highway^=secondary][setting("highway_labels")] {
4699    text-halo-color: secondary#fdbf6f;
4700}
4701way|z17-[highway^=tertiary][setting("highway_labels")] {
4702    text-halo-color: tertiary#f7f496;
4703}
4704way|z17-[highway=unclassified][setting("highway_labels")],
4705way|z17-[highway=residential][setting("highway_labels")],
4706way|z17-[highway=living_street][setting("highway_labels")],
4707way|z17-[highway=escape][setting("highway_labels")] {
4708    text-halo-color: street#c0c0c0;
4709}
4710way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4711way|z17-[highway=steps][setting("highway_labels")],
4712way|z17-[highway=footway][setting("highway_labels")],
4713way|z17-[highway=path][setting("highway_labels")] {
4714    text-halo-color: foot#00ff00;
4715}
4716way|z17-[highway=service][setting("highway_labels")] {
4717    text-halo-color: service#809bc0;
4718}
4719way|z17-[highway=track][setting("highway_labels")] {
4720    text-halo-color: highway_track#6e541c;
4721}
4722way|z17-[highway=cycleway][setting("highway_labels")],
4723way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4724    text-halo-color: bicycle#b100ff;
4725}
4726way|z17-[highway=bridleway][setting("highway_labels")] {
4727    text-halo-color: horse#a18559;
4728}
4729way|z17-[highway=bus_guideway][setting("highway_labels")] {
4730    text-halo-color: rail#404040;
4731}
4732way|z17-[highway=raceway][setting("highway_labels")] {
4733    text-halo-color: raceway#ff80ff;
4734}
4735way|z17-[highway=construction][setting("highway_labels")] {
4736    text-halo-color: construction#ffff00;
4737}
4738way|z17-[highway=road][setting("highway_labels")] {
4739    text-halo-color: highway_road#770000;
4740}
4741way|z17-[highway][railway=platform][setting("highway_labels")] {
4742    text-halo-color: rail#404040;
4743}
4744way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4745    text-halo-color: service#809bc0;
4746}
4747way|z18[highway][setting("highway_labels")] {
4748    font-size: 10;
4749}
4750way|z19[highway][setting("highway_labels")] {
4751    font-size: 11;
4752}
4753way|z20-[highway][setting("highway_labels")] {
4754    font-size: 12;
4755}
4756
4757/*************/
4758/* Area fill */
4759/*************/
4760
4761/* small extent for unclosed area (see below for closed) */
4762area[setting("partial_fill")] {
4763    fill-extent: 15;
4764}
4765
4766/* Turn partial fill off and use plain fill, when the partial fill covers about
4767   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4768   Switching between full and partial fill while drawing an area might be irritating,
4769   so only do this at low zoom. */
4770area|z-13[setting("partial_fill")] {
4771    fill-extent-threshold: 1.0;
4772}
4773
4774/* Larger extent for closed areas.
4775   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4776   areas with small unfilled patches in the center. */
4777area[setting("partial_fill")]:closed2 {
4778    fill-extent: 25;
4779    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4780}
4781
Note: See TracBrowser for help on using the repository browser.