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

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

fix #10670 - improve preset and mappaint style for highway=raceway

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