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

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

fixes #8281 - deprecate parking=park_and_ride in favor of amenity=parking park_ride=yes (updated validator and mappaint style)

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