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

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

fix #10664 - add man_made=bridge to preset and mappaint style

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