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

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

remove redundant text:auto; in internal mappaint style, move node {text: auto;} up to make it possible to set another value for text; a few small fixes

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