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

Last change on this file since 7386 was 7386, checked in by bastiK, 10 years ago

see #10043 - Mappaint: print name of street along residential

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