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

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

add icon for barrier=spikes and landuse=orchard; improve presets and mappaint style for man_made=groyne and man_made=breakwater fix #10735

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