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

Last change on this file since 7378 was 7378, checked in by bastiK, 4 years ago

see #10363 - show place=* icons on |z11-

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