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

Last change on this file since 7611 was 7611, checked in by Don-vip, 9 years ago

fix #10622 - render barrier=yes

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