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

Last change on this file since 7740 was 7740, checked in by Klumbumbus, 11 years ago

fix icon size

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