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

Last change on this file since 7261 was 7261, checked in by bastiK, 9 years ago

applied #10144 - Add highway=elevator for preset and mappaint style (patch by Klumbumbus)

File size: 77.9 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}
744node[highway=elevator] {
745    icon-image: "service/elevator.png";
746    text: auto;
747}
748way[highway=construction] {
749    width: 2;
750    realwidth: 5;
751    color: construction#ffff00;
752    dashes: 9,9;
753/*    priority="10"*/
754}
755node[highway=construction] {
756    icon-image: "misc/construction.png";
757    text: auto;
758/*    priority="10"*/
759}
760area[highway=emergency_access_point] {
761    fill-color: emergency_access_point#c0c0c0;
762}
763node[highway=emergency_access_point] {
764    icon-image: "service/emergency_access_point.png";
765    text: auto;
766}
767node[highway=motorway], node[highway=motorway_link],
768node[highway=trunk], node[highway=trunk_link],
769node[highway=primary], node[highway=primary_link],
770node[highway=secondary], node[highway=secondary_link],
771node[highway=tertiary], node[highway=tertiary_link],
772node[highway=unclassified],
773node[highway=road],
774node[highway=unsurfaced],
775node[highway=track],
776node[highway=residential],
777node[highway=living_street],
778node[highway=service],
779node[highway=bridleway],
780node[highway=cycleway],
781node[highway=footway],
782node[highway=path],
783node[highway=pedestrian],
784node[highway=bus_guideway],
785node[highway=platform] {
786    icon-image: "misc/deprecated.png";
787    text: auto;
788}
789
790/************************/
791/* traffic_calming tags */
792/************************/
793
794node[traffic_calming] {
795    icon-image: "vehicle/traffic_calming.png";
796    text: auto;
797/*    priority="-5"*/
798}
799node[traffic_calming=chicane] {
800    icon-image: "vehicle/chicane.png";
801    text: auto;
802}
803node[traffic_calming=choker],
804node[traffic_calming=cushion] {
805    icon-image: "vehicle/passing_place.png";
806    text: auto;
807}
808
809/****************/
810/* junction tag */
811/****************/
812
813node[junction=roundabout] {
814    icon-image: "vehicle/restriction/roundabout_left.png";
815    text: auto;
816}
817node:righthandtraffic[junction=roundabout] {
818    icon-image: "vehicle/restriction/roundabout_right.png";
819}
820
821/*****************/
822/* cycleway tags */
823/*****************/
824
825way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway,
826way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway {
827    set lR;
828    set righthandtr;
829}
830way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway,
831way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway {
832    set lL;
833    set righthandtr;
834}
835way[oneway?][cycleway=lane]!.righthandtr::core_cycleway,
836way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway {
837    set lL;
838}
839way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway,
840way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway {
841    set lR;
842}
843way[cycleway:left=lane]::core_cycleway {
844    set lL;
845}
846way[cycleway:right=lane]::core_cycleway {
847    set lR;
848}
849way[!oneway][cycleway=lane]::core_cycleway {
850    set lL;
851    set lR;
852}
853
854way[oneway?][cycleway=track]:righthandtraffic::core_cycleway,
855way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway {
856    set tR;
857    set righthandtr;
858}
859way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway,
860way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway {
861    set tL;
862    set righthandtr;
863}
864way[oneway?][cycleway=track]!.righthandtr::core_cycleway,
865way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway {
866    set tL;
867}
868way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway,
869way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway {
870    set tR;
871}
872way[cycleway:left=track]::core_cycleway {
873    set tL;
874}
875way[cycleway:right=track]::core_cycleway {
876    set tR;
877}
878way[!oneway][cycleway=track]::core_cycleway {
879    set tL;
880    set tR;
881}
882
883way.lR::core_cycleway {
884    width: 2;
885    color: bicycle#b100ff;
886    dashes: 6, 10;
887    offset: 0 - (prop("width", "default") / 2) - 2;
888    major-z-index: 2.1;
889    modifier: true;
890}
891way[prop("lL","core_cycleway")]::core_cycleway2 {
892    width: 2;
893    color: bicycle#b100ff;
894    dashes: 6, 10;
895    offset: (prop("width", "default") / 2) + 2;
896    major-z-index: 2.1;
897    modifier: true;
898}
899way.tR::core_cycleway {
900    width: 2;
901    color: bicycle#b100ff;
902    dashes: 25, 6;
903    offset: 0 - (prop("width", "default") / 2) - 2;
904    major-z-index: 2.1;
905    modifier: true;
906}
907way[prop("tL","core_cycleway")]::core_cycleway2 {
908    width: 2;
909    color: bicycle#b100ff;
910    dashes: 25, 6;
911    offset: (prop("width", "default") / 2) + 2;
912    major-z-index: 2.1;
913    modifier: true;
914}
915
916way[cycleway=opposite]::core_cycleway {
917    object-z-index: 1;
918    width: +0;
919    color: bicycle#b100ff;
920    dashes: 4,10;
921}
922node[cycleway=lane], node[cycleway=opposite_lane],
923node[cycleway=track], node[cycleway=opposite_track],
924node[cycleway=opposite] {
925    icon-image: "misc/deprecated.png";
926    text: auto;
927}
928
929/******************/
930/* tracktype tags */
931/******************/
932
933way[highway=track][tracktype=grade1] {
934    dashes: 2,2;
935}
936way[highway=track][tracktype=grade2] {
937    dashes: 4,4;
938}
939way[highway=track][tracktype=grade3] {
940    dashes: 6,6;
941}
942way[highway=track][tracktype=grade4] {
943    dashes: 8,8;
944}
945way[highway=track][tracktype=grade5] {
946    dashes: 10,10;
947}
948
949/**************/
950/* piste tags */
951/**************/
952
953area[piste:difficulty=easy]:closed::core_piste {
954    fill-color: piste_easy#0000ff;
955}
956way[piste:difficulty=easy]::core_piste {
957    z-index: -1; /* below line style from highway=* tag */
958    modifier: false; /* suppress default line if there is no style on default layer */
959    width: 6;
960    color: piste_easy#0000ff;
961}
962area[piste:difficulty=intermediate]:closed::core_piste {
963    fill-color: piste_intermediate#ff0000;
964}
965way[piste:difficulty=intermediate]::core_piste {
966    z-index: -1;
967    modifier: false;
968    width: 6;
969    color: piste_intermediate#ff0000;
970}
971area[piste:difficulty=advanced]:closed::core_piste {
972    fill-color: piste_advanced#606060;
973}
974way[piste:difficulty=advanced]::core_piste {
975    z-index: -1;
976    modifier: false;
977    width: 6;
978    color: piste_advanced#606060;
979}
980area[piste:difficulty=expert]:closed::core_piste {
981    fill-color: piste_expert#606060;
982}
983way[piste:difficulty=expert]::core_piste {
984    z-index: -1;
985    modifier: false;
986    width: 6;
987    color: piste_expert#606060;
988}
989area[piste:difficulty=freeride]:closed::core_piste {
990    fill-color: piste_freeride#ffff00;
991}
992way[piste:difficulty=freeride]::core_piste {
993    z-index: -1;
994    modifier: false;
995    width: 6;
996    color: piste_freeride#ffff00;
997}
998area[piste:difficulty=novice]:closed::core_piste {
999    fill-color: piste_novice#00ff00;
1000}
1001way[piste:difficulty=novice]::core_piste {
1002    z-index: -1;
1003    modifier: false;
1004    width: 6;
1005    color: piste_novice#00ff00;
1006}
1007node[piste:difficulty=easy],
1008node[piste:difficulty=intermediate],
1009node[piste:difficulty=advanced],
1010node[piste:difficulty=expert],
1011node[piste:difficulty=freeride],
1012node[piste:difficulty=novice] {
1013    icon-image: "sport/skiing.png";
1014}
1015
1016/**************/
1017/* power tags */
1018/**************/
1019
1020area[power=tower] {
1021    fill-color: power#eeeeee;
1022}
1023node[power=tower] {
1024    icon-image: "misc/landmark/power/tower_small.png";
1025    text: auto;
1026}
1027node[power=pole] {
1028    icon-image: "misc/landmark/power/pole.png";
1029    text: auto;
1030}
1031way[power=line],
1032way[power=minor_line] {
1033    width: 1;
1034    color: power#eeeeee;
1035}
1036node[power=line],
1037node[power=minor_line] {
1038    icon-image: "misc/deprecated.png";
1039    text: auto;
1040}
1041area[power=plant],
1042area[power=sub_station],
1043area[power=substation],
1044area[power=transformer] {
1045    fill-color: power#eeeeee;
1046}
1047node[power=plant],
1048node[power=sub_station],
1049node[power=substation],
1050node[power=cable_distribution_cabinet] {
1051    icon-image: "misc/landmark/power.png";
1052    text: auto;
1053}
1054node[power=transformer] {
1055    icon-image: "misc/landmark/power/transformer.png";
1056    text: auto;
1057}
1058/* power_source is deprecated by the wiki, but still in use */
1059/* generator:source replaces power_source */
1060area[power_source=wind], area[generator:source=wind],
1061area[power_source=hydro], area[generator:source=hydro],
1062area[power_source=fossil],
1063area[power_source=coal], area[generator:source=coal],
1064area[power_source=gas], area[generator:source=gas],
1065area[power_source=photovoltaic],
1066area[power_source=nuclear], area[generator:source=nuclear],
1067area[power=generator] {
1068    fill-color: power#eeeeee;
1069}
1070node[power_source=wind], node[generator:source=wind] {
1071    icon-image: "misc/landmark/power/wind.png";
1072    text: auto;
1073}
1074node[power_source=hydro], node[generator:source=hydro] {
1075    icon-image: "misc/landmark/power/hydro.png";
1076    text: auto;
1077}
1078node[power_source=fossil],
1079node[power_source=coal], node[generator:source=coal],
1080node[power_source=gas], node[generator:source=gas] {
1081    icon-image: "misc/landmark/power/fossil.png";
1082    text: auto;
1083}
1084node[power_source=photovoltaic] {
1085/*    FIXME photovoltaic NOT fossil*/
1086    icon-image: "misc/landmark/power/fossil.png";
1087    text: auto;
1088}
1089node[power_source=nuclear], node[generator:source=nuclear] {
1090    icon-image: "misc/landmark/power/nuclear.png";
1091    text: auto;
1092}
1093node[power=generator] {
1094    icon-image: "misc/landmark/power.png";
1095    text: auto;
1096/*    priority="-10000"*/
1097}
1098
1099/*****************/
1100/* man_made tags */
1101/*****************/
1102
1103area[man_made=beacon],
1104area[man_made=chimney],
1105area[man_made=crane],
1106area[man_made=flagpole],
1107area[man_made=gasometer],
1108area[man_made=groyne],
1109area[man_made=lighthouse],
1110area[man_made=monitoring_station],
1111area[man_made=mineshaft],
1112area[man_made=adit] {
1113    fill-color: manmade#d8d8d8;
1114}
1115node[man_made=beacon] {
1116    icon-image: "misc/landmark/beacon.png";
1117    text: auto;
1118}
1119node[man_made=chimney] {
1120    icon-image: "misc/landmark/chimney.png";
1121    text: auto;
1122}
1123node[man_made=crane] {
1124    icon-image: "misc/landmark/crane.png";
1125    text: auto;
1126}
1127node[man_made=flagpole] {
1128    icon-image: "misc/flag.png";
1129    text: auto;
1130}
1131node[man_made=gasometer] {
1132    icon-image: "misc/landmark/gasometer.png";
1133    text: auto;
1134}
1135node[man_made=groyne] {
1136    icon-image: "nautical/groyne.png";
1137    text: auto;
1138}
1139node[man_made=lighthouse] {
1140    icon-image: "misc/landmark/lighthouse.png";
1141    text: auto;
1142}
1143node[man_made=monitoring_station] {
1144    icon-image: "misc/landmark/measurement_station.png";
1145    text: auto;
1146}
1147node[man_made=mineshaft] {
1148    icon-image: "misc/landmark/mine.png";
1149    text: auto;
1150}
1151node[man_made=adit] {
1152    icon-image: "misc/landmark/adit.png";
1153    text: auto;
1154}
1155area[man_made=pier]:closed {
1156    fill-color: pier#660000;
1157}
1158way[man_made=pier] {
1159    width: 2;
1160    color: pier#660000;
1161}
1162node[man_made=pier] {
1163    icon-image: "nautical/pier.png";
1164    text: auto;
1165}
1166way[man_made=pipeline] {
1167    width: 2;
1168    color: pipeline#660000;
1169}
1170node[man_made=pipeline] {
1171    icon-image: "misc/deprecated.png";
1172    text: auto;
1173}
1174node[man_made=petroleum_well] {
1175    icon-image: "misc/no_icon.png";
1176    text: auto;
1177}
1178area[man_made=reservoir_covered],
1179area[man_made=surveillance],
1180area[man_made=survey_point],
1181area[man_made=tower],
1182area[man_made=wastewater_plant],
1183area[man_made=watermill],
1184area[man_made=water_tower],
1185area[man_made=water_well],
1186area[man_made=windmill],
1187area[man_made=works],
1188area[man_made=water_works] {
1189    fill-color: manmade#d8d8d8;
1190}
1191node[man_made=reservoir_covered] {
1192    icon-image: "misc/landmark/reservoir_covered.png";
1193    text: auto;
1194}
1195node[man_made=surveillance] {
1196    icon-image: "misc/surveillance.png";
1197    text: auto;
1198}
1199node[man_made=survey_point] {
1200    icon-image: "misc/landmark/survey_point.png";
1201    text: auto;
1202}
1203node[man_made=tower] {
1204    icon-image: "misc/landmark/tower.png";
1205    text: auto;
1206}
1207node[man_made=wastewater_plant] {
1208    icon-image: "misc/landmark/wastewater_plant.png";
1209    text: auto;
1210}
1211node[man_made=watermill] {
1212    icon-image: "misc/landmark/watermill.png";
1213    text: auto;
1214}
1215node[man_made=water_tower] {
1216    icon-image: "misc/landmark/water_tower.png";
1217    text: auto;
1218}
1219node[man_made=water_well] {
1220    icon-image: "misc/landmark/water_well.png";
1221    text: auto;
1222}
1223node[man_made=windmill] {
1224    icon-image: "misc/landmark/windmill.png";
1225    text: auto;
1226}
1227node[man_made=works] {
1228    icon-image: "misc/landmark/works.png";
1229    text: auto;
1230}
1231node[man_made=water_works] {
1232    icon-image: "misc/landmark/water_works.png";
1233    text: auto;
1234}
1235
1236/***************/
1237/* office tags */
1238/***************/
1239
1240area[office=company],
1241area[office=government] {
1242    fill-color: office#de5696;
1243}
1244node[office=company] {
1245    icon-image: "icons/office_blue.png";
1246    text: auto;
1247}
1248node[office=government] {
1249    icon-image: "icons/office_pink.png";
1250    text: auto;
1251}
1252
1253/****************/
1254/* leisure tags */
1255/****************/
1256
1257area[leisure=sports_centre],
1258area[leisure=golf_course],
1259area[leisure=stadium],
1260area[leisure=track][!area?!]:closed,
1261area[leisure=pitch],
1262area[leisure=water_park] {
1263    fill-color: leisure#c7f1a3;
1264}
1265node[leisure=sports_centre] {
1266    icon-image: "sport/centre.png";
1267    text: auto;
1268}
1269node[leisure=golf_course] {
1270    icon-image: "sport/golf.png";
1271    text: auto;
1272}
1273node[leisure=stadium] {
1274    icon-image: "sport/stadium.png";
1275    text: auto;
1276}
1277way[leisure=track] {
1278    width: 2;
1279    color: leisure#c7f1a3;
1280}
1281node[leisure=track] {
1282    icon-image: "sport/track.png";
1283    text: auto;
1284}
1285node[leisure=pitch] {
1286    icon-image: "sport/pitch.png";
1287    text: auto;
1288}
1289node[leisure=water_park] {
1290    icon-image: "leisure/water_park.png";
1291    text: auto;
1292}
1293area[leisure=marina] {
1294    fill-color: marina#0070cf;
1295}
1296node[leisure=marina] {
1297    icon-image: "nautical/marina.png";
1298    text: auto;
1299}
1300area[leisure=slipway],
1301area[leisure=fishing],
1302area[leisure=nature_reserve],
1303area[leisure=park],
1304area[leisure=playground],
1305area[leisure=garden],
1306area[leisure=common] {
1307    fill-color: leisure#c7f1a3;
1308}
1309node[leisure=slipway] {
1310    icon-image: "nautical/slipway.png";
1311    text: auto;
1312}
1313node[leisure=fishing] {
1314    icon-image: "sport/fishing.png";
1315    text: auto;
1316}
1317node[leisure=nature_reserve] {
1318    icon-image: "leisure/nature_reserve.png";
1319    text: auto;
1320}
1321node[leisure=park] {
1322    icon-image: "leisure/park.png";
1323    text: auto;
1324}
1325node[leisure=playground] {
1326    icon-image: "leisure/playground.png";
1327    text: auto;
1328}
1329node[leisure=garden] {
1330    icon-image: "leisure/garden.png";
1331    text: auto;
1332}
1333node[leisure=common] {
1334    icon-image: "leisure/common.png";
1335    text: auto;
1336}
1337area[leisure=swimming_pool] {
1338    fill-color: swimming_pool#51c4ef;
1339}
1340node[leisure=swimming_pool] {
1341    icon-image: "sport/pool.png";
1342    text: auto;
1343}
1344area[leisure=miniature_golf],
1345area[leisure=dog_park],
1346area[leisure=ice_rink],
1347area[leisure=sauna] {
1348    fill-color: leisure#c7f1a3;
1349}
1350node[leisure=miniature_golf] {
1351    icon-image: "sport/golf.png";
1352    text: auto;
1353}
1354node[leisure=dog_park] {
1355    icon-image: "leisure/dog.png";
1356    text: auto;
1357}
1358node[leisure=ice_rink] {
1359    icon-image: "sport/hockey.png";
1360    text: auto;
1361}
1362node[leisure=sauna] {
1363    icon-image: "leisure/sauna.png";
1364    text: auto;
1365}
1366
1367/*************/
1368/* shop tags */
1369/*************/
1370
1371area[shop=supermarket],
1372area[shop=convenience],
1373area[shop=bakery],
1374area[shop=butcher],
1375area[shop=bicycle],
1376area[shop=doityourself],
1377area[shop=dry_cleaning],
1378area[shop=laundry],
1379area[shop=outdoor],
1380area[shop=kiosk],
1381area[shop=alcohol],
1382area[shop=beverages],
1383area[shop=books],
1384area[shop=boutique],
1385area[shop=car],
1386area[shop=car_dealer],
1387area[shop=car_repair],
1388area[shop=tyres],
1389area[shop=chemist],
1390area[shop=clothes],
1391area[shop=computer],
1392area[shop=confectionery],
1393area[shop=copyshop],
1394area[shop=curtain],
1395area[shop=cycle_repair],
1396area[shop=department_store],
1397area[shop=deli],
1398area[shop=electronics],
1399area[shop=erotic],
1400area[shop=furniture],
1401area[shop=fabric],
1402area[shop=florist],
1403area[shop=frame],
1404area[shop=gift],
1405area[shop=greengrocer],
1406area[shop=garden_centre],
1407area[shop=hairdresser],
1408area[shop=hardware],
1409area[shop=hearing_aids],
1410area[shop=hifi],
1411area[shop=jewelry],
1412area[shop=kitchen],
1413area[shop=mall],
1414area[shop=mobile_phone],
1415area[shop=motorcycle],
1416area[shop=musical_instrument],
1417area[shop=newsagent],
1418area[shop=optician],
1419area[shop=paint],
1420area[shop=pawnbroker],
1421area[shop=seafood],
1422area[shop=shoes],
1423area[shop=sports],
1424area[shop=stationery],
1425area[shop=tailor],
1426area[shop=travel_agency],
1427area[shop=toys],
1428area[shop=vacuum_cleaner],
1429area[shop=variety_store],
1430area[shop=video],
1431area[shop=bookmaker],
1432area[shop=lottery],
1433area[shop=shopping_centre] {
1434    fill-color: shop#00005f;
1435}
1436node[shop=supermarket] {
1437    icon-image: "shop/supermarket.png";
1438    text: auto;
1439}
1440node[shop=convenience] {
1441    icon-image: "shop/convenience.png";
1442    text: auto;
1443}
1444node[shop=bakery] {
1445    icon-image: "shop/groceries/bakery.png";
1446    text: auto;
1447}
1448node[shop=butcher] {
1449    icon-image: "shop/groceries/butcher.png";
1450    text: auto;
1451}
1452node[shop=bicycle] {
1453    icon-image: "sport/bicycle.png";
1454    text: auto;
1455}
1456node[shop=doityourself] {
1457    icon-image: "shop/diy_store.png";
1458    text: auto;
1459}
1460node[shop=dry_cleaning],
1461node[shop=laundry] {
1462    icon-image: "shop/laundry.png";
1463    text: auto;
1464}
1465node[shop=outdoor] {
1466    icon-image: "shop/sports/outdoor.png";
1467    text: auto;
1468}
1469node[shop=kiosk] {
1470    icon-image: "shop/kiosk.png";
1471    text: auto;
1472}
1473node[shop=alcohol],
1474node[shop=beverages] {
1475    icon-image: "shop/beverages.png";
1476    text: auto;
1477}
1478node[shop=books] {
1479    icon-image: "shop/rental/library.png";
1480    text: auto;
1481}
1482node[shop=boutique] {
1483    icon-image: "shop/boutique.png";
1484    text: auto;
1485}
1486node[shop=car],
1487node[shop=car_dealer] {
1488    icon-image: "transport/car.png";
1489    text: auto;
1490}
1491node[shop=car_repair] {
1492    icon-image: "vehicle/repair_shop.png";
1493    text: auto;
1494}
1495node[shop=tyres] {
1496    icon-image: "vehicle/tyres.png";
1497    text: auto;
1498}
1499node[shop=chemist] {
1500    icon-image: "shop/chemist.png";
1501    text: auto;
1502}
1503node[shop=clothes] {
1504    icon-image: "shop/clothes.png";
1505    text: auto;
1506}
1507node[shop=computer] {
1508    icon-image: "shop/computer.png";
1509    text: auto;
1510}
1511node[shop=confectionery] {
1512    icon-image: "shop/groceries/confectionery.png";
1513    text: auto;
1514}
1515node[shop=copyshop] {
1516    icon-image: "shop/copyshop.png";
1517    text: auto;
1518}
1519node[shop=curtain] {
1520    icon-image: "shop/curtain.png";
1521    text: auto;
1522}
1523node[shop=cycle_repair] {
1524    icon-image: "sport/bicycle.png";
1525    text: auto;
1526}
1527node[shop=department_store] {
1528    icon-image: "shop/mall.png";
1529    text: auto;
1530}
1531node[shop=deli] {
1532    icon-image: "shop/groceries/deli.png";
1533    text: auto;
1534}
1535node[shop=electronics] {
1536    icon-image: "shop/electronics.png";
1537    text: auto;
1538}
1539node[shop=erotic] {
1540    icon-image:"shop/erotic.png";
1541    text: auto;
1542}
1543node[shop=furniture] {
1544    icon-image: "shop/furniture.png";
1545    text: auto;
1546}
1547node[shop=fabric] {
1548    icon-image: "shop/fabric.png";
1549    text: auto;
1550}
1551node[shop=florist] {
1552    icon-image: "shop/florist.png";
1553    text: auto;
1554}
1555node[shop=frame] {
1556    icon-image: "shop/frame.png";
1557    text: auto;
1558}
1559node[shop=gift] {
1560    icon-image: "presets/present.svg";
1561    text: auto;
1562}
1563node[shop=greengrocer] {
1564    icon-image: "shop/groceries/greengrocer.png";
1565    text: auto;
1566}
1567node[shop=garden_centre] {
1568    icon-image: "shop/garden_centre.png";
1569    text: auto;
1570}
1571node[shop=hairdresser] {
1572    icon-image: "shop/hairdresser.png";
1573    text: auto;
1574}
1575node[shop=hardware] {
1576    icon-image: "shop/hardware.png";
1577    text: auto;
1578}
1579node[shop=hearing_aids] {
1580    icon-image: "shop/hearing_aids.png";
1581    text: auto;
1582}
1583node[shop=hifi] {
1584    icon-image: "shop/hifi.png";
1585    text: auto;
1586}
1587node[shop=jewelry] {
1588    icon-image: "shop/jewelry.png";
1589    text: auto;
1590}
1591node[shop=kitchen] {
1592    icon-image: "shop/kitchen.png";
1593    text: auto;
1594}
1595node[shop=mall] {
1596    icon-image: "shop/mall.png";
1597    text: auto;
1598}
1599node[shop=mobile_phone] {
1600    icon-image: "shop/mobile_phone.png";
1601    text: auto;
1602}
1603node[shop=motorcycle] {
1604    icon-image: "vehicle/motorbike.png";
1605    text: auto;
1606}
1607node[shop=musical_instrument] {
1608    icon-image: "shop/musical_instrument.png";
1609    text: auto;
1610}
1611node[shop=newsagent] {
1612    icon-image: "shop/kiosk.png";
1613    text: auto;
1614}
1615node[shop=optician] {
1616    icon-image: "shop/optician.png";
1617    text: auto;
1618}
1619node[shop=paint] {
1620    icon-image: "shop/paint.png";
1621    text: auto;
1622}
1623node[shop=pawnbroker] {
1624    icon-image: "presets/pawnbroker.svg";
1625    text: auto;
1626}
1627node[shop=seafood] {
1628    icon-image: "shop/groceries/seafood.png";
1629    text: auto;
1630}
1631node[shop=shoes] {
1632    icon-image: "shop/shoes.png";
1633    text: auto;
1634}
1635node[shop=sports] {
1636    icon-image: "sport/multi.png";
1637    text: auto;
1638}
1639node[shop=stationery] {
1640    icon-image: "shop/stationery.png";
1641    text: auto;
1642}
1643node[shop=tailor] {
1644    icon-image: "shop/tailor.png";
1645    text: auto;
1646}
1647node[shop=travel_agency] {
1648    icon-image: "place/island.png";
1649    text: auto;
1650}
1651node[shop=toys] {
1652    icon-image: "shop/toys.png";
1653    text: auto;
1654}
1655node[shop=vacuum_cleaner] {
1656    icon-image: "shop/vacuum_cleaner.png";
1657    text: auto;
1658}
1659node[shop=variety_store] {
1660    icon-image: "shop/variety_store.png";
1661    text: auto;
1662}
1663node[shop=video] {
1664    icon-image: "shop/video.png";
1665    text: auto;
1666}
1667node[shop=bookmaker] {
1668    icon-image: "presets/lottery.svg";
1669    text: auto;
1670}
1671node[shop=lottery] {
1672    icon-image: "presets/lottery.svg";
1673    text: auto;
1674}
1675/* duplicate of shopping_centre? */
1676node[shop=shopping_centre] {
1677    icon-image: "shop/mall.png";
1678    text: auto;
1679}
1680
1681/****************/
1682/* amenity tags */
1683/****************/
1684
1685area[amenity=pub],
1686area[amenity=biergarten],
1687area[amenity=nightclub],
1688area[amenity=stripclub],
1689area[amenity=brothel],
1690area[amenity=cafe],
1691area[amenity=restaurant],
1692area[amenity=food_court],
1693area[amenity=fast_food],
1694area[amenity=bar],
1695area[amenity=ice_cream] {
1696    fill-color: amenity#ecba52;
1697}
1698node[amenity=pub] {
1699    icon-image: "food/pub.png";
1700    text: auto;
1701}
1702node[amenity=biergarten] {
1703    icon-image: "food/biergarten.png";
1704    text: auto;
1705}
1706node[amenity=nightclub] {
1707    icon-image: "leisure/nightclub.png";
1708    text: auto;
1709}
1710node[amenity=stripclub] {
1711    icon-image: "leisure/stripclub.png";
1712    text: auto;
1713}
1714node[amenity=brothel] {
1715    icon-image: "leisure/stripclub.png";
1716    text: auto;
1717}
1718node[amenity=cafe] {
1719    icon-image: "food/cafe.png";
1720    text: auto;
1721}
1722node[amenity=restaurant],
1723node[amenity=food_court] {
1724    icon-image: "food/restaurant.png";
1725    text: auto;
1726}
1727node[amenity=fast_food] {
1728    icon-image: "food/fastfood.png";
1729    text: auto;
1730}
1731node[amenity=bar] {
1732    icon-image: "food/bar.png";
1733    text: auto;
1734}
1735node[amenity=ice_cream] {
1736    icon-image: "food/icecream.png";
1737    text: auto;
1738}
1739area[amenity=parking_space],
1740area[amenity=parking],
1741area[parking=multi-storey],
1742area[amenity=motorcycle_parking],
1743area[amenity=bicycle_parking],
1744area[parking=park_and_ride],
1745area[parking=underground],
1746area[parking=surface],
1747area[amenity=bicycle_rental],
1748area[amenity=car_rental],
1749area[amenity=car_sharing],
1750area[amenity=car_wash],
1751area[amenity=taxi],
1752area[amenity=fuel],
1753area[amenity=charging_station] {
1754    fill-color: amenity_traffic#f7efb7;
1755}
1756node[amenity=parking_space] {
1757    icon-image: "vehicle/parking.png";
1758    text: auto;
1759/*    priority="-500"*/
1760}node[amenity=parking] {
1761    icon-image: vehicle/parking.png;
1762    text: auto;
1763}
1764node[parking=multi-storey] {
1765    icon-image: "vehicle/parking/multi-storey.png";
1766    text: auto;
1767/*    priority="10000"*/
1768}
1769node[amenity=motorcycle_parking] {
1770    icon-image: "vehicle/parking/motorbike.png";
1771    text: auto;
1772/*     priority="20000";*/
1773}
1774node[amenity=bicycle_parking] {
1775    icon-image: "vehicle/parking/bicycle.png";
1776    text: auto;
1777/*    priority="20000"*/
1778}
1779node[parking=park_and_ride] {
1780    icon-image: "vehicle/parking/park_ride.png";
1781    text: auto;
1782}
1783node[parking=underground] {
1784    icon-image: "vehicle/parking/underground.png";
1785    text: auto;
1786}
1787node[parking=surface] {
1788    icon-image: "vehicle/parking.png";
1789    text: auto;
1790}
1791node[amenity=parking_space][wheelchair?] {
1792    icon-image: "vehicle/parking/handicapped.png";
1793    text: auto;
1794}
1795node[amenity=bicycle_rental] {
1796    icon-image: "vehicle/rental/bicycle.png";
1797    text: auto;
1798}
1799node[amenity=car_rental] {
1800    icon-image: "vehicle/rental/car.png";
1801    text: auto;
1802}
1803node[amenity=car_sharing] {
1804    icon-image: "vehicle/car_sharing.png";
1805    text: auto;
1806}
1807node[amenity=car_wash] {
1808    icon-image: "vehicle/car_wash.png";
1809    text: auto;
1810}
1811node[amenity=taxi] {
1812    icon-image: "transport/taxi.png";
1813    text: auto;
1814}
1815node[amenity=fuel] {
1816    icon-image: "vehicle/fuel.png";
1817    text: auto;
1818/*    priority="10000"*/
1819}
1820node[amenity=charging_station] {
1821    icon-image: "accommodation/camping/hookup.png";
1822    text: auto;
1823/*    priority="1000"*/
1824}
1825node[amenity=grit_bin] {
1826    icon-image: "misc/grit_bin.png";
1827    text: auto;
1828}
1829area[amenity=telephone] {
1830    fill-color: amenity_light#f7efb7;
1831}
1832node[amenity=telephone] {
1833    icon-image: "service/telephone.png";
1834    text: auto;
1835}
1836node[amenity=clock] {
1837    icon-image: "service/clock.png";
1838    text: auto;
1839}
1840/* Rule to delete by end of 2013 if this deprecated tag has finally been replaced by emergency=phone below */
1841area[amenity=emergency_phone] {
1842    fill-color: amenity_light#f7efb7;
1843}
1844node[amenity=emergency_phone] {
1845    icon-image: "vehicle/emergency_phone.png";
1846    text: auto;
1847}
1848area[emergency=phone],
1849area[emergency=aed],
1850area[emergency=defibrillator],
1851area[amenity=toilets],
1852area[amenity=recycling] {
1853    fill-color: amenity_light#f7efb7;
1854}
1855node[emergency=phone] {
1856    icon-image: "vehicle/emergency_phone.png";
1857    text: auto;
1858}
1859node[emergency=aed] {
1860    icon-image: "presets/aed.svg";
1861    text: auto;
1862}
1863node[emergency=defibrillator] {
1864    icon-image: "presets/aed.svg";
1865    text: auto;
1866}
1867node[amenity=toilets] {
1868    icon-image: "service/toilets.png";
1869    text: auto;
1870}
1871node[amenity=recycling] {
1872    icon-image: "service/recycling.png";
1873    text: auto;
1874}
1875node[amenity=waste_basket] {
1876    icon-image: "service/recycling/trash-bin.png";
1877    text: auto;
1878}
1879node[amenity=waste_disposal] {
1880    icon-image: "service/recycling/waste_disposal.png";
1881    text: auto;
1882}
1883area[amenity=public_building],
1884area[amenity=townhall],
1885area[amenity=embassy],
1886area[amenity=community_centre] {
1887    fill-color: amenity_light#f7efb7;
1888}
1889node[amenity=public_building],
1890node[amenity=townhall] {
1891    icon-image: "service.png";
1892    text: auto;
1893}
1894node[amenity=embassy] {
1895    icon-image: "service/administration/embassy.png";
1896    text: auto;
1897}
1898node[amenity=community_centre] {
1899    icon-image: "service/community_centre.png";
1900    text: auto;
1901}
1902area[amenity=drinking_water],
1903area[amenity=fountain] {
1904    fill-color: light_water#00005f;
1905}
1906node[amenity=drinking_water] {
1907    icon-image: "food/drinking_water.png";
1908    text: auto;
1909}
1910node[amenity=fountain] {
1911    icon-image: "misc/landmark/spring.png";
1912    text: auto;
1913}
1914area[amenity=place_of_worship],
1915area[amenity=grave_yard],
1916area[amenity=crematorium],
1917area[amenity=post_office],
1918area[amenity=post_box],
1919area[amenity=studio],
1920area[amenity=school],
1921area[amenity=university],
1922area[amenity=college],
1923area[amenity=kindergarten],
1924area[amenity=driving_school] {
1925    fill-color: amenity_light#f7efb7;
1926}
1927node[amenity=place_of_worship] {
1928    icon-image: "religion.png";
1929    text: auto;
1930/*    priority="-10000"*/
1931}
1932node[religion=bahai] {
1933    icon-image: "religion/bahai.png";
1934    text: auto;
1935}
1936node[religion=buddhist] {
1937    icon-image: "religion/buddhism.png";
1938    text: auto;
1939}
1940node[religion=christian] {
1941    icon-image: "religion/church.png";
1942    text: auto;
1943}
1944node[religion=hindu] {
1945    icon-image: "religion/hinduism.png";
1946    text: auto;
1947}
1948node[religion=jain] {
1949    icon-image: "religion/jainism.png";
1950    text: auto;
1951}
1952node[religion=jewish] {
1953    icon-image: "religion/jewish.png";
1954    text: auto;
1955}
1956node[religion=muslim] {
1957    icon-image: "religion/muslim.png";
1958    text: auto;
1959}
1960node[religion=sikh] {
1961    icon-image: "religion/sikhism.png";
1962    text: auto;
1963}
1964node[religion=shinto] {
1965    icon-image: "religion/shinto.png";
1966    text: auto;
1967}
1968node[religion=spiritualist] {
1969    icon-image: "misc/no_icon.png";
1970    text: auto;
1971}
1972node[religion=taoist] {
1973    icon-image: "religion/taoism.png";
1974    text: auto;
1975}
1976node[religion=unitarian] {
1977    icon-image: "misc/no_icon.png";
1978    text: auto;
1979}
1980node[religion=zoroastrian] {
1981    icon-image: "misc/no_icon.png";
1982    text: auto;
1983}
1984node[amenity=grave_yard] {
1985    icon-image: "rendering/landuse/cemetery.png";
1986    text: auto;
1987}
1988node[amenity=crematorium] {
1989    icon-image: "misc/no_icon.png";
1990    text: auto;
1991}
1992node[amenity=post_office] {
1993    icon-image: "service/post_office.png";
1994    text: auto;
1995}
1996node[amenity=post_box] {
1997    icon-image: "service/post_box.png";
1998    text: auto;
1999}
2000node[amenity=studio] {
2001    icon-image: "service/studio.png";
2002    text: auto;
2003}
2004node[amenity=school] {
2005    icon-image: "education/school.png";
2006    text: auto;
2007}
2008node[amenity=university] {
2009    icon-image: "education/university.png";
2010    text: auto;
2011}
2012node[amenity=college] {
2013    icon-image: "education/college.png";
2014    text: auto;
2015}
2016node[amenity=kindergarten] {
2017    icon-image: "education/kindergarten.png";
2018    text: auto;
2019}
2020node[amenity=driving_school] {
2021    icon-image: "education/driving_school.png";
2022    text: auto;
2023}
2024area[amenity=pharmacy],
2025area[amenity=hospital],
2026area[amenity=clinic],
2027area[amenity=nursery],
2028area[amenity=baby_hatch],
2029area[amenity=doctors],
2030area[amenity=dentist],
2031area[amenity=veterinary] {
2032    fill-color: health#eeeeee;
2033}
2034node[amenity=pharmacy] {
2035    icon-image: "health/pharmacy.png";
2036    text: auto;
2037}
2038node[amenity=hospital],
2039node[amenity=clinic] {
2040    icon-image: "health/hospital.png";
2041    text: auto;
2042}
2043node[amenity=nursery] {
2044    icon-image: "misc/no_icon.png";
2045    text: auto;
2046}
2047node[amenity=baby_hatch] {
2048    icon-image: "health/baby_hatch.png";
2049    text: auto;
2050}
2051node[amenity=doctors] {
2052    icon-image: "health/doctor.png";
2053    text: auto;
2054}
2055node[amenity=dentist] {
2056    icon-image: "health/dentist.png";
2057    text: auto;
2058}
2059node[amenity=veterinary] {
2060    icon-image: "health/veterinary.png";
2061    text: auto;
2062}
2063area[amenity=library],
2064area[amenity=police],
2065area[amenity=fire_station],
2066area[amenity=bus_station],
2067area[amenity=ferry_terminal],
2068area[amenity=theatre],
2069area[amenity=cinema],
2070area[amenity=arts_centre],
2071area[amenity=courthouse],
2072area[amenity=prison],
2073area[amenity=bank],
2074area[amenity=bureau_de_change],
2075area[amenity=atm],
2076area[amenity=bbq] {
2077    fill-color: amenity_light#f7efb7;
2078}
2079node[amenity=library] {
2080    icon-image: "shop/rental/library.png";
2081    text: auto;
2082}
2083node[amenity=police] {
2084    icon-image: "service/police.png";
2085    text: auto;
2086}
2087node[amenity=fire_station] {
2088    icon-image: "service/firebrigade.png";
2089    text: auto;
2090}
2091node[amenity=bus_station] {
2092    icon-image: "transport/bus.png";
2093    text: auto;
2094}
2095node[amenity=ferry_terminal] {
2096    icon-image: "nautical/ferry.png";
2097    text: auto;
2098}
2099node[amenity=theatre] {
2100    icon-image: "leisure/theater.png";
2101    text: auto;
2102}
2103node[amenity=cinema] {
2104    icon-image: "leisure/cinema.png";
2105    text: auto;
2106}
2107node[amenity=arts_centre] {
2108    icon-image: "service/arts_centre.png";
2109    text: auto;
2110}
2111node[amenity=courthouse] {
2112    icon-image: "service/administration/court_of_law.png";
2113    text: auto;
2114}
2115node[amenity=prison] {
2116    icon-image: "service/administration/prison.png";
2117    text: auto;
2118}
2119node[amenity=bank] {
2120    icon-image: "money/bank.png";
2121    text: auto;
2122}
2123node[amenity=bureau_de_change] {
2124    icon-image: "money/exchange.png";
2125    text: auto;
2126}
2127node[amenity=atm] {
2128    icon-image: "money/atm.png";
2129    text: auto;
2130}
2131way[amenity=bench] {
2132    width: 2;
2133    color: amenity_light#f7efb7;
2134}
2135node[amenity=bench] {
2136    icon-image: "leisure/bench.png";
2137    text: auto;
2138}
2139node[amenity=bbq] {
2140    icon-image: "leisure/bbq.png";
2141    text: auto;
2142}
2143node[emergency=fire_hydrant] {
2144    icon-image: "service/fire_hydrant.png";
2145    text: auto;
2146}
2147area[amenity=shelter],
2148area[amenity=hunting_stand],
2149area[amenity=marketplace],
2150area[amenity=wlan],
2151area[amenity=vending_machine] {
2152    fill-color: amenity_light#f7efb7;
2153}
2154node[amenity=shelter] {
2155    icon-image: "accommodation/shelter.png";
2156    text: auto;
2157}
2158node[amenity=hunting_stand] {
2159    icon-image: "hunting_stand.png";
2160    text: auto;
2161}
2162node[amenity=marketplace] {
2163    icon-image: "place/marketplace.png";
2164    text: auto;
2165}
2166node[amenity=wlan] {
2167    icon-image: "wlan.png";
2168    text: auto;
2169}
2170node[amenity=vending_machine] {
2171    icon-image: "transport/ticket-machine.png";
2172/*    priority="-10"*/
2173}
2174node[vending=excrement_bags] {
2175    icon-image: "service/excrement_bags.png";
2176    text: auto;
2177}
2178
2179/**************/
2180/* craft tags */
2181/**************/
2182
2183area[craft=painter],
2184area[craft=plumber],
2185area[craft=pottery],
2186area[craft=stonemason],
2187area[craft=tiler],
2188area[craft=window_construction] {
2189    fill-color: craft#999900;
2190}
2191node[craft=painter] {
2192    icon-image: "craft/painter.png";
2193    text: auto;
2194}
2195node[craft=plumber] {
2196    icon-image: "craft/plumber.png";
2197    text: auto;
2198}
2199node[craft=pottery] {
2200    icon-image: "craft/pottery.png";
2201    text: auto;
2202}
2203node[craft=stonemason] {
2204    icon-image: "craft/stonemason.png";
2205    text: auto;
2206}
2207node[craft=tiler] {
2208    icon-image: "craft/tiler.png";
2209    text: auto;
2210}
2211node[craft=window_construction] {
2212    icon-image: "craft/window_construction.png";
2213    text: auto;
2214}
2215
2216/****************/
2217/* tourism tags */
2218/****************/
2219
2220area[tourism=hotel],
2221area[tourism=motel],
2222area[tourism=guest_house],
2223area[tourism=hostel],
2224area[tourism=chalet],
2225area[tourism=alpine_hut],
2226area[tourism=camp_site],
2227area[tourism=caravan_site] {
2228    fill-color: hotel#e1a0a2;
2229}
2230node[tourism=hotel] {
2231    icon-image: "accommodation.png";
2232    text: auto;
2233}
2234node[tourism=motel] {
2235    icon-image: "accommodation/motel.png";
2236    text: auto;
2237}
2238node[tourism=guest_house] {
2239    icon-image: "accommodation/guest_house.png";
2240    text: auto;
2241}
2242node[tourism=hostel] {
2243    icon-image: "accommodation/hostel.png";
2244    text: auto;
2245}
2246node[tourism=chalet] {
2247    icon-image: "accommodation/chalet.png";
2248    text: auto;
2249}
2250node[tourism=alpine_hut] {
2251    icon-image: "accommodation/alpine_hut.png";
2252    text: auto;
2253}
2254node[tourism=camp_site] {
2255    icon-image: "accommodation/camping.png";
2256    text: auto;
2257}
2258node[tourism=caravan_site] {
2259    icon-image: "accommodation/camping/caravan.png";
2260    text: auto;
2261}
2262area[tourism=picnic_site],
2263area[tourism=viewpoint],
2264area[tourism=theme_park],
2265area[tourism=attraction],
2266area[tourism=zoo],
2267area[tourism=artwork],
2268area[tourism=museum] {
2269    fill-color: tourism#e180a2;
2270}
2271node[tourism=picnic_site] {
2272    icon-image: "leisure/picnic.png";
2273    text: auto;
2274}
2275node[tourism=viewpoint] {
2276    icon-image: "sightseeing/viewpoint.png";
2277    text: auto;
2278}
2279node[tourism=theme_park] {
2280    icon-image: "leisure/theme_park.png";
2281    text: auto;
2282}
2283node[tourism=attraction] {
2284    icon-image: "sightseeing.png";
2285    text: auto;
2286}
2287node[tourism=zoo] {
2288    icon-image: "leisure/zoo.png";
2289    text: auto;
2290}
2291way[tourism=artwork] {
2292    width: 2;
2293    color: tourism#e180a2;
2294}
2295node[tourism=artwork] {
2296    icon-image: "service/arts_centre.png";
2297    text: auto;
2298}
2299node[tourism=museum] {
2300    icon-image: "sightseeing/museum.png";
2301    text: auto;
2302}
2303
2304/********************/
2305/* information tags */
2306/********************/
2307
2308area[tourism=information] {
2309    fill-color: tourism#e180a2;
2310}
2311node[tourism=information] {
2312    icon-image: "misc/information.png";
2313    text: auto;
2314}
2315node[information=guidepost] {
2316    icon-image: "misc/information/guidepost.png";
2317    text: auto;
2318/*    priority="10"*/
2319}
2320area[information=office] {
2321    fill-color: tourism#e180a2;
2322}
2323node[information=office] {
2324    icon-image: "misc/information/informationoffice.png";
2325    text: auto;
2326/*    priority="10"*/
2327}
2328node[information=map] {
2329    icon-image: "misc/information/map.png";
2330    text: auto;
2331/*    priority="10"*/
2332}
2333node[information=board] {
2334    icon-image: "misc/information/board.png";
2335    text: auto;
2336/*    priority="10"*/
2337}
2338
2339/*****************/
2340/* historic tags */
2341/*****************/
2342
2343area[historic=castle],
2344area[historic=monument],
2345area[historic=memorial],
2346area[historic=archaeological_site],
2347area[historic=ruins],
2348area[historic=battlefield],
2349area[historic=palaeontological_site],
2350area[historic=wayside_cross],
2351area[historic=wayside_shrine],
2352area[historic=boundary_stone] {
2353    fill-color: historic#663300;
2354}
2355node[historic=castle] {
2356    icon-image: "sightseeing/castle.png";
2357    text: auto;
2358}
2359node[historic=monument] {
2360    icon-image: "sightseeing/monument.png";
2361    text: auto;
2362}
2363node[historic=memorial] {
2364    icon-image: "sightseeing/memorial.png";
2365    text: auto;
2366}
2367node[historic=archaeological_site] {
2368    icon-image: "sightseeing/archaeological.png";
2369    text: auto;
2370}
2371node[historic=ruins] {
2372    icon-image: "sightseeing/ruins.png";
2373    text: auto;
2374}
2375node[historic=battlefield] {
2376    icon-image: "sightseeing/battlefield.png";
2377    text: auto;
2378}
2379node[historic=palaeontological_site] {
2380    icon-image: "historic/palaeontological_site.png";
2381    text: auto;
2382}
2383node[historic=wayside_cross] {
2384    icon-image: "religion/wayside_cross.png";
2385    text: auto;
2386}
2387node[historic=wayside_shrine] {
2388    icon-image: "religion/wayside_shrine.png";
2389    text: auto;
2390}
2391node[historic=boundary_stone] {
2392    icon-image: "historic/boundary_stone.png";
2393    text: auto;
2394}
2395
2396/****************/
2397/* landuse tags */
2398/****************/
2399
2400area[landuse=farm],
2401area[landuse=farmland],
2402area[landuse=meadow],
2403area[landuse=vineyard],
2404area[landuse=orchard] {
2405    fill-color: green#b1e0c2;
2406}
2407node[landuse=farm] {
2408    icon-image: "misc/landmark/farm.png";
2409    text: auto;
2410}
2411node[landuse=farmland] {
2412    icon-image: "misc/no_icon.png";
2413    text: auto;
2414}
2415node[landuse=meadow] {
2416    icon-image: "misc/no_icon.png";
2417    text: auto;
2418}
2419node[landuse=vineyard] {
2420    icon-image: "shop/groceries/fruits.png";
2421    text: auto;
2422}
2423area[landuse=quarry] {
2424    fill-color: quarry#888888;
2425}
2426node[landuse=quarry] {
2427    icon-image: "misc/landmark/mine.png";
2428    text: auto;
2429}
2430area[landuse=landfill] {
2431    fill-color: landfill#663300;
2432}
2433node[landuse=landfill] {
2434    icon-image: "misc/no_icon.png";
2435    text: auto;
2436}
2437area[landuse=basin],
2438area[landuse=reservoir] {
2439    fill-color: basin#0000bf;
2440}
2441node[landuse=basin],
2442node[landuse=reservoir] {
2443    icon-image: "misc/no_icon.png";
2444    text: auto;
2445}
2446area[landuse=forest] {
2447    fill-color: forest#b1efc8;
2448}
2449node[landuse=forest] {
2450    icon-image: "misc/landmark/trees.png";
2451    text: auto;
2452}
2453area[landuse=allotments],
2454area[landuse=greenhouse_horticulture],
2455area[landuse=plant_nursery],
2456area[landuse=grass] {
2457    fill-color: green#b1e0c2;
2458}
2459node[landuse=allotments] {
2460    icon-image: "misc/landmark/plant.png";
2461    text: auto;
2462}
2463node[landuse=greenhouse_horticulture] {
2464    icon-image: "misc/landuse/greenhouse_horticulture.png";
2465    text: auto;
2466}
2467node[landuse=plant_nursery],
2468node[landuse=grass] {
2469    icon-image: "misc/landmark/plant.png";
2470    text: auto;
2471}
2472area[landuse=residential] {
2473    fill-color: residential#f0f0f0;
2474}
2475node[landuse=residential] {
2476    icon-image: "misc/landuse/residential.png";
2477    text: auto;
2478}
2479area[landuse=garages] {
2480    fill-color: garages#f0f0f0;
2481}
2482node[landuse=garages] {
2483    icon-image: "misc/landuse/garages.png";
2484    text: auto;
2485}
2486area[landuse=farmyard] {
2487    fill-color: farmyard#f0f0f0;
2488}
2489node[landuse=farmyard] {
2490    icon-image: "misc/no_icon.png";
2491    text: auto;
2492}
2493area[landuse=retail],
2494area[landuse=commercial] {
2495    fill-color: retail#ffc4ee;
2496}
2497node[landuse=retail] {
2498    icon-image: "shop/mall.png";
2499    text: auto;
2500}
2501node[landuse=commercial] {
2502    icon-image: "misc/landuse/commercial.png";
2503    text: auto;
2504}
2505area[landuse=industrial] {
2506    fill-color: industrial#ecd8ff;
2507}
2508node[landuse=industrial] {
2509    icon-image: "misc/landmark/works.png";
2510    text: auto;
2511}
2512area[landuse=brownfield] {
2513    fill-color: brownfield#ecba32;
2514}
2515node[landuse=brownfield] {
2516    icon-image: "misc/no_icon.png";
2517    text: auto;
2518}
2519area[landuse=greenfield] {
2520    fill-color: greenfield#b1ec5c;
2521}
2522node[landuse=greenfield] {
2523    icon-image: "misc/no_icon.png";
2524    text: auto;
2525}
2526area[landuse=railway] {
2527    fill-color: railland#888888;
2528}
2529node[landuse=railway] {
2530    icon-image: "transport/railway_station.png";
2531    text: auto;
2532}
2533area[landuse=construction] {
2534    fill-color: construction#ffff00;
2535}
2536way[landuse=construction] {
2537    width: 1;
2538    color: construction#ffff00;
2539    dashes: 9,9;
2540}
2541node[landuse=construction] {
2542    icon-image: "misc/construction.png";
2543    text: auto;
2544}
2545area[landuse=military] {
2546    fill-color: military#b62c2c;
2547}
2548node[landuse=military] {
2549    icon-image: "vehicle/tank.png";
2550    text: auto;
2551}
2552area[landuse=cemetery] {
2553    fill-color: cemetery#b1efc8;
2554}
2555node[landuse=cemetery] {
2556    icon-image: "rendering/landuse/cemetery.png";
2557    text: auto;
2558}
2559area[landuse=village_green] {
2560    fill-color: green#b1e0c2;
2561}
2562node[landuse=village_green] {
2563    icon-image: "leisure/common.png";
2564    text: auto;
2565}
2566area[landuse=recreation_ground] {
2567    fill-color: green#b1e0c2;
2568}
2569node[landuse=recreation_ground] {
2570    icon-image: "leisure/common.png";
2571    text: auto;
2572}
2573
2574/*****************/
2575/* military tags */
2576/*****************/
2577
2578area[military=airfield],
2579area[military=bunker],
2580area[military=barracks],
2581area[military=danger_area],
2582area[military=range] {
2583    fill-color: military#b62c2c;
2584}
2585node[military=airfield] {
2586    icon-image: "transport/airport/airfield.png";
2587    text: auto;
2588}
2589node[military=bunker] {
2590    icon-image: "misc/landmark/bunker.png";
2591    text: auto;
2592}
2593node[military=barracks] {
2594    icon-image: "misc/no_icon.png";
2595    text: auto;
2596}
2597node[military=danger_area] {
2598    icon-image: "misc/danger.png";
2599    text: auto;
2600}
2601node[military=range] {
2602    icon-image: "misc/landmark/range.png";
2603    text: auto;
2604}
2605
2606/*************************/
2607/* public_transport tags */
2608/*************************/
2609
2610node[public_transport=stop_position] {
2611    icon-image: "transport/railway_small.png";
2612    text: auto;
2613/*    priority="-10"*/
2614}
2615node[highway=bus_stop] {
2616    icon-image: "transport/bus_small.png";
2617    text: auto;
2618}
2619node[public_transport=stop_position][bus=yes] {
2620    icon-image: "transport/bus_small.png";
2621    text: auto;
2622/*    priority="4"*/
2623}
2624node[public_transport=stop_position][aerial=yes] {
2625    icon-image: "transport/aerialway.png";
2626    text: auto;
2627/*    priority="6"*/
2628}
2629node[public_transport=stop_position][ferry=yes] {
2630    icon-image: "transport/ferry.png";
2631    text: auto;
2632/*    priority="7"*/
2633}
2634node[public_transport=stop_position][tram=yes] {
2635    icon-image: "transport/tram.png";
2636    text: auto;
2637/*    priority="8"*/
2638}
2639node[public_transport=stop_position][train=yes] {
2640    icon-image: "transport/railway_small.png";
2641    text: auto;
2642/*    priority="10"*/
2643}
2644area[public_transport=platform]:closed {
2645    fill-color: service#809bc0;
2646}
2647way[public_transport=platform]!:closed {
2648    width: 3;
2649    realwidth: 1;
2650    color: service#809bc0;
2651    dashes: 12,3;
2652}
2653node[public_transport=platform] {
2654    icon-image: "transport/bus_small.png";
2655    text: auto;
2656/*    priority="-10"*/
2657}
2658node[public_transport=platform][bus=yes] {
2659    icon-image: "transport/bus_small.png";
2660    text: auto;
2661/*    priority="4"*/
2662}
2663node[public_transport=platform][aerial=yes] {
2664    icon-image: "transport/aerialway/station.png";
2665    text: auto;
2666/*    priority="6"*/
2667}
2668node[public_transport=platform][ferry=yes] {
2669    icon-image: "transport/ferry.png";
2670    text: auto;
2671/*    priority="7"*/
2672}
2673node[public_transport=platform][tram=yes],
2674node[public_transport=platform][train=yes] {
2675    icon-image: "transport/railway_station.png";
2676    text: auto;
2677/*    priority="10"*/
2678}
2679
2680/****************/
2681/* railway tags */
2682/****************/
2683
2684area[railway=station], area[railway=tram_station],
2685area[railway=subway_entrance],
2686area[railway=crossing], area[railway=level_crossing] {
2687    fill-color: railwaypoint#f7efb7;
2688}
2689node[railway=station], node[railway=tram_station] {
2690    icon-image: "transport/railway_station.png";
2691    text: auto;
2692}
2693node[railway=halt] {
2694    icon-image: "transport/railway_small.png";
2695    text: auto;
2696}
2697node[railway=tram_stop] {
2698    icon-image: "transport/tram.png";
2699    text: auto;
2700}
2701node[railway=subway_entrance] {
2702    icon-image: "transport/underground.png";
2703    text: auto;
2704}
2705node[railway=crossing] {
2706    icon-image: "vehicle/crossing_small.png";
2707    text: auto;
2708}
2709node[railway=level_crossing] {
2710    icon-image: "vehicle/crossing.png";
2711    text: auto;
2712}
2713way[railway=rail] {
2714    width: 2;
2715    color: rail#404040;
2716    dashes: 9,9;
2717    dashes-background-color: raildashed#ffffff;
2718}
2719way[railway=rail][service=siding] {
2720    width: 1;
2721/*    priority="2"*/
2722}
2723way[railway=rail][service=yard],
2724way[railway=rail][service=spur] {
2725    width: 1;
2726    color: railyard#552200
2727/*    priority="2"*/
2728}
2729/* draw tram on top of other way (highway=*) or
2730   as a standalone style */
2731way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
2732    object-z-index: 1;
2733    modifier: false; /* don't draw default way if there is no line on default layer */
2734    width: 1;
2735    color: otherrail#808080;
2736    color: railover#202020;
2737    dashes: 9,9;
2738    casing-width: 1;
2739    casing-color: otherrail#808080;
2740    casing-linecap: round;
2741    casing-dashes: 9,9;
2742}
2743way[railway=light_rail] {
2744    width: 2;
2745    color: otherrail#808080;
2746    dashes: 9,9;
2747}
2748way[railway=subway] {
2749    width: 1;
2750    color: subway#606060;
2751    dashes: 9,9;
2752}
2753way[railway=preserved] {
2754    width: 1;
2755    color: oldrail#404040;
2756    dashes: 9,9;
2757}
2758/* disused often appears together with highway=xy */
2759/* -> draw on separate layer with higher z-index, but use */
2760/* modifier: false; to suppress default line when used alone. */
2761way[railway=disused]::core_railway,
2762way[railway=abandoned]::core_railway {
2763    width: 1;
2764    modifier: false;
2765    z-index: 1;
2766    color: oldrail#404040;
2767    dashes: 9,9;
2768/*    priority="-10000"*/
2769}
2770way[railway=narrow_gauge],
2771way[railway=monorail] {
2772    width: 1;
2773    color: rail#404040;
2774    dashes: 9,9;
2775}
2776area[railway=turntable],
2777area[railway=buffer_stop] {
2778    fill-color: rail#404040;
2779}
2780node[railway=turntable] {
2781    icon-image: "transport/turntable.png";
2782    text: auto;
2783}
2784node[railway=buffer_stop] {
2785    icon-image: "transport/buffer_stop.png";
2786    text: auto;
2787}
2788area[railway=platform]:closed {
2789    fill-color: rail#404040;
2790}
2791way[railway=platform] {
2792    width: 2;
2793    color: rail#404040;
2794}
2795way[railway=funicular] {
2796    width: 1;
2797    color: rail#404040;
2798    dashes: 9,9;
2799}
2800node[railway=rail], node[railway=tram], node[railway=light_rail],
2801node[railway=subway], node[railway=preserved],
2802node[railway=disused], node[railway=abandoned],
2803node[railway=narrow_gauge], node[railway=monorail],
2804node[railway=platform], node[railway=funicular],
2805node[service=yard], node[service=siding], node[service=spur] {
2806    icon-image: "misc/deprecated.png";
2807    text: auto;
2808}
2809
2810/****************/
2811/* aeroway tags */
2812/****************/
2813
2814area[aeroway=aerodrome] {
2815    fill-color: aeroway#660000;
2816}
2817way[aeroway=aerodrome] {
2818    width: 2;
2819    color: aeroway#660000;
2820    dashes: 9,9;
2821}
2822node[aeroway=aerodrome] {
2823    icon-image: "transport/airport.png";
2824    text: auto;
2825}
2826area[aeroway=terminal] {
2827    fill-color: terminal#bb0000;
2828}
2829node[aeroway=terminal] {
2830    icon-image: "transport/airport/terminal.png";
2831    text: auto;
2832}
2833area[aeroway=helipad] {
2834    fill-color: aeroway_dark#330000;
2835}
2836node[aeroway=helipad] {
2837    icon-image: "transport/airport/helipad.png";
2838    text: auto;
2839}
2840way[aeroway=runway] {
2841    width: 3;
2842    realwidth: 10;
2843    color: aeroway_dark#330000;
2844}
2845node[aeroway=runway] {
2846    icon-image: "transport/airport/runway.png";
2847    text: auto;
2848}
2849way[aeroway=taxiway] {
2850    width: 2;
2851    realwidth: 10;
2852    color: aeroway#660000;
2853}
2854node[aeroway=taxiway] {
2855    icon-image: "transport/airport/taxiway.png";
2856    text: auto;
2857}
2858area[aeroway=apron], area[aeroway=hangar] {
2859    fill-color: aeroway_light#990000;
2860}
2861node[aeroway=apron] {
2862    icon-image: "transport/airport/apron.png";
2863    text: auto;
2864}
2865node[aeroway=hangar] {
2866    icon-image: "transport/airport/hangar.png";
2867    text: auto;
2868}
2869node[aeroway=gate] {
2870    icon-image: "transport/airport/gate.png";
2871    text: auto;
2872}
2873node[aeroway=windsock] {
2874    icon-image: "transport/airport/windsock.png";
2875    text: auto;
2876}
2877
2878/******************/
2879/* aerialway tags */
2880/******************/
2881
2882way[aerialway=cable_car],
2883way[aerialway=gondola] {
2884    width: 1;
2885    color: aerialway#663300;
2886    dashes: 9,9;
2887}
2888node[aerialway=cable_car] {
2889    icon-image: "transport/aerialway/cable_car.png";
2890    text: auto;
2891}
2892node[aerialway=gondola] {
2893    icon-image: "transport/aerialway/gondola.png";
2894    text: auto;
2895}
2896way[aerialway=chair_lift] {
2897    width: 1;
2898    color: aerialway#663300;
2899    dashes: 6,6;
2900}
2901node[aerialway=chair_lift] {
2902    icon-image: "transport/aerialway/chair_lift.png";
2903    text: auto;
2904}
2905way[aerialway=drag_lift] {
2906    width: 1;
2907    color: aerialway#663300;
2908    dashes: 3,3;
2909}
2910node[aerialway=drag_lift] {
2911    icon-image: "transport/aerialway/drag_lift.png";
2912    text: auto;
2913}
2914area[aerialway=station],
2915area[aerialway=pylon] {
2916    fill-color: aerialway#663300;
2917}
2918node[aerialway=station] {
2919    icon-image: "transport/aerialway/station.png";
2920    text: auto;
2921}
2922node[aerialway=pylon] {
2923    icon-image: "misc/landmark/power/tower_small.png";
2924    text: auto;
2925}
2926way[aerialway=goods] {
2927    width: 1;
2928    color: aerialway#663300;
2929    dashes: 2,2;
2930}
2931node[aerialway=goods] {
2932    icon-image: "transport/aerialway/goods.png";
2933    text: auto;
2934}
2935
2936/****************/
2937/* natural tags */
2938/****************/
2939
2940area[natural=spring] {
2941    fill-color: light_water#00005f;
2942}
2943node[natural=spring] {
2944    icon-image: "misc/landmark/spring.png";
2945    text: auto;
2946}
2947node[natural=saddle] {
2948    icon-image: "presets/saddle.svg";
2949    text: auto;
2950}
2951area[natural=peak] {
2952    fill-color: peak#663300;
2953}
2954node[natural=peak] {
2955    icon-image: "presets/peak.svg";
2956    text: auto;
2957}
2958area[natural=glacier] {
2959    fill-color: glacier#ffffff;
2960}
2961node[natural=glacier] {
2962    icon-image: "misc/landmark/glacier_small.png";
2963    text: auto;
2964}
2965area[natural=volcano] {
2966    fill-color: volcano#5f0000;
2967}
2968node[natural=volcano] {
2969    icon-image: "misc/landmark/volcano_small.png";
2970    text: auto;
2971}
2972area[natural=cliff]:closed {
2973    fill-color: natural#002f00;
2974}
2975way[natural=cliff] {
2976    repeat-image: "misc/cliff-pattern.png";
2977    repeat-image-align: top;
2978    width: 1;
2979    color: #b2b2b2;   
2980}
2981node[natural=cliff] {
2982    icon-image: "misc/cliff.png";
2983    text: auto;
2984}
2985area[natural=scree] {
2986    fill-color: natural#002f00;
2987}
2988node[natural=scree] {
2989    icon-image: "misc/no_icon.png";
2990    text: auto;
2991}
2992area[natural=scrub] {
2993    fill-color: scrub#007000;
2994}
2995node[natural=scrub] {
2996    icon-image: "misc/no_icon.png";
2997    text: auto;
2998}
2999area[natural=fell] {
3000    fill-color: natural#002f00;
3001}
3002node[natural=fell] {
3003    icon-image: "misc/no_icon.png";
3004    text: auto;
3005}
3006area[natural=heath] {
3007    fill-color: heath#ffffc0;
3008}
3009node[natural=heath] {
3010    icon-image: "misc/no_icon.png";
3011    text: auto;
3012}
3013way[natural=tree_row] {
3014    width: 2;
3015    color: woodarea#008000;
3016}
3017node[natural=tree_row] {
3018    icon-image: "misc/no_icon.png";
3019    text: auto;
3020}
3021area[natural=wood] {
3022    fill-color: woodarea#008000;
3023}
3024node[natural=wood] {
3025    icon-image: "misc/landmark/trees.png";
3026    text: auto;
3027}
3028area[natural=grassland] {
3029    fill-color: green#b1e0c2;
3030}
3031node[natural=grassland] {
3032    icon-image: "misc/no_icon.png";
3033    text: auto;
3034}
3035area[natural=wetland] {
3036    fill-color: marsh#4f4ff3;
3037}
3038node[natural=wetland] {
3039    icon-image: "misc/no_icon.png";
3040    text: auto;
3041}
3042area[natural=water] {
3043    fill-color: water#0000ff;
3044}
3045node[natural=water] {
3046    icon-image: "nautical/water.png";
3047    text: auto;
3048}
3049way[natural=coastline] {
3050    width: 1;
3051    color: water#0000ff;
3052}
3053node[natural=coastline] {
3054    icon-image: "misc/coastline.png";
3055    text: auto;
3056}
3057area[natural=mud] {
3058    fill-color: mud#cba762;
3059}
3060node[natural=mud] {
3061    icon-image: "misc/mud.png";
3062    text: auto;
3063}
3064area[natural=beach] {
3065    fill-color: beach#f8dba2;
3066}
3067node[natural=beach] {
3068    icon-image: "misc/beach.png";
3069    text: auto;
3070}
3071area[natural=sand] {
3072    fill-color: sand#f8dba2;
3073}
3074node[natural=sand] {
3075    icon-image: "misc/no_icon.png";
3076    text: auto;
3077}
3078area[natural=bay],
3079area[natural=land],
3080area[natural=cave_entrance] {
3081    fill-color: natural#002f00;
3082}
3083node[natural=bay] {
3084    icon-image: "misc/bay.png";
3085    text: auto;
3086}
3087node[natural=land] {
3088    icon-image: "misc/no_icon.png";
3089    text: auto;
3090}
3091node[natural=cave_entrance] {
3092    icon-image: "misc/landmark/cave_entrance.png";
3093    text: auto;
3094}
3095node[natural=tree] {
3096    icon-image: "misc/landmark/trees.png";
3097    text: auto;
3098}
3099node[natural=tree][type=conifer],
3100node[natural=tree][leaf_type=needleleaved] {
3101    icon-image: "misc/landmark/trees_conifer.png";
3102    text: auto;
3103/*    priority="10"*/
3104}
3105node[natural=tree][type=broad_leaved],
3106node[natural=tree][leaf_type=broadleaved] {
3107    icon-image: "misc/landmark/trees_broad_leaved.png";
3108    text: auto;
3109/*    priority="10"*/
3110}
3111node[natural=tree][type=palm] {
3112    icon-image: "misc/landmark/trees_palm.png";
3113    text: auto;
3114/*    priority="10"*/
3115}
3116
3117/*****************/
3118/* waterway tags */
3119/*****************/
3120
3121way[waterway=river] {
3122    width: 2;
3123    realwidth: 5;
3124    color: water#0000ff;
3125}
3126area[waterway=riverbank] {
3127    fill-color: riverbank#0000cf;
3128/*    priority="10000"*/
3129    width: 1;
3130    realwidth: 5;
3131    color: riverbank#0000cf;
3132}
3133way[waterway=canal], way[waterway=wadi] {
3134    width: 2;
3135    realwidth: 2;
3136    color: water#0000ff;
3137}
3138way[waterway=stream] {
3139    width: 1;
3140    realwidth: 1;
3141    color: stream#6600cc;
3142}
3143way[waterway=ditch], way[waterway=drain] {
3144    width: 1;
3145    realwidth: 1;
3146    color: water#0000ff;
3147}
3148area[waterway=dock] {
3149    fill-color: dock#0000cf;
3150}
3151node[waterway=dock] {
3152    icon-image: "nautical/boatyard.png";
3153    text: auto;
3154}
3155node[waterway=lock_gate] {
3156    icon-image: "nautical/lock_gate.png";
3157    text: auto;
3158}
3159node[waterway=turning_point] {
3160    icon-image: "nautical/turning.png";
3161    text: auto;
3162}
3163area[waterway=boatyard] {
3164    fill-color: manmade#d8d8d8;
3165}
3166node[waterway=boatyard] {
3167    icon-image: "nautical/boatyard.png";
3168    text: auto;
3169}
3170node[waterway=water_point] {
3171    icon-image: "accommodation/camping/water.png";
3172    text: auto;
3173}
3174node[waterway=waste_disposal] {
3175    icon-image: "accommodation/camping/wastewater.png";
3176    text: auto;
3177}
3178node[waterway=mooring] {
3179    icon-image: "nautical/marina.png";
3180    text: auto;
3181}
3182way[waterway=weir] {
3183    width: 2;
3184    color: manmade#d8d8d8;
3185}
3186node[waterway=weir] {
3187    icon-image: "nautical/weir.png";
3188    text: auto;
3189}
3190way[waterway=rapids] {
3191    width: 2;
3192    color: rapids#8080ff;
3193}
3194node[waterway=rapids] {
3195    icon-image: "misc/no_icon.png";
3196    text: auto;
3197}
3198area[waterway=dam]:closed {
3199    fill-color: manmade#d8d8d8;
3200}
3201way[waterway=dam] {
3202    width: 2;
3203    color: manmade#d8d8d8;
3204}
3205node[waterway=dam] {
3206    icon-image: "nautical/dam.png";
3207    text: auto;
3208}
3209/* it's not possible to have both line and area, line seems more likely */
3210way[waterway=waterfall] {
3211    width: 2;
3212    color: manmade#d8d8d8;
3213}
3214node[waterway=waterfall] {
3215    icon-image: "nautical/waterfall.png";
3216    text: auto;
3217}
3218node[waterway=river], node[waterway=riverbank],
3219node[waterway=canal], node[waterway=wadi],
3220node[waterway=stream],
3221node[waterway=ditch], node[waterway=drain] {
3222    icon-image: "misc/deprecated.png";
3223    text: auto;
3224}
3225
3226/**************/
3227/* route tags */
3228/**************/
3229
3230way[route=bus],
3231way[route=ferry],
3232way[route=flight],
3233way[route=ncn],
3234way[route=subsea],
3235way[route=ski],
3236way[route=tour],
3237way[route=pub_crawl] {
3238    width: 1;
3239    color: route#809bc0;
3240    dashes: 9,9;
3241}
3242node[route=bus],
3243node[route=ferry],
3244node[route=flight],
3245node[route=ncn],
3246node[route=subsea],
3247node[route=ski],
3248node[route=tour],
3249node[route=pub_crawl] {
3250    icon-image: "misc/deprecated.png";
3251    text: auto;
3252}
3253
3254/**************/
3255/* sport tags */
3256/**************/
3257
3258area[sport="9pin"],
3259area[sport="10pin"],
3260area[sport=athletics],
3261area[sport=soccer],
3262area[sport=australian_football],
3263area[sport=american_football],
3264area[sport=canadian_football],
3265area[sport=gaelic_football],
3266area[sport=rugby_league],
3267area[sport=rugby_union] {
3268    fill-color: sport#bde3cb;
3269}
3270node[sport="9pin"] {
3271    icon-image: "sport/10pin.png";
3272    text: auto;
3273}
3274node[sport="10pin"] {
3275    icon-image: "sport/10pin.png";
3276    text: auto;
3277}
3278node[sport=athletics] {
3279    icon-image: "sport/athletics.png";
3280    text: auto;
3281}
3282node[sport=soccer],
3283node[sport=australian_football],
3284node[sport=american_football],
3285node[sport=canadian_football],
3286node[sport=gaelic_football] {
3287    icon-image: "sport/soccer.png";
3288    text: auto;
3289}
3290node[sport=rugby_league],
3291node[sport=rugby_union] {
3292    icon-image: "sport/football.png";
3293    text: auto;
3294}
3295area[sport=baseball],
3296area[sport=basketball],
3297area[sport=boules],
3298area[sport=bowls],
3299area[sport=canoe],
3300area[sport=chess],
3301area[sport=climbing],
3302area[sport=cricket],
3303area[sport=cricket_nets],
3304area[sport=croquet] {
3305    fill-color: sport#bde3cb;
3306}
3307node[sport=baseball] {
3308    icon-image: "sport/baseball.png";
3309    text: auto;
3310}
3311node[sport=basketball] {
3312    icon-image: "sport/basketball.png";
3313    text: auto;
3314}
3315node[sport=boules] {
3316    icon-image: "sport/boule.png";
3317    text: auto;
3318}
3319node[sport=bowls] {
3320    icon-image: "sport/boule.png";
3321    text: auto;
3322}
3323node[sport=canoe] {
3324    icon-image: "sport/canoe.png";
3325    text: auto;
3326}
3327node[sport=chess] {
3328    icon-image: "sport/chess.png";
3329    text: auto;
3330}
3331node[sport=climbing] {
3332    icon-image:"sport/climbing.png" ;
3333    text: auto;
3334}
3335node[sport=cricket] {
3336    icon-image: "sport/cricket.png";
3337    text: auto;
3338}
3339node[sport=cricket_nets] {
3340    icon-image: "misc/no_icon.png";
3341    text: auto;
3342}
3343node[sport=croquet] {
3344    icon-image: "sport/croquet.png";
3345    text: auto;
3346}
3347area[sport=cycling],
3348area[sport=dog_racing],
3349area[sport=equestrian],
3350area[sport=golf],
3351area[sport=gymnastics],
3352area[sport=hockey],
3353area[sport=horse_racing],
3354area[sport=karting],
3355area[sport=motocross],
3356area[sport=motor] {
3357    fill-color: sport#bde3cb;
3358}
3359node[sport=cycling] {
3360    icon-image: "sport/cycling.png";
3361    text: auto;
3362}
3363node[sport=dog_racing] {
3364    icon-image: "leisure/dog.png";
3365    text: auto;
3366}
3367node[sport=equestrian] {
3368    icon-image: "sport/riding.png";
3369    text: auto;
3370}
3371node[sport=golf] {
3372    icon-image: "sport/golf.png";
3373    text: auto;
3374}
3375node[sport=gymnastics] {
3376    icon-image: "sport/multi.png";
3377    text: auto;
3378}
3379node[sport=hockey] {
3380    icon-image: "sport/hockey.png";
3381    text: auto;
3382}
3383node[sport=horse_racing] {
3384    icon-image: "sport/riding.png";
3385    text: auto;
3386}
3387node[sport=karting] {
3388    icon-image: "sport/karting.png";
3389    text: auto;
3390}
3391node[sport=motocross] {
3392    icon-image: "sport/motocross.png";
3393    text: auto;
3394}
3395node[sport=motor] {
3396    icon-image: "sport/motor.png";
3397    text: auto;
3398}
3399area[sport=multi],
3400area[sport=pelota],
3401area[sport=racquet],
3402area[sport=skating],
3403area[sport=skateboard] {
3404    fill-color: sport#bde3cb;
3405}
3406node[sport=multi] {
3407    icon-image: "sport/multi.png";
3408    text: auto;
3409}
3410node[sport=pelota] {
3411    icon-image: "sport/pelota.png";
3412    text: auto;
3413}
3414node[sport=racquet] {
3415    icon-image: "sport/racquetball.png";
3416    text: auto;
3417}
3418node[sport=skating] {
3419    icon-image: "sport/skating.png";
3420    text: auto;
3421}
3422node[sport=skateboard] {
3423    icon-image: "sport/skateboard.png";
3424    text: auto;
3425}
3426area[sport=swimming] {
3427    fill-color: swimming_pool#51c4ef;
3428}
3429node[sport=swimming] {
3430    icon-image: "sport/pool.png";
3431    text: auto;
3432}
3433area[sport=skiing],
3434area[sport=table_tennis],
3435area[sport=tennis],
3436area[sport=paintball] {
3437    fill-color: sport#bde3cb;
3438}
3439node[sport=skiing] {
3440    icon-image: "sport/skiing.png";
3441    text: auto;
3442}
3443node[sport=table_tennis] {
3444    icon-image: "sport/table_tennis.png";
3445    text: auto;
3446}
3447node[sport=tennis] {
3448    icon-image: "sport/tennis.png";
3449    text: auto;
3450}
3451node[sport=paintball] {
3452    icon-image: "misc/no_icon.png";
3453    text: auto;
3454}
3455area[sport=squash],
3456area[sport=shooting],
3457area[sport=volleyball],
3458area[sport=beachvolleyball],
3459area[sport=bowling],
3460area[sport=handball],
3461area[sport=rowing],
3462area[sport=sailing],
3463area[sport=diving],
3464area[sport=badminton] {
3465    fill-color: sport#bde3cb;
3466}
3467node[sport=squash] {
3468    icon-image: "misc/no_icon.png";
3469    text: auto;
3470}
3471node[sport=shooting] {
3472    icon-image: "misc/no_icon.png";
3473    text: auto;
3474}
3475node[sport=volleyball] {
3476    icon-image: "sport/volleyball.png";
3477    text: auto;
3478}
3479node[sport=beachvolleyball] {
3480    icon-image: "sport/beachvolleyball.png";
3481    text: auto;
3482}
3483node[sport=bowling] {
3484    icon-image: "sport/10pin.png";
3485    text: auto;
3486}
3487node[sport=handball] {
3488    icon-image: "sport/handball.png";
3489    text: auto;
3490}
3491node[sport=rowing] {
3492    icon-image: "sport/rowing.png";
3493    text: auto;
3494}
3495node[sport=sailing] {
3496    icon-image: "misc/no_icon.png";
3497    text: auto;
3498}
3499node[sport=diving] {
3500    icon-image: "sport/diving.png";
3501    text: auto;
3502}
3503node[sport=badminton] {
3504    icon-image: "misc/no_icon.png";
3505    text: auto;
3506}
3507area[sport=archery],
3508area[sport=fishing],
3509area[sport=safety_training],
3510area[sport=model_aerodrome],
3511area[sport=rc_car] {
3512    fill-color: sport#bde3cb;
3513}
3514node[sport=archery] {
3515    icon-image: "sport/archery.png";
3516    text: auto;
3517}
3518node[sport=fishing] {
3519    icon-image: "sport/fishing.png";
3520    text: auto;
3521}
3522node[sport=safety_training] {
3523    icon-image: "sport/safety_training.png";
3524    text: auto;
3525}
3526node[sport=model_aerodrome] {
3527    icon-image: "transport/airport.png";
3528    text: auto;
3529}
3530node[sport=rc_car] {
3531    icon-image: "transport/car.png";
3532    text: auto;
3533}
3534
3535/*******************/
3536/* properties tags */
3537/*******************/
3538
3539node[mountain_pass?] {
3540    icon-image: "misc/landmark/mountain_pass.png";
3541    text: auto;
3542}
3543
3544/*****************/
3545/* boundary tags */
3546/*****************/
3547
3548way[boundary=national]::core_boundary,
3549way[boundary=administrative]::core_boundary,
3550way[boundary=postal_code]::core_boundary,
3551way[boundary=political]::core_boundary,
3552way[boundary=national_park]::core_boundary {
3553    z-index: 2;
3554    modifier: false;
3555    width: 1;
3556    color: boundary#FF6600;
3557    dashes: 9,9;
3558/*    priority="-10"*/
3559}
3560way[admin_level=9]::core_boundary,
3561relation[admin_level=9] > way::core_boundary,
3562way[admin_level=10]::core_boundary,
3563relation[admin_level=10] > way::core_boundary {
3564    z-index: 2;
3565    modifier: false;
3566    width: 1;
3567    color: boundary#FF6600;
3568    dashes: 9,9;
3569}
3570way[admin_level=7]::core_boundary,
3571relation[admin_level=7] > way::core_boundary,
3572way[admin_level=8]::core_boundary,
3573relation[admin_level=8] > way::core_boundary {
3574    z-index: 2;
3575    modifier: false;
3576    width: 2;
3577    color: boundary#FF6600;
3578    dashes: 9,9;
3579}
3580way[admin_level=5]::core_boundary,
3581relation[admin_level=5] > way::core_boundary,
3582way[admin_level=6]::core_boundary,
3583relation[admin_level=6] > way::core_boundary {
3584    z-index: 2;
3585    modifier: false;
3586    width: 3;
3587    color: boundary#FF6600;
3588    dashes: 9,9;
3589}
3590way[admin_level=3]::core_boundary,
3591relation[admin_level=3] > way::core_boundary,
3592way[admin_level=4]::core_boundary,
3593relation[admin_level=4] > way::core_boundary {
3594    z-index: 2;
3595    modifier: false;
3596    width: 4;
3597    color: boundary#FF6600;
3598    dashes: 9,9;
3599}
3600way[admin_level=1]::core_boundary,
3601relation[admin_level=1] > way::core_boundary,
3602way[admin_level=2]::core_boundary,
3603relation[admin_level=2] > way::core_boundary {
3604    z-index: 2;
3605    modifier: false;
3606    width: 5;
3607    color: boundary#FF6600;
3608    dashes: 9,9;
3609}
3610node[boundary=national],
3611node[boundary=administrative],
3612node[boundary=postal_code],
3613node[boundary=political],
3614node[boundary=national_park] {
3615    icon-image: "misc/deprecated.png";
3616    text: auto;
3617}
3618/* "deprecated" tags
3619     historic=museum -> tourism=museum
3620     man_made=power_wind -> power=generator and power_source=wind
3621     man_made=power_hydro -> power=generator and power_source=hydro
3622     man_made=power_fossil -> power=generator and power_source=fossil
3623     man_made=power_nuclear -> power=generator and power_source=nuclear
3624     amenity=park_bench -> amenity=bench
3625     amenity=signpost -> information=guidepost
3626     amenity=emergency_phone -> emergency=phone
3627     highway minor - classification now more detailed
3628     highway=stile -> barrier=stile
3629     highway=gate -> barrier=gate
3630     highway=cattle_grid -> barrier=cattle_grid
3631     highway=toll_booth -> barrier=toll_booth
3632     highway=viaduct -> bridge=viaduct
3633     railway=viaduct -> bridge=viaduct
3634     waterway=aqueduct -> bridge=aqueduct
3635     natural=marsh -> natural=wetland
3636     leisure=zoo -> tourism=zoo
3637     power=station -> power=plant or power=sub_station
3638*/
3639
Note: See TracBrowser for help on using the repository browser.