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

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

fix #10597 - New icon for amenity=fountain (patch by Klumbumbus)

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