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

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

fix #9254 - add icon for natural=scrub

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