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

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

fix #12638 - add leisure=bird_hide to preset and mappaint style, icon see [o32112]

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