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

Last change on this file since 7612 was 7612, checked in by Don-vip, 10 years ago

fix #10627 - display bridge also for railway=abandoned and railway=disused (patch by Klumbumbus)

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