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

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

see #10653 - add shop=music to preset and mappaint style

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