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

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

fix #10342 - add barrier=chain icon (Public Domain, patch by Klumbumbus)

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