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

Last change on this file since 7259 was 7259, checked in by bastiK, 5 years ago

fixed #10181 - tunnels and bridges are not displayed for railway=tram

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