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

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

icon unification of sport icons, i.e. same icon for preset and mappaint style. added white background to two icons for visibility in MapView

File size: 96.3 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/miniature_golf.svg";
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: "vehicle.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_games],
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=gaelic_games] {
3352 icon-image: "sport/soccer.png";
3353 set icon_z17;
3354 text: auto;
3355}
3356node[sport=australian_football],
3357node[sport=american_football],
3358node[sport=canadian_football],
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.svg";
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: "sport/cricket.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: "presets/equestrian.png";
3451 icon-width: 16;
3452 set icon_z17;
3453 text: auto;
3454}
3455node[sport=golf] {
3456 icon-image: "sport/golf.png";
3457 set icon_z17;
3458 text: auto;
3459}
3460node[sport=gymnastics] {
3461 icon-image: "presets/gymnastics.png";
3462 icon-width: 16;
3463 set icon_z17;
3464 text: auto;
3465}
3466node[sport=hockey] {
3467 icon-image: "sport/hockey.png";
3468 set icon_z17;
3469 text: auto;
3470}
3471node[sport=horse_racing] {
3472 icon-image: "sport/riding.png";
3473 set icon_z17;
3474 text: auto;
3475}
3476node[sport=karting] {
3477 icon-image: "sport/karting.png";
3478 set icon_z17;
3479 text: auto;
3480}
3481node[sport=motocross] {
3482 icon-image: "sport/motocross.png";
3483 set icon_z17;
3484 text: auto;
3485}
3486node[sport=motor] {
3487 icon-image: "sport/motor.png";
3488 set icon_z17;
3489 text: auto;
3490}
3491area[sport=multi],
3492area[sport=pelota],
3493area[sport=racquet],
3494area[sport=skating],
3495area[sport=skateboard] {
3496 fill-color: sport#bde3cb;
3497}
3498node[sport=multi] {
3499 icon-image: "sport/multi.png";
3500 set icon_z17;
3501 text: auto;
3502}
3503node[sport=pelota] {
3504 icon-image: "sport/pelota.png";
3505 set icon_z17;
3506 text: auto;
3507}
3508node[sport=racquet] {
3509 icon-image: "sport/racquetball.png";
3510 set icon_z17;
3511 text: auto;
3512}
3513node[sport=skating] {
3514 icon-image: "sport/skating.png";
3515 set icon_z17;
3516 text: auto;
3517}
3518node[sport=skateboard] {
3519 icon-image: "sport/skateboard.png";
3520 set icon_z17;
3521 text: auto;
3522}
3523area[sport=swimming] {
3524 fill-color: swimming_pool#51c4ef;
3525}
3526node[sport=swimming] {
3527 icon-image: "sport/pool.png";
3528 set icon_z17;
3529 text: auto;
3530}
3531area[sport=skiing],
3532area[sport=table_tennis],
3533area[sport=tennis],
3534area[sport=paintball] {
3535 fill-color: sport#bde3cb;
3536}
3537node[sport=skiing] {
3538 icon-image: "sport/skiing.png";
3539 set icon_z17;
3540 text: auto;
3541}
3542node[sport=table_tennis] {
3543 icon-image: "sport/table_tennis.png";
3544 set icon_z17;
3545 text: auto;
3546}
3547node[sport=tennis] {
3548 icon-image: "sport/tennis.png";
3549 set icon_z17;
3550 text: auto;
3551}
3552node[sport=paintball] {
3553 icon-image: "misc/no_icon.png";
3554 set icon_z17;
3555 text: auto;
3556}
3557area[sport=squash],
3558area[sport=shooting],
3559area[sport=volleyball],
3560area[sport=beachvolleyball],
3561area[sport=bowling],
3562area[sport=handball],
3563area[sport=rowing],
3564area[sport=sailing],
3565area[sport=scuba_diving],
3566area[sport=badminton] {
3567 fill-color: sport#bde3cb;
3568}
3569node[sport=squash] {
3570 icon-image: "misc/no_icon.png";
3571 set icon_z17;
3572 text: auto;
3573}
3574node[sport=shooting] {
3575 icon-image: "presets/range.png";
3576 icon-width: 16;
3577 set icon_z17;
3578 text: auto;
3579}
3580node[sport=volleyball] {
3581 icon-image: "sport/volleyball.png";
3582 set icon_z17;
3583 text: auto;
3584}
3585node[sport=beachvolleyball] {
3586 icon-image: "sport/beachvolleyball.png";
3587 set icon_z17;
3588 text: auto;
3589}
3590node[sport=bowling] {
3591 icon-image: "sport/10pin.png";
3592 set icon_z17;
3593 text: auto;
3594}
3595node[sport=handball] {
3596 icon-image: "sport/handball.png";
3597 set icon_z17;
3598 text: auto;
3599}
3600node[sport=rowing] {
3601 icon-image: "sport/rowing.png";
3602 set icon_z17;
3603 text: auto;
3604}
3605node[sport=sailing] {
3606 icon-image: "misc/no_icon.png";
3607 set icon_z17;
3608 text: auto;
3609}
3610node[sport=scuba_diving] {
3611 icon-image: "sport/scuba_diving.svg";
3612 set icon_z17;
3613 text: auto;
3614}
3615node[sport=badminton] {
3616 icon-image: "misc/no_icon.png";
3617 set icon_z17;
3618 text: auto;
3619}
3620area[sport=archery],
3621area[sport=fishing],
3622area[sport=safety_training],
3623area[sport=model_aerodrome],
3624area[sport=rc_car] {
3625 fill-color: sport#bde3cb;
3626}
3627node[sport=archery] {
3628 icon-image: "sport/archery.png";
3629 set icon_z17;
3630 text: auto;
3631}
3632node[sport=fishing] {
3633 icon-image: "sport/fishing.png";
3634 set icon_z17;
3635 text: auto;
3636}
3637node[sport=safety_training] {
3638 icon-image: "sport/safety_training.png";
3639 set icon_z17;
3640 text: auto;
3641}
3642node[sport=model_aerodrome] {
3643 icon-image: "transport/airport.png";
3644 set icon_z17;
3645 text: auto;
3646}
3647node[sport=rc_car] {
3648 icon-image: "transport/car.png";
3649 set icon_z17;
3650 text: auto;
3651}
3652
3653/****************/
3654/* natural tags */
3655/****************/
3656
3657area[natural=spring] {
3658 fill-color: light_water#00005f;
3659}
3660node[natural=spring] {
3661 icon-image: "misc/landmark/spring.png";
3662 set icon_z17;
3663 text: auto;
3664}
3665node[natural=saddle] {
3666 icon-image: "presets/saddle.svg";
3667 set icon_z0;
3668 text: auto;
3669 set text_z0;
3670}
3671area[natural=peak] {
3672 fill-color: peak#663300;
3673}
3674node[natural=peak] {
3675 icon-image: "presets/peak.svg";
3676 set icon_z0;
3677 text: auto;
3678 set text_z0;
3679}
3680node[natural=peak][tourism=viewpoint] {
3681 icon-image: "sightseeing/peak_viewpoint.svg";
3682 set icon_z0;
3683 text: auto;
3684 set text_z0;
3685}
3686area[natural=glacier] {
3687 fill-color: glacier#ffffff;
3688}
3689node[natural=glacier] {
3690 icon-image: "misc/landmark/glacier_small.png";
3691 set icon_z0;
3692 text: auto;
3693 set text_z0;
3694}
3695area[natural=volcano] {
3696 fill-color: volcano#5f0000;
3697}
3698node[natural=volcano] {
3699 icon-image: "misc/landmark/volcano_small.png";
3700 set icon_z0;
3701 text: auto;
3702 set text_z0;
3703}
3704area[natural=cliff]:closed {
3705 fill-color: natural#002f00;
3706}
3707way[natural=cliff] {
3708 repeat-image: "misc/cliff-pattern.png";
3709 repeat-image-align: top;
3710 width: 1;
3711 color: #b2b2b2;
3712}
3713node[natural=cliff] {
3714 icon-image: "misc/cliff.png";
3715 set icon_z17;
3716 text: auto;
3717}
3718area[natural=scree] {
3719 fill-color: natural#002f00;
3720}
3721node[natural=scree] {
3722 icon-image: "misc/no_icon.png";
3723 set icon_z17;
3724 text: auto;
3725}
3726area[natural=scrub] {
3727 fill-color: scrub#007000;
3728}
3729node[natural=scrub] {
3730 icon-image: "presets/scrub.svg";
3731 set icon_z17;
3732 text: auto;
3733}
3734area[natural=fell] {
3735 fill-color: natural#002f00;
3736}
3737node[natural=fell] {
3738 icon-image: "misc/no_icon.png";
3739 set icon_z17;
3740 text: auto;
3741}
3742area[natural=heath] {
3743 fill-color: heath#ffffc0;
3744}
3745node[natural=heath] {
3746 icon-image: "misc/no_icon.png";
3747 set icon_z17;
3748 text: auto;
3749}
3750way[natural=tree_row] {
3751 width: 2;
3752 color: woodarea#008000;
3753}
3754node[natural=tree_row] {
3755 icon-image: "misc/no_icon.png";
3756 set icon_z17;
3757 text: auto;
3758}
3759area[natural=wood] {
3760 fill-color: woodarea#008000;
3761}
3762node[natural=wood] {
3763 icon-image: "misc/landmark/trees.png";
3764 set icon_z17;
3765 text: auto;
3766}
3767area[natural=grassland] {
3768 fill-color: green#b1e0c2;
3769}
3770node[natural=grassland] {
3771 icon-image: "misc/deprecated.png";
3772 set icon_z17;
3773 text: auto;
3774}
3775area[natural=wetland] {
3776 fill-color: marsh#4f4ff3;
3777}
3778node[natural=wetland] {
3779 icon-image: "misc/no_icon.png";
3780 set icon_z17;
3781 text: auto;
3782}
3783area[natural=water] {
3784 fill-color: water#0000ff;
3785}
3786node[natural=water] {
3787 icon-image: "nautical/water.png";
3788 set icon_z17;
3789 text: auto;
3790}
3791way[natural=coastline] {
3792 width: 1;
3793 color: water#0000ff;
3794}
3795node[natural=coastline] {
3796 icon-image: "misc/coastline.png";
3797 set icon_z17;
3798 text: auto;
3799}
3800area[natural=mud] {
3801 fill-color: mud#cba762;
3802}
3803node[natural=mud] {
3804 icon-image: "misc/mud.png";
3805 set icon_z17;
3806 text: auto;
3807}
3808area[natural=beach] {
3809 fill-color: beach#f8dba2;
3810}
3811node[natural=beach] {
3812 icon-image: "misc/beach.png";
3813 set icon_z17;
3814 text: auto;
3815}
3816area[natural=sand] {
3817 fill-color: sand#f8dba2;
3818}
3819node[natural=sand] {
3820 icon-image: "misc/no_icon.png";
3821 set icon_z17;
3822 text: auto;
3823}
3824area[natural=bay],
3825area[natural=land],
3826area[natural=cave_entrance] {
3827 fill-color: natural#002f00;
3828}
3829node[natural=bay] {
3830 icon-image: "misc/bay.png";
3831 set icon_z17;
3832 text: auto;
3833}
3834node[natural=land] {
3835 icon-image: "misc/no_icon.png";
3836 set icon_z17;
3837 text: auto;
3838}
3839node[natural=cave_entrance] {
3840 icon-image: "misc/landmark/cave_entrance.png";
3841 set icon_z17;
3842 text: auto;
3843}
3844node[natural=tree] {
3845 icon-image: "misc/landmark/trees.png";
3846 set icon_z17;
3847 text: auto;
3848}
3849node[natural=tree][type=conifer],
3850node[natural=tree][leaf_type=needleleaved] {
3851 icon-image: "misc/landmark/trees_conifer.png";
3852 set icon_z17;
3853 text: auto;
3854}
3855node[natural=tree][type=broad_leaved],
3856node[natural=tree][leaf_type=broadleaved] {
3857 icon-image: "misc/landmark/trees_broad_leaved.png";
3858 set icon_z17;
3859 text: auto;
3860}
3861node[natural=tree][type=palm] {
3862 icon-image: "misc/landmark/trees_palm.png";
3863 set icon_z17;
3864 text: auto;
3865}
3866
3867/*****************/
3868/* waterway tags */
3869/*****************/
3870
3871way[waterway=river] {
3872 width: 2;
3873 color: water#0000ff;
3874}
3875area[waterway=riverbank] {
3876 fill-color: riverbank#0000cf;
3877 width: 1;
3878 color: riverbank#0000cf;
3879}
3880way[waterway=canal], way[waterway=wadi] {
3881 width: 2;
3882 color: water#0000ff;
3883}
3884way[waterway=stream] {
3885 width: 1;
3886 color: stream#6600cc;
3887}
3888way[waterway=ditch], way[waterway=drain] {
3889 width: 1;
3890 color: water#0000ff;
3891}
3892area[waterway=dock] {
3893 fill-color: dock#0000cf;
3894}
3895node[waterway=dock] {
3896 icon-image: "nautical/boatyard.png";
3897 set icon_z17;
3898 text: auto;
3899}
3900node[waterway=lock_gate] {
3901 icon-image: "nautical/lock_gate.png";
3902 set icon_z17;
3903 text: auto;
3904}
3905node[waterway=turning_point] {
3906 icon-image: "nautical/turning.png";
3907 set icon_z17;
3908 text: auto;
3909}
3910area[waterway=boatyard] {
3911 fill-color: manmade#d8d8d8;
3912}
3913node[waterway=boatyard] {
3914 icon-image: "nautical/boatyard.png";
3915 set icon_z17;
3916 text: auto;
3917}
3918node[waterway=water_point] {
3919 icon-image: "accommodation/camping/water.png";
3920 set icon_z17;
3921 text: auto;
3922}
3923node[waterway=waste_disposal] {
3924 icon-image: "accommodation/camping/wastewater.png";
3925 set icon_z17;
3926 text: auto;
3927}
3928node[waterway=mooring] {
3929 icon-image: "nautical/marina.png";
3930 set icon_z17;
3931 text: auto;
3932}
3933way[waterway=weir] {
3934 width: 2;
3935 color: manmade#d8d8d8;
3936}
3937node[waterway=weir] {
3938 icon-image: "nautical/weir.png";
3939 set icon_z17;
3940 text: auto;
3941}
3942way[waterway=rapids] {
3943 width: 2;
3944 color: rapids#8080ff;
3945}
3946node[waterway=rapids] {
3947 icon-image: "misc/no_icon.png";
3948 set icon_z17;
3949 text: auto;
3950}
3951area[waterway=dam]:closed {
3952 fill-color: manmade#d8d8d8;
3953}
3954way[waterway=dam] {
3955 width: 2;
3956 color: manmade#d8d8d8;
3957}
3958node[waterway=dam] {
3959 icon-image: "nautical/dam.png";
3960 set icon_z17;
3961 text: auto;
3962}
3963/* it's not possible to have both line and area, line seems more likely */
3964way[waterway=waterfall] {
3965 width: 2;
3966 color: manmade#d8d8d8;
3967}
3968node[waterway=waterfall] {
3969 icon-image: "nautical/waterfall.png";
3970 set icon_z17;
3971 text: auto;
3972}
3973node[waterway=river], node[waterway=riverbank],
3974node[waterway=canal], node[waterway=wadi],
3975node[waterway=stream],
3976node[waterway=ditch], node[waterway=drain] {
3977 icon-image: "misc/deprecated.png";
3978 set icon_z17;
3979 text: auto;
3980}
3981
3982/**************/
3983/* route tags */
3984/**************/
3985
3986way[route=ferry] {
3987 width: 1;
3988 color: ferry#809bc0;
3989 dashes: 9,9;
3990}
3991node[route=bus],
3992node[route=ferry],
3993node[route=flight],
3994node[route=ncn],
3995node[route=subsea],
3996node[route=ski],
3997node[route=tour],
3998node[route=pub_crawl] {
3999 icon-image: "misc/deprecated.png";
4000 set icon_z17;
4001 text: auto;
4002}
4003
4004/*******************/
4005/* properties tags */
4006/*******************/
4007
4008node[mountain_pass?] {
4009 icon-image: "misc/landmark/mountain_pass.png";
4010 set icon_z0;
4011 text: auto;
4012 set text_z0;
4013}
4014
4015/*****************/
4016/* boundary tags */
4017/*****************/
4018
4019way[boundary=national]::core_boundary,
4020way[boundary=administrative]::core_boundary,
4021way[boundary=postal_code]::core_boundary,
4022way[boundary=political]::core_boundary,
4023way[boundary=national_park]::core_boundary {
4024 z-index: 2;
4025 modifier: false;
4026 width: 1;
4027 color: boundary#FF6600;
4028 dashes: 9,9;
4029}
4030way[admin_level=9]::core_boundary,
4031relation[admin_level=9] > way::core_boundary,
4032way[admin_level=10]::core_boundary,
4033relation[admin_level=10] > way::core_boundary {
4034 z-index: 2;
4035 modifier: false;
4036 width: 1;
4037 color: boundary#FF6600;
4038 dashes: 9,9;
4039}
4040way[admin_level=7]::core_boundary,
4041relation[admin_level=7] > way::core_boundary,
4042way[admin_level=8]::core_boundary,
4043relation[admin_level=8] > way::core_boundary {
4044 z-index: 2;
4045 modifier: false;
4046 width: 2;
4047 color: boundary#FF6600;
4048 dashes: 9,9;
4049}
4050way[admin_level=5]::core_boundary,
4051relation[admin_level=5] > way::core_boundary,
4052way[admin_level=6]::core_boundary,
4053relation[admin_level=6] > way::core_boundary {
4054 z-index: 2;
4055 modifier: false;
4056 width: 3;
4057 color: boundary#FF6600;
4058 dashes: 9,9;
4059}
4060way[admin_level=3]::core_boundary,
4061relation[admin_level=3] > way::core_boundary,
4062way[admin_level=4]::core_boundary,
4063relation[admin_level=4] > way::core_boundary {
4064 z-index: 2;
4065 modifier: false;
4066 width: 4;
4067 color: boundary#FF6600;
4068 dashes: 9,9;
4069}
4070way[admin_level=1]::core_boundary,
4071relation[admin_level=1] > way::core_boundary,
4072way[admin_level=2]::core_boundary,
4073relation[admin_level=2] > way::core_boundary {
4074 z-index: 2;
4075 modifier: false;
4076 width: 5;
4077 color: boundary#FF6600;
4078 dashes: 9,9;
4079}
4080node[boundary=national],
4081node[boundary=administrative],
4082node[boundary=postal_code],
4083node[boundary=political],
4084node[boundary=national_park] {
4085 icon-image: "misc/deprecated.png";
4086 set icon_z17;
4087 text: auto;
4088}
4089
4090/******************/
4091/* maxspeed nodes */
4092/******************/
4093node[maxspeed=none][!is_prop_set(icon-image)] {
4094 icon-image: "vehicle/restriction/maxspeed_none.svg";
4095 set icon_z17;
4096}
4097node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4098 maxspeedprop: tag(maxspeed);
4099 set maxspeedclass;
4100}
4101node[maxspeed=signals][!is_prop_set(icon-image)] {
4102 maxspeedprop: " ?";
4103 set maxspeedclass;
4104}
4105node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4106 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4107 set maxspeedclass;
4108}
4109node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4110 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4111 set maxspeedclass;
4112}
4113node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4114 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4115 set maxspeedclass;
4116}
4117node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4118 /* background (white) */
4119 symbol-shape: circle;
4120 symbol-size: 17;
4121 symbol-fill-color: white;
4122 major-z-index: 4.2;
4123}
4124node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4125node[maxspeed=signals]::core_maxnodebg {
4126 /* background (black) */
4127 symbol-fill-color: black;
4128}
4129node[prop(maxspeedclass, default)]::core_maxnodefg {
4130 /* foreground (black text and red circle) */
4131 symbol-shape: circle;
4132 symbol-size: 15;
4133 symbol-stroke-color: crimson;
4134 symbol-stroke-width: 2;
4135 text: prop(maxspeedprop, default);
4136 font-size: 8;
4137 font-weight: bold;
4138 text-color: black;
4139 text-anchor-horizontal: center;
4140 text-anchor-vertical: center;
4141 text-offset-x: 0;
4142 text-offset-y: -1;
4143 major-z-index: 4.2;
4144}
4145node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4146node[maxspeed=signals]::core_maxnodefg {
4147 /* foreground (white text) */
4148 text-color: white;
4149}
4150node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4151 symbol-shape: none;
4152}
4153node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4154 text: none;
4155 symbol-shape: none;
4156}
4157
4158/**************/
4159/* place tags */
4160/**************/
4161
4162/* lot's of "openGeoDB:..." tags can be found in germany */
4163node["openGeoDB:type"=Stadt],
4164node["openGeoDB:type"=Kreis],
4165node["openGeoDB:type"=Gemeinde],
4166node["openGeoDB:type"=Ort],
4167node["openGeoDB:type"=District],
4168node["openGeoDB:location"=locality] {
4169 icon-image: "place/settlement/town.png";
4170 set icon_z0;
4171 text: auto;
4172 set text_z0;
4173 font-size: 10;
4174 font-weight: bold;
4175 text-color:black;
4176 text-halo-color: white;
4177 text-halo-radius: 1;
4178}
4179area[place=continent],
4180area[place=country],
4181area[place=state],
4182area[place=region],
4183area[place=county],
4184area[place=city],
4185area[place=town],
4186area[place=village],
4187area[place=hamlet],
4188area[place=farm],
4189area[place=isolated_dwelling],
4190area[place=neighbourhood],
4191area[place=suburb],
4192area[place=locality],
4193area[place=island],
4194area[place=islet] {
4195 fill-color: place#8de3cb;
4196}
4197node[place=continent],
4198node[place=country],
4199node[place=state],
4200node[place=region],
4201node[place=county] {
4202 icon-image: "place/settlement/capital.png";
4203 set icon_z0;
4204 text: auto;
4205 set text_z0;
4206 font-size: 10;
4207 font-weight: bold;
4208 text-color:black;
4209 text-halo-color: white;
4210 text-halo-radius: 1;
4211}
4212node[place=city] {
4213 icon-image: "place/settlement/city.png";
4214 set icon_z0;
4215 text: auto;
4216 set text_z0;
4217 font-size: 10;
4218 font-weight: bold;
4219 text-color:black;
4220 text-halo-color: white;
4221 text-halo-radius: 1;
4222}
4223node[place=town],
4224node[place=village],
4225node[place=hamlet],
4226node[place=farm],
4227node[place=isolated_dwelling],
4228node[place=neighbourhood],
4229node[place=suburb] {
4230 icon-image: "place/settlement/town.png";
4231 set icon_z0;
4232 text: auto;
4233 set text_z0;
4234 font-size: 10;
4235 font-weight: bold;
4236 text-color:black;
4237 text-halo-color: white;
4238 text-halo-radius: 1;
4239}
4240node[place=locality] {
4241 icon-image: "place/locality.png";
4242 set icon_z0;
4243 text: auto;
4244 set text_z0;
4245 font-size: 10;
4246 font-weight: bold;
4247 text-color:black;
4248 text-halo-color: white;
4249 text-halo-radius: 1;
4250}
4251node[place=island] {
4252 icon-image: "place/island.png";
4253 set icon_z0;
4254 text: auto;
4255 set text_z0;
4256 font-size: 10;
4257 font-weight: bold;
4258 text-color:black;
4259 text-halo-color: white;
4260 text-halo-radius: 1;
4261}
4262node[place=islet] {
4263 icon-image: "place/islet.png";
4264 set icon_z0;
4265 text: auto;
4266 set text_z0;
4267 font-size: 10;
4268 font-weight: bold;
4269 text-color:black;
4270 text-halo-color: white;
4271 text-halo-radius: 1;
4272}
4273
4274/***************************/
4275/* "work in progress" tags */
4276/***************************/
4277
4278node|z16-[fixme]::core_fixme,
4279node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4280node|z16-[FIXME]::core_fixme,
4281node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4282 object-z-index: 20;
4283 icon-image: "misc/fixme-annotation.png";
4284}
4285node|z16-[note]::core_note,
4286node|z-15[note][!setting("hide_icons")]::core_note {
4287 object-z-index: 10;
4288 icon-image: "misc/note-annotation.png";
4289}
4290
4291/* special display of unreviewed tiger data (USA) */
4292way["tiger:reviewed"=no]::core_tiger {
4293 major-z-index: -10;
4294 width: 11;
4295 color: tiger_data#808000;
4296 opacity: 0.6;
4297}
4298
4299/****************************************/
4300/* zoom levels and general node display */
4301/****************************************/
4302
4303/*
4304Summary of different zoom levels:
4305 (any zoom) place=* and a few natural icons with their text is shown
4306 |z-15 untagged way nodes are hidden completely
4307 |z16- fixme=* and note=* symbols
4308 |z17- normal POI icons (without text),
4309 street name along highway=* ways
4310 |z18- text for normal POI icons is shown
4311
4312 * text size and node size is adapted according to zoom level (see style source below)
4313 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4314
4315*/
4316
4317node {
4318 text: auto;
4319}
4320node|z-16[setting("hide_icons")],
4321node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4322node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4323 symbol-size: 2;
4324 symbol-shape: square;
4325 symbol-stroke-color: node_standard#ffff00;
4326 major-z-index: 4.95; /* put node squares above line text */
4327}
4328way > node|z-15[setting("shrink_nodes")]!:tagged {
4329 symbol-shape: none;
4330}
4331node:connection {
4332 symbol-stroke-color: node_connection#ffff00;
4333}
4334node:tagged {
4335 symbol-stroke-color: none;
4336 symbol-fill-color: node_tagged#00ffff;
4337}
4338
4339way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4340
4341node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4342way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4343node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4344
4345node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4346way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4347node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4348
4349node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4350way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4351node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4352
4353node[!setting("shrink_nodes")] { symbol-size: 4; }
4354way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4355node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4356
4357node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4358relation|z-16[type=restriction][setting("hide_icons")] {
4359 icon-image: none;
4360}
4361node|z-17[setting("hide_icons")]!.text_z0 {
4362 text: none;
4363}
4364
4365node|z19,area|z19 { font-size: 9; }
4366node|z20-,area|z20- { font-size: 10; }
4367
4368/*******************/
4369/* way text labels */
4370/*******************/
4371
4372way|z17-[highway^=motorway][setting("highway_labels")],
4373way|z17-[highway^=trunk][setting("highway_labels")],
4374way|z17-[highway^=primary][setting("highway_labels")],
4375way|z17-[highway^=secondary][setting("highway_labels")],
4376way|z17-[highway^=tertiary][setting("highway_labels")],
4377way|z17-[highway=unclassified][setting("highway_labels")],
4378way|z17-[highway=residential][setting("highway_labels")],
4379way|z17-[highway=living_street][setting("highway_labels")],
4380way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4381way|z17-[highway=service][setting("highway_labels")],
4382way|z17-[highway=track][setting("highway_labels")] {
4383 text: auto;
4384 text-color: black;
4385 font-size: 9;
4386 text-position: line;
4387 text-halo-opacity: 1;
4388 text-halo-radius: 1.5;
4389}
4390way|z17-[highway^=motorway][setting("highway_labels")] {
4391 text-halo-color: motorway#809bc0;
4392}
4393way|z17-[highway^=trunk][setting("highway_labels")] {
4394 text-halo-color: trunk#7fc97f;
4395}
4396way|z17-[highway^=primary][setting("highway_labels")] {
4397 text-halo-color: primary#fb805f;
4398}
4399way|z17-[highway^=secondary][setting("highway_labels")] {
4400 text-halo-color: secondary#fdbf6f;
4401}
4402way|z17-[highway^=tertiary][setting("highway_labels")] {
4403 text-halo-color: tertiary#f7f496;
4404}
4405way|z17-[highway=unclassified][setting("highway_labels")],
4406way|z17-[highway=residential][setting("highway_labels")],
4407way|z17-[highway=living_street][setting("highway_labels")] {
4408 text-halo-color: street#c0c0c0;
4409}
4410way[highway=pedestrian][!area?][setting("highway_labels")] {
4411 text-halo-color: foot#00ff00;
4412}
4413way|z17-[highway=service][setting("highway_labels")] {
4414 text-halo-color: service#809bc0;
4415}
4416way|z17-[highway=track][setting("highway_labels")] {
4417 text-halo-color: highway_track#006600;
4418}
4419way|z18[highway][setting("highway_labels")] {
4420 font-size: 10;
4421}
4422way|z19[highway][setting("highway_labels")] {
4423 font-size: 11;
4424}
4425way|z20-[highway][setting("highway_labels")] {
4426 font-size: 12;
4427}
4428
4429/* "deprecated" tags
4430 historic=museum -> tourism=museum
4431 man_made=power_wind -> power=generator and power_source=wind
4432 man_made=power_hydro -> power=generator and power_source=hydro
4433 man_made=power_fossil -> power=generator and power_source=fossil
4434 man_made=power_nuclear -> power=generator and power_source=nuclear
4435 amenity=park_bench -> amenity=bench
4436 amenity=signpost -> information=guidepost
4437 amenity=emergency_phone -> emergency=phone
4438 highway minor - classification now more detailed
4439 highway=stile -> barrier=stile
4440 highway=gate -> barrier=gate
4441 highway=cattle_grid -> barrier=cattle_grid
4442 highway=toll_booth -> barrier=toll_booth
4443 highway=viaduct -> bridge=viaduct
4444 railway=viaduct -> bridge=viaduct
4445 waterway=aqueduct -> bridge=aqueduct
4446 natural=marsh -> natural=wetland
4447 leisure=zoo -> tourism=zoo
4448 power=station -> power=plant or power=sub_station
4449*/
Note: See TracBrowser for help on using the repository browser.