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

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

Icon unification. Use preset icons of generator:source=* also for mappaint (before there was always the icon for power=generator displayed). Drop support of power_source in mappaint.

File size: 96.9 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.png";
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=fountain] {
2248 fill-color: light_water#00005f;
2249}
2250node[amenity=drinking_water] {
2251 icon-image: "food/drinking_water.png";
2252 set icon_z17;
2253 text: auto;
2254}
2255node[amenity=fountain] {
2256 icon-image: "misc/fountain.png";
2257 set icon_z17;
2258 text: auto;
2259}
2260area[amenity=place_of_worship],
2261area[amenity=grave_yard],
2262area[amenity=crematorium],
2263area[amenity=post_office],
2264area[amenity=post_box],
2265area[amenity=studio],
2266area[amenity=school],
2267area[amenity=university],
2268area[amenity=college],
2269area[amenity=kindergarten],
2270area[amenity=driving_school] {
2271 fill-color: amenity_light#f7efb7;
2272}
2273node[amenity=place_of_worship] {
2274 icon-image: "religion.png";
2275 set icon_z17;
2276 text: auto;
2277}
2278node[amenity=place_of_worship][religion=bahai] {
2279 icon-image: "religion/bahai.png";
2280 set icon_z17;
2281 text: auto;
2282}
2283node[amenity=place_of_worship][religion=buddhist] {
2284 icon-image: "religion/buddhism.png";
2285 set icon_z17;
2286 text: auto;
2287}
2288node[amenity=place_of_worship][religion=christian] {
2289 icon-image: "religion/church.png";
2290 set icon_z17;
2291 text: auto;
2292}
2293node[amenity=place_of_worship][religion=hindu] {
2294 icon-image: "religion/hinduism.png";
2295 set icon_z17;
2296 text: auto;
2297}
2298node[amenity=place_of_worship][religion=jain] {
2299 icon-image: "religion/jainism.png";
2300 set icon_z17;
2301 text: auto;
2302}
2303node[amenity=place_of_worship][religion=jewish] {
2304 icon-image: "religion/jewish.png";
2305 set icon_z17;
2306 text: auto;
2307}
2308node[amenity=place_of_worship][religion=muslim] {
2309 icon-image: "religion/muslim.png";
2310 set icon_z17;
2311 text: auto;
2312}
2313node[amenity=place_of_worship][religion=sikh] {
2314 icon-image: "religion/sikhism.png";
2315 set icon_z17;
2316 text: auto;
2317}
2318node[amenity=place_of_worship][religion=shinto] {
2319 icon-image: "religion/shinto.png";
2320 set icon_z17;
2321 text: auto;
2322}
2323node[amenity=place_of_worship][religion=spiritualist] {
2324 icon-image: "misc/no_icon.png";
2325 set icon_z17;
2326 text: auto;
2327}
2328node[amenity=place_of_worship][religion=taoist] {
2329 icon-image: "religion/taoism.png";
2330 set icon_z17;
2331 text: auto;
2332}
2333node[amenity=place_of_worship][religion=unitarian] {
2334 icon-image: "misc/no_icon.png";
2335 set icon_z17;
2336 text: auto;
2337}
2338node[amenity=place_of_worship][religion=zoroastrian] {
2339 icon-image: "misc/no_icon.png";
2340 set icon_z17;
2341 text: auto;
2342}
2343node[amenity=grave_yard] {
2344 icon-image: "rendering/landuse/cemetery.png";
2345 set icon_z17;
2346 text: auto;
2347}
2348node[amenity=crematorium] {
2349 icon-image: "misc/no_icon.png";
2350 set icon_z17;
2351 text: auto;
2352}
2353node[amenity=post_office] {
2354 icon-image: "service/post_office.png";
2355 set icon_z17;
2356 text: auto;
2357}
2358node[amenity=post_box] {
2359 icon-image: "service/post_box.png";
2360 set icon_z17;
2361 text: auto;
2362}
2363node[amenity=studio] {
2364 icon-image: "service/studio.png";
2365 set icon_z17;
2366 text: auto;
2367}
2368node[amenity=school] {
2369 icon-image: "education/school.png";
2370 set icon_z17;
2371 text: auto;
2372}
2373node[amenity=university] {
2374 icon-image: "education/university.png";
2375 set icon_z17;
2376 text: auto;
2377}
2378node[amenity=college] {
2379 icon-image: "education/college.png";
2380 set icon_z17;
2381 text: auto;
2382}
2383node[amenity=kindergarten] {
2384 icon-image: "education/kindergarten.png";
2385 set icon_z17;
2386 text: auto;
2387}
2388node[amenity=driving_school] {
2389 icon-image: "education/driving_school.png";
2390 set icon_z17;
2391 text: auto;
2392}
2393area[amenity=pharmacy],
2394area[amenity=hospital],
2395area[amenity=clinic],
2396area[amenity=nursery],
2397area[amenity=baby_hatch],
2398area[amenity=doctors],
2399area[amenity=dentist],
2400area[amenity=veterinary] {
2401 fill-color: health#eeeeee;
2402}
2403node[amenity=pharmacy] {
2404 icon-image: "health/pharmacy.png";
2405 set icon_z17;
2406 text: auto;
2407}
2408node[amenity=hospital],
2409node[amenity=clinic] {
2410 icon-image: "health/hospital.png";
2411 set icon_z17;
2412 text: auto;
2413}
2414node[amenity=nursery] {
2415 icon-image: "misc/no_icon.png";
2416 set icon_z17;
2417 text: auto;
2418}
2419node[amenity=baby_hatch] {
2420 icon-image: "health/baby_hatch.png";
2421 set icon_z17;
2422 text: auto;
2423}
2424node[amenity=doctors] {
2425 icon-image: "health/doctor.png";
2426 set icon_z17;
2427 text: auto;
2428}
2429node[amenity=dentist] {
2430 icon-image: "health/dentist.png";
2431 set icon_z17;
2432 text: auto;
2433}
2434node[amenity=veterinary] {
2435 icon-image: "health/veterinary.png";
2436 set icon_z17;
2437 text: auto;
2438}
2439area[amenity=library],
2440area[amenity=police],
2441area[amenity=fire_station],
2442area[amenity=bus_station],
2443area[amenity=ferry_terminal],
2444area[amenity=theatre],
2445area[amenity=cinema],
2446area[amenity=arts_centre],
2447area[amenity=courthouse],
2448area[amenity=prison],
2449area[amenity=bank],
2450area[amenity=bureau_de_change],
2451area[amenity=atm],
2452area[amenity=bbq] {
2453 fill-color: amenity_light#f7efb7;
2454}
2455node[amenity=library] {
2456 icon-image: "shop/rental/library.png";
2457 set icon_z17;
2458 text: auto;
2459}
2460node[amenity=police] {
2461 icon-image: "service/police.png";
2462 set icon_z17;
2463 text: auto;
2464}
2465node[amenity=fire_station] {
2466 icon-image: "service/firebrigade.png";
2467 set icon_z17;
2468 text: auto;
2469}
2470node[amenity=bus_station] {
2471 icon-image: "transport/bus.png";
2472 set icon_z17;
2473 text: auto;
2474}
2475node[amenity=ferry_terminal] {
2476 icon-image: "nautical/ferry.png";
2477 set icon_z17;
2478 text: auto;
2479}
2480node[amenity=theatre] {
2481 icon-image: "leisure/theater.png";
2482 set icon_z17;
2483 text: auto;
2484}
2485node[amenity=cinema] {
2486 icon-image: "leisure/cinema.png";
2487 set icon_z17;
2488 text: auto;
2489}
2490node[amenity=arts_centre] {
2491 icon-image: "service/arts_centre.png";
2492 set icon_z17;
2493 text: auto;
2494}
2495node[amenity=courthouse] {
2496 icon-image: "service/administration/court_of_law.png";
2497 set icon_z17;
2498 text: auto;
2499}
2500node[amenity=prison] {
2501 icon-image: "service/administration/prison.png";
2502 set icon_z17;
2503 text: auto;
2504}
2505node[amenity=bank] {
2506 icon-image: "money/bank.png";
2507 set icon_z17;
2508 text: auto;
2509}
2510node[amenity=bureau_de_change] {
2511 icon-image: "money/exchange.png";
2512 set icon_z17;
2513 text: auto;
2514}
2515node[amenity=atm] {
2516 icon-image: "money/atm.png";
2517 set icon_z17;
2518 text: auto;
2519}
2520way[amenity=bench] {
2521 width: 2;
2522 color: amenity_light#f7efb7;
2523}
2524node[amenity=bench] {
2525 icon-image: "leisure/bench.png";
2526 set icon_z17;
2527 text: auto;
2528}
2529node[amenity=bbq] {
2530 icon-image: "leisure/bbq.png";
2531 set icon_z17;
2532 text: auto;
2533}
2534node[emergency=fire_hydrant] {
2535 icon-image: "service/fire_hydrant.png";
2536 set icon_z17;
2537 text: auto;
2538}
2539area[amenity=shelter],
2540area[amenity=hunting_stand],
2541area[amenity=marketplace],
2542area[amenity=wlan],
2543area[amenity=vending_machine] {
2544 fill-color: amenity_light#f7efb7;
2545}
2546node[amenity=shelter] {
2547 icon-image: "accommodation/shelter.png";
2548 set icon_z17;
2549 text: auto;
2550}
2551node[amenity=shelter][shelter_type=public_transport] {
2552 icon-image: "accommodation/shelter_public_transport_brown.png";
2553 set icon_z17;
2554 text: auto;
2555}
2556node[amenity=shelter][shelter_type=picnic_shelter] {
2557 icon-image: "accommodation/shelter_picnic_brown.png";
2558 set icon_z17;
2559 text: auto;
2560}
2561node[amenity=shelter][shelter_type=basic_hut] {
2562 icon-image: "accommodation/basic_hut_blue.png";
2563 set icon_z17;
2564 text: auto;
2565}
2566node[amenity=hunting_stand] {
2567 icon-image: "hunting_stand.png";
2568 set icon_z17;
2569 text: auto;
2570}
2571node[amenity=marketplace] {
2572 icon-image: "place/marketplace.png";
2573 set icon_z17;
2574 text: auto;
2575}
2576node[amenity=wlan] {
2577 icon-image: "wlan.png";
2578 set icon_z17;
2579 text: auto;
2580}
2581node[amenity=vending_machine] {
2582 icon-image: "transport/ticket-machine.png";
2583 set icon_z17;
2584}
2585node[vending=excrement_bags] {
2586 icon-image: "service/excrement_bags.png";
2587 set icon_z17;
2588 text: auto;
2589}
2590
2591/**************/
2592/* craft tags */
2593/**************/
2594
2595area[craft=painter],
2596area[craft=plumber],
2597area[craft=pottery],
2598area[craft=stonemason],
2599area[craft=tiler],
2600area[craft=window_construction] {
2601 fill-color: craft#999900;
2602}
2603node[craft=painter] {
2604 icon-image: "craft/painter.png";
2605 set icon_z17;
2606 text: auto;
2607}
2608node[craft=plumber] {
2609 icon-image: "craft/plumber.png";
2610 set icon_z17;
2611 text: auto;
2612}
2613node[craft=pottery] {
2614 icon-image: "craft/pottery.png";
2615 set icon_z17;
2616 text: auto;
2617}
2618node[craft=stonemason] {
2619 icon-image: "craft/stonemason.png";
2620 set icon_z17;
2621 text: auto;
2622}
2623node[craft=tiler] {
2624 icon-image: "craft/tiler.png";
2625 set icon_z17;
2626 text: auto;
2627}
2628node[craft=window_construction] {
2629 icon-image: "craft/window_construction.png";
2630 set icon_z17;
2631 text: auto;
2632}
2633
2634/****************/
2635/* tourism tags */
2636/****************/
2637
2638area[tourism=hotel],
2639area[tourism=motel],
2640area[tourism=guest_house],
2641area[tourism=hostel],
2642area[tourism=chalet],
2643area[tourism=alpine_hut],
2644area[tourism=camp_site],
2645area[tourism=caravan_site] {
2646 fill-color: hotel#e1a0a2;
2647}
2648node[tourism=hotel] {
2649 icon-image: "accommodation.png";
2650 set icon_z17;
2651 text: auto;
2652}
2653node[tourism=motel] {
2654 icon-image: "accommodation/motel.png";
2655 set icon_z17;
2656 text: auto;
2657}
2658node[tourism=guest_house] {
2659 icon-image: "accommodation/guest_house.png";
2660 set icon_z17;
2661 text: auto;
2662}
2663node[tourism=hostel] {
2664 icon-image: "accommodation/hostel.png";
2665 set icon_z17;
2666 text: auto;
2667}
2668node[tourism=chalet] {
2669 icon-image: "accommodation/chalet.png";
2670 set icon_z17;
2671 text: auto;
2672}
2673node[tourism=alpine_hut] {
2674 icon-image: "accommodation/alpine_hut_blue.png";
2675 set icon_z17;
2676 text: auto;
2677}
2678node[tourism=wilderness_hut] {
2679 icon-image: "accommodation/wilderness_hut_blue.png";
2680 set icon_z17;
2681 text: auto;
2682}
2683node[tourism=camp_site] {
2684 icon-image: "accommodation/camping.png";
2685 set icon_z17;
2686 text: auto;
2687}
2688node[tourism=caravan_site] {
2689 icon-image: "accommodation/camping/caravan.png";
2690 set icon_z17;
2691 text: auto;
2692}
2693area[tourism=picnic_site],
2694area[tourism=viewpoint],
2695area[tourism=theme_park],
2696area[tourism=attraction],
2697area[tourism=zoo],
2698area[tourism=artwork],
2699area[tourism=museum] {
2700 fill-color: tourism#e180a2;
2701}
2702node[tourism=picnic_site] {
2703 icon-image: "leisure/picnic.png";
2704 set icon_z17;
2705 text: auto;
2706}
2707node[tourism=viewpoint] {
2708 icon-image: "sightseeing/viewpoint.png";
2709 set icon_z17;
2710 text: auto;
2711}
2712node[tourism=theme_park] {
2713 icon-image: "leisure/theme_park.png";
2714 set icon_z17;
2715 text: auto;
2716}
2717node[tourism=attraction] {
2718 icon-image: "sightseeing.png";
2719 set icon_z17;
2720 text: auto;
2721}
2722node[tourism=zoo] {
2723 icon-image: "leisure/zoo.png";
2724 set icon_z17;
2725 text: auto;
2726}
2727way[tourism=artwork] {
2728 width: 2;
2729 color: tourism#e180a2;
2730}
2731node[tourism=artwork] {
2732 icon-image: "service/arts_centre.png";
2733 set icon_z17;
2734 text: auto;
2735}
2736node[tourism=museum] {
2737 icon-image: "sightseeing/museum.png";
2738 set icon_z17;
2739 text: auto;
2740}
2741
2742/********************/
2743/* information tags */
2744/********************/
2745
2746area[tourism=information] {
2747 fill-color: tourism#e180a2;
2748}
2749node[tourism=information] {
2750 icon-image: "misc/information.png";
2751 set icon_z17;
2752 text: auto;
2753}
2754node[information=guidepost] {
2755 icon-image: "misc/information/guidepost.png";
2756 set icon_z17;
2757 text: auto;
2758}
2759area[information=office] {
2760 fill-color: tourism#e180a2;
2761}
2762node[information=office] {
2763 icon-image: "misc/information/informationoffice.png";
2764 set icon_z17;
2765 text: auto;
2766}
2767node[information=map] {
2768 icon-image: "misc/information/map.png";
2769 set icon_z17;
2770 text: auto;
2771}
2772node[information=board] {
2773 icon-image: "misc/information/board.png";
2774 set icon_z17;
2775 text: auto;
2776}
2777
2778/*****************/
2779/* historic tags */
2780/*****************/
2781
2782area[historic=castle],
2783area[historic=monument],
2784area[historic=memorial],
2785area[historic=archaeological_site],
2786area[historic=ruins],
2787area[historic=battlefield],
2788area[historic=palaeontological_site],
2789area[historic=wayside_cross],
2790area[historic=wayside_shrine],
2791area[historic=boundary_stone] {
2792 fill-color: historic#663300;
2793}
2794node[historic=castle] {
2795 icon-image: "sightseeing/castle.png";
2796 set icon_z17;
2797 text: auto;
2798}
2799node[historic=monument] {
2800 icon-image: "sightseeing/monument.png";
2801 set icon_z17;
2802 text: auto;
2803}
2804node[historic=memorial] {
2805 icon-image: "sightseeing/memorial.png";
2806 set icon_z17;
2807 text: auto;
2808}
2809node[historic=archaeological_site] {
2810 icon-image: "sightseeing/archaeological.png";
2811 set icon_z17;
2812 text: auto;
2813}
2814node[historic=ruins] {
2815 icon-image: "sightseeing/ruins.png";
2816 set icon_z17;
2817 text: auto;
2818}
2819node[historic=battlefield] {
2820 icon-image: "sightseeing/battlefield.png";
2821 set icon_z17;
2822 text: auto;
2823}
2824node[historic=palaeontological_site] {
2825 icon-image: "historic/palaeontological_site.png";
2826 set icon_z17;
2827 text: auto;
2828}
2829node[historic=wayside_cross] {
2830 icon-image: "religion/wayside_cross.png";
2831 set icon_z17;
2832 text: auto;
2833}
2834node[historic=wayside_shrine] {
2835 icon-image: "religion/wayside_shrine.png";
2836 set icon_z17;
2837 text: auto;
2838}
2839node[historic=boundary_stone] {
2840 icon-image: "historic/boundary_stone.png";
2841 set icon_z17;
2842 text: auto;
2843}
2844
2845/****************/
2846/* landuse tags */
2847/****************/
2848
2849area[landuse],
2850area[leisure],
2851area[amenity],
2852area[place],
2853area[natural],
2854area[man_made] {
2855 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
2856}
2857area[landuse=farm],
2858area[landuse=farmland],
2859area[landuse=meadow],
2860area[landuse=vineyard],
2861area[landuse=orchard] {
2862 fill-color: green#b1e0c2;
2863}
2864area[landuse=quarry] {
2865 fill-color: quarry#888888;
2866}
2867area[landuse=landfill] {
2868 fill-color: landfill#663300;
2869}
2870area[landuse=basin],
2871area[landuse=reservoir] {
2872 fill-color: basin#0000bf;
2873}
2874area[landuse=forest] {
2875 fill-color: forest#b1efc8;
2876}
2877area[landuse=allotments],
2878area[landuse=greenhouse_horticulture],
2879area[landuse=plant_nursery],
2880area[landuse=grass] {
2881 fill-color: green#b1e0c2;
2882}
2883area[landuse=residential] {
2884 fill-color: residential#f0f0f0;
2885}
2886area[landuse=garages] {
2887 fill-color: garages#d6c8aa;
2888}
2889area[landuse=farmyard] {
2890 fill-color: farmyard#f0f0f0;
2891}
2892area[landuse=retail],
2893area[landuse=commercial] {
2894 fill-color: retail#ffc4ee;
2895}
2896area[landuse=industrial] {
2897 fill-color: industrial#ecd8ff;
2898}
2899area[landuse=brownfield] {
2900 fill-color: brownfield#ecba32;
2901}
2902area[landuse=greenfield] {
2903 fill-color: greenfield#b1ec5c;
2904}
2905area[landuse=railway] {
2906 fill-color: railland#888888;
2907}
2908area[landuse=construction] {
2909 fill-color: construction#ffff00;
2910}
2911way[landuse=construction] {
2912 width: 1;
2913 color: construction#ffff00;
2914 dashes: 9,9;
2915}
2916area[landuse=military] {
2917 fill-color: military#b62c2c;
2918}
2919area[landuse=religious] {
2920 fill-color: religious#ffd454;
2921}
2922area[landuse=cemetery] {
2923 fill-color: cemetery#b1efc8;
2924}
2925area[landuse=village_green] {
2926 fill-color: green#b1e0c2;
2927}
2928area[landuse=recreation_ground] {
2929 fill-color: green#b1e0c2;
2930}
2931node[landuse] {
2932 icon-image: "misc/deprecated.png";
2933 set icon_z17;
2934 text: auto;
2935}
2936
2937/*****************/
2938/* military tags */
2939/*****************/
2940
2941area[military=airfield],
2942area[military=bunker],
2943area[military=barracks],
2944area[military=danger_area],
2945area[military=range] {
2946 fill-color: military#b62c2c;
2947}
2948node[military=airfield] {
2949 icon-image: "transport/airport/airfield.png";
2950 set icon_z17;
2951 text: auto;
2952}
2953node[military=bunker] {
2954 icon-image: "misc/landmark/bunker.png";
2955 set icon_z17;
2956 text: auto;
2957}
2958node[military=barracks] {
2959 icon-image: "misc/no_icon.png";
2960 set icon_z17;
2961 text: auto;
2962}
2963node[military=danger_area] {
2964 icon-image: "misc/danger.png";
2965 set icon_z17;
2966 text: auto;
2967}
2968node[military=range] {
2969 icon-image: "misc/landmark/range.png";
2970 set icon_z17;
2971 text: auto;
2972}
2973
2974/*************************/
2975/* public_transport tags */
2976/*************************/
2977
2978node[public_transport=stop_position] {
2979 icon-image: "transport/railway_small.png";
2980 set icon_z17;
2981 text: auto;
2982}
2983node[highway=bus_stop] {
2984 icon-image: "transport/bus_small.png";
2985 set icon_z17;
2986 text: auto;
2987}
2988node[public_transport=stop_position][bus=yes] {
2989 icon-image: "transport/bus_small.png";
2990 set icon_z17;
2991 text: auto;
2992}
2993node[public_transport=stop_position][aerial=yes] {
2994 icon-image: "transport/aerialway.png";
2995 set icon_z17;
2996 text: auto;
2997}
2998node[public_transport=stop_position][ferry=yes] {
2999 icon-image: "transport/ferry.png";
3000 set icon_z17;
3001 text: auto;
3002}
3003node[public_transport=stop_position][tram=yes] {
3004 icon-image: "transport/tram.png";
3005 set icon_z17;
3006 text: auto;
3007}
3008node[public_transport=stop_position][train=yes] {
3009 icon-image: "transport/railway_small.png";
3010 set icon_z17;
3011 text: auto;
3012}
3013area[public_transport=platform]:closed {
3014 fill-color: service#809bc0;
3015}
3016way[public_transport=platform]!:closed {
3017 width: 3;
3018 color: service#809bc0;
3019 dashes: 12,3;
3020}
3021node[public_transport=platform] {
3022 icon-image: "transport/bus_small.png";
3023 set icon_z17;
3024 text: auto;
3025}
3026node[public_transport=platform][bus=yes] {
3027 icon-image: "transport/bus_small.png";
3028 set icon_z17;
3029 text: auto;
3030}
3031node[public_transport=platform][aerial=yes] {
3032 icon-image: "transport/aerialway/station.png";
3033 set icon_z17;
3034 text: auto;
3035}
3036node[public_transport=platform][ferry=yes] {
3037 icon-image: "transport/ferry.png";
3038 set icon_z17;
3039 text: auto;
3040}
3041node[public_transport=platform][tram=yes],
3042node[public_transport=platform][train=yes] {
3043 icon-image: "transport/railway_station.png";
3044 set icon_z17;
3045 text: auto;
3046}
3047
3048/****************/
3049/* railway tags */
3050/****************/
3051
3052area[railway=station], area[railway=tram_station],
3053area[railway=subway_entrance],
3054area[railway=crossing], area[railway=level_crossing] {
3055 fill-color: railwaypoint#f7efb7;
3056}
3057node[railway=station], node[railway=tram_station] {
3058 icon-image: "transport/railway_station.png";
3059 set icon_z17;
3060 text: auto;
3061}
3062node[railway=halt] {
3063 icon-image: "transport/railway_small.png";
3064 set icon_z17;
3065 text: auto;
3066}
3067node[railway=tram_stop] {
3068 icon-image: "transport/tram.png";
3069 set icon_z17;
3070 text: auto;
3071}
3072node[railway=subway_entrance] {
3073 icon-image: "transport/underground.png";
3074 set icon_z17;
3075 text: auto;
3076}
3077node[railway=crossing] {
3078 icon-image: "vehicle/crossing_small.png";
3079 set icon_z17;
3080 text: auto;
3081}
3082node[railway=level_crossing] {
3083 icon-image: "vehicle/crossing.png";
3084 set icon_z17;
3085 text: auto;
3086}
3087way[railway=rail] {
3088 width: 2;
3089 color: rail#404040;
3090 dashes: 9,9;
3091 dashes-background-color: raildashed#ffffff;
3092}
3093way[railway=rail][service=siding] {
3094 width: 1;
3095}
3096way[railway=rail][service=yard],
3097way[railway=rail][service=spur] {
3098 width: 1;
3099 color: railyard#552200
3100}
3101/* draw tram on top of other way (highway=*) or
3102 as a standalone style */
3103way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3104 object-z-index: 1;
3105 modifier: false; /* don't draw default way if there is no line on default layer */
3106 width: 1;
3107 color: railover#202020;
3108 dashes: 9,9;
3109 casing-width: 1;
3110 casing-color: otherrail#808080;
3111 casing-linecap: round;
3112 casing-dashes: 9,9;
3113}
3114way[railway=light_rail] {
3115 width: 2;
3116 color: otherrail#808080;
3117 dashes: 9,9;
3118}
3119way[railway=subway] {
3120 width: 1;
3121 color: subway#606060;
3122 dashes: 9,9;
3123}
3124way[railway=preserved] {
3125 width: 1;
3126 color: oldrail#404040;
3127 dashes: 9,9;
3128}
3129/* disused often appears together with highway=xy */
3130/* -> draw on separate layer with higher z-index, but use */
3131/* modifier: false; to suppress default line when used alone. */
3132/* use default layer when used without highway=* to display bridge correctly */
3133way[railway=disused][highway]::core_railway,
3134way[railway=disused][!highway],
3135way[railway=abandoned][highway]::core_railway,
3136way[railway=abandoned][!highway] {
3137 width: 1;
3138 modifier: false;
3139 z-index: 1;
3140 color: oldrail#404040;
3141 dashes: 9,9;
3142}
3143way[railway=narrow_gauge],
3144way[railway=monorail] {
3145 width: 1;
3146 color: rail#404040;
3147 dashes: 9,9;
3148}
3149area[railway=turntable],
3150area[railway=buffer_stop] {
3151 fill-color: rail#404040;
3152}
3153node[railway=turntable] {
3154 icon-image: "transport/turntable.png";
3155 set icon_z17;
3156 text: auto;
3157}
3158node[railway=buffer_stop] {
3159 icon-image: "transport/buffer_stop.png";
3160 set icon_z17;
3161 text: auto;
3162}
3163area[railway=platform]:closed {
3164 fill-color: rail#404040;
3165}
3166way[railway=platform] {
3167 width: 2;
3168 color: rail#404040;
3169}
3170way[railway=funicular] {
3171 width: 1;
3172 color: rail#404040;
3173 dashes: 9,9;
3174}
3175node[railway=rail], node[railway=tram], node[railway=light_rail],
3176node[railway=subway], node[railway=preserved],
3177node[railway=disused], node[railway=abandoned],
3178node[railway=narrow_gauge], node[railway=monorail],
3179node[railway=platform], node[railway=funicular],
3180node[service=yard], node[service=siding], node[service=spur] {
3181 icon-image: "misc/deprecated.png";
3182 set icon_z17;
3183 text: auto;
3184}
3185way[railway=construction][!highway] {
3186 width: 1;
3187 color: construction#ffff00;
3188 dashes: 9,9;
3189}
3190way[railway=construction][construction=rail] {
3191 width: 2;
3192 color: rail#404040;
3193 dashes: 9,9;
3194 dashes-background-color: construction#ffff00;
3195}
3196way[railway=construction][construction=light_rail] {
3197 width: 2;
3198}
3199way[railway=construction][construction=tram][highway]::core_railway,
3200way[railway=construction][construction=tram][!highway] {
3201 z-index: 1;
3202 width: 1;
3203 color: railover#202020;
3204 dashes: 9,9;
3205 casing-width: 1;
3206 casing-color: construction#ffff00;
3207 casing-linecap: round;
3208 casing-dashes: 9,9;
3209}
3210
3211/****************/
3212/* aeroway tags */
3213/****************/
3214
3215area[aeroway=aerodrome]:closed {
3216 fill-color: aeroway#660000;
3217}
3218way[aeroway=aerodrome] {
3219 width: 2;
3220 color: aeroway#660000;
3221 dashes: 9,9;
3222}
3223node[aeroway=aerodrome] {
3224 icon-image: "transport/airport.png";
3225 set icon_z17;
3226 text: auto;
3227}
3228area[aeroway=terminal] {
3229 fill-color: terminal#bb0000;
3230}
3231node[aeroway=terminal] {
3232 icon-image: "transport/airport/terminal.png";
3233 set icon_z17;
3234 text: auto;
3235}
3236area[aeroway=helipad] {
3237 fill-color: aeroway_dark#330000;
3238}
3239node[aeroway=helipad] {
3240 icon-image: "transport/airport/helipad.png";
3241 set icon_z17;
3242 text: auto;
3243}
3244area[aeroway=runway]:closed {
3245 fill-color: aeroway_dark#330000;
3246}
3247way[aeroway=runway] {
3248 width: 3;
3249 color: aeroway_dark#330000;
3250}
3251node[aeroway=runway] {
3252 icon-image: "transport/airport/runway.png";
3253 set icon_z17;
3254 text: auto;
3255}
3256area[aeroway=taxiway]:closed {
3257 fill-color: aeroway#660000;
3258}
3259way[aeroway=taxiway] {
3260 width: 2;
3261 color: aeroway#660000;
3262}
3263node[aeroway=taxiway] {
3264 icon-image: "transport/airport/taxiway.png";
3265 set icon_z17;
3266 text: auto;
3267}
3268area[aeroway=apron], area[aeroway=hangar] {
3269 fill-color: aeroway_light#990000;
3270}
3271node[aeroway=apron] {
3272 icon-image: "transport/airport/apron.png";
3273 set icon_z17;
3274 text: auto;
3275}
3276node[aeroway=hangar] {
3277 icon-image: "transport/airport/hangar.png";
3278 set icon_z17;
3279 text: auto;
3280}
3281node[aeroway=gate] {
3282 icon-image: "transport/airport/gate.png";
3283 set icon_z17;
3284 text: auto;
3285}
3286node[aeroway=windsock] {
3287 icon-image: "transport/airport/windsock.png";
3288 set icon_z17;
3289 text: auto;
3290}
3291
3292/******************/
3293/* aerialway tags */
3294/******************/
3295
3296way[aerialway=cable_car],
3297way[aerialway=gondola] {
3298 width: 1;
3299 color: aerialway#663300;
3300 dashes: 9,9;
3301}
3302node[aerialway=cable_car] {
3303 icon-image: "transport/aerialway/cable_car.png";
3304 set icon_z17;
3305 text: auto;
3306}
3307node[aerialway=gondola] {
3308 icon-image: "transport/aerialway/gondola.png";
3309 set icon_z17;
3310 text: auto;
3311}
3312way[aerialway=chair_lift] {
3313 width: 1;
3314 color: aerialway#663300;
3315 dashes: 6,6;
3316}
3317node[aerialway=chair_lift] {
3318 icon-image: "transport/aerialway/chair_lift.png";
3319 set icon_z17;
3320 text: auto;
3321}
3322way[aerialway=drag_lift] {
3323 width: 1;
3324 color: aerialway#663300;
3325 dashes: 3,3;
3326}
3327node[aerialway=drag_lift] {
3328 icon-image: "transport/aerialway/drag_lift.png";
3329 set icon_z17;
3330 text: auto;
3331}
3332area[aerialway=station],
3333area[aerialway=pylon] {
3334 fill-color: aerialway#663300;
3335}
3336node[aerialway=station] {
3337 icon-image: "transport/aerialway/station.png";
3338 set icon_z17;
3339 text: auto;
3340}
3341node[aerialway=pylon] {
3342 icon-image: "misc/landmark/power/tower_small.png";
3343 set icon_z17;
3344 text: auto;
3345}
3346way[aerialway=goods] {
3347 width: 1;
3348 color: aerialway#663300;
3349 dashes: 2,2;
3350}
3351node[aerialway=goods] {
3352 icon-image: "transport/aerialway/goods.png";
3353 set icon_z17;
3354 text: auto;
3355}
3356
3357/**************/
3358/* sport tags */
3359/**************/
3360
3361area[sport="9pin"],
3362area[sport="10pin"],
3363area[sport=athletics],
3364area[sport=soccer],
3365area[sport=australian_football],
3366area[sport=american_football],
3367area[sport=canadian_football],
3368area[sport=gaelic_games],
3369area[sport=rugby_league],
3370area[sport=rugby_union] {
3371 fill-color: sport#bde3cb;
3372}
3373node[sport="9pin"] {
3374 icon-image: "sport/10pin.png";
3375 set icon_z17;
3376 text: auto;
3377}
3378node[sport="10pin"] {
3379 icon-image: "sport/10pin.png";
3380 set icon_z17;
3381 text: auto;
3382}
3383node[sport=athletics] {
3384 icon-image: "sport/athletics.png";
3385 set icon_z17;
3386 text: auto;
3387}
3388node[sport=soccer],
3389node[sport=gaelic_games] {
3390 icon-image: "sport/soccer.png";
3391 set icon_z17;
3392 text: auto;
3393}
3394node[sport=australian_football],
3395node[sport=american_football],
3396node[sport=canadian_football],
3397node[sport=rugby_league],
3398node[sport=rugby_union] {
3399 icon-image: "sport/football.png";
3400 set icon_z17;
3401 text: auto;
3402}
3403area[sport=baseball],
3404area[sport=basketball],
3405area[sport=boules],
3406area[sport=bowls],
3407area[sport=canoe],
3408area[sport=chess],
3409area[sport=climbing]:closed,
3410area[sport=cricket],
3411area[sport=cricket_nets],
3412area[sport=croquet] {
3413 fill-color: sport#bde3cb;
3414}
3415node[sport=baseball] {
3416 icon-image: "sport/baseball.png";
3417 set icon_z17;
3418 text: auto;
3419}
3420node[sport=basketball] {
3421 icon-image: "sport/basketball.png";
3422 set icon_z17;
3423 text: auto;
3424}
3425node[sport=boules] {
3426 icon-image: "sport/boule.png";
3427 set icon_z17;
3428 text: auto;
3429}
3430node[sport=bowls] {
3431 icon-image: "sport/boule.png";
3432 set icon_z17;
3433 text: auto;
3434}
3435node[sport=canoe] {
3436 icon-image: "sport/canoe.svg";
3437 set icon_z17;
3438 text: auto;
3439}
3440node[sport=chess] {
3441 icon-image: "sport/chess.png";
3442 set icon_z17;
3443 text: auto;
3444}
3445node[sport=climbing] {
3446 icon-image: "sport/climbing.png";
3447 set icon_z17;
3448 text: auto;
3449}
3450node[sport=cricket] {
3451 icon-image: "sport/cricket.png";
3452 set icon_z17;
3453 text: auto;
3454}
3455node[sport=cricket_nets] {
3456 icon-image: "sport/cricket.png";
3457 set icon_z17;
3458 text: auto;
3459}
3460node[sport=croquet] {
3461 icon-image: "sport/croquet.png";
3462 set icon_z17;
3463 text: auto;
3464}
3465area[sport=cycling],
3466area[sport=dog_racing],
3467area[sport=equestrian],
3468area[sport=golf],
3469area[sport=gymnastics],
3470area[sport=hockey],
3471area[sport=horse_racing],
3472area[sport=karting],
3473area[sport=motocross],
3474area[sport=motor] {
3475 fill-color: sport#bde3cb;
3476}
3477node[sport=cycling] {
3478 icon-image: "sport/cycling.png";
3479 set icon_z17;
3480 text: auto;
3481}
3482node[sport=dog_racing] {
3483 icon-image: "leisure/dog.png";
3484 set icon_z17;
3485 text: auto;
3486}
3487node[sport=equestrian] {
3488 icon-image: "presets/equestrian.png";
3489 icon-width: 16;
3490 set icon_z17;
3491 text: auto;
3492}
3493node[sport=golf] {
3494 icon-image: "sport/golf.png";
3495 set icon_z17;
3496 text: auto;
3497}
3498node[sport=gymnastics] {
3499 icon-image: "presets/gymnastics.png";
3500 icon-width: 16;
3501 set icon_z17;
3502 text: auto;
3503}
3504node[sport=hockey] {
3505 icon-image: "sport/hockey.png";
3506 set icon_z17;
3507 text: auto;
3508}
3509node[sport=horse_racing] {
3510 icon-image: "sport/riding.png";
3511 set icon_z17;
3512 text: auto;
3513}
3514node[sport=karting] {
3515 icon-image: "sport/karting.png";
3516 set icon_z17;
3517 text: auto;
3518}
3519node[sport=motocross] {
3520 icon-image: "sport/motocross.png";
3521 set icon_z17;
3522 text: auto;
3523}
3524node[sport=motor] {
3525 icon-image: "sport/motor.png";
3526 set icon_z17;
3527 text: auto;
3528}
3529area[sport=multi],
3530area[sport=pelota],
3531area[sport=racquet],
3532area[sport=skating],
3533area[sport=skateboard] {
3534 fill-color: sport#bde3cb;
3535}
3536node[sport=multi] {
3537 icon-image: "sport/multi.png";
3538 set icon_z17;
3539 text: auto;
3540}
3541node[sport=pelota] {
3542 icon-image: "sport/pelota.png";
3543 set icon_z17;
3544 text: auto;
3545}
3546node[sport=racquet] {
3547 icon-image: "sport/racquetball.png";
3548 set icon_z17;
3549 text: auto;
3550}
3551node[sport=skating] {
3552 icon-image: "sport/skating.png";
3553 set icon_z17;
3554 text: auto;
3555}
3556node[sport=skateboard] {
3557 icon-image: "sport/skateboard.png";
3558 set icon_z17;
3559 text: auto;
3560}
3561area[sport=swimming] {
3562 fill-color: swimming_pool#51c4ef;
3563}
3564node[sport=swimming] {
3565 icon-image: "sport/pool.png";
3566 set icon_z17;
3567 text: auto;
3568}
3569area[sport=skiing],
3570area[sport=table_tennis],
3571area[sport=tennis],
3572area[sport=paintball] {
3573 fill-color: sport#bde3cb;
3574}
3575node[sport=skiing] {
3576 icon-image: "sport/skiing.png";
3577 set icon_z17;
3578 text: auto;
3579}
3580node[sport=table_tennis] {
3581 icon-image: "sport/table_tennis.png";
3582 set icon_z17;
3583 text: auto;
3584}
3585node[sport=tennis] {
3586 icon-image: "sport/tennis.png";
3587 set icon_z17;
3588 text: auto;
3589}
3590node[sport=paintball] {
3591 icon-image: "misc/no_icon.png";
3592 set icon_z17;
3593 text: auto;
3594}
3595area[sport=squash],
3596area[sport=shooting],
3597area[sport=volleyball],
3598area[sport=beachvolleyball],
3599area[sport=bowling],
3600area[sport=handball],
3601area[sport=rowing],
3602area[sport=sailing],
3603area[sport=scuba_diving],
3604area[sport=badminton] {
3605 fill-color: sport#bde3cb;
3606}
3607node[sport=squash] {
3608 icon-image: "misc/no_icon.png";
3609 set icon_z17;
3610 text: auto;
3611}
3612node[sport=shooting] {
3613 icon-image: "presets/range.png";
3614 icon-width: 16;
3615 set icon_z17;
3616 text: auto;
3617}
3618node[sport=volleyball] {
3619 icon-image: "sport/volleyball.png";
3620 set icon_z17;
3621 text: auto;
3622}
3623node[sport=beachvolleyball] {
3624 icon-image: "sport/beachvolleyball.png";
3625 set icon_z17;
3626 text: auto;
3627}
3628node[sport=bowling] {
3629 icon-image: "sport/10pin.png";
3630 set icon_z17;
3631 text: auto;
3632}
3633node[sport=handball] {
3634 icon-image: "sport/handball.png";
3635 set icon_z17;
3636 text: auto;
3637}
3638node[sport=rowing] {
3639 icon-image: "sport/rowing.png";
3640 set icon_z17;
3641 text: auto;
3642}
3643node[sport=sailing] {
3644 icon-image: "misc/no_icon.png";
3645 set icon_z17;
3646 text: auto;
3647}
3648node[sport=scuba_diving] {
3649 icon-image: "sport/scuba_diving.svg";
3650 set icon_z17;
3651 text: auto;
3652}
3653node[sport=badminton] {
3654 icon-image: "misc/no_icon.png";
3655 set icon_z17;
3656 text: auto;
3657}
3658area[sport=archery],
3659area[sport=fishing],
3660area[sport=safety_training],
3661area[sport=model_aerodrome],
3662area[sport=rc_car] {
3663 fill-color: sport#bde3cb;
3664}
3665node[sport=archery] {
3666 icon-image: "sport/archery.png";
3667 set icon_z17;
3668 text: auto;
3669}
3670node[sport=fishing] {
3671 icon-image: "sport/fishing.png";
3672 set icon_z17;
3673 text: auto;
3674}
3675node[sport=safety_training] {
3676 icon-image: "sport/safety_training.png";
3677 set icon_z17;
3678 text: auto;
3679}
3680node[sport=model_aerodrome] {
3681 icon-image: "transport/airport.png";
3682 set icon_z17;
3683 text: auto;
3684}
3685node[sport=rc_car] {
3686 icon-image: "transport/car.png";
3687 set icon_z17;
3688 text: auto;
3689}
3690
3691/****************/
3692/* natural tags */
3693/****************/
3694
3695area[natural=spring] {
3696 fill-color: light_water#00005f;
3697}
3698node[natural=spring] {
3699 icon-image: "misc/landmark/spring.png";
3700 set icon_z17;
3701 text: auto;
3702}
3703node[natural=saddle] {
3704 icon-image: "presets/saddle.svg";
3705 set icon_z0;
3706 text: auto;
3707 set text_z0;
3708}
3709area[natural=peak] {
3710 fill-color: peak#663300;
3711}
3712node[natural=peak] {
3713 icon-image: "presets/peak.svg";
3714 set icon_z0;
3715 text: auto;
3716 set text_z0;
3717}
3718node[natural=peak][tourism=viewpoint] {
3719 icon-image: "sightseeing/peak_viewpoint.svg";
3720 set icon_z0;
3721 text: auto;
3722 set text_z0;
3723}
3724area[natural=glacier] {
3725 fill-color: glacier#ffffff;
3726}
3727node[natural=glacier] {
3728 icon-image: "misc/landmark/glacier_small.png";
3729 set icon_z0;
3730 text: auto;
3731 set text_z0;
3732}
3733area[natural=volcano] {
3734 fill-color: volcano#5f0000;
3735}
3736node[natural=volcano] {
3737 icon-image: "misc/landmark/volcano_small.png";
3738 set icon_z0;
3739 text: auto;
3740 set text_z0;
3741}
3742area[natural=cliff]:closed {
3743 fill-color: natural#002f00;
3744}
3745way[natural=cliff] {
3746 repeat-image: "misc/cliff-pattern.png";
3747 repeat-image-align: top;
3748 width: 1;
3749 color: #b2b2b2;
3750}
3751node[natural=cliff] {
3752 icon-image: "misc/cliff.png";
3753 set icon_z17;
3754 text: auto;
3755}
3756area[natural=scree] {
3757 fill-color: natural#002f00;
3758}
3759node[natural=scree] {
3760 icon-image: "misc/no_icon.png";
3761 set icon_z17;
3762 text: auto;
3763}
3764area[natural=scrub] {
3765 fill-color: scrub#007000;
3766}
3767node[natural=scrub] {
3768 icon-image: "presets/scrub.svg";
3769 set icon_z17;
3770 text: auto;
3771}
3772area[natural=fell] {
3773 fill-color: natural#002f00;
3774}
3775node[natural=fell] {
3776 icon-image: "misc/no_icon.png";
3777 set icon_z17;
3778 text: auto;
3779}
3780area[natural=heath] {
3781 fill-color: heath#ffffc0;
3782}
3783node[natural=heath] {
3784 icon-image: "misc/no_icon.png";
3785 set icon_z17;
3786 text: auto;
3787}
3788way[natural=tree_row] {
3789 width: 2;
3790 color: woodarea#008000;
3791}
3792node[natural=tree_row] {
3793 icon-image: "misc/no_icon.png";
3794 set icon_z17;
3795 text: auto;
3796}
3797area[natural=wood] {
3798 fill-color: woodarea#008000;
3799}
3800node[natural=wood] {
3801 icon-image: "misc/landmark/trees.png";
3802 set icon_z17;
3803 text: auto;
3804}
3805area[natural=grassland] {
3806 fill-color: green#b1e0c2;
3807}
3808node[natural=grassland] {
3809 icon-image: "misc/deprecated.png";
3810 set icon_z17;
3811 text: auto;
3812}
3813area[natural=wetland] {
3814 fill-color: marsh#4f4ff3;
3815}
3816node[natural=wetland] {
3817 icon-image: "misc/no_icon.png";
3818 set icon_z17;
3819 text: auto;
3820}
3821area[natural=water] {
3822 fill-color: water#0000ff;
3823}
3824node[natural=water] {
3825 icon-image: "nautical/water.png";
3826 set icon_z17;
3827 text: auto;
3828}
3829way[natural=coastline] {
3830 width: 1;
3831 color: water#0000ff;
3832}
3833node[natural=coastline] {
3834 icon-image: "misc/coastline.png";
3835 set icon_z17;
3836 text: auto;
3837}
3838area[natural=mud] {
3839 fill-color: mud#cba762;
3840}
3841node[natural=mud] {
3842 icon-image: "misc/mud.png";
3843 set icon_z17;
3844 text: auto;
3845}
3846area[natural=beach] {
3847 fill-color: beach#f8dba2;
3848}
3849node[natural=beach] {
3850 icon-image: "misc/beach.png";
3851 set icon_z17;
3852 text: auto;
3853}
3854area[natural=sand] {
3855 fill-color: sand#f8dba2;
3856}
3857node[natural=sand] {
3858 icon-image: "misc/no_icon.png";
3859 set icon_z17;
3860 text: auto;
3861}
3862area[natural=bay],
3863area[natural=land],
3864area[natural=cave_entrance] {
3865 fill-color: natural#002f00;
3866}
3867node[natural=bay] {
3868 icon-image: "misc/bay.png";
3869 set icon_z17;
3870 text: auto;
3871}
3872node[natural=land] {
3873 icon-image: "misc/no_icon.png";
3874 set icon_z17;
3875 text: auto;
3876}
3877node[natural=cave_entrance] {
3878 icon-image: "misc/landmark/cave_entrance.png";
3879 set icon_z17;
3880 text: auto;
3881}
3882node[natural=tree] {
3883 icon-image: "misc/landmark/trees.png";
3884 set icon_z17;
3885 text: auto;
3886}
3887node[natural=tree][type=conifer],
3888node[natural=tree][leaf_type=needleleaved] {
3889 icon-image: "misc/landmark/trees_conifer.png";
3890 set icon_z17;
3891 text: auto;
3892}
3893node[natural=tree][type=broad_leaved],
3894node[natural=tree][leaf_type=broadleaved] {
3895 icon-image: "misc/landmark/trees_broad_leaved.png";
3896 set icon_z17;
3897 text: auto;
3898}
3899node[natural=tree][type=palm] {
3900 icon-image: "misc/landmark/trees_palm.png";
3901 set icon_z17;
3902 text: auto;
3903}
3904
3905/*****************/
3906/* waterway tags */
3907/*****************/
3908
3909way[waterway=river] {
3910 width: 2;
3911 color: water#0000ff;
3912}
3913area[waterway=riverbank] {
3914 fill-color: riverbank#0000cf;
3915 width: 1;
3916 color: riverbank#0000cf;
3917}
3918way[waterway=canal], way[waterway=wadi] {
3919 width: 2;
3920 color: water#0000ff;
3921}
3922way[waterway=stream] {
3923 width: 1;
3924 color: stream#6600cc;
3925}
3926way[waterway=ditch], way[waterway=drain] {
3927 width: 1;
3928 color: water#0000ff;
3929}
3930area[waterway=dock] {
3931 fill-color: dock#0000cf;
3932}
3933node[waterway=dock] {
3934 icon-image: "nautical/boatyard.png";
3935 set icon_z17;
3936 text: auto;
3937}
3938node[waterway=lock_gate] {
3939 icon-image: "nautical/lock_gate.png";
3940 set icon_z17;
3941 text: auto;
3942}
3943node[waterway=turning_point] {
3944 icon-image: "nautical/turning.png";
3945 set icon_z17;
3946 text: auto;
3947}
3948area[waterway=boatyard] {
3949 fill-color: manmade#d8d8d8;
3950}
3951node[waterway=boatyard] {
3952 icon-image: "nautical/boatyard.png";
3953 set icon_z17;
3954 text: auto;
3955}
3956node[waterway=water_point] {
3957 icon-image: "accommodation/camping/water.png";
3958 set icon_z17;
3959 text: auto;
3960}
3961node[waterway=waste_disposal] {
3962 icon-image: "accommodation/camping/wastewater.png";
3963 set icon_z17;
3964 text: auto;
3965}
3966node[waterway=mooring] {
3967 icon-image: "nautical/marina.png";
3968 set icon_z17;
3969 text: auto;
3970}
3971way[waterway=weir] {
3972 width: 2;
3973 color: manmade#d8d8d8;
3974}
3975node[waterway=weir] {
3976 icon-image: "nautical/weir.png";
3977 set icon_z17;
3978 text: auto;
3979}
3980way[waterway=rapids] {
3981 width: 2;
3982 color: rapids#8080ff;
3983}
3984node[waterway=rapids] {
3985 icon-image: "misc/no_icon.png";
3986 set icon_z17;
3987 text: auto;
3988}
3989area[waterway=dam]:closed {
3990 fill-color: manmade#d8d8d8;
3991}
3992way[waterway=dam] {
3993 width: 2;
3994 color: manmade#d8d8d8;
3995}
3996node[waterway=dam] {
3997 icon-image: "nautical/dam.png";
3998 set icon_z17;
3999 text: auto;
4000}
4001/* it's not possible to have both line and area, line seems more likely */
4002way[waterway=waterfall] {
4003 width: 2;
4004 color: manmade#d8d8d8;
4005}
4006node[waterway=waterfall] {
4007 icon-image: "nautical/waterfall.png";
4008 set icon_z17;
4009 text: auto;
4010}
4011node[waterway=river], node[waterway=riverbank],
4012node[waterway=canal], node[waterway=wadi],
4013node[waterway=stream],
4014node[waterway=ditch], node[waterway=drain] {
4015 icon-image: "misc/deprecated.png";
4016 set icon_z17;
4017 text: auto;
4018}
4019
4020/**************/
4021/* route tags */
4022/**************/
4023
4024way[route=ferry] {
4025 width: 1;
4026 color: ferry#809bc0;
4027 dashes: 9,9;
4028}
4029node[route=bus],
4030node[route=ferry],
4031node[route=flight],
4032node[route=ncn],
4033node[route=subsea],
4034node[route=ski],
4035node[route=tour],
4036node[route=pub_crawl] {
4037 icon-image: "misc/deprecated.png";
4038 set icon_z17;
4039 text: auto;
4040}
4041
4042/*******************/
4043/* properties tags */
4044/*******************/
4045
4046node[mountain_pass?] {
4047 icon-image: "misc/landmark/mountain_pass.png";
4048 set icon_z0;
4049 text: auto;
4050 set text_z0;
4051}
4052
4053/*****************/
4054/* boundary tags */
4055/*****************/
4056
4057way[boundary=national]::core_boundary,
4058way[boundary=administrative]::core_boundary,
4059way[boundary=postal_code]::core_boundary,
4060way[boundary=political]::core_boundary,
4061way[boundary=national_park]::core_boundary {
4062 z-index: 2;
4063 modifier: false;
4064 width: 1;
4065 color: boundary#FF6600;
4066 dashes: 9,9;
4067}
4068way[admin_level=9]::core_boundary,
4069relation[admin_level=9] > way::core_boundary,
4070way[admin_level=10]::core_boundary,
4071relation[admin_level=10] > way::core_boundary {
4072 z-index: 2;
4073 modifier: false;
4074 width: 1;
4075 color: boundary#FF6600;
4076 dashes: 9,9;
4077}
4078way[admin_level=7]::core_boundary,
4079relation[admin_level=7] > way::core_boundary,
4080way[admin_level=8]::core_boundary,
4081relation[admin_level=8] > way::core_boundary {
4082 z-index: 2;
4083 modifier: false;
4084 width: 2;
4085 color: boundary#FF6600;
4086 dashes: 9,9;
4087}
4088way[admin_level=5]::core_boundary,
4089relation[admin_level=5] > way::core_boundary,
4090way[admin_level=6]::core_boundary,
4091relation[admin_level=6] > way::core_boundary {
4092 z-index: 2;
4093 modifier: false;
4094 width: 3;
4095 color: boundary#FF6600;
4096 dashes: 9,9;
4097}
4098way[admin_level=3]::core_boundary,
4099relation[admin_level=3] > way::core_boundary,
4100way[admin_level=4]::core_boundary,
4101relation[admin_level=4] > way::core_boundary {
4102 z-index: 2;
4103 modifier: false;
4104 width: 4;
4105 color: boundary#FF6600;
4106 dashes: 9,9;
4107}
4108way[admin_level=1]::core_boundary,
4109relation[admin_level=1] > way::core_boundary,
4110way[admin_level=2]::core_boundary,
4111relation[admin_level=2] > way::core_boundary {
4112 z-index: 2;
4113 modifier: false;
4114 width: 5;
4115 color: boundary#FF6600;
4116 dashes: 9,9;
4117}
4118node[boundary=national],
4119node[boundary=administrative],
4120node[boundary=postal_code],
4121node[boundary=political],
4122node[boundary=national_park] {
4123 icon-image: "misc/deprecated.png";
4124 set icon_z17;
4125 text: auto;
4126}
4127
4128/******************/
4129/* maxspeed nodes */
4130/******************/
4131node[maxspeed=none][!is_prop_set(icon-image)] {
4132 icon-image: "vehicle/restriction/maxspeed_none.svg";
4133 set icon_z17;
4134}
4135node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4136 maxspeedprop: tag(maxspeed);
4137 set maxspeedclass;
4138}
4139node[maxspeed=signals][!is_prop_set(icon-image)] {
4140 maxspeedprop: " ?";
4141 set maxspeedclass;
4142}
4143node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4144 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4145 set maxspeedclass;
4146}
4147node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4148 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4149 set maxspeedclass;
4150}
4151node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4152 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4153 set maxspeedclass;
4154}
4155node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4156 /* background (white) */
4157 symbol-shape: circle;
4158 symbol-size: 17;
4159 symbol-fill-color: white;
4160 major-z-index: 4.2;
4161}
4162node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4163node[maxspeed=signals]::core_maxnodebg {
4164 /* background (black) */
4165 symbol-fill-color: black;
4166}
4167node[prop(maxspeedclass, default)]::core_maxnodefg {
4168 /* foreground (black text and red circle) */
4169 symbol-shape: circle;
4170 symbol-size: 15;
4171 symbol-stroke-color: crimson;
4172 symbol-stroke-width: 2;
4173 text: prop(maxspeedprop, default);
4174 font-size: 8;
4175 font-weight: bold;
4176 text-color: black;
4177 text-anchor-horizontal: center;
4178 text-anchor-vertical: center;
4179 text-offset-x: 0;
4180 text-offset-y: -1;
4181 major-z-index: 4.2;
4182}
4183node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4184node[maxspeed=signals]::core_maxnodefg {
4185 /* foreground (white text) */
4186 text-color: white;
4187}
4188node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4189 symbol-shape: none;
4190}
4191node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4192 text: none;
4193 symbol-shape: none;
4194}
4195
4196/**************/
4197/* place tags */
4198/**************/
4199
4200/* lot's of "openGeoDB:..." tags can be found in germany */
4201node["openGeoDB:type"=Stadt],
4202node["openGeoDB:type"=Kreis],
4203node["openGeoDB:type"=Gemeinde],
4204node["openGeoDB:type"=Ort],
4205node["openGeoDB:type"=District],
4206node["openGeoDB:location"=locality] {
4207 icon-image: "place/settlement/town.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}
4217area[place=continent],
4218area[place=country],
4219area[place=state],
4220area[place=region],
4221area[place=county],
4222area[place=city],
4223area[place=town],
4224area[place=village],
4225area[place=hamlet],
4226area[place=farm],
4227area[place=isolated_dwelling],
4228area[place=neighbourhood],
4229area[place=suburb],
4230area[place=locality],
4231area[place=island],
4232area[place=islet] {
4233 fill-color: place#8de3cb;
4234}
4235node[place=continent],
4236node[place=country],
4237node[place=state],
4238node[place=region],
4239node[place=county] {
4240 icon-image: "place/settlement/capital.png";
4241 set icon_z0;
4242 text: auto;
4243 set text_z0;
4244 font-size: 10;
4245 font-weight: bold;
4246 text-color:black;
4247 text-halo-color: white;
4248 text-halo-radius: 1;
4249}
4250node[place=city] {
4251 icon-image: "place/settlement/city.png";
4252 set icon_z0;
4253 text: auto;
4254 set text_z0;
4255 font-size: 10;
4256 font-weight: bold;
4257 text-color:black;
4258 text-halo-color: white;
4259 text-halo-radius: 1;
4260}
4261node[place=town],
4262node[place=village],
4263node[place=hamlet],
4264node[place=farm],
4265node[place=isolated_dwelling],
4266node[place=neighbourhood],
4267node[place=suburb] {
4268 icon-image: "place/settlement/town.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}
4278node[place=locality] {
4279 icon-image: "place/locality.png";
4280 set icon_z0;
4281 text: auto;
4282 set text_z0;
4283 font-size: 10;
4284 font-weight: bold;
4285 text-color:black;
4286 text-halo-color: white;
4287 text-halo-radius: 1;
4288}
4289node[place=island] {
4290 icon-image: "place/island.png";
4291 set icon_z0;
4292 text: auto;
4293 set text_z0;
4294 font-size: 10;
4295 font-weight: bold;
4296 text-color:black;
4297 text-halo-color: white;
4298 text-halo-radius: 1;
4299}
4300node[place=islet] {
4301 icon-image: "place/islet.png";
4302 set icon_z0;
4303 text: auto;
4304 set text_z0;
4305 font-size: 10;
4306 font-weight: bold;
4307 text-color:black;
4308 text-halo-color: white;
4309 text-halo-radius: 1;
4310}
4311
4312/***************************/
4313/* "work in progress" tags */
4314/***************************/
4315
4316node|z16-[fixme]::core_fixme,
4317node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4318node|z16-[FIXME]::core_fixme,
4319node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4320 object-z-index: 20;
4321 icon-image: "misc/fixme-annotation.png";
4322}
4323node|z16-[note]::core_note,
4324node|z-15[note][!setting("hide_icons")]::core_note {
4325 object-z-index: 10;
4326 icon-image: "misc/note-annotation.png";
4327}
4328
4329/* special display of unreviewed tiger data (USA) */
4330way["tiger:reviewed"=no]::core_tiger {
4331 major-z-index: -10;
4332 width: 11;
4333 color: tiger_data#808000;
4334 opacity: 0.6;
4335}
4336
4337/****************************************/
4338/* zoom levels and general node display */
4339/****************************************/
4340
4341/*
4342Summary of different zoom levels:
4343 (any zoom) place=* and a few natural icons with their text is shown
4344 |z-15 untagged way nodes are hidden completely
4345 |z16- fixme=* and note=* symbols
4346 |z17- normal POI icons (without text),
4347 street name along highway=* ways
4348 |z18- text for normal POI icons is shown
4349
4350 * text size and node size is adapted according to zoom level (see style source below)
4351 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4352
4353*/
4354
4355node {
4356 text: auto;
4357}
4358node|z-16[setting("hide_icons")],
4359node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4360node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4361 symbol-size: 2;
4362 symbol-shape: square;
4363 symbol-stroke-color: node_standard#ffff00;
4364 major-z-index: 4.95; /* put node squares above line text */
4365}
4366way > node|z-15[setting("shrink_nodes")]!:tagged {
4367 symbol-shape: none;
4368}
4369node:connection {
4370 symbol-stroke-color: node_connection#ffff00;
4371}
4372node:tagged {
4373 symbol-stroke-color: none;
4374 symbol-fill-color: node_tagged#00ffff;
4375}
4376
4377way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4378
4379node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4380way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4381node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4382
4383node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4384way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4385node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4386
4387node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4388way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4389node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4390
4391node[!setting("shrink_nodes")] { symbol-size: 4; }
4392way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4393node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4394
4395node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4396relation|z-16[type=restriction][setting("hide_icons")] {
4397 icon-image: none;
4398}
4399node|z-17[setting("hide_icons")]!.text_z0 {
4400 text: none;
4401}
4402
4403node|z19,area|z19 { font-size: 9; }
4404node|z20-,area|z20- { font-size: 10; }
4405
4406/*******************/
4407/* way text labels */
4408/*******************/
4409
4410way|z17-[highway^=motorway][setting("highway_labels")],
4411way|z17-[highway^=trunk][setting("highway_labels")],
4412way|z17-[highway^=primary][setting("highway_labels")],
4413way|z17-[highway^=secondary][setting("highway_labels")],
4414way|z17-[highway^=tertiary][setting("highway_labels")],
4415way|z17-[highway=unclassified][setting("highway_labels")],
4416way|z17-[highway=residential][setting("highway_labels")],
4417way|z17-[highway=living_street][setting("highway_labels")],
4418way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4419way|z17-[highway=service][setting("highway_labels")],
4420way|z17-[highway=track][setting("highway_labels")] {
4421 text: auto;
4422 text-color: black;
4423 font-size: 9;
4424 text-position: line;
4425 text-halo-opacity: 1;
4426 text-halo-radius: 1.5;
4427}
4428way|z17-[highway^=motorway][setting("highway_labels")] {
4429 text-halo-color: motorway#809bc0;
4430}
4431way|z17-[highway^=trunk][setting("highway_labels")] {
4432 text-halo-color: trunk#7fc97f;
4433}
4434way|z17-[highway^=primary][setting("highway_labels")] {
4435 text-halo-color: primary#fb805f;
4436}
4437way|z17-[highway^=secondary][setting("highway_labels")] {
4438 text-halo-color: secondary#fdbf6f;
4439}
4440way|z17-[highway^=tertiary][setting("highway_labels")] {
4441 text-halo-color: tertiary#f7f496;
4442}
4443way|z17-[highway=unclassified][setting("highway_labels")],
4444way|z17-[highway=residential][setting("highway_labels")],
4445way|z17-[highway=living_street][setting("highway_labels")] {
4446 text-halo-color: street#c0c0c0;
4447}
4448way[highway=pedestrian][!area?][setting("highway_labels")] {
4449 text-halo-color: foot#00ff00;
4450}
4451way|z17-[highway=service][setting("highway_labels")] {
4452 text-halo-color: service#809bc0;
4453}
4454way|z17-[highway=track][setting("highway_labels")] {
4455 text-halo-color: highway_track#006600;
4456}
4457way|z18[highway][setting("highway_labels")] {
4458 font-size: 10;
4459}
4460way|z19[highway][setting("highway_labels")] {
4461 font-size: 11;
4462}
4463way|z20-[highway][setting("highway_labels")] {
4464 font-size: 12;
4465}
4466
4467/* "deprecated" tags
4468 historic=museum -> tourism=museum
4469 man_made=power_wind -> power=generator and power_source=wind
4470 man_made=power_hydro -> power=generator and power_source=hydro
4471 man_made=power_fossil -> power=generator and power_source=fossil
4472 man_made=power_nuclear -> power=generator and power_source=nuclear
4473 amenity=park_bench -> amenity=bench
4474 amenity=signpost -> information=guidepost
4475 amenity=emergency_phone -> emergency=phone
4476 highway minor - classification now more detailed
4477 highway=stile -> barrier=stile
4478 highway=gate -> barrier=gate
4479 highway=cattle_grid -> barrier=cattle_grid
4480 highway=toll_booth -> barrier=toll_booth
4481 highway=viaduct -> bridge=viaduct
4482 railway=viaduct -> bridge=viaduct
4483 waterway=aqueduct -> bridge=aqueduct
4484 natural=marsh -> natural=wetland
4485 leisure=zoo -> tourism=zoo
4486 power=station -> power=plant or power=sub_station
4487*/
Note: See TracBrowser for help on using the repository browser.