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

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

see #11006 - adjust public transport icons, see also [o32342]

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