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

Last change on this file since 7645 was 7645, checked in by Klumbumbus, 9 years ago

fix #10252 - remove some old route=* tags from mappaint style; improve display of route=ski; add validator warning for route=bus on a way

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