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

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

see #10679 - drop support of landuse=* on nodes in presets and mappaint style. rework some icons for presets (add a few, replace some generic by special ones)

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