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

Last change on this file since 7638 was 7638, checked in by Klumbumbus, 10 years ago

fix #10576 - display railway=construction (different styles for different subkeys construction=*); improve display of railway=tram on bridges and in tunnels

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