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

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

fix #10590 - add presets + new icons for amenity=shower and leisure=firepit (PD/CC0, patch by Klumbumbus)

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