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

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

fix #10804 - cleanup in rendering of parking

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