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

Last change on this file since 7686 was 7686, checked in by Klumbumbus, 5 years ago

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

File size: 97.9 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=funeral_directors],
1527area[shop=wine],
1528area[shop=bag] {
1529    fill-color: shop#00005f;
1530}
1531node[shop=supermarket] {
1532    icon-image: "shop/supermarket.png";
1533    set icon_z17;
1534    text: auto;
1535}
1536node[shop=convenience] {
1537    icon-image: "shop/convenience.png";
1538    set icon_z17;
1539    text: auto;
1540}
1541node[shop=bakery] {
1542    icon-image: "shop/groceries/bakery.png";
1543    set icon_z17;
1544    text: auto;
1545}
1546node[shop=butcher] {
1547    icon-image: "shop/groceries/butcher.png";
1548    set icon_z17;
1549    text: auto;
1550}
1551node[shop=bicycle] {
1552    icon-image: "sport/bicycle.png";
1553    set icon_z17;
1554    text: auto;
1555}
1556node[shop=doityourself] {
1557    icon-image: "shop/diy_store.png";
1558    set icon_z17;
1559    text: auto;
1560}
1561node[shop=dry_cleaning],
1562node[shop=laundry] {
1563    icon-image: "shop/laundry.png";
1564    set icon_z17;
1565    text: auto;
1566}
1567node[shop=outdoor] {
1568    icon-image: "shop/sports/outdoor.png";
1569    set icon_z17;
1570    text: auto;
1571}
1572node[shop=kiosk] {
1573    icon-image: "shop/kiosk.png";
1574    set icon_z17;
1575    text: auto;
1576}
1577node[shop=alcohol],
1578node[shop=beverages] {
1579    icon-image: "shop/beverages.png";
1580    set icon_z17;
1581    text: auto;
1582}
1583node[shop=books] {
1584    icon-image: "shop/rental/library.png";
1585    set icon_z17;
1586    text: auto;
1587}
1588node[shop=boutique] {
1589    icon-image: "shop/boutique.png";
1590    set icon_z17;
1591    text: auto;
1592}
1593node[shop=car],
1594node[shop=car_dealer] {
1595    icon-image: "transport/car.png";
1596    set icon_z17;
1597    text: auto;
1598}
1599node[shop=car_repair] {
1600    icon-image: "vehicle/repair_shop.png";
1601    set icon_z17;
1602    text: auto;
1603}
1604node[shop=tyres] {
1605    icon-image: "vehicle/tyres.png";
1606    set icon_z17;
1607    text: auto;
1608}
1609node[shop=chemist] {
1610    icon-image: "shop/chemist.png";
1611    set icon_z17;
1612    text: auto;
1613}
1614node[shop=clothes] {
1615    icon-image: "shop/clothes.png";
1616    set icon_z17;
1617    text: auto;
1618}
1619node[shop=computer] {
1620    icon-image: "shop/computer.png";
1621    set icon_z17;
1622    text: auto;
1623}
1624node[shop=confectionery] {
1625    icon-image: "shop/groceries/confectionery.png";
1626    set icon_z17;
1627    text: auto;
1628}
1629node[shop=copyshop] {
1630    icon-image: "shop/copyshop.png";
1631    set icon_z17;
1632    text: auto;
1633}
1634node[shop=curtain] {
1635    icon-image: "shop/curtain.png";
1636    set icon_z17;
1637    text: auto;
1638}
1639node[shop=cycle_repair] {
1640    icon-image: "sport/bicycle.png";
1641    set icon_z17;
1642    text: auto;
1643}
1644node[shop=department_store] {
1645    icon-image: "shop/mall.png";
1646    set icon_z17;
1647    text: auto;
1648}
1649node[shop=deli] {
1650    icon-image: "shop/groceries/deli.png";
1651    set icon_z17;
1652    text: auto;
1653}
1654node[shop=electronics] {
1655    icon-image: "shop/electronics.png";
1656    set icon_z17;
1657    text: auto;
1658}
1659node[shop=erotic] {
1660    icon-image: "shop/erotic.png";
1661    set icon_z17;
1662    text: auto;
1663}
1664node[shop=furniture] {
1665    icon-image: "shop/furniture.png";
1666    set icon_z17;
1667    text: auto;
1668}
1669node[shop=fabric] {
1670    icon-image: "shop/fabric.png";
1671    set icon_z17;
1672    text: auto;
1673}
1674node[shop=florist] {
1675    icon-image: "shop/florist.png";
1676    set icon_z17;
1677    text: auto;
1678}
1679node[shop=frame] {
1680    icon-image: "shop/frame.png";
1681    set icon_z17;
1682    text: auto;
1683}
1684node[shop=gift] {
1685    icon-image: "presets/present.svg";
1686    set icon_z17;
1687    text: auto;
1688}
1689node[shop=greengrocer] {
1690    icon-image: "shop/groceries/greengrocer.png";
1691    set icon_z17;
1692    text: auto;
1693}
1694node[shop=garden_centre] {
1695    icon-image: "shop/garden_centre.png";
1696    set icon_z17;
1697    text: auto;
1698}
1699node[shop=hairdresser] {
1700    icon-image: "shop/hairdresser.png";
1701    set icon_z17;
1702    text: auto;
1703}
1704node[shop=hardware] {
1705    icon-image: "shop/hardware.png";
1706    set icon_z17;
1707    text: auto;
1708}
1709node[shop=hearing_aids] {
1710    icon-image: "shop/hearing_aids.png";
1711    set icon_z17;
1712    text: auto;
1713}
1714node[shop=hifi] {
1715    icon-image: "shop/hifi.png";
1716    set icon_z17;
1717    text: auto;
1718}
1719node[shop=jewelry] {
1720    icon-image: "shop/jewelry.png";
1721    set icon_z17;
1722    text: auto;
1723}
1724node[shop=kitchen] {
1725    icon-image: "shop/kitchen.png";
1726    set icon_z17;
1727    text: auto;
1728}
1729node[shop=mall] {
1730    icon-image: "shop/mall.png";
1731    set icon_z17;
1732    text: auto;
1733}
1734node[shop=mobile_phone] {
1735    icon-image: "shop/mobile_phone.png";
1736    set icon_z17;
1737    text: auto;
1738}
1739node[shop=motorcycle] {
1740    icon-image: "vehicle/motorbike.png";
1741    set icon_z17;
1742    text: auto;
1743}
1744node[shop=musical_instrument] {
1745    icon-image: "shop/musical_instrument.png";
1746    set icon_z17;
1747    text: auto;
1748}
1749node[shop=newsagent] {
1750    icon-image: "shop/kiosk.png";
1751    set icon_z17;
1752    text: auto;
1753}
1754node[shop=optician] {
1755    icon-image: "shop/optician.png";
1756    set icon_z17;
1757    text: auto;
1758}
1759node[shop=paint] {
1760    icon-image: "shop/paint.png";
1761    set icon_z17;
1762    text: auto;
1763}
1764node[shop=pawnbroker] {
1765    icon-image: "presets/pawnbroker.svg";
1766    set icon_z17;
1767    text: auto;
1768}
1769node[shop=seafood] {
1770    icon-image: "shop/groceries/seafood.png";
1771    set icon_z17;
1772    text: auto;
1773}
1774node[shop=shoes] {
1775    icon-image: "shop/shoes.png";
1776    set icon_z17;
1777    text: auto;
1778}
1779node[shop=sports] {
1780    icon-image: "sport/multi.png";
1781    set icon_z17;
1782    text: auto;
1783}
1784node[shop=stationery] {
1785    icon-image: "shop/stationery.png";
1786    set icon_z17;
1787    text: auto;
1788}
1789node[shop=tailor] {
1790    icon-image: "shop/tailor.png";
1791    set icon_z17;
1792    text: auto;
1793}
1794node[shop=travel_agency] {
1795    icon-image: "place/island.png";
1796    set icon_z17;
1797    text: auto;
1798}
1799node[shop=toys] {
1800    icon-image: "shop/toys.png";
1801    set icon_z17;
1802    text: auto;
1803}
1804node[shop=vacuum_cleaner] {
1805    icon-image: "shop/vacuum_cleaner.png";
1806    set icon_z17;
1807    text: auto;
1808}
1809node[shop=variety_store] {
1810    icon-image: "shop/variety_store.png";
1811    set icon_z17;
1812    text: auto;
1813}
1814node[shop=video] {
1815    icon-image: "shop/video.png";
1816    set icon_z17;
1817    text: auto;
1818}
1819node[shop=bookmaker] {
1820    icon-image: "presets/lottery.svg";
1821    set icon_z17;
1822    text: auto;
1823}
1824node[shop=lottery] {
1825    icon-image: "presets/lottery.svg";
1826    set icon_z17;
1827    text: auto;
1828}
1829/* duplicate of shopping_centre? */
1830node[shop=shopping_centre] {
1831    icon-image: "shop/mall.png";
1832    set icon_z17;
1833    text: auto;
1834}
1835node[shop=pet] {
1836    icon-image: "shop/pet.svg";
1837    set icon_z17;
1838    text: auto;
1839}
1840node[shop=ticket] {
1841    icon-image: "shop/ticket.svg";
1842    set icon_z17;
1843    text: auto;
1844}
1845node[shop=interior_decoration] {
1846    icon-image: "shop/interior_decoration.svg";
1847    set icon_z17;
1848    text: auto;
1849}
1850node[shop=car_parts] {
1851    icon-image: "vehicle/car_parts.svg";
1852    set icon_z17;
1853    text: auto;
1854}
1855node[shop=video_games] {
1856    icon-image: "shop/video_games.png";
1857    set icon_z17;
1858    text: auto;
1859}
1860node[shop=bed] {
1861    icon-image: "shop/bed.svg";
1862    set icon_z17;
1863    text: auto;
1864}
1865node[shop=beauty] {
1866    icon-image: "shop/beauty.svg";
1867    set icon_z17;
1868    text: auto;
1869}
1870node[shop=tea] {
1871    icon-image: "shop/groceries/tea.svg";
1872    set icon_z17;
1873    text: auto;
1874}
1875node[shop=coffee] {
1876    icon-image: "shop/groceries/coffee.svg";
1877    set icon_z17;
1878    text: auto;
1879}
1880node[shop=antiques] {
1881    icon-image: "shop/antique.svg";
1882    set icon_z17;
1883    text: auto;
1884}
1885node[shop=music] {
1886    icon-image: "shop/music.svg";
1887    set icon_z17;
1888    text: auto;
1889}
1890node[shop=funeral_directors] {
1891    icon-image: "shop/funeral_directors.svg";
1892    set icon_z17;
1893    text: auto;
1894}
1895node[shop=wine] {
1896    icon-image: "shop/wine.svg";
1897    set icon_z17;
1898    text: auto;
1899}
1900node[shop=bag] {
1901    icon-image: "shop/bag.svg";
1902    set icon_z17;
1903    text: auto;
1904}
1905
1906/****************/
1907/* amenity tags */
1908/****************/
1909
1910area[amenity=pub],
1911area[amenity=biergarten],
1912area[amenity=nightclub],
1913area[amenity=stripclub],
1914area[amenity=brothel],
1915area[amenity=cafe],
1916area[amenity=restaurant],
1917area[amenity=food_court],
1918area[amenity=fast_food],
1919area[amenity=bar],
1920area[amenity=ice_cream] {
1921    fill-color: amenity#ecba52;
1922}
1923node[amenity=pub] {
1924    icon-image: "food/pub.png";
1925    set icon_z17;
1926    text: auto;
1927}
1928node[amenity=biergarten] {
1929    icon-image: "food/biergarten.png";
1930    set icon_z17;
1931    text: auto;
1932}
1933node[amenity=nightclub] {
1934    icon-image: "leisure/nightclub.png";
1935    set icon_z17;
1936    text: auto;
1937}
1938node[amenity=stripclub] {
1939    icon-image: "leisure/stripclub.png";
1940    set icon_z17;
1941    text: auto;
1942}
1943node[amenity=brothel] {
1944    icon-image: "leisure/stripclub.png";
1945    set icon_z17;
1946    text: auto;
1947}
1948node[amenity=cafe] {
1949    icon-image: "food/cafe.png";
1950    set icon_z17;
1951    text: auto;
1952}
1953node[amenity=restaurant],
1954node[amenity=food_court] {
1955    icon-image: "food/restaurant.png";
1956    set icon_z17;
1957    text: auto;
1958}
1959node[amenity=fast_food] {
1960    icon-image: "food/fastfood.png";
1961    set icon_z17;
1962    text: auto;
1963}
1964node[amenity=bar] {
1965    icon-image: "food/bar.png";
1966    set icon_z17;
1967    text: auto;
1968}
1969node[amenity=ice_cream] {
1970    icon-image: "food/icecream.png";
1971    set icon_z17;
1972    text: auto;
1973}
1974area[amenity=parking_space],
1975area[amenity=parking],
1976area[parking=multi-storey],
1977area[amenity=motorcycle_parking],
1978area[amenity=bicycle_parking],
1979area[parking=park_and_ride],
1980area[parking=underground],
1981area[parking=surface],
1982area[amenity=bicycle_rental],
1983area[amenity=car_rental],
1984area[amenity=car_sharing],
1985area[amenity=car_wash],
1986area[amenity=taxi],
1987area[amenity=fuel],
1988area[amenity=charging_station] {
1989    fill-color: amenity_traffic#f7efb7;
1990}
1991node[amenity=parking_space] {
1992    icon-image: "vehicle/parking.png";
1993    set icon_z17;
1994    text: auto;
1995}node[amenity=parking] {
1996    icon-image: vehicle/parking.png;
1997    set icon_z17;
1998    text: auto;
1999}
2000node[parking=multi-storey] {
2001    icon-image: "vehicle/parking/multi-storey.png";
2002    set icon_z17;
2003    text: auto;
2004}
2005node[amenity=motorcycle_parking] {
2006    icon-image: "vehicle/parking/motorbike.png";
2007    set icon_z17;
2008    text: auto;
2009}
2010node[amenity=bicycle_parking] {
2011    icon-image: "vehicle/parking/bicycle.png";
2012    set icon_z17;
2013    text: auto;
2014}
2015node[park_ride][park_ride!=no] {
2016    icon-image: "vehicle/parking/park_ride.svg";
2017    set icon_z17;
2018    text: auto;
2019}
2020node[parking=underground] {
2021    icon-image: "vehicle/parking/underground.png";
2022    set icon_z17;
2023    text: auto;
2024}
2025node[parking=surface] {
2026    icon-image: "vehicle/parking.png";
2027    set icon_z17;
2028    text: auto;
2029}
2030node[amenity=parking_space][wheelchair?] {
2031    icon-image: "vehicle/parking/handicapped.png";
2032    set icon_z17;
2033    text: auto;
2034}
2035node[amenity=bicycle_rental] {
2036    icon-image: "vehicle/rental/bicycle.png";
2037    set icon_z17;
2038    text: auto;
2039}
2040node[amenity=car_rental] {
2041    icon-image: "vehicle/rental/car.png";
2042    set icon_z17;
2043    text: auto;
2044}
2045node[amenity=car_sharing] {
2046    icon-image: "vehicle/car_sharing.png";
2047    set icon_z17;
2048    text: auto;
2049}
2050node[amenity=car_wash] {
2051    icon-image: "vehicle/car_wash.png";
2052    set icon_z17;
2053    text: auto;
2054}
2055node[amenity=taxi] {
2056    icon-image: "transport/taxi.png";
2057    set icon_z17;
2058    text: auto;
2059}
2060node[amenity=fuel] {
2061    icon-image: "vehicle/fuel.png";
2062    set icon_z17;
2063    text: auto;
2064}
2065node[amenity=charging_station] {
2066    icon-image: "vehicle/fuel/charging_station.png";
2067    set icon_z17;
2068    text: auto;
2069}
2070node[amenity=grit_bin] {
2071    icon-image: "misc/grit_bin.png";
2072    set icon_z17;
2073    text: auto;
2074}
2075area[amenity=telephone] {
2076    fill-color: amenity_light#f7efb7;
2077}
2078node[amenity=telephone] {
2079    icon-image: "service/telephone.png";
2080    set icon_z17;
2081    text: auto;
2082}
2083node[amenity=clock] {
2084    icon-image: "service/clock.png";
2085    set icon_z17;
2086    text: auto;
2087}
2088/* Rule to delete by end of 2014 if this deprecated tag has finally been replaced by emergency=phone below */
2089area[amenity=emergency_phone] {
2090    fill-color: amenity_light#f7efb7;
2091}
2092node[amenity=emergency_phone] {
2093    icon-image: "vehicle/emergency_phone.png";
2094    set icon_z17;
2095    text: auto;
2096}
2097area[emergency=phone],
2098area[emergency=aed],
2099area[emergency=defibrillator],
2100area[amenity=toilets],
2101area[amenity=shower],
2102area[amenity=recycling] {
2103    fill-color: amenity_light#f7efb7;
2104}
2105node[emergency=phone] {
2106    icon-image: "vehicle/emergency_phone.png";
2107    set icon_z17;
2108    text: auto;
2109}
2110node[emergency=aed] {
2111    icon-image: "presets/aed.svg";
2112    set icon_z17;
2113    text: auto;
2114}
2115node[emergency=defibrillator] {
2116    icon-image: "presets/aed.svg";
2117    set icon_z17;
2118    text: auto;
2119}
2120node[amenity=toilets] {
2121    icon-image: "service/toilets.png";
2122    set icon_z17;
2123    text: auto;
2124}
2125node[amenity=shower] { 
2126    icon-image: "service/shower.svg"; 
2127    set icon_z17; 
2128    text: auto; 
2129}
2130node[amenity=recycling] {
2131    icon-image: "service/recycling.png";
2132    set icon_z17;
2133    text: auto;
2134}
2135node[amenity=waste_basket] {
2136    icon-image: "service/recycling/trash-bin.png";
2137    set icon_z17;
2138    text: auto;
2139}
2140node[amenity=waste_disposal] {
2141    icon-image: "service/recycling/waste_disposal.png";
2142    set icon_z17;
2143    text: auto;
2144}
2145area[amenity=public_building],
2146area[amenity=townhall],
2147area[amenity=embassy],
2148area[amenity=community_centre] {
2149    fill-color: amenity_light#f7efb7;
2150}
2151node[amenity=public_building],
2152node[amenity=townhall] {
2153    icon-image: "service.png";
2154    set icon_z17;
2155    text: auto;
2156}
2157node[amenity=embassy] {
2158    icon-image: "service/administration/embassy.png";
2159    set icon_z17;
2160    text: auto;
2161}
2162node[amenity=community_centre] {
2163    icon-image: "service/community_centre.png";
2164    set icon_z17;
2165    text: auto;
2166}
2167area[amenity=drinking_water],
2168area[amenity=fountain] {
2169    fill-color: light_water#00005f;
2170}
2171node[amenity=drinking_water] {
2172    icon-image: "food/drinking_water.png";
2173    set icon_z17;
2174    text: auto;
2175}
2176node[amenity=fountain] {
2177    icon-image: "misc/fountain.png";
2178    set icon_z17;
2179    text: auto;
2180}
2181area[amenity=place_of_worship],
2182area[amenity=grave_yard],
2183area[amenity=crematorium],
2184area[amenity=post_office],
2185area[amenity=post_box],
2186area[amenity=studio],
2187area[amenity=school],
2188area[amenity=university],
2189area[amenity=college],
2190area[amenity=kindergarten],
2191area[amenity=driving_school] {
2192    fill-color: amenity_light#f7efb7;
2193}
2194node[amenity=place_of_worship] {
2195    icon-image: "religion.png";
2196    set icon_z17;
2197    text: auto;
2198}
2199node[amenity=place_of_worship][religion=bahai] {
2200    icon-image: "religion/bahai.png";
2201    set icon_z17;
2202    text: auto;
2203}
2204node[amenity=place_of_worship][religion=buddhist] {
2205    icon-image: "religion/buddhism.png";
2206    set icon_z17;
2207    text: auto;
2208}
2209node[amenity=place_of_worship][religion=christian] {
2210    icon-image: "religion/church.png";
2211    set icon_z17;
2212    text: auto;
2213}
2214node[amenity=place_of_worship][religion=hindu] {
2215    icon-image: "religion/hinduism.png";
2216    set icon_z17;
2217    text: auto;
2218}
2219node[amenity=place_of_worship][religion=jain] {
2220    icon-image: "religion/jainism.png";
2221    set icon_z17;
2222    text: auto;
2223}
2224node[amenity=place_of_worship][religion=jewish] {
2225    icon-image: "religion/jewish.png";
2226    set icon_z17;
2227    text: auto;
2228}
2229node[amenity=place_of_worship][religion=muslim] {
2230    icon-image: "religion/muslim.png";
2231    set icon_z17;
2232    text: auto;
2233}
2234node[amenity=place_of_worship][religion=sikh] {
2235    icon-image: "religion/sikhism.png";
2236    set icon_z17;
2237    text: auto;
2238}
2239node[amenity=place_of_worship][religion=shinto] {
2240    icon-image: "religion/shinto.png";
2241    set icon_z17;
2242    text: auto;
2243}
2244node[amenity=place_of_worship][religion=spiritualist] {
2245    icon-image: "misc/no_icon.png";
2246    set icon_z17;
2247    text: auto;
2248}
2249node[amenity=place_of_worship][religion=taoist] {
2250    icon-image: "religion/taoism.png";
2251    set icon_z17;
2252    text: auto;
2253}
2254node[amenity=place_of_worship][religion=unitarian] {
2255    icon-image: "misc/no_icon.png";
2256    set icon_z17;
2257    text: auto;
2258}
2259node[amenity=place_of_worship][religion=zoroastrian] {
2260    icon-image: "misc/no_icon.png";
2261    set icon_z17;
2262    text: auto;
2263}
2264node[amenity=grave_yard] {
2265    icon-image: "rendering/landuse/cemetery.png";
2266    set icon_z17;
2267    text: auto;
2268}
2269node[amenity=crematorium] {
2270    icon-image: "misc/no_icon.png";
2271    set icon_z17;
2272    text: auto;
2273}
2274node[amenity=post_office] {
2275    icon-image: "service/post_office.png";
2276    set icon_z17;
2277    text: auto;
2278}
2279node[amenity=post_box] {
2280    icon-image: "service/post_box.png";
2281    set icon_z17;
2282    text: auto;
2283}
2284node[amenity=studio] {
2285    icon-image: "service/studio.png";
2286    set icon_z17;
2287    text: auto;
2288}
2289node[amenity=school] {
2290    icon-image: "education/school.png";
2291    set icon_z17;
2292    text: auto;
2293}
2294node[amenity=university] {
2295    icon-image: "education/university.png";
2296    set icon_z17;
2297    text: auto;
2298}
2299node[amenity=college] {
2300    icon-image: "education/college.png";
2301    set icon_z17;
2302    text: auto;
2303}
2304node[amenity=kindergarten] {
2305    icon-image: "education/kindergarten.png";
2306    set icon_z17;
2307    text: auto;
2308}
2309node[amenity=driving_school] {
2310    icon-image: "education/driving_school.png";
2311    set icon_z17;
2312    text: auto;
2313}
2314area[amenity=pharmacy],
2315area[amenity=hospital],
2316area[amenity=clinic],
2317area[amenity=nursery],
2318area[amenity=baby_hatch],
2319area[amenity=doctors],
2320area[amenity=dentist],
2321area[amenity=veterinary] {
2322    fill-color: health#eeeeee;
2323}
2324node[amenity=pharmacy] {
2325    icon-image: "health/pharmacy.png";
2326    set icon_z17;
2327    text: auto;
2328}
2329node[amenity=hospital],
2330node[amenity=clinic] {
2331    icon-image: "health/hospital.png";
2332    set icon_z17;
2333    text: auto;
2334}
2335node[amenity=nursery] {
2336    icon-image: "misc/no_icon.png";
2337    set icon_z17;
2338    text: auto;
2339}
2340node[amenity=baby_hatch] {
2341    icon-image: "health/baby_hatch.png";
2342    set icon_z17;
2343    text: auto;
2344}
2345node[amenity=doctors] {
2346    icon-image: "health/doctor.png";
2347    set icon_z17;
2348    text: auto;
2349}
2350node[amenity=dentist] {
2351    icon-image: "health/dentist.png";
2352    set icon_z17;
2353    text: auto;
2354}
2355node[amenity=veterinary] {
2356    icon-image: "health/veterinary.png";
2357    set icon_z17;
2358    text: auto;
2359}
2360area[amenity=library],
2361area[amenity=police],
2362area[amenity=fire_station],
2363area[amenity=bus_station],
2364area[amenity=ferry_terminal],
2365area[amenity=theatre],
2366area[amenity=cinema],
2367area[amenity=arts_centre],
2368area[amenity=courthouse],
2369area[amenity=prison],
2370area[amenity=bank],
2371area[amenity=bureau_de_change],
2372area[amenity=atm],
2373area[amenity=bbq] {
2374    fill-color: amenity_light#f7efb7;
2375}
2376node[amenity=library] {
2377    icon-image: "shop/rental/library.png";
2378    set icon_z17;
2379    text: auto;
2380}
2381node[amenity=police] {
2382    icon-image: "service/police.png";
2383    set icon_z17;
2384    text: auto;
2385}
2386node[amenity=fire_station] {
2387    icon-image: "service/firebrigade.png";
2388    set icon_z17;
2389    text: auto;
2390}
2391node[amenity=bus_station] {
2392    icon-image: "transport/bus.png";
2393    set icon_z17;
2394    text: auto;
2395}
2396node[amenity=ferry_terminal] {
2397    icon-image: "nautical/ferry.png";
2398    set icon_z17;
2399    text: auto;
2400}
2401node[amenity=theatre] {
2402    icon-image: "leisure/theater.png";
2403    set icon_z17;
2404    text: auto;
2405}
2406node[amenity=cinema] {
2407    icon-image: "leisure/cinema.png";
2408    set icon_z17;
2409    text: auto;
2410}
2411node[amenity=arts_centre] {
2412    icon-image: "service/arts_centre.png";
2413    set icon_z17;
2414    text: auto;
2415}
2416node[amenity=courthouse] {
2417    icon-image: "service/administration/court_of_law.png";
2418    set icon_z17;
2419    text: auto;
2420}
2421node[amenity=prison] {
2422    icon-image: "service/administration/prison.png";
2423    set icon_z17;
2424    text: auto;
2425}
2426node[amenity=bank] {
2427    icon-image: "money/bank.png";
2428    set icon_z17;
2429    text: auto;
2430}
2431node[amenity=bureau_de_change] {
2432    icon-image: "money/exchange.png";
2433    set icon_z17;
2434    text: auto;
2435}
2436node[amenity=atm] {
2437    icon-image: "money/atm.png";
2438    set icon_z17;
2439    text: auto;
2440}
2441way[amenity=bench] {
2442    width: 2;
2443    color: amenity_light#f7efb7;
2444}
2445node[amenity=bench] {
2446    icon-image: "leisure/bench.png";
2447    set icon_z17;
2448    text: auto;
2449}
2450node[amenity=bbq] {
2451    icon-image: "leisure/bbq.png";
2452    set icon_z17;
2453    text: auto;
2454}
2455node[emergency=fire_hydrant] {
2456    icon-image: "service/fire_hydrant.png";
2457    set icon_z17;
2458    text: auto;
2459}
2460area[amenity=shelter],
2461area[amenity=hunting_stand],
2462area[amenity=marketplace],
2463area[amenity=wlan],
2464area[amenity=vending_machine] {
2465    fill-color: amenity_light#f7efb7;
2466}
2467node[amenity=shelter] {
2468    icon-image: "accommodation/shelter.png";
2469    set icon_z17;
2470    text: auto;
2471}
2472node[amenity=shelter][shelter_type=public_transport] {
2473    icon-image: "accommodation/shelter_public_transport_brown.png";
2474    set icon_z17;
2475    text: auto;
2476}
2477node[amenity=shelter][shelter_type=picnic_shelter] {
2478    icon-image: "accommodation/shelter_picnic_brown.png";
2479    set icon_z17;
2480    text: auto;
2481}
2482node[amenity=shelter][shelter_type=basic_hut] {
2483    icon-image: "accommodation/basic_hut_blue.png";
2484    set icon_z17;
2485    text: auto;
2486}
2487node[amenity=hunting_stand] {
2488    icon-image: "hunting_stand.png";
2489    set icon_z17;
2490    text: auto;
2491}
2492node[amenity=marketplace] {
2493    icon-image: "place/marketplace.png";
2494    set icon_z17;
2495    text: auto;
2496}
2497node[amenity=wlan] {
2498    icon-image: "wlan.png";
2499    set icon_z17;
2500    text: auto;
2501}
2502node[amenity=vending_machine] {
2503    icon-image: "transport/ticket-machine.png";
2504    set icon_z17;
2505}
2506node[vending=excrement_bags] {
2507    icon-image: "service/excrement_bags.png";
2508    set icon_z17;
2509    text: auto;
2510}
2511
2512/**************/
2513/* craft tags */
2514/**************/
2515
2516area[craft=painter],
2517area[craft=plumber],
2518area[craft=pottery],
2519area[craft=stonemason],
2520area[craft=tiler],
2521area[craft=window_construction] {
2522    fill-color: craft#999900;
2523}
2524node[craft=painter] {
2525    icon-image: "craft/painter.png";
2526    set icon_z17;
2527    text: auto;
2528}
2529node[craft=plumber] {
2530    icon-image: "craft/plumber.png";
2531    set icon_z17;
2532    text: auto;
2533}
2534node[craft=pottery] {
2535    icon-image: "craft/pottery.png";
2536    set icon_z17;
2537    text: auto;
2538}
2539node[craft=stonemason] {
2540    icon-image: "craft/stonemason.png";
2541    set icon_z17;
2542    text: auto;
2543}
2544node[craft=tiler] {
2545    icon-image: "craft/tiler.png";
2546    set icon_z17;
2547    text: auto;
2548}
2549node[craft=window_construction] {
2550    icon-image: "craft/window_construction.png";
2551    set icon_z17;
2552    text: auto;
2553}
2554
2555/****************/
2556/* tourism tags */
2557/****************/
2558
2559area[tourism=hotel],
2560area[tourism=motel],
2561area[tourism=guest_house],
2562area[tourism=hostel],
2563area[tourism=chalet],
2564area[tourism=alpine_hut],
2565area[tourism=camp_site],
2566area[tourism=caravan_site] {
2567    fill-color: hotel#e1a0a2;
2568}
2569node[tourism=hotel] {
2570    icon-image: "accommodation.png";
2571    set icon_z17;
2572    text: auto;
2573}
2574node[tourism=motel] {
2575    icon-image: "accommodation/motel.png";
2576    set icon_z17;
2577    text: auto;
2578}
2579node[tourism=guest_house] {
2580    icon-image: "accommodation/guest_house.png";
2581    set icon_z17;
2582    text: auto;
2583}
2584node[tourism=hostel] {
2585    icon-image: "accommodation/hostel.png";
2586    set icon_z17;
2587    text: auto;
2588}
2589node[tourism=chalet] {
2590    icon-image: "accommodation/chalet.png";
2591    set icon_z17;
2592    text: auto;
2593}
2594node[tourism=alpine_hut] {
2595    icon-image: "accommodation/alpine_hut_blue.png";
2596    set icon_z17;
2597    text: auto;
2598}
2599node[tourism=wilderness_hut] {
2600    icon-image: "accommodation/wilderness_hut_blue.png";
2601    set icon_z17;
2602    text: auto;
2603}
2604node[tourism=camp_site] {
2605    icon-image: "accommodation/camping.png";
2606    set icon_z17;
2607    text: auto;
2608}
2609node[tourism=caravan_site] {
2610    icon-image: "accommodation/camping/caravan.png";
2611    set icon_z17;
2612    text: auto;
2613}
2614area[tourism=picnic_site],
2615area[tourism=viewpoint],
2616area[tourism=theme_park],
2617area[tourism=attraction],
2618area[tourism=zoo],
2619area[tourism=artwork],
2620area[tourism=museum] {
2621    fill-color: tourism#e180a2;
2622}
2623node[tourism=picnic_site] {
2624    icon-image: "leisure/picnic.png";
2625    set icon_z17;
2626    text: auto;
2627}
2628node[tourism=viewpoint] {
2629    icon-image: "sightseeing/viewpoint.png";
2630    set icon_z17;
2631    text: auto;
2632}
2633node[tourism=theme_park] {
2634    icon-image: "leisure/theme_park.png";
2635    set icon_z17;
2636    text: auto;
2637}
2638node[tourism=attraction] {
2639    icon-image: "sightseeing.png";
2640    set icon_z17;
2641    text: auto;
2642}
2643node[tourism=zoo] {
2644    icon-image: "leisure/zoo.png";
2645    set icon_z17;
2646    text: auto;
2647}
2648way[tourism=artwork] {
2649    width: 2;
2650    color: tourism#e180a2;
2651}
2652node[tourism=artwork] {
2653    icon-image: "service/arts_centre.png";
2654    set icon_z17;
2655    text: auto;
2656}
2657node[tourism=museum] {
2658    icon-image: "sightseeing/museum.png";
2659    set icon_z17;
2660    text: auto;
2661}
2662
2663/********************/
2664/* information tags */
2665/********************/
2666
2667area[tourism=information] {
2668    fill-color: tourism#e180a2;
2669}
2670node[tourism=information] {
2671    icon-image: "misc/information.png";
2672    set icon_z17;
2673    text: auto;
2674}
2675node[information=guidepost] {
2676    icon-image: "misc/information/guidepost.png";
2677    set icon_z17;
2678    text: auto;
2679}
2680area[information=office] {
2681    fill-color: tourism#e180a2;
2682}
2683node[information=office] {
2684    icon-image: "misc/information/informationoffice.png";
2685    set icon_z17;
2686    text: auto;
2687}
2688node[information=map] {
2689    icon-image: "misc/information/map.png";
2690    set icon_z17;
2691    text: auto;
2692}
2693node[information=board] {
2694    icon-image: "misc/information/board.png";
2695    set icon_z17;
2696    text: auto;
2697}
2698
2699/*****************/
2700/* historic tags */
2701/*****************/
2702
2703area[historic=castle],
2704area[historic=monument],
2705area[historic=memorial],
2706area[historic=archaeological_site],
2707area[historic=ruins],
2708area[historic=battlefield],
2709area[historic=palaeontological_site],
2710area[historic=wayside_cross],
2711area[historic=wayside_shrine],
2712area[historic=boundary_stone] {
2713    fill-color: historic#663300;
2714}
2715node[historic=castle] {
2716    icon-image: "sightseeing/castle.png";
2717    set icon_z17;
2718    text: auto;
2719}
2720node[historic=monument] {
2721    icon-image: "sightseeing/monument.png";
2722    set icon_z17;
2723    text: auto;
2724}
2725node[historic=memorial] {
2726    icon-image: "sightseeing/memorial.png";
2727    set icon_z17;
2728    text: auto;
2729}
2730node[historic=archaeological_site] {
2731    icon-image: "sightseeing/archaeological.png";
2732    set icon_z17;
2733    text: auto;
2734}
2735node[historic=ruins] {
2736    icon-image: "sightseeing/ruins.png";
2737    set icon_z17;
2738    text: auto;
2739}
2740node[historic=battlefield] {
2741    icon-image: "sightseeing/battlefield.png";
2742    set icon_z17;
2743    text: auto;
2744}
2745node[historic=palaeontological_site] {
2746    icon-image: "historic/palaeontological_site.png";
2747    set icon_z17;
2748    text: auto;
2749}
2750node[historic=wayside_cross] {
2751    icon-image: "religion/wayside_cross.png";
2752    set icon_z17;
2753    text: auto;
2754}
2755node[historic=wayside_shrine] {
2756    icon-image: "religion/wayside_shrine.png";
2757    set icon_z17;
2758    text: auto;
2759}
2760node[historic=boundary_stone] {
2761    icon-image: "historic/boundary_stone.png";
2762    set icon_z17;
2763    text: auto;
2764}
2765
2766/****************/
2767/* landuse tags */
2768/****************/
2769
2770area[landuse],
2771area[leisure],
2772area[amenity],
2773area[place],
2774area[natural],
2775area[man_made] {
2776    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
2777}
2778area[landuse=farm],
2779area[landuse=farmland],
2780area[landuse=meadow],
2781area[landuse=vineyard],
2782area[landuse=orchard] {
2783    fill-color: green#b1e0c2;
2784}
2785node[landuse=farm] {
2786    icon-image: "misc/landmark/farm.png";
2787    set icon_z17;
2788    text: auto;
2789}
2790node[landuse=farmland] {
2791    icon-image: "misc/landuse/farmland.png";
2792    set icon_z17;
2793    text: auto;
2794}
2795node[landuse=meadow] {
2796    icon-image: "misc/no_icon.png";
2797    set icon_z17;
2798    text: auto;
2799}
2800node[landuse=vineyard] {
2801    icon-image: "shop/groceries/fruits.png";
2802    set icon_z17;
2803    text: auto;
2804}
2805area[landuse=quarry] {
2806    fill-color: quarry#888888;
2807}
2808node[landuse=quarry] {
2809    icon-image: "misc/landmark/mine.png";
2810    set icon_z17;
2811    text: auto;
2812}
2813area[landuse=landfill] {
2814    fill-color: landfill#663300;
2815}
2816node[landuse=landfill] {
2817    icon-image: "misc/no_icon.png";
2818    set icon_z17;
2819    text: auto;
2820}
2821area[landuse=basin],
2822area[landuse=reservoir] {
2823    fill-color: basin#0000bf;
2824}
2825node[landuse=basin],
2826node[landuse=reservoir] {
2827    icon-image: "misc/no_icon.png";
2828    set icon_z17;
2829    text: auto;
2830}
2831area[landuse=forest] {
2832    fill-color: forest#b1efc8;
2833}
2834node[landuse=forest] {
2835    icon-image: "misc/landmark/trees.png";
2836    set icon_z17;
2837    text: auto;
2838}
2839area[landuse=allotments],
2840area[landuse=greenhouse_horticulture],
2841area[landuse=plant_nursery],
2842area[landuse=grass] {
2843    fill-color: green#b1e0c2;
2844}
2845node[landuse=allotments] {
2846    icon-image: "misc/landmark/plant.png";
2847    set icon_z17;
2848    text: auto;
2849}
2850node[landuse=greenhouse_horticulture] {
2851    icon-image: "misc/landuse/greenhouse_horticulture.png";
2852    set icon_z17;
2853    text: auto;
2854}
2855node[landuse=plant_nursery],
2856node[landuse=grass] {
2857    icon-image: "misc/landmark/plant.png";
2858    set icon_z17;
2859    text: auto;
2860}
2861area[landuse=residential] {
2862    fill-color: residential#f0f0f0;
2863}
2864node[landuse=residential] {
2865    icon-image: "misc/landuse/residential.png";
2866    set icon_z17;
2867    text: auto;
2868}
2869area[landuse=garages] {
2870    fill-color: garages#d6c8aa;
2871}
2872node[landuse=garages] {
2873    icon-image: "misc/landuse/garages.png";
2874    set icon_z17;
2875    text: auto;
2876}
2877area[landuse=farmyard] {
2878    fill-color: farmyard#f0f0f0;
2879}
2880node[landuse=farmyard] {
2881    icon-image: "misc/no_icon.png";
2882    set icon_z17;
2883    text: auto;
2884}
2885area[landuse=retail],
2886area[landuse=commercial] {
2887    fill-color: retail#ffc4ee;
2888}
2889node[landuse=retail] {
2890    icon-image: "shop/mall.png";
2891    set icon_z17;
2892    text: auto;
2893}
2894node[landuse=commercial] {
2895    icon-image: "misc/landuse/commercial.png";
2896    set icon_z17;
2897    text: auto;
2898}
2899area[landuse=industrial] {
2900    fill-color: industrial#ecd8ff;
2901}
2902node[landuse=industrial] {
2903    icon-image: "misc/landmark/works.png";
2904    set icon_z17;
2905    text: auto;
2906}
2907area[landuse=brownfield] {
2908    fill-color: brownfield#ecba32;
2909}
2910node[landuse=brownfield] {
2911    icon-image: "misc/no_icon.png";
2912    set icon_z17;
2913    text: auto;
2914}
2915area[landuse=greenfield] {
2916    fill-color: greenfield#b1ec5c;
2917}
2918node[landuse=greenfield] {
2919    icon-image: "misc/no_icon.png";
2920    set icon_z17;
2921    text: auto;
2922}
2923area[landuse=railway] {
2924    fill-color: railland#888888;
2925}
2926node[landuse=railway] {
2927    icon-image: "transport/railway_station.png";
2928    set icon_z17;
2929    text: auto;
2930}
2931area[landuse=construction] {
2932    fill-color: construction#ffff00;
2933}
2934way[landuse=construction] {
2935    width: 1;
2936    color: construction#ffff00;
2937    dashes: 9,9;
2938}
2939node[landuse=construction] {
2940    icon-image: "misc/construction.png";
2941    set icon_z17;
2942    text: auto;
2943}
2944area[landuse=military] {
2945    fill-color: military#b62c2c;
2946}
2947node[landuse=military] {
2948    icon-image: "vehicle/tank.png";
2949    set icon_z17;
2950    text: auto;
2951}
2952area[landuse=religious] {
2953    fill-color: religious#ffd454;
2954}
2955area[landuse=cemetery] {
2956    fill-color: cemetery#b1efc8;
2957}
2958node[landuse=cemetery] {
2959    icon-image: "rendering/landuse/cemetery.png";
2960    set icon_z17;
2961    text: auto;
2962}
2963area[landuse=village_green] {
2964    fill-color: green#b1e0c2;
2965}
2966node[landuse=village_green] {
2967    icon-image: "leisure/common.png";
2968    set icon_z17;
2969    text: auto;
2970}
2971area[landuse=recreation_ground] {
2972    fill-color: green#b1e0c2;
2973}
2974node[landuse=recreation_ground] {
2975    icon-image: "leisure/common.png";
2976    set icon_z17;
2977    text: auto;
2978}
2979
2980/*****************/
2981/* military tags */
2982/*****************/
2983
2984area[military=airfield],
2985area[military=bunker],
2986area[military=barracks],
2987area[military=danger_area],
2988area[military=range] {
2989    fill-color: military#b62c2c;
2990}
2991node[military=airfield] {
2992    icon-image: "transport/airport/airfield.png";
2993    set icon_z17;
2994    text: auto;
2995}
2996node[military=bunker] {
2997    icon-image: "misc/landmark/bunker.png";
2998    set icon_z17;
2999    text: auto;
3000}
3001node[military=barracks] {
3002    icon-image: "misc/no_icon.png";
3003    set icon_z17;
3004    text: auto;
3005}
3006node[military=danger_area] {
3007    icon-image: "misc/danger.png";
3008    set icon_z17;
3009    text: auto;
3010}
3011node[military=range] {
3012    icon-image: "misc/landmark/range.png";
3013    set icon_z17;
3014    text: auto;
3015}
3016
3017/*************************/
3018/* public_transport tags */
3019/*************************/
3020
3021node[public_transport=stop_position] {
3022    icon-image: "transport/railway_small.png";
3023    set icon_z17;
3024    text: auto;
3025}
3026node[highway=bus_stop] {
3027    icon-image: "transport/bus_small.png";
3028    set icon_z17;
3029    text: auto;
3030}
3031node[public_transport=stop_position][bus=yes] {
3032    icon-image: "transport/bus_small.png";
3033    set icon_z17;
3034    text: auto;
3035}
3036node[public_transport=stop_position][aerial=yes] {
3037    icon-image: "transport/aerialway.png";
3038    set icon_z17;
3039    text: auto;
3040}
3041node[public_transport=stop_position][ferry=yes] {
3042    icon-image: "transport/ferry.png";
3043    set icon_z17;
3044    text: auto;
3045}
3046node[public_transport=stop_position][tram=yes] {
3047    icon-image: "transport/tram.png";
3048    set icon_z17;
3049    text: auto;
3050}
3051node[public_transport=stop_position][train=yes] {
3052    icon-image: "transport/railway_small.png";
3053    set icon_z17;
3054    text: auto;
3055}
3056area[public_transport=platform]:closed {
3057    fill-color: service#809bc0;
3058}
3059way[public_transport=platform]!:closed {
3060    width: 3;
3061    color: service#809bc0;
3062    dashes: 12,3;
3063}
3064node[public_transport=platform] {
3065    icon-image: "transport/bus_small.png";
3066    set icon_z17;
3067    text: auto;
3068}
3069node[public_transport=platform][bus=yes] {
3070    icon-image: "transport/bus_small.png";
3071    set icon_z17;
3072    text: auto;
3073}
3074node[public_transport=platform][aerial=yes] {
3075    icon-image: "transport/aerialway/station.png";
3076    set icon_z17;
3077    text: auto;
3078}
3079node[public_transport=platform][ferry=yes] {
3080    icon-image: "transport/ferry.png";
3081    set icon_z17;
3082    text: auto;
3083}
3084node[public_transport=platform][tram=yes],
3085node[public_transport=platform][train=yes] {
3086    icon-image: "transport/railway_station.png";
3087    set icon_z17;
3088    text: auto;
3089}
3090
3091/****************/
3092/* railway tags */
3093/****************/
3094
3095area[railway=station], area[railway=tram_station],
3096area[railway=subway_entrance],
3097area[railway=crossing], area[railway=level_crossing] {
3098    fill-color: railwaypoint#f7efb7;
3099}
3100node[railway=station], node[railway=tram_station] {
3101    icon-image: "transport/railway_station.png";
3102    set icon_z17;
3103    text: auto;
3104}
3105node[railway=halt] {
3106    icon-image: "transport/railway_small.png";
3107    set icon_z17;
3108    text: auto;
3109}
3110node[railway=tram_stop] {
3111    icon-image: "transport/tram.png";
3112    set icon_z17;
3113    text: auto;
3114}
3115node[railway=subway_entrance] {
3116    icon-image: "transport/underground.png";
3117    set icon_z17;
3118    text: auto;
3119}
3120node[railway=crossing] {
3121    icon-image: "vehicle/crossing_small.png";
3122    set icon_z17;
3123    text: auto;
3124}
3125node[railway=level_crossing] {
3126    icon-image: "vehicle/crossing.png";
3127    set icon_z17;
3128    text: auto;
3129}
3130way[railway=rail] {
3131    width: 2;
3132    color: rail#404040;
3133    dashes: 9,9;
3134    dashes-background-color: raildashed#ffffff;
3135}
3136way[railway=rail][service=siding] {
3137    width: 1;
3138}
3139way[railway=rail][service=yard],
3140way[railway=rail][service=spur] {
3141    width: 1;
3142    color: railyard#552200
3143}
3144/* draw tram on top of other way (highway=*) or
3145   as a standalone style */
3146way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3147    object-z-index: 1;
3148    modifier: false; /* don't draw default way if there is no line on default layer */
3149    width: 1;
3150    color: railover#202020;
3151    dashes: 9,9;
3152    casing-width: 1;
3153    casing-color: otherrail#808080;
3154    casing-linecap: round;
3155    casing-dashes: 9,9;
3156}
3157way[railway=light_rail] {
3158    width: 2;
3159    color: otherrail#808080;
3160    dashes: 9,9;
3161}
3162way[railway=subway] {
3163    width: 1;
3164    color: subway#606060;
3165    dashes: 9,9;
3166}
3167way[railway=preserved] {
3168    width: 1;
3169    color: oldrail#404040;
3170    dashes: 9,9;
3171}
3172/* disused often appears together with highway=xy */
3173/* -> draw on separate layer with higher z-index, but use */
3174/* modifier: false; to suppress default line when used alone. */
3175/* use default layer when used without highway=* to display bridge correctly */
3176way[railway=disused][highway]::core_railway,
3177way[railway=disused][!highway],
3178way[railway=abandoned][highway]::core_railway,
3179way[railway=abandoned][!highway] {
3180    width: 1;
3181    modifier: false;
3182    z-index: 1;
3183    color: oldrail#404040;
3184    dashes: 9,9;
3185}
3186way[railway=narrow_gauge],
3187way[railway=monorail] {
3188    width: 1;
3189    color: rail#404040;
3190    dashes: 9,9;
3191}
3192area[railway=turntable],
3193area[railway=buffer_stop] {
3194    fill-color: rail#404040;
3195}
3196node[railway=turntable] {
3197    icon-image: "transport/turntable.png";
3198    set icon_z17;
3199    text: auto;
3200}
3201node[railway=buffer_stop] {
3202    icon-image: "transport/buffer_stop.png";
3203    set icon_z17;
3204    text: auto;
3205}
3206area[railway=platform]:closed {
3207    fill-color: rail#404040;
3208}
3209way[railway=platform] {
3210    width: 2;
3211    color: rail#404040;
3212}
3213way[railway=funicular] {
3214    width: 1;
3215    color: rail#404040;
3216    dashes: 9,9;
3217}
3218node[railway=rail], node[railway=tram], node[railway=light_rail],
3219node[railway=subway], node[railway=preserved],
3220node[railway=disused], node[railway=abandoned],
3221node[railway=narrow_gauge], node[railway=monorail],
3222node[railway=platform], node[railway=funicular],
3223node[service=yard], node[service=siding], node[service=spur] {
3224    icon-image: "misc/deprecated.png";
3225    set icon_z17;
3226    text: auto;
3227}
3228way[railway=construction][!highway] {
3229    width: 1;
3230    color: construction#ffff00;
3231    dashes: 9,9;
3232}
3233way[railway=construction][construction=rail] {
3234    width: 2;
3235    color: rail#404040;
3236    dashes: 9,9;
3237    dashes-background-color: construction#ffff00;
3238}
3239way[railway=construction][construction=light_rail] {
3240    width: 2;
3241}
3242way[railway=construction][construction=tram][highway]::core_railway,
3243way[railway=construction][construction=tram][!highway] {
3244    z-index: 1;
3245    width: 1;
3246    color: railover#202020;
3247    dashes: 9,9;
3248    casing-width: 1;
3249    casing-color: construction#ffff00;
3250    casing-linecap: round;
3251    casing-dashes: 9,9;
3252}
3253
3254/****************/
3255/* aeroway tags */
3256/****************/
3257
3258area[aeroway=aerodrome]:closed {
3259    fill-color: aeroway#660000;
3260}
3261way[aeroway=aerodrome] {
3262    width: 2;
3263    color: aeroway#660000;
3264    dashes: 9,9;
3265}
3266node[aeroway=aerodrome] {
3267    icon-image: "transport/airport.png";
3268    set icon_z17;
3269    text: auto;
3270}
3271area[aeroway=terminal] {
3272    fill-color: terminal#bb0000;
3273}
3274node[aeroway=terminal] {
3275    icon-image: "transport/airport/terminal.png";
3276    set icon_z17;
3277    text: auto;
3278}
3279area[aeroway=helipad] {
3280    fill-color: aeroway_dark#330000;
3281}
3282node[aeroway=helipad] {
3283    icon-image: "transport/airport/helipad.png";
3284    set icon_z17;
3285    text: auto;
3286}
3287area[aeroway=runway]:closed {
3288    fill-color: aeroway_dark#330000;
3289}
3290way[aeroway=runway] {
3291    width: 3;
3292    color: aeroway_dark#330000;
3293}
3294node[aeroway=runway] {
3295    icon-image: "transport/airport/runway.png";
3296    set icon_z17;
3297    text: auto;
3298}
3299area[aeroway=taxiway]:closed {
3300    fill-color: aeroway#660000;
3301}
3302way[aeroway=taxiway] {
3303    width: 2;
3304    color: aeroway#660000;
3305}
3306node[aeroway=taxiway] {
3307    icon-image: "transport/airport/taxiway.png";
3308    set icon_z17;
3309    text: auto;
3310}
3311area[aeroway=apron], area[aeroway=hangar] {
3312    fill-color: aeroway_light#990000;
3313}
3314node[aeroway=apron] {
3315    icon-image: "transport/airport/apron.png";
3316    set icon_z17;
3317    text: auto;
3318}
3319node[aeroway=hangar] {
3320    icon-image: "transport/airport/hangar.png";
3321    set icon_z17;
3322    text: auto;
3323}
3324node[aeroway=gate] {
3325    icon-image: "transport/airport/gate.png";
3326    set icon_z17;
3327    text: auto;
3328}
3329node[aeroway=windsock] {
3330    icon-image: "transport/airport/windsock.png";
3331    set icon_z17;
3332    text: auto;
3333}
3334
3335/******************/
3336/* aerialway tags */
3337/******************/
3338
3339way[aerialway=cable_car],
3340way[aerialway=gondola] {
3341    width: 1;
3342    color: aerialway#663300;
3343    dashes: 9,9;
3344}
3345node[aerialway=cable_car] {
3346    icon-image: "transport/aerialway/cable_car.png";
3347    set icon_z17;
3348    text: auto;
3349}
3350node[aerialway=gondola] {
3351    icon-image: "transport/aerialway/gondola.png";
3352    set icon_z17;
3353    text: auto;
3354}
3355way[aerialway=chair_lift] {
3356    width: 1;
3357    color: aerialway#663300;
3358    dashes: 6,6;
3359}
3360node[aerialway=chair_lift] {
3361    icon-image: "transport/aerialway/chair_lift.png";
3362    set icon_z17;
3363    text: auto;
3364}
3365way[aerialway=drag_lift] {
3366    width: 1;
3367    color: aerialway#663300;
3368    dashes: 3,3;
3369}
3370node[aerialway=drag_lift] {
3371    icon-image: "transport/aerialway/drag_lift.png";
3372    set icon_z17;
3373    text: auto;
3374}
3375area[aerialway=station],
3376area[aerialway=pylon] {
3377    fill-color: aerialway#663300;
3378}
3379node[aerialway=station] {
3380    icon-image: "transport/aerialway/station.png";
3381    set icon_z17;
3382    text: auto;
3383}
3384node[aerialway=pylon] {
3385    icon-image: "misc/landmark/power/tower_small.png";
3386    set icon_z17;
3387    text: auto;
3388}
3389way[aerialway=goods] {
3390    width: 1;
3391    color: aerialway#663300;
3392    dashes: 2,2;
3393}
3394node[aerialway=goods] {
3395    icon-image: "transport/aerialway/goods.png";
3396    set icon_z17;
3397    text: auto;
3398}
3399
3400/**************/
3401/* sport tags */
3402/**************/
3403
3404area[sport="9pin"],
3405area[sport="10pin"],
3406area[sport=athletics],
3407area[sport=soccer],
3408area[sport=australian_football],
3409area[sport=american_football],
3410area[sport=canadian_football],
3411area[sport=gaelic_football],
3412area[sport=rugby_league],
3413area[sport=rugby_union] {
3414    fill-color: sport#bde3cb;
3415}
3416node[sport="9pin"] {
3417    icon-image: "sport/10pin.png";
3418    set icon_z17;
3419    text: auto;
3420}
3421node[sport="10pin"] {
3422    icon-image: "sport/10pin.png";
3423    set icon_z17;
3424    text: auto;
3425}
3426node[sport=athletics] {
3427    icon-image: "sport/athletics.png";
3428    set icon_z17;
3429    text: auto;
3430}
3431node[sport=soccer],
3432node[sport=australian_football],
3433node[sport=american_football],
3434node[sport=canadian_football],
3435node[sport=gaelic_football] {
3436    icon-image: "sport/soccer.png";
3437    set icon_z17;
3438    text: auto;
3439}
3440node[sport=rugby_league],
3441node[sport=rugby_union] {
3442    icon-image: "sport/football.png";
3443    set icon_z17;
3444    text: auto;
3445}
3446area[sport=baseball],
3447area[sport=basketball],
3448area[sport=boules],
3449area[sport=bowls],
3450area[sport=canoe],
3451area[sport=chess],
3452area[sport=climbing]:closed,
3453area[sport=cricket],
3454area[sport=cricket_nets],
3455area[sport=croquet] {
3456    fill-color: sport#bde3cb;
3457}
3458node[sport=baseball] {
3459    icon-image: "sport/baseball.png";
3460    set icon_z17;
3461    text: auto;
3462}
3463node[sport=basketball] {
3464    icon-image: "sport/basketball.png";
3465    set icon_z17;
3466    text: auto;
3467}
3468node[sport=boules] {
3469    icon-image: "sport/boule.png";
3470    set icon_z17;
3471    text: auto;
3472}
3473node[sport=bowls] {
3474    icon-image: "sport/boule.png";
3475    set icon_z17;
3476    text: auto;
3477}
3478node[sport=canoe] {
3479    icon-image: "sport/canoe.png";
3480    set icon_z17;
3481    text: auto;
3482}
3483node[sport=chess] {
3484    icon-image: "sport/chess.png";
3485    set icon_z17;
3486    text: auto;
3487}
3488node[sport=climbing] {
3489    icon-image: "sport/climbing.png";
3490    set icon_z17;
3491    text: auto;
3492}
3493node[sport=cricket] {
3494    icon-image: "sport/cricket.png";
3495    set icon_z17;
3496    text: auto;
3497}
3498node[sport=cricket_nets] {
3499    icon-image: "misc/no_icon.png";
3500    set icon_z17;
3501    text: auto;
3502}
3503node[sport=croquet] {
3504    icon-image: "sport/croquet.png";
3505    set icon_z17;
3506    text: auto;
3507}
3508area[sport=cycling],
3509area[sport=dog_racing],
3510area[sport=equestrian],
3511area[sport=golf],
3512area[sport=gymnastics],
3513area[sport=hockey],
3514area[sport=horse_racing],
3515area[sport=karting],
3516area[sport=motocross],
3517area[sport=motor] {
3518    fill-color: sport#bde3cb;
3519}
3520node[sport=cycling] {
3521    icon-image: "sport/cycling.png";
3522    set icon_z17;
3523    text: auto;
3524}
3525node[sport=dog_racing] {
3526    icon-image: "leisure/dog.png";
3527    set icon_z17;
3528    text: auto;
3529}
3530node[sport=equestrian] {
3531    icon-image: "sport/riding.png";
3532    set icon_z17;
3533    text: auto;
3534}
3535node[sport=golf] {
3536    icon-image: "sport/golf.png";
3537    set icon_z17;
3538    text: auto;
3539}
3540node[sport=gymnastics] {
3541    icon-image: "sport/multi.png";
3542    set icon_z17;
3543    text: auto;
3544}
3545node[sport=hockey] {
3546    icon-image: "sport/hockey.png";
3547    set icon_z17;
3548    text: auto;
3549}
3550node[sport=horse_racing] {
3551    icon-image: "sport/riding.png";
3552    set icon_z17;
3553    text: auto;
3554}
3555node[sport=karting] {
3556    icon-image: "sport/karting.png";
3557    set icon_z17;
3558    text: auto;
3559}
3560node[sport=motocross] {
3561    icon-image: "sport/motocross.png";
3562    set icon_z17;
3563    text: auto;
3564}
3565node[sport=motor] {
3566    icon-image: "sport/motor.png";
3567    set icon_z17;
3568    text: auto;
3569}
3570area[sport=multi],
3571area[sport=pelota],
3572area[sport=racquet],
3573area[sport=skating],
3574area[sport=skateboard] {
3575    fill-color: sport#bde3cb;
3576}
3577node[sport=multi] {
3578    icon-image: "sport/multi.png";
3579    set icon_z17;
3580    text: auto;
3581}
3582node[sport=pelota] {
3583    icon-image: "sport/pelota.png";
3584    set icon_z17;
3585    text: auto;
3586}
3587node[sport=racquet] {
3588    icon-image: "sport/racquetball.png";
3589    set icon_z17;
3590    text: auto;
3591}
3592node[sport=skating] {
3593    icon-image: "sport/skating.png";
3594    set icon_z17;
3595    text: auto;
3596}
3597node[sport=skateboard] {
3598    icon-image: "sport/skateboard.png";
3599    set icon_z17;
3600    text: auto;
3601}
3602area[sport=swimming] {
3603    fill-color: swimming_pool#51c4ef;
3604}
3605node[sport=swimming] {
3606    icon-image: "sport/pool.png";
3607    set icon_z17;
3608    text: auto;
3609}
3610area[sport=skiing],
3611area[sport=table_tennis],
3612area[sport=tennis],
3613area[sport=paintball] {
3614    fill-color: sport#bde3cb;
3615}
3616node[sport=skiing] {
3617    icon-image: "sport/skiing.png";
3618    set icon_z17;
3619    text: auto;
3620}
3621node[sport=table_tennis] {
3622    icon-image: "sport/table_tennis.png";
3623    set icon_z17;
3624    text: auto;
3625}
3626node[sport=tennis] {
3627    icon-image: "sport/tennis.png";
3628    set icon_z17;
3629    text: auto;
3630}
3631node[sport=paintball] {
3632    icon-image: "misc/no_icon.png";
3633    set icon_z17;
3634    text: auto;
3635}
3636area[sport=squash],
3637area[sport=shooting],
3638area[sport=volleyball],
3639area[sport=beachvolleyball],
3640area[sport=bowling],
3641area[sport=handball],
3642area[sport=rowing],
3643area[sport=sailing],
3644area[sport=scuba_diving],
3645area[sport=badminton] {
3646    fill-color: sport#bde3cb;
3647}
3648node[sport=squash] {
3649    icon-image: "misc/no_icon.png";
3650    set icon_z17;
3651    text: auto;
3652}
3653node[sport=shooting] {
3654    icon-image: "misc/no_icon.png";
3655    set icon_z17;
3656    text: auto;
3657}
3658node[sport=volleyball] {
3659    icon-image: "sport/volleyball.png";
3660    set icon_z17;
3661    text: auto;
3662}
3663node[sport=beachvolleyball] {
3664    icon-image: "sport/beachvolleyball.png";
3665    set icon_z17;
3666    text: auto;
3667}
3668node[sport=bowling] {
3669    icon-image: "sport/10pin.png";
3670    set icon_z17;
3671    text: auto;
3672}
3673node[sport=handball] {
3674    icon-image: "sport/handball.png";
3675    set icon_z17;
3676    text: auto;
3677}
3678node[sport=rowing] {
3679    icon-image: "sport/rowing.png";
3680    set icon_z17;
3681    text: auto;
3682}
3683node[sport=sailing] {
3684    icon-image: "misc/no_icon.png";
3685    set icon_z17;
3686    text: auto;
3687}
3688node[sport=scuba_diving] {
3689    icon-image: "sport/scuba_diving.svg";
3690    set icon_z17;
3691    text: auto;
3692}
3693node[sport=badminton] {
3694    icon-image: "misc/no_icon.png";
3695    set icon_z17;
3696    text: auto;
3697}
3698area[sport=archery],
3699area[sport=fishing],
3700area[sport=safety_training],
3701area[sport=model_aerodrome],
3702area[sport=rc_car] {
3703    fill-color: sport#bde3cb;
3704}
3705node[sport=archery] {
3706    icon-image: "sport/archery.png";
3707    set icon_z17;
3708    text: auto;
3709}
3710node[sport=fishing] {
3711    icon-image: "sport/fishing.png";
3712    set icon_z17;
3713    text: auto;
3714}
3715node[sport=safety_training] {
3716    icon-image: "sport/safety_training.png";
3717    set icon_z17;
3718    text: auto;
3719}
3720node[sport=model_aerodrome] {
3721    icon-image: "transport/airport.png";
3722    set icon_z17;
3723    text: auto;
3724}
3725node[sport=rc_car] {
3726    icon-image: "transport/car.png";
3727    set icon_z17;
3728    text: auto;
3729}
3730
3731/****************/
3732/* natural tags */
3733/****************/
3734
3735area[natural=spring] {
3736    fill-color: light_water#00005f;
3737}
3738node[natural=spring] {
3739    icon-image: "misc/landmark/spring.png";
3740    set icon_z17;
3741    text: auto;
3742}
3743node[natural=saddle] {
3744    icon-image: "presets/saddle.svg";
3745    set icon_z0;
3746    text: auto;
3747    set text_z0;
3748}
3749area[natural=peak] {
3750    fill-color: peak#663300;
3751}
3752node[natural=peak] {
3753    icon-image: "presets/peak.svg";
3754    set icon_z0;
3755    text: auto;
3756    set text_z0;
3757}
3758node[natural=peak][tourism=viewpoint] {
3759    icon-image: "sightseeing/peak_viewpoint.svg";
3760    set icon_z0;
3761    text: auto;
3762    set text_z0;
3763}
3764area[natural=glacier] {
3765    fill-color: glacier#ffffff;
3766}
3767node[natural=glacier] {
3768    icon-image: "misc/landmark/glacier_small.png";
3769    set icon_z0;
3770    text: auto;
3771    set text_z0;
3772}
3773area[natural=volcano] {
3774    fill-color: volcano#5f0000;
3775}
3776node[natural=volcano] {
3777    icon-image: "misc/landmark/volcano_small.png";
3778    set icon_z0;
3779    text: auto;
3780    set text_z0;
3781}
3782area[natural=cliff]:closed {
3783    fill-color: natural#002f00;
3784}
3785way[natural=cliff] {
3786    repeat-image: "misc/cliff-pattern.png";
3787    repeat-image-align: top;
3788    width: 1;
3789    color: #b2b2b2;
3790}
3791node[natural=cliff] {
3792    icon-image: "misc/cliff.png";
3793    set icon_z17;
3794    text: auto;
3795}
3796area[natural=scree] {
3797    fill-color: natural#002f00;
3798}
3799node[natural=scree] {
3800    icon-image: "misc/no_icon.png";
3801    set icon_z17;
3802    text: auto;
3803}
3804area[natural=scrub] {
3805    fill-color: scrub#007000;
3806}
3807node[natural=scrub] {
3808    icon-image: "presets/scrub.svg";
3809    set icon_z17;
3810    text: auto;
3811}
3812area[natural=fell] {
3813    fill-color: natural#002f00;
3814}
3815node[natural=fell] {
3816    icon-image: "misc/no_icon.png";
3817    set icon_z17;
3818    text: auto;
3819}
3820area[natural=heath] {
3821    fill-color: heath#ffffc0;
3822}
3823node[natural=heath] {
3824    icon-image: "misc/no_icon.png";
3825    set icon_z17;
3826    text: auto;
3827}
3828way[natural=tree_row] {
3829    width: 2;
3830    color: woodarea#008000;
3831}
3832node[natural=tree_row] {
3833    icon-image: "misc/no_icon.png";
3834    set icon_z17;
3835    text: auto;
3836}
3837area[natural=wood] {
3838    fill-color: woodarea#008000;
3839}
3840node[natural=wood] {
3841    icon-image: "misc/landmark/trees.png";
3842    set icon_z17;
3843    text: auto;
3844}
3845area[natural=grassland] {
3846    fill-color: green#b1e0c2;
3847}
3848node[natural=grassland] {
3849    icon-image: "misc/no_icon.png";
3850    set icon_z17;
3851    text: auto;
3852}
3853area[natural=wetland] {
3854    fill-color: marsh#4f4ff3;
3855}
3856node[natural=wetland] {
3857    icon-image: "misc/no_icon.png";
3858    set icon_z17;
3859    text: auto;
3860}
3861area[natural=water] {
3862    fill-color: water#0000ff;
3863}
3864node[natural=water] {
3865    icon-image: "nautical/water.png";
3866    set icon_z17;
3867    text: auto;
3868}
3869way[natural=coastline] {
3870    width: 1;
3871    color: water#0000ff;
3872}
3873node[natural=coastline] {
3874    icon-image: "misc/coastline.png";
3875    set icon_z17;
3876    text: auto;
3877}
3878area[natural=mud] {
3879    fill-color: mud#cba762;
3880}
3881node[natural=mud] {
3882    icon-image: "misc/mud.png";
3883    set icon_z17;
3884    text: auto;
3885}
3886area[natural=beach] {
3887    fill-color: beach#f8dba2;
3888}
3889node[natural=beach] {
3890    icon-image: "misc/beach.png";
3891    set icon_z17;
3892    text: auto;
3893}
3894area[natural=sand] {
3895    fill-color: sand#f8dba2;
3896}
3897node[natural=sand] {
3898    icon-image: "misc/no_icon.png";
3899    set icon_z17;
3900    text: auto;
3901}
3902area[natural=bay],
3903area[natural=land],
3904area[natural=cave_entrance] {
3905    fill-color: natural#002f00;
3906}
3907node[natural=bay] {
3908    icon-image: "misc/bay.png";
3909    set icon_z17;
3910    text: auto;
3911}
3912node[natural=land] {
3913    icon-image: "misc/no_icon.png";
3914    set icon_z17;
3915    text: auto;
3916}
3917node[natural=cave_entrance] {
3918    icon-image: "misc/landmark/cave_entrance.png";
3919    set icon_z17;
3920    text: auto;
3921}
3922node[natural=tree] {
3923    icon-image: "misc/landmark/trees.png";
3924    set icon_z17;
3925    text: auto;
3926}
3927node[natural=tree][type=conifer],
3928node[natural=tree][leaf_type=needleleaved] {
3929    icon-image: "misc/landmark/trees_conifer.png";
3930    set icon_z17;
3931    text: auto;
3932}
3933node[natural=tree][type=broad_leaved],
3934node[natural=tree][leaf_type=broadleaved] {
3935    icon-image: "misc/landmark/trees_broad_leaved.png";
3936    set icon_z17;
3937    text: auto;
3938}
3939node[natural=tree][type=palm] {
3940    icon-image: "misc/landmark/trees_palm.png";
3941    set icon_z17;
3942    text: auto;
3943}
3944
3945/*****************/
3946/* waterway tags */
3947/*****************/
3948
3949way[waterway=river] {
3950    width: 2;
3951    color: water#0000ff;
3952}
3953area[waterway=riverbank] {
3954    fill-color: riverbank#0000cf;
3955    width: 1;
3956    color: riverbank#0000cf;
3957}
3958way[waterway=canal], way[waterway=wadi] {
3959    width: 2;
3960    color: water#0000ff;
3961}
3962way[waterway=stream] {
3963    width: 1;
3964    color: stream#6600cc;
3965}
3966way[waterway=ditch], way[waterway=drain] {
3967    width: 1;
3968    color: water#0000ff;
3969}
3970area[waterway=dock] {
3971    fill-color: dock#0000cf;
3972}
3973node[waterway=dock] {
3974    icon-image: "nautical/boatyard.png";
3975    set icon_z17;
3976    text: auto;
3977}
3978node[waterway=lock_gate] {
3979    icon-image: "nautical/lock_gate.png";
3980    set icon_z17;
3981    text: auto;
3982}
3983node[waterway=turning_point] {
3984    icon-image: "nautical/turning.png";
3985    set icon_z17;
3986    text: auto;
3987}
3988area[waterway=boatyard] {
3989    fill-color: manmade#d8d8d8;
3990}
3991node[waterway=boatyard] {
3992    icon-image: "nautical/boatyard.png";
3993    set icon_z17;
3994    text: auto;
3995}
3996node[waterway=water_point] {
3997    icon-image: "accommodation/camping/water.png";
3998    set icon_z17;
3999    text: auto;
4000}
4001node[waterway=waste_disposal] {
4002    icon-image: "accommodation/camping/wastewater.png";
4003    set icon_z17;
4004    text: auto;
4005}
4006node[waterway=mooring] {
4007    icon-image: "nautical/marina.png";
4008    set icon_z17;
4009    text: auto;
4010}
4011way[waterway=weir] {
4012    width: 2;
4013    color: manmade#d8d8d8;
4014}
4015node[waterway=weir] {
4016    icon-image: "nautical/weir.png";
4017    set icon_z17;
4018    text: auto;
4019}
4020way[waterway=rapids] {
4021    width: 2;
4022    color: rapids#8080ff;
4023}
4024node[waterway=rapids] {
4025    icon-image: "misc/no_icon.png";
4026    set icon_z17;
4027    text: auto;
4028}
4029area[waterway=dam]:closed {
4030    fill-color: manmade#d8d8d8;
4031}
4032way[waterway=dam] {
4033    width: 2;
4034    color: manmade#d8d8d8;
4035}
4036node[waterway=dam] {
4037    icon-image: "nautical/dam.png";
4038    set icon_z17;
4039    text: auto;
4040}
4041/* it's not possible to have both line and area, line seems more likely */
4042way[waterway=waterfall] {
4043    width: 2;
4044    color: manmade#d8d8d8;
4045}
4046node[waterway=waterfall] {
4047    icon-image: "nautical/waterfall.png";
4048    set icon_z17;
4049    text: auto;
4050}
4051node[waterway=river], node[waterway=riverbank],
4052node[waterway=canal], node[waterway=wadi],
4053node[waterway=stream],
4054node[waterway=ditch], node[waterway=drain] {
4055    icon-image: "misc/deprecated.png";
4056    set icon_z17;
4057    text: auto;
4058}
4059
4060/**************/
4061/* route tags */
4062/**************/
4063
4064way[route=ferry] {
4065    width: 1;
4066    color: ferry#809bc0;
4067    dashes: 9,9;
4068}
4069node[route=bus],
4070node[route=ferry],
4071node[route=flight],
4072node[route=ncn],
4073node[route=subsea],
4074node[route=ski],
4075node[route=tour],
4076node[route=pub_crawl] {
4077    icon-image: "misc/deprecated.png";
4078    set icon_z17;
4079    text: auto;
4080}
4081
4082/*******************/
4083/* properties tags */
4084/*******************/
4085
4086node[mountain_pass?] {
4087    icon-image: "misc/landmark/mountain_pass.png";
4088    set icon_z0;
4089    text: auto;
4090    set text_z0;
4091}
4092
4093/*****************/
4094/* boundary tags */
4095/*****************/
4096
4097way[boundary=national]::core_boundary,
4098way[boundary=administrative]::core_boundary,
4099way[boundary=postal_code]::core_boundary,
4100way[boundary=political]::core_boundary,
4101way[boundary=national_park]::core_boundary {
4102    z-index: 2;
4103    modifier: false;
4104    width: 1;
4105    color: boundary#FF6600;
4106    dashes: 9,9;
4107}
4108way[admin_level=9]::core_boundary,
4109relation[admin_level=9] > way::core_boundary,
4110way[admin_level=10]::core_boundary,
4111relation[admin_level=10] > way::core_boundary {
4112    z-index: 2;
4113    modifier: false;
4114    width: 1;
4115    color: boundary#FF6600;
4116    dashes: 9,9;
4117}
4118way[admin_level=7]::core_boundary,
4119relation[admin_level=7] > way::core_boundary,
4120way[admin_level=8]::core_boundary,
4121relation[admin_level=8] > way::core_boundary {
4122    z-index: 2;
4123    modifier: false;
4124    width: 2;
4125    color: boundary#FF6600;
4126    dashes: 9,9;
4127}
4128way[admin_level=5]::core_boundary,
4129relation[admin_level=5] > way::core_boundary,
4130way[admin_level=6]::core_boundary,
4131relation[admin_level=6] > way::core_boundary {
4132    z-index: 2;
4133    modifier: false;
4134    width: 3;
4135    color: boundary#FF6600;
4136    dashes: 9,9;
4137}
4138way[admin_level=3]::core_boundary,
4139relation[admin_level=3] > way::core_boundary,
4140way[admin_level=4]::core_boundary,
4141relation[admin_level=4] > way::core_boundary {
4142    z-index: 2;
4143    modifier: false;
4144    width: 4;
4145    color: boundary#FF6600;
4146    dashes: 9,9;
4147}
4148way[admin_level=1]::core_boundary,
4149relation[admin_level=1] > way::core_boundary,
4150way[admin_level=2]::core_boundary,
4151relation[admin_level=2] > way::core_boundary {
4152    z-index: 2;
4153    modifier: false;
4154    width: 5;
4155    color: boundary#FF6600;
4156    dashes: 9,9;
4157}
4158node[boundary=national],
4159node[boundary=administrative],
4160node[boundary=postal_code],
4161node[boundary=political],
4162node[boundary=national_park] {
4163    icon-image: "misc/deprecated.png";
4164    set icon_z17;
4165    text: auto;
4166}
4167
4168/******************/
4169/* maxspeed nodes */
4170/******************/
4171node[maxspeed=none][!is_prop_set(icon-image)] {
4172    icon-image: "vehicle/restriction/maxspeed_none.svg";
4173    set icon_z17;
4174}
4175node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4176    maxspeedprop: tag(maxspeed);
4177    set maxspeedclass;
4178}
4179node[maxspeed=signals][!is_prop_set(icon-image)] {
4180    maxspeedprop: " ?";
4181    set maxspeedclass;
4182}
4183node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4184    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4185    set maxspeedclass;
4186}
4187node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4188    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4189    set maxspeedclass;
4190}
4191node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4192    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4193    set maxspeedclass;
4194}
4195node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4196    /* background (white) */
4197    symbol-shape: circle;
4198    symbol-size: 17;
4199    symbol-fill-color: white;
4200    major-z-index: 4.2;
4201}
4202node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4203node[maxspeed=signals]::core_maxnodebg {
4204    /* background (black) */
4205    symbol-fill-color: black;
4206}
4207node[prop(maxspeedclass, default)]::core_maxnodefg {
4208    /* foreground (black text and red circle) */
4209    symbol-shape: circle;
4210    symbol-size: 15;
4211    symbol-stroke-color: crimson;
4212    symbol-stroke-width: 2;
4213    text: prop(maxspeedprop, default);
4214    font-size: 8;
4215    font-weight: bold;
4216    text-color: black;
4217    text-anchor-horizontal: center;
4218    text-anchor-vertical: center;
4219    text-offset-x: 0;
4220    text-offset-y: -1;
4221    major-z-index: 4.2;
4222}
4223node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4224node[maxspeed=signals]::core_maxnodefg {
4225    /* foreground (white text) */
4226    text-color: white;
4227}
4228node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4229    symbol-shape: none;
4230}
4231node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4232    text: none;
4233    symbol-shape: none;
4234}
4235
4236/**************/
4237/* place tags */
4238/**************/
4239
4240/* lot's of "openGeoDB:..." tags can be found in germany */
4241node["openGeoDB:type"=Stadt],
4242node["openGeoDB:type"=Kreis],
4243node["openGeoDB:type"=Gemeinde],
4244node["openGeoDB:type"=Ort],
4245node["openGeoDB:type"=District],
4246node["openGeoDB:location"=locality] {
4247    icon-image: "place/settlement/town.png";
4248    set icon_z0;
4249    text: auto;
4250    set text_z0;
4251    font-size: 10;
4252    font-weight: bold;
4253    text-color:black;
4254    text-halo-color: white;
4255    text-halo-radius: 1;
4256}
4257area[place=continent],
4258area[place=country],
4259area[place=state],
4260area[place=region],
4261area[place=county],
4262area[place=city],
4263area[place=town],
4264area[place=village],
4265area[place=hamlet],
4266area[place=farm],
4267area[place=isolated_dwelling],
4268area[place=neighbourhood],
4269area[place=suburb],
4270area[place=locality],
4271area[place=island],
4272area[place=islet] {
4273    fill-color: place#8de3cb;
4274}
4275node[place=continent],
4276node[place=country],
4277node[place=state],
4278node[place=region],
4279node[place=county] {
4280    icon-image: "place/settlement/capital.png";
4281    set icon_z0;
4282    text: auto;
4283    set text_z0;
4284    font-size: 10;
4285    font-weight: bold;
4286    text-color:black;
4287    text-halo-color: white;
4288    text-halo-radius: 1;
4289}
4290node[place=city] {
4291    icon-image: "place/settlement/city.png";
4292    set icon_z0;
4293    text: auto;
4294    set text_z0;
4295    font-size: 10;
4296    font-weight: bold;
4297    text-color:black;
4298    text-halo-color: white;
4299    text-halo-radius: 1;
4300}
4301node[place=town],
4302node[place=village],
4303node[place=hamlet],
4304node[place=farm],
4305node[place=isolated_dwelling],
4306node[place=neighbourhood],
4307node[place=suburb] {
4308    icon-image: "place/settlement/town.png";
4309    set icon_z0;
4310    text: auto;
4311    set text_z0;
4312    font-size: 10;
4313    font-weight: bold;
4314    text-color:black;
4315    text-halo-color: white;
4316    text-halo-radius: 1;
4317}
4318node[place=locality] {
4319    icon-image: "place/locality.png";
4320    set icon_z0;
4321    text: auto;
4322    set text_z0;
4323    font-size: 10;
4324    font-weight: bold;
4325    text-color:black;
4326    text-halo-color: white;
4327    text-halo-radius: 1;
4328}
4329node[place=island] {
4330    icon-image: "place/island.png";
4331    set icon_z0;
4332    text: auto;
4333    set text_z0;
4334    font-size: 10;
4335    font-weight: bold;
4336    text-color:black;
4337    text-halo-color: white;
4338    text-halo-radius: 1;
4339}
4340node[place=islet] {
4341    icon-image: "place/islet.png";
4342    set icon_z0;
4343    text: auto;
4344    set text_z0;
4345    font-size: 10;
4346    font-weight: bold;
4347    text-color:black;
4348    text-halo-color: white;
4349    text-halo-radius: 1;
4350}
4351
4352/***************************/
4353/* "work in progress" tags */
4354/***************************/
4355
4356node|z16-[fixme]::core_fixme,
4357node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4358node|z16-[FIXME]::core_fixme,
4359node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4360    object-z-index: 20;
4361    icon-image: "misc/fixme-annotation.png";
4362}
4363node|z16-[note]::core_note,
4364node|z-15[note][!setting("hide_icons")]::core_note {
4365    object-z-index: 10;
4366    icon-image: "misc/note-annotation.png";
4367}
4368
4369/* special display of unreviewed tiger data (USA) */
4370way["tiger:reviewed"=no]::core_tiger {
4371    major-z-index: -10;
4372    width: 11;
4373    color: tiger_data#808000;
4374    opacity: 0.6;
4375}
4376
4377/****************************************/
4378/* zoom levels and general node display */
4379/****************************************/
4380
4381/*
4382Summary of different zoom levels:
4383  (any zoom)    place=* and a few natural icons with their text is shown
4384  |z-15         untagged way nodes are hidden completely
4385  |z16-         fixme=* and note=* symbols
4386  |z17-         normal POI icons (without text),
4387                street name along highway=* ways
4388  |z18-         text for normal POI icons is shown
4389 
4390 * text size and node size is adapted according to zoom level (see style source below)
4391 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4392
4393*/
4394
4395node {
4396    text: auto;
4397}
4398node|z-16[setting("hide_icons")],
4399node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4400node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4401    symbol-size: 2;
4402    symbol-shape: square;
4403    symbol-stroke-color: node_standard#ffff00;
4404    major-z-index: 4.95; /* put node squares above line text */
4405}
4406way > node|z-15[setting("shrink_nodes")]!:tagged {
4407    symbol-shape: none;
4408}
4409node:connection {
4410    symbol-stroke-color: node_connection#ffff00;
4411}
4412node:tagged {
4413    symbol-stroke-color: none;
4414    symbol-fill-color: node_tagged#00ffff;
4415}
4416
4417way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4418
4419node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4420way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4421node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4422
4423node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4424way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4425node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4426
4427node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4428way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4429node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4430
4431node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4432way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4433node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4434
4435node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4436relation|z-16[type=restriction][setting("hide_icons")] {
4437    icon-image: none;
4438}
4439node|z-17[setting("hide_icons")]!.text_z0 {
4440    text: none;
4441}
4442
4443node|z19,area|z19   { font-size: 9; }
4444node|z20-,area|z20-   { font-size: 10; }
4445
4446/*******************/
4447/* way text labels */
4448/*******************/
4449
4450way|z17-[highway^=motorway][setting("highway_labels")],
4451way|z17-[highway^=trunk][setting("highway_labels")],
4452way|z17-[highway^=primary][setting("highway_labels")],
4453way|z17-[highway^=secondary][setting("highway_labels")],
4454way|z17-[highway^=tertiary][setting("highway_labels")],
4455way|z17-[highway=unclassified][setting("highway_labels")],
4456way|z17-[highway=residential][setting("highway_labels")],
4457way|z17-[highway=living_street][setting("highway_labels")],
4458way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4459way|z17-[highway=service][setting("highway_labels")],
4460way|z17-[highway=track][setting("highway_labels")] {
4461    text: auto;
4462    text-color: black;
4463    font-size: 9;
4464    text-position: line;
4465    text-halo-opacity: 1;
4466    text-halo-radius: 1.5;
4467}
4468way|z17-[highway^=motorway][setting("highway_labels")] {
4469    text-halo-color: motorway#809bc0;
4470}
4471way|z17-[highway^=trunk][setting("highway_labels")] {
4472    text-halo-color: trunk#7fc97f;
4473}
4474way|z17-[highway^=primary][setting("highway_labels")] {
4475    text-halo-color: primary#fb805f;
4476}
4477way|z17-[highway^=secondary][setting("highway_labels")] {
4478    text-halo-color: secondary#fdbf6f;
4479}
4480way|z17-[highway^=tertiary][setting("highway_labels")] {
4481    text-halo-color: tertiary#f7f496;
4482}
4483way|z17-[highway=unclassified][setting("highway_labels")],
4484way|z17-[highway=residential][setting("highway_labels")],
4485way|z17-[highway=living_street][setting("highway_labels")] {
4486    text-halo-color: street#c0c0c0;
4487}
4488way[highway=pedestrian][!area?][setting("highway_labels")] {
4489    text-halo-color: foot#00ff00;
4490}
4491way|z17-[highway=service][setting("highway_labels")] {
4492    text-halo-color: service#809bc0;
4493}
4494way|z17-[highway=track][setting("highway_labels")] {
4495    text-halo-color: highway_track#006600;
4496}
4497way|z18[highway][setting("highway_labels")] {
4498    font-size: 10;
4499}
4500way|z19[highway][setting("highway_labels")] {
4501    font-size: 11;
4502}
4503way|z20-[highway][setting("highway_labels")] {
4504    font-size: 12;
4505}
4506
4507/* "deprecated" tags
4508     historic=museum -> tourism=museum
4509     man_made=power_wind -> power=generator and power_source=wind
4510     man_made=power_hydro -> power=generator and power_source=hydro
4511     man_made=power_fossil -> power=generator and power_source=fossil
4512     man_made=power_nuclear -> power=generator and power_source=nuclear
4513     amenity=park_bench -> amenity=bench
4514     amenity=signpost -> information=guidepost
4515     amenity=emergency_phone -> emergency=phone
4516     highway minor - classification now more detailed
4517     highway=stile -> barrier=stile
4518     highway=gate -> barrier=gate
4519     highway=cattle_grid -> barrier=cattle_grid
4520     highway=toll_booth -> barrier=toll_booth
4521     highway=viaduct -> bridge=viaduct
4522     railway=viaduct -> bridge=viaduct
4523     waterway=aqueduct -> bridge=aqueduct
4524     natural=marsh -> natural=wetland
4525     leisure=zoo -> tourism=zoo
4526     power=station -> power=plant or power=sub_station
4527*/
Note: See TracBrowser for help on using the repository browser.