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

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

see #10653 - add shop=art, shop=tattoo and shop=farm to preset and mappaint style (farm preset already availible)

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