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

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

fix #10723 - add man_made=bunker_silo to preset and mappaint style (icon by mdk, modified)

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