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

Last change on this file since 7564 was 7564, checked in by bastiK, 10 years ago

fixed #9606 - different colors of buildings with same tags (patch by Klumbumbus)

File size: 96.2 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12 icon: "dialogs/mappaint/josm_small.png";
13}
14
15canvas {
16 default-points: false;
17}
18
19/*************************/
20/* create style settings */
21/*************************/
22
23setting::hide_icons {
24 type: boolean;
25 label: tr("Hide icons at low zoom");
26 default: true;
27}
28
29setting::shrink_nodes {
30 type: boolean;
31 label: tr("Less obtrusive node symbols at low zoom");
32 default: true;
33}
34
35setting::highway_labels {
36 type: boolean;
37 label: tr("Display street labels (at high zoom)");
38 default: true;
39}
40
41/*********************/
42/* turn restrictions */
43/*********************/
44
45relation[restriction=no_left_turn],
46node[restriction=no_left_turn] {
47 icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png";
48 set icon_z17;
49 text: auto;
50}
51relation[restriction=no_right_turn],
52node[restriction=no_right_turn] {
53 icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png";
54 set icon_z17;
55 text: auto;
56}
57relation[restriction=no_straight_on],
58node[restriction=no_straight_on] {
59 icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png";
60 set icon_z17;
61 text: auto;
62}
63relation[restriction=no_u_turn],
64node[restriction=no_u_turn] {
65 icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png";
66 set icon_z17;
67 text: auto;
68}
69relation[restriction=only_left_turn],
70node[restriction=only_left_turn] {
71 icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png";
72 set icon_z17;
73 text: auto;
74}
75relation[restriction=only_right_turn],
76node[restriction=only_right_turn] {
77 icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png";
78 set icon_z17;
79 text: auto;
80}
81relation[restriction=only_straight_on],
82node[restriction=only_straight_on] {
83 icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png";
84 set icon_z17;
85 text: auto;
86}
87
88/******************/
89/* bridge, tunnel */
90/******************/
91
92way[bridge?]::core_bridge,
93way[bridge=viaduct]::core_bridge,
94way[bridge=swing]::core_bridge,
95way[bridge=movable]::core_bridge,
96way[bridge=cantilever]::core_bridge,
97way[bridge=covered]::core_bridge,
98way[bridge=low_water_crossing]::core_bridge,
99way[bridge=trestle]::core_bridge,
100way[bridge=aqueduct]::core_bridge {
101 major-z-index: 2.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],
2718area[leisure],
2719area[amenity],
2720area[place],
2721area[natural],
2722area[man_made] {
2723 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
2724}
2725area[landuse=farm],
2726area[landuse=farmland],
2727area[landuse=meadow],
2728area[landuse=vineyard],
2729area[landuse=orchard] {
2730 fill-color: green#b1e0c2;
2731}
2732node[landuse=farm] {
2733 icon-image: "misc/landmark/farm.png";
2734 set icon_z17;
2735 text: auto;
2736}
2737node[landuse=farmland] {
2738 icon-image: "misc/landuse/farmland.png";
2739 set icon_z17;
2740 text: auto;
2741}
2742node[landuse=meadow] {
2743 icon-image: "misc/no_icon.png";
2744 set icon_z17;
2745 text: auto;
2746}
2747node[landuse=vineyard] {
2748 icon-image: "shop/groceries/fruits.png";
2749 set icon_z17;
2750 text: auto;
2751}
2752area[landuse=quarry] {
2753 fill-color: quarry#888888;
2754}
2755node[landuse=quarry] {
2756 icon-image: "misc/landmark/mine.png";
2757 set icon_z17;
2758 text: auto;
2759}
2760area[landuse=landfill] {
2761 fill-color: landfill#663300;
2762}
2763node[landuse=landfill] {
2764 icon-image: "misc/no_icon.png";
2765 set icon_z17;
2766 text: auto;
2767}
2768area[landuse=basin],
2769area[landuse=reservoir] {
2770 fill-color: basin#0000bf;
2771}
2772node[landuse=basin],
2773node[landuse=reservoir] {
2774 icon-image: "misc/no_icon.png";
2775 set icon_z17;
2776 text: auto;
2777}
2778area[landuse=forest] {
2779 fill-color: forest#b1efc8;
2780}
2781node[landuse=forest] {
2782 icon-image: "misc/landmark/trees.png";
2783 set icon_z17;
2784 text: auto;
2785}
2786area[landuse=allotments],
2787area[landuse=greenhouse_horticulture],
2788area[landuse=plant_nursery],
2789area[landuse=grass] {
2790 fill-color: green#b1e0c2;
2791}
2792node[landuse=allotments] {
2793 icon-image: "misc/landmark/plant.png";
2794 set icon_z17;
2795 text: auto;
2796}
2797node[landuse=greenhouse_horticulture] {
2798 icon-image: "misc/landuse/greenhouse_horticulture.png";
2799 set icon_z17;
2800 text: auto;
2801}
2802node[landuse=plant_nursery],
2803node[landuse=grass] {
2804 icon-image: "misc/landmark/plant.png";
2805 set icon_z17;
2806 text: auto;
2807}
2808area[landuse=residential] {
2809 fill-color: residential#f0f0f0;
2810}
2811node[landuse=residential] {
2812 icon-image: "misc/landuse/residential.png";
2813 set icon_z17;
2814 text: auto;
2815}
2816area[landuse=garages] {
2817 fill-color: garages#d6c8aa;
2818}
2819node[landuse=garages] {
2820 icon-image: "misc/landuse/garages.png";
2821 set icon_z17;
2822 text: auto;
2823}
2824area[landuse=farmyard] {
2825 fill-color: farmyard#f0f0f0;
2826}
2827node[landuse=farmyard] {
2828 icon-image: "misc/no_icon.png";
2829 set icon_z17;
2830 text: auto;
2831}
2832area[landuse=retail],
2833area[landuse=commercial] {
2834 fill-color: retail#ffc4ee;
2835}
2836node[landuse=retail] {
2837 icon-image: "shop/mall.png";
2838 set icon_z17;
2839 text: auto;
2840}
2841node[landuse=commercial] {
2842 icon-image: "misc/landuse/commercial.png";
2843 set icon_z17;
2844 text: auto;
2845}
2846area[landuse=industrial] {
2847 fill-color: industrial#ecd8ff;
2848}
2849node[landuse=industrial] {
2850 icon-image: "misc/landmark/works.png";
2851 set icon_z17;
2852 text: auto;
2853}
2854area[landuse=brownfield] {
2855 fill-color: brownfield#ecba32;
2856}
2857node[landuse=brownfield] {
2858 icon-image: "misc/no_icon.png";
2859 set icon_z17;
2860 text: auto;
2861}
2862area[landuse=greenfield] {
2863 fill-color: greenfield#b1ec5c;
2864}
2865node[landuse=greenfield] {
2866 icon-image: "misc/no_icon.png";
2867 set icon_z17;
2868 text: auto;
2869}
2870area[landuse=railway] {
2871 fill-color: railland#888888;
2872}
2873node[landuse=railway] {
2874 icon-image: "transport/railway_station.png";
2875 set icon_z17;
2876 text: auto;
2877}
2878area[landuse=construction] {
2879 fill-color: construction#ffff00;
2880}
2881way[landuse=construction] {
2882 width: 1;
2883 color: construction#ffff00;
2884 dashes: 9,9;
2885}
2886node[landuse=construction] {
2887 icon-image: "misc/construction.png";
2888 set icon_z17;
2889 text: auto;
2890}
2891area[landuse=military] {
2892 fill-color: military#b62c2c;
2893}
2894node[landuse=military] {
2895 icon-image: "vehicle/tank.png";
2896 set icon_z17;
2897 text: auto;
2898}
2899area[landuse=religious] {
2900 fill-color: religious#ffd454;
2901}
2902area[landuse=cemetery] {
2903 fill-color: cemetery#b1efc8;
2904}
2905node[landuse=cemetery] {
2906 icon-image: "rendering/landuse/cemetery.png";
2907 set icon_z17;
2908 text: auto;
2909}
2910area[landuse=village_green] {
2911 fill-color: green#b1e0c2;
2912}
2913node[landuse=village_green] {
2914 icon-image: "leisure/common.png";
2915 set icon_z17;
2916 text: auto;
2917}
2918area[landuse=recreation_ground] {
2919 fill-color: green#b1e0c2;
2920}
2921node[landuse=recreation_ground] {
2922 icon-image: "leisure/common.png";
2923 set icon_z17;
2924 text: auto;
2925}
2926
2927/*****************/
2928/* military tags */
2929/*****************/
2930
2931area[military=airfield],
2932area[military=bunker],
2933area[military=barracks],
2934area[military=danger_area],
2935area[military=range] {
2936 fill-color: military#b62c2c;
2937}
2938node[military=airfield] {
2939 icon-image: "transport/airport/airfield.png";
2940 set icon_z17;
2941 text: auto;
2942}
2943node[military=bunker] {
2944 icon-image: "misc/landmark/bunker.png";
2945 set icon_z17;
2946 text: auto;
2947}
2948node[military=barracks] {
2949 icon-image: "misc/no_icon.png";
2950 set icon_z17;
2951 text: auto;
2952}
2953node[military=danger_area] {
2954 icon-image: "misc/danger.png";
2955 set icon_z17;
2956 text: auto;
2957}
2958node[military=range] {
2959 icon-image: "misc/landmark/range.png";
2960 set icon_z17;
2961 text: auto;
2962}
2963
2964/*************************/
2965/* public_transport tags */
2966/*************************/
2967
2968node[public_transport=stop_position] {
2969 icon-image: "transport/railway_small.png";
2970 set icon_z17;
2971 text: auto;
2972}
2973node[highway=bus_stop] {
2974 icon-image: "transport/bus_small.png";
2975 set icon_z17;
2976 text: auto;
2977}
2978node[public_transport=stop_position][bus=yes] {
2979 icon-image: "transport/bus_small.png";
2980 set icon_z17;
2981 text: auto;
2982}
2983node[public_transport=stop_position][aerial=yes] {
2984 icon-image: "transport/aerialway.png";
2985 set icon_z17;
2986 text: auto;
2987}
2988node[public_transport=stop_position][ferry=yes] {
2989 icon-image: "transport/ferry.png";
2990 set icon_z17;
2991 text: auto;
2992}
2993node[public_transport=stop_position][tram=yes] {
2994 icon-image: "transport/tram.png";
2995 set icon_z17;
2996 text: auto;
2997}
2998node[public_transport=stop_position][train=yes] {
2999 icon-image: "transport/railway_small.png";
3000 set icon_z17;
3001 text: auto;
3002}
3003area[public_transport=platform]:closed {
3004 fill-color: service#809bc0;
3005}
3006way[public_transport=platform]!:closed {
3007 width: 3;
3008 color: service#809bc0;
3009 dashes: 12,3;
3010}
3011node[public_transport=platform] {
3012 icon-image: "transport/bus_small.png";
3013 set icon_z17;
3014 text: auto;
3015}
3016node[public_transport=platform][bus=yes] {
3017 icon-image: "transport/bus_small.png";
3018 set icon_z17;
3019 text: auto;
3020}
3021node[public_transport=platform][aerial=yes] {
3022 icon-image: "transport/aerialway/station.png";
3023 set icon_z17;
3024 text: auto;
3025}
3026node[public_transport=platform][ferry=yes] {
3027 icon-image: "transport/ferry.png";
3028 set icon_z17;
3029 text: auto;
3030}
3031node[public_transport=platform][tram=yes],
3032node[public_transport=platform][train=yes] {
3033 icon-image: "transport/railway_station.png";
3034 set icon_z17;
3035 text: auto;
3036}
3037
3038/****************/
3039/* railway tags */
3040/****************/
3041
3042area[railway=station], area[railway=tram_station],
3043area[railway=subway_entrance],
3044area[railway=crossing], area[railway=level_crossing] {
3045 fill-color: railwaypoint#f7efb7;
3046}
3047node[railway=station], node[railway=tram_station] {
3048 icon-image: "transport/railway_station.png";
3049 set icon_z17;
3050 text: auto;
3051}
3052node[railway=halt] {
3053 icon-image: "transport/railway_small.png";
3054 set icon_z17;
3055 text: auto;
3056}
3057node[railway=tram_stop] {
3058 icon-image: "transport/tram.png";
3059 set icon_z17;
3060 text: auto;
3061}
3062node[railway=subway_entrance] {
3063 icon-image: "transport/underground.png";
3064 set icon_z17;
3065 text: auto;
3066}
3067node[railway=crossing] {
3068 icon-image: "vehicle/crossing_small.png";
3069 set icon_z17;
3070 text: auto;
3071}
3072node[railway=level_crossing] {
3073 icon-image: "vehicle/crossing.png";
3074 set icon_z17;
3075 text: auto;
3076}
3077way[railway=rail] {
3078 width: 2;
3079 color: rail#404040;
3080 dashes: 9,9;
3081 dashes-background-color: raildashed#ffffff;
3082}
3083way[railway=rail][service=siding] {
3084 width: 1;
3085}
3086way[railway=rail][service=yard],
3087way[railway=rail][service=spur] {
3088 width: 1;
3089 color: railyard#552200
3090}
3091/* draw tram on top of other way (highway=*) or
3092 as a standalone style */
3093way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3094 object-z-index: 1;
3095 modifier: false; /* don't draw default way if there is no line on default layer */
3096 width: 1;
3097 color: otherrail#808080;
3098 color: railover#202020;
3099 dashes: 9,9;
3100 casing-width: 1;
3101 casing-color: otherrail#808080;
3102 casing-linecap: round;
3103 casing-dashes: 9,9;
3104}
3105way[railway=light_rail] {
3106 width: 2;
3107 color: otherrail#808080;
3108 dashes: 9,9;
3109}
3110way[railway=subway] {
3111 width: 1;
3112 color: subway#606060;
3113 dashes: 9,9;
3114}
3115way[railway=preserved] {
3116 width: 1;
3117 color: oldrail#404040;
3118 dashes: 9,9;
3119}
3120/* disused often appears together with highway=xy */
3121/* -> draw on separate layer with higher z-index, but use */
3122/* modifier: false; to suppress default line when used alone. */
3123way[railway=disused]::core_railway,
3124way[railway=abandoned]::core_railway {
3125 width: 1;
3126 modifier: false;
3127 z-index: 1;
3128 color: oldrail#404040;
3129 dashes: 9,9;
3130}
3131way[railway=narrow_gauge],
3132way[railway=monorail] {
3133 width: 1;
3134 color: rail#404040;
3135 dashes: 9,9;
3136}
3137area[railway=turntable],
3138area[railway=buffer_stop] {
3139 fill-color: rail#404040;
3140}
3141node[railway=turntable] {
3142 icon-image: "transport/turntable.png";
3143 set icon_z17;
3144 text: auto;
3145}
3146node[railway=buffer_stop] {
3147 icon-image: "transport/buffer_stop.png";
3148 set icon_z17;
3149 text: auto;
3150}
3151area[railway=platform]:closed {
3152 fill-color: rail#404040;
3153}
3154way[railway=platform] {
3155 width: 2;
3156 color: rail#404040;
3157}
3158way[railway=funicular] {
3159 width: 1;
3160 color: rail#404040;
3161 dashes: 9,9;
3162}
3163node[railway=rail], node[railway=tram], node[railway=light_rail],
3164node[railway=subway], node[railway=preserved],
3165node[railway=disused], node[railway=abandoned],
3166node[railway=narrow_gauge], node[railway=monorail],
3167node[railway=platform], node[railway=funicular],
3168node[service=yard], node[service=siding], node[service=spur] {
3169 icon-image: "misc/deprecated.png";
3170 set icon_z17;
3171 text: auto;
3172}
3173
3174/****************/
3175/* aeroway tags */
3176/****************/
3177
3178area[aeroway=aerodrome] {
3179 fill-color: aeroway#660000;
3180}
3181way[aeroway=aerodrome] {
3182 width: 2;
3183 color: aeroway#660000;
3184 dashes: 9,9;
3185}
3186node[aeroway=aerodrome] {
3187 icon-image: "transport/airport.png";
3188 set icon_z17;
3189 text: auto;
3190}
3191area[aeroway=terminal] {
3192 fill-color: terminal#bb0000;
3193}
3194node[aeroway=terminal] {
3195 icon-image: "transport/airport/terminal.png";
3196 set icon_z17;
3197 text: auto;
3198}
3199area[aeroway=helipad] {
3200 fill-color: aeroway_dark#330000;
3201}
3202node[aeroway=helipad] {
3203 icon-image: "transport/airport/helipad.png";
3204 set icon_z17;
3205 text: auto;
3206}
3207area[aeroway=runway] {
3208 fill-color: aeroway_dark#330000;
3209}
3210way[aeroway=runway] {
3211 width: 3;
3212 color: aeroway_dark#330000;
3213}
3214node[aeroway=runway] {
3215 icon-image: "transport/airport/runway.png";
3216 set icon_z17;
3217 text: auto;
3218}
3219area[aeroway=taxiway] {
3220 fill-color: aeroway#660000;
3221}
3222way[aeroway=taxiway] {
3223 width: 2;
3224 color: aeroway#660000;
3225}
3226node[aeroway=taxiway] {
3227 icon-image: "transport/airport/taxiway.png";
3228 set icon_z17;
3229 text: auto;
3230}
3231area[aeroway=apron], area[aeroway=hangar] {
3232 fill-color: aeroway_light#990000;
3233}
3234node[aeroway=apron] {
3235 icon-image: "transport/airport/apron.png";
3236 set icon_z17;
3237 text: auto;
3238}
3239node[aeroway=hangar] {
3240 icon-image: "transport/airport/hangar.png";
3241 set icon_z17;
3242 text: auto;
3243}
3244node[aeroway=gate] {
3245 icon-image: "transport/airport/gate.png";
3246 set icon_z17;
3247 text: auto;
3248}
3249node[aeroway=windsock] {
3250 icon-image: "transport/airport/windsock.png";
3251 set icon_z17;
3252 text: auto;
3253}
3254
3255/******************/
3256/* aerialway tags */
3257/******************/
3258
3259way[aerialway=cable_car],
3260way[aerialway=gondola] {
3261 width: 1;
3262 color: aerialway#663300;
3263 dashes: 9,9;
3264}
3265node[aerialway=cable_car] {
3266 icon-image: "transport/aerialway/cable_car.png";
3267 set icon_z17;
3268 text: auto;
3269}
3270node[aerialway=gondola] {
3271 icon-image: "transport/aerialway/gondola.png";
3272 set icon_z17;
3273 text: auto;
3274}
3275way[aerialway=chair_lift] {
3276 width: 1;
3277 color: aerialway#663300;
3278 dashes: 6,6;
3279}
3280node[aerialway=chair_lift] {
3281 icon-image: "transport/aerialway/chair_lift.png";
3282 set icon_z17;
3283 text: auto;
3284}
3285way[aerialway=drag_lift] {
3286 width: 1;
3287 color: aerialway#663300;
3288 dashes: 3,3;
3289}
3290node[aerialway=drag_lift] {
3291 icon-image: "transport/aerialway/drag_lift.png";
3292 set icon_z17;
3293 text: auto;
3294}
3295area[aerialway=station],
3296area[aerialway=pylon] {
3297 fill-color: aerialway#663300;
3298}
3299node[aerialway=station] {
3300 icon-image: "transport/aerialway/station.png";
3301 set icon_z17;
3302 text: auto;
3303}
3304node[aerialway=pylon] {
3305 icon-image: "misc/landmark/power/tower_small.png";
3306 set icon_z17;
3307 text: auto;
3308}
3309way[aerialway=goods] {
3310 width: 1;
3311 color: aerialway#663300;
3312 dashes: 2,2;
3313}
3314node[aerialway=goods] {
3315 icon-image: "transport/aerialway/goods.png";
3316 set icon_z17;
3317 text: auto;
3318}
3319
3320/****************/
3321/* natural tags */
3322/****************/
3323
3324area[natural=spring] {
3325 fill-color: light_water#00005f;
3326}
3327node[natural=spring] {
3328 icon-image: "misc/landmark/spring.png";
3329 set icon_z17;
3330 text: auto;
3331}
3332node[natural=saddle] {
3333 icon-image: "presets/saddle.svg";
3334 set icon_z0;
3335 text: auto;
3336 set text_z0;
3337}
3338area[natural=peak] {
3339 fill-color: peak#663300;
3340}
3341node[natural=peak] {
3342 icon-image: "presets/peak.svg";
3343 set icon_z0;
3344 text: auto;
3345 set text_z0;
3346}
3347node[natural=peak][tourism=viewpoint] {
3348 icon-image: "sightseeing/peak_viewpoint.svg";
3349 set icon_z0;
3350 text: auto;
3351 set text_z0;
3352}
3353area[natural=glacier] {
3354 fill-color: glacier#ffffff;
3355}
3356node[natural=glacier] {
3357 icon-image: "misc/landmark/glacier_small.png";
3358 set icon_z0;
3359 text: auto;
3360 set text_z0;
3361}
3362area[natural=volcano] {
3363 fill-color: volcano#5f0000;
3364}
3365node[natural=volcano] {
3366 icon-image: "misc/landmark/volcano_small.png";
3367 set icon_z0;
3368 text: auto;
3369 set text_z0;
3370}
3371area[natural=cliff]:closed {
3372 fill-color: natural#002f00;
3373}
3374way[natural=cliff] {
3375 repeat-image: "misc/cliff-pattern.png";
3376 repeat-image-align: top;
3377 width: 1;
3378 color: #b2b2b2;
3379}
3380node[natural=cliff] {
3381 icon-image: "misc/cliff.png";
3382 set icon_z17;
3383 text: auto;
3384}
3385area[natural=scree] {
3386 fill-color: natural#002f00;
3387}
3388node[natural=scree] {
3389 icon-image: "misc/no_icon.png";
3390 set icon_z17;
3391 text: auto;
3392}
3393area[natural=scrub] {
3394 fill-color: scrub#007000;
3395}
3396node[natural=scrub] {
3397 icon-image: "presets/scrub.svg";
3398 set icon_z17;
3399 text: auto;
3400}
3401area[natural=fell] {
3402 fill-color: natural#002f00;
3403}
3404node[natural=fell] {
3405 icon-image: "misc/no_icon.png";
3406 set icon_z17;
3407 text: auto;
3408}
3409area[natural=heath] {
3410 fill-color: heath#ffffc0;
3411}
3412node[natural=heath] {
3413 icon-image: "misc/no_icon.png";
3414 set icon_z17;
3415 text: auto;
3416}
3417way[natural=tree_row] {
3418 width: 2;
3419 color: woodarea#008000;
3420}
3421node[natural=tree_row] {
3422 icon-image: "misc/no_icon.png";
3423 set icon_z17;
3424 text: auto;
3425}
3426area[natural=wood] {
3427 fill-color: woodarea#008000;
3428}
3429node[natural=wood] {
3430 icon-image: "misc/landmark/trees.png";
3431 set icon_z17;
3432 text: auto;
3433}
3434area[natural=grassland] {
3435 fill-color: green#b1e0c2;
3436}
3437node[natural=grassland] {
3438 icon-image: "misc/no_icon.png";
3439 set icon_z17;
3440 text: auto;
3441}
3442area[natural=wetland] {
3443 fill-color: marsh#4f4ff3;
3444}
3445node[natural=wetland] {
3446 icon-image: "misc/no_icon.png";
3447 set icon_z17;
3448 text: auto;
3449}
3450area[natural=water] {
3451 fill-color: water#0000ff;
3452}
3453node[natural=water] {
3454 icon-image: "nautical/water.png";
3455 set icon_z17;
3456 text: auto;
3457}
3458way[natural=coastline] {
3459 width: 1;
3460 color: water#0000ff;
3461}
3462node[natural=coastline] {
3463 icon-image: "misc/coastline.png";
3464 set icon_z17;
3465 text: auto;
3466}
3467area[natural=mud] {
3468 fill-color: mud#cba762;
3469}
3470node[natural=mud] {
3471 icon-image: "misc/mud.png";
3472 set icon_z17;
3473 text: auto;
3474}
3475area[natural=beach] {
3476 fill-color: beach#f8dba2;
3477}
3478node[natural=beach] {
3479 icon-image: "misc/beach.png";
3480 set icon_z17;
3481 text: auto;
3482}
3483area[natural=sand] {
3484 fill-color: sand#f8dba2;
3485}
3486node[natural=sand] {
3487 icon-image: "misc/no_icon.png";
3488 set icon_z17;
3489 text: auto;
3490}
3491area[natural=bay],
3492area[natural=land],
3493area[natural=cave_entrance] {
3494 fill-color: natural#002f00;
3495}
3496node[natural=bay] {
3497 icon-image: "misc/bay.png";
3498 set icon_z17;
3499 text: auto;
3500}
3501node[natural=land] {
3502 icon-image: "misc/no_icon.png";
3503 set icon_z17;
3504 text: auto;
3505}
3506node[natural=cave_entrance] {
3507 icon-image: "misc/landmark/cave_entrance.png";
3508 set icon_z17;
3509 text: auto;
3510}
3511node[natural=tree] {
3512 icon-image: "misc/landmark/trees.png";
3513 set icon_z17;
3514 text: auto;
3515}
3516node[natural=tree][type=conifer],
3517node[natural=tree][leaf_type=needleleaved] {
3518 icon-image: "misc/landmark/trees_conifer.png";
3519 set icon_z17;
3520 text: auto;
3521}
3522node[natural=tree][type=broad_leaved],
3523node[natural=tree][leaf_type=broadleaved] {
3524 icon-image: "misc/landmark/trees_broad_leaved.png";
3525 set icon_z17;
3526 text: auto;
3527}
3528node[natural=tree][type=palm] {
3529 icon-image: "misc/landmark/trees_palm.png";
3530 set icon_z17;
3531 text: auto;
3532}
3533
3534/*****************/
3535/* waterway tags */
3536/*****************/
3537
3538way[waterway=river] {
3539 width: 2;
3540 color: water#0000ff;
3541}
3542area[waterway=riverbank] {
3543 fill-color: riverbank#0000cf;
3544 width: 1;
3545 color: riverbank#0000cf;
3546}
3547way[waterway=canal], way[waterway=wadi] {
3548 width: 2;
3549 color: water#0000ff;
3550}
3551way[waterway=stream] {
3552 width: 1;
3553 color: stream#6600cc;
3554}
3555way[waterway=ditch], way[waterway=drain] {
3556 width: 1;
3557 color: water#0000ff;
3558}
3559area[waterway=dock] {
3560 fill-color: dock#0000cf;
3561}
3562node[waterway=dock] {
3563 icon-image: "nautical/boatyard.png";
3564 set icon_z17;
3565 text: auto;
3566}
3567node[waterway=lock_gate] {
3568 icon-image: "nautical/lock_gate.png";
3569 set icon_z17;
3570 text: auto;
3571}
3572node[waterway=turning_point] {
3573 icon-image: "nautical/turning.png";
3574 set icon_z17;
3575 text: auto;
3576}
3577area[waterway=boatyard] {
3578 fill-color: manmade#d8d8d8;
3579}
3580node[waterway=boatyard] {
3581 icon-image: "nautical/boatyard.png";
3582 set icon_z17;
3583 text: auto;
3584}
3585node[waterway=water_point] {
3586 icon-image: "accommodation/camping/water.png";
3587 set icon_z17;
3588 text: auto;
3589}
3590node[waterway=waste_disposal] {
3591 icon-image: "accommodation/camping/wastewater.png";
3592 set icon_z17;
3593 text: auto;
3594}
3595node[waterway=mooring] {
3596 icon-image: "nautical/marina.png";
3597 set icon_z17;
3598 text: auto;
3599}
3600way[waterway=weir] {
3601 width: 2;
3602 color: manmade#d8d8d8;
3603}
3604node[waterway=weir] {
3605 icon-image: "nautical/weir.png";
3606 set icon_z17;
3607 text: auto;
3608}
3609way[waterway=rapids] {
3610 width: 2;
3611 color: rapids#8080ff;
3612}
3613node[waterway=rapids] {
3614 icon-image: "misc/no_icon.png";
3615 set icon_z17;
3616 text: auto;
3617}
3618area[waterway=dam]:closed {
3619 fill-color: manmade#d8d8d8;
3620}
3621way[waterway=dam] {
3622 width: 2;
3623 color: manmade#d8d8d8;
3624}
3625node[waterway=dam] {
3626 icon-image: "nautical/dam.png";
3627 set icon_z17;
3628 text: auto;
3629}
3630/* it's not possible to have both line and area, line seems more likely */
3631way[waterway=waterfall] {
3632 width: 2;
3633 color: manmade#d8d8d8;
3634}
3635node[waterway=waterfall] {
3636 icon-image: "nautical/waterfall.png";
3637 set icon_z17;
3638 text: auto;
3639}
3640node[waterway=river], node[waterway=riverbank],
3641node[waterway=canal], node[waterway=wadi],
3642node[waterway=stream],
3643node[waterway=ditch], node[waterway=drain] {
3644 icon-image: "misc/deprecated.png";
3645 set icon_z17;
3646 text: auto;
3647}
3648
3649/**************/
3650/* route tags */
3651/**************/
3652
3653way[route=bus],
3654way[route=ferry],
3655way[route=flight],
3656way[route=ncn],
3657way[route=subsea],
3658way[route=ski],
3659way[route=tour],
3660way[route=pub_crawl] {
3661 width: 1;
3662 color: route#809bc0;
3663 dashes: 9,9;
3664}
3665node[route=bus],
3666node[route=ferry],
3667node[route=flight],
3668node[route=ncn],
3669node[route=subsea],
3670node[route=ski],
3671node[route=tour],
3672node[route=pub_crawl] {
3673 icon-image: "misc/deprecated.png";
3674 set icon_z17;
3675 text: auto;
3676}
3677
3678/**************/
3679/* sport tags */
3680/**************/
3681
3682area[sport="9pin"],
3683area[sport="10pin"],
3684area[sport=athletics],
3685area[sport=soccer],
3686area[sport=australian_football],
3687area[sport=american_football],
3688area[sport=canadian_football],
3689area[sport=gaelic_football],
3690area[sport=rugby_league],
3691area[sport=rugby_union] {
3692 fill-color: sport#bde3cb;
3693}
3694node[sport="9pin"] {
3695 icon-image: "sport/10pin.png";
3696 set icon_z17;
3697 text: auto;
3698}
3699node[sport="10pin"] {
3700 icon-image: "sport/10pin.png";
3701 set icon_z17;
3702 text: auto;
3703}
3704node[sport=athletics] {
3705 icon-image: "sport/athletics.png";
3706 set icon_z17;
3707 text: auto;
3708}
3709node[sport=soccer],
3710node[sport=australian_football],
3711node[sport=american_football],
3712node[sport=canadian_football],
3713node[sport=gaelic_football] {
3714 icon-image: "sport/soccer.png";
3715 set icon_z17;
3716 text: auto;
3717}
3718node[sport=rugby_league],
3719node[sport=rugby_union] {
3720 icon-image: "sport/football.png";
3721 set icon_z17;
3722 text: auto;
3723}
3724area[sport=baseball],
3725area[sport=basketball],
3726area[sport=boules],
3727area[sport=bowls],
3728area[sport=canoe],
3729area[sport=chess],
3730area[sport=climbing]:closed,
3731area[sport=cricket],
3732area[sport=cricket_nets],
3733area[sport=croquet] {
3734 fill-color: sport#bde3cb;
3735}
3736node[sport=baseball] {
3737 icon-image: "sport/baseball.png";
3738 set icon_z17;
3739 text: auto;
3740}
3741node[sport=basketball] {
3742 icon-image: "sport/basketball.png";
3743 set icon_z17;
3744 text: auto;
3745}
3746node[sport=boules] {
3747 icon-image: "sport/boule.png";
3748 set icon_z17;
3749 text: auto;
3750}
3751node[sport=bowls] {
3752 icon-image: "sport/boule.png";
3753 set icon_z17;
3754 text: auto;
3755}
3756node[sport=canoe] {
3757 icon-image: "sport/canoe.png";
3758 set icon_z17;
3759 text: auto;
3760}
3761node[sport=chess] {
3762 icon-image: "sport/chess.png";
3763 set icon_z17;
3764 text: auto;
3765}
3766node[sport=climbing] {
3767 icon-image: "sport/climbing.png";
3768 set icon_z17;
3769 text: auto;
3770}
3771node[sport=cricket] {
3772 icon-image: "sport/cricket.png";
3773 set icon_z17;
3774 text: auto;
3775}
3776node[sport=cricket_nets] {
3777 icon-image: "misc/no_icon.png";
3778 set icon_z17;
3779 text: auto;
3780}
3781node[sport=croquet] {
3782 icon-image: "sport/croquet.png";
3783 set icon_z17;
3784 text: auto;
3785}
3786area[sport=cycling],
3787area[sport=dog_racing],
3788area[sport=equestrian],
3789area[sport=golf],
3790area[sport=gymnastics],
3791area[sport=hockey],
3792area[sport=horse_racing],
3793area[sport=karting],
3794area[sport=motocross],
3795area[sport=motor] {
3796 fill-color: sport#bde3cb;
3797}
3798node[sport=cycling] {
3799 icon-image: "sport/cycling.png";
3800 set icon_z17;
3801 text: auto;
3802}
3803node[sport=dog_racing] {
3804 icon-image: "leisure/dog.png";
3805 set icon_z17;
3806 text: auto;
3807}
3808node[sport=equestrian] {
3809 icon-image: "sport/riding.png";
3810 set icon_z17;
3811 text: auto;
3812}
3813node[sport=golf] {
3814 icon-image: "sport/golf.png";
3815 set icon_z17;
3816 text: auto;
3817}
3818node[sport=gymnastics] {
3819 icon-image: "sport/multi.png";
3820 set icon_z17;
3821 text: auto;
3822}
3823node[sport=hockey] {
3824 icon-image: "sport/hockey.png";
3825 set icon_z17;
3826 text: auto;
3827}
3828node[sport=horse_racing] {
3829 icon-image: "sport/riding.png";
3830 set icon_z17;
3831 text: auto;
3832}
3833node[sport=karting] {
3834 icon-image: "sport/karting.png";
3835 set icon_z17;
3836 text: auto;
3837}
3838node[sport=motocross] {
3839 icon-image: "sport/motocross.png";
3840 set icon_z17;
3841 text: auto;
3842}
3843node[sport=motor] {
3844 icon-image: "sport/motor.png";
3845 set icon_z17;
3846 text: auto;
3847}
3848area[sport=multi],
3849area[sport=pelota],
3850area[sport=racquet],
3851area[sport=skating],
3852area[sport=skateboard] {
3853 fill-color: sport#bde3cb;
3854}
3855node[sport=multi] {
3856 icon-image: "sport/multi.png";
3857 set icon_z17;
3858 text: auto;
3859}
3860node[sport=pelota] {
3861 icon-image: "sport/pelota.png";
3862 set icon_z17;
3863 text: auto;
3864}
3865node[sport=racquet] {
3866 icon-image: "sport/racquetball.png";
3867 set icon_z17;
3868 text: auto;
3869}
3870node[sport=skating] {
3871 icon-image: "sport/skating.png";
3872 set icon_z17;
3873 text: auto;
3874}
3875node[sport=skateboard] {
3876 icon-image: "sport/skateboard.png";
3877 set icon_z17;
3878 text: auto;
3879}
3880area[sport=swimming] {
3881 fill-color: swimming_pool#51c4ef;
3882}
3883node[sport=swimming] {
3884 icon-image: "sport/pool.png";
3885 set icon_z17;
3886 text: auto;
3887}
3888area[sport=skiing],
3889area[sport=table_tennis],
3890area[sport=tennis],
3891area[sport=paintball] {
3892 fill-color: sport#bde3cb;
3893}
3894node[sport=skiing] {
3895 icon-image: "sport/skiing.png";
3896 set icon_z17;
3897 text: auto;
3898}
3899node[sport=table_tennis] {
3900 icon-image: "sport/table_tennis.png";
3901 set icon_z17;
3902 text: auto;
3903}
3904node[sport=tennis] {
3905 icon-image: "sport/tennis.png";
3906 set icon_z17;
3907 text: auto;
3908}
3909node[sport=paintball] {
3910 icon-image: "misc/no_icon.png";
3911 set icon_z17;
3912 text: auto;
3913}
3914area[sport=squash],
3915area[sport=shooting],
3916area[sport=volleyball],
3917area[sport=beachvolleyball],
3918area[sport=bowling],
3919area[sport=handball],
3920area[sport=rowing],
3921area[sport=sailing],
3922area[sport=diving],
3923area[sport=badminton] {
3924 fill-color: sport#bde3cb;
3925}
3926node[sport=squash] {
3927 icon-image: "misc/no_icon.png";
3928 set icon_z17;
3929 text: auto;
3930}
3931node[sport=shooting] {
3932 icon-image: "misc/no_icon.png";
3933 set icon_z17;
3934 text: auto;
3935}
3936node[sport=volleyball] {
3937 icon-image: "sport/volleyball.png";
3938 set icon_z17;
3939 text: auto;
3940}
3941node[sport=beachvolleyball] {
3942 icon-image: "sport/beachvolleyball.png";
3943 set icon_z17;
3944 text: auto;
3945}
3946node[sport=bowling] {
3947 icon-image: "sport/10pin.png";
3948 set icon_z17;
3949 text: auto;
3950}
3951node[sport=handball] {
3952 icon-image: "sport/handball.png";
3953 set icon_z17;
3954 text: auto;
3955}
3956node[sport=rowing] {
3957 icon-image: "sport/rowing.png";
3958 set icon_z17;
3959 text: auto;
3960}
3961node[sport=sailing] {
3962 icon-image: "misc/no_icon.png";
3963 set icon_z17;
3964 text: auto;
3965}
3966node[sport=diving] {
3967 icon-image: "sport/diving.png";
3968 set icon_z17;
3969 text: auto;
3970}
3971node[sport=badminton] {
3972 icon-image: "misc/no_icon.png";
3973 set icon_z17;
3974 text: auto;
3975}
3976area[sport=archery],
3977area[sport=fishing],
3978area[sport=safety_training],
3979area[sport=model_aerodrome],
3980area[sport=rc_car] {
3981 fill-color: sport#bde3cb;
3982}
3983node[sport=archery] {
3984 icon-image: "sport/archery.png";
3985 set icon_z17;
3986 text: auto;
3987}
3988node[sport=fishing] {
3989 icon-image: "sport/fishing.png";
3990 set icon_z17;
3991 text: auto;
3992}
3993node[sport=safety_training] {
3994 icon-image: "sport/safety_training.png";
3995 set icon_z17;
3996 text: auto;
3997}
3998node[sport=model_aerodrome] {
3999 icon-image: "transport/airport.png";
4000 set icon_z17;
4001 text: auto;
4002}
4003node[sport=rc_car] {
4004 icon-image: "transport/car.png";
4005 set icon_z17;
4006 text: auto;
4007}
4008
4009/*******************/
4010/* properties tags */
4011/*******************/
4012
4013node[mountain_pass?] {
4014 icon-image: "misc/landmark/mountain_pass.png";
4015 set icon_z0;
4016 text: auto;
4017 set text_z0;
4018}
4019
4020/*****************/
4021/* boundary tags */
4022/*****************/
4023
4024way[boundary=national]::core_boundary,
4025way[boundary=administrative]::core_boundary,
4026way[boundary=postal_code]::core_boundary,
4027way[boundary=political]::core_boundary,
4028way[boundary=national_park]::core_boundary {
4029 z-index: 2;
4030 modifier: false;
4031 width: 1;
4032 color: boundary#FF6600;
4033 dashes: 9,9;
4034}
4035way[admin_level=9]::core_boundary,
4036relation[admin_level=9] > way::core_boundary,
4037way[admin_level=10]::core_boundary,
4038relation[admin_level=10] > way::core_boundary {
4039 z-index: 2;
4040 modifier: false;
4041 width: 1;
4042 color: boundary#FF6600;
4043 dashes: 9,9;
4044}
4045way[admin_level=7]::core_boundary,
4046relation[admin_level=7] > way::core_boundary,
4047way[admin_level=8]::core_boundary,
4048relation[admin_level=8] > way::core_boundary {
4049 z-index: 2;
4050 modifier: false;
4051 width: 2;
4052 color: boundary#FF6600;
4053 dashes: 9,9;
4054}
4055way[admin_level=5]::core_boundary,
4056relation[admin_level=5] > way::core_boundary,
4057way[admin_level=6]::core_boundary,
4058relation[admin_level=6] > way::core_boundary {
4059 z-index: 2;
4060 modifier: false;
4061 width: 3;
4062 color: boundary#FF6600;
4063 dashes: 9,9;
4064}
4065way[admin_level=3]::core_boundary,
4066relation[admin_level=3] > way::core_boundary,
4067way[admin_level=4]::core_boundary,
4068relation[admin_level=4] > way::core_boundary {
4069 z-index: 2;
4070 modifier: false;
4071 width: 4;
4072 color: boundary#FF6600;
4073 dashes: 9,9;
4074}
4075way[admin_level=1]::core_boundary,
4076relation[admin_level=1] > way::core_boundary,
4077way[admin_level=2]::core_boundary,
4078relation[admin_level=2] > way::core_boundary {
4079 z-index: 2;
4080 modifier: false;
4081 width: 5;
4082 color: boundary#FF6600;
4083 dashes: 9,9;
4084}
4085node[boundary=national],
4086node[boundary=administrative],
4087node[boundary=postal_code],
4088node[boundary=political],
4089node[boundary=national_park] {
4090 icon-image: "misc/deprecated.png";
4091 set icon_z17;
4092 text: auto;
4093}
4094
4095/******************/
4096/* maxspeed nodes */
4097/******************/
4098node[maxspeed=none][!is_prop_set(icon-image)] {
4099 icon-image: "vehicle/restriction/maxspeed_none.svg";
4100 set icon_z17;
4101}
4102node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4103 maxspeedprop: tag(maxspeed);
4104 set maxspeedclass;
4105}
4106node[maxspeed=signals][!is_prop_set(icon-image)] {
4107 maxspeedprop: " ?";
4108 set maxspeedclass;
4109}
4110node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4111 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4112 set maxspeedclass;
4113}
4114node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4115 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4116 set maxspeedclass;
4117}
4118node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4119 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4120 set maxspeedclass;
4121}
4122node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4123 /* background (white) */
4124 symbol-shape: circle;
4125 symbol-size: 17;
4126 symbol-fill-color: white;
4127 major-z-index: 4.2;
4128}
4129node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4130node[maxspeed=signals]::core_maxnodebg {
4131 /* background (black) */
4132 symbol-fill-color: black;
4133}
4134node[prop(maxspeedclass, default)]::core_maxnodefg {
4135 /* foreground (black text and red circle) */
4136 symbol-shape: circle;
4137 symbol-size: 15;
4138 symbol-stroke-color: crimson;
4139 symbol-stroke-width: 2;
4140 text: prop(maxspeedprop, default);
4141 font-size: 8;
4142 font-weight: bold;
4143 text-color: black;
4144 text-anchor-horizontal: center;
4145 text-anchor-vertical: center;
4146 text-offset-x: 0;
4147 text-offset-y: -1;
4148 major-z-index: 4.2;
4149}
4150node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4151node[maxspeed=signals]::core_maxnodefg {
4152 /* foreground (white text) */
4153 text-color: white;
4154}
4155node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4156 symbol-shape: none;
4157}
4158node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4159 text: none;
4160 symbol-shape: none;
4161}
4162
4163/**************/
4164/* place tags */
4165/**************/
4166
4167/* lot's of "openGeoDB:..." tags can be found in germany */
4168node["openGeoDB:type"=Stadt],
4169node["openGeoDB:type"=Kreis],
4170node["openGeoDB:type"=Gemeinde],
4171node["openGeoDB:type"=Ort],
4172node["openGeoDB:type"=District],
4173node["openGeoDB:location"=locality] {
4174 icon-image: "place/settlement/town.png";
4175 set icon_z0;
4176 text: auto;
4177 set text_z0;
4178 font-size: 10;
4179 font-weight: bold;
4180 text-color:black;
4181 text-halo-color: white;
4182 text-halo-radius: 1;
4183}
4184area[place=continent],
4185area[place=country],
4186area[place=state],
4187area[place=region],
4188area[place=county],
4189area[place=city],
4190area[place=town],
4191area[place=village],
4192area[place=hamlet],
4193area[place=farm],
4194area[place=isolated_dwelling],
4195area[place=neighbourhood],
4196area[place=suburb],
4197area[place=locality],
4198area[place=island],
4199area[place=islet] {
4200 fill-color: place#8de3cb;
4201}
4202node[place=continent],
4203node[place=country],
4204node[place=state],
4205node[place=region],
4206node[place=county] {
4207 icon-image: "place/settlement/capital.png";
4208 set icon_z0;
4209 text: auto;
4210 set text_z0;
4211 font-size: 10;
4212 font-weight: bold;
4213 text-color:black;
4214 text-halo-color: white;
4215 text-halo-radius: 1;
4216}
4217node[place=city] {
4218 icon-image: "place/settlement/city.png";
4219 set icon_z0;
4220 text: auto;
4221 set text_z0;
4222 font-size: 10;
4223 font-weight: bold;
4224 text-color:black;
4225 text-halo-color: white;
4226 text-halo-radius: 1;
4227}
4228node[place=town],
4229node[place=village],
4230node[place=hamlet],
4231node[place=farm],
4232node[place=isolated_dwelling],
4233node[place=neighbourhood],
4234node[place=suburb] {
4235 icon-image: "place/settlement/town.png";
4236 set icon_z0;
4237 text: auto;
4238 set text_z0;
4239 font-size: 10;
4240 font-weight: bold;
4241 text-color:black;
4242 text-halo-color: white;
4243 text-halo-radius: 1;
4244}
4245node[place=locality] {
4246 icon-image: "place/locality.png";
4247 set icon_z0;
4248 text: auto;
4249 set text_z0;
4250 font-size: 10;
4251 font-weight: bold;
4252 text-color:black;
4253 text-halo-color: white;
4254 text-halo-radius: 1;
4255}
4256node[place=island] {
4257 icon-image: "place/island.png";
4258 set icon_z0;
4259 text: auto;
4260 set text_z0;
4261 font-size: 10;
4262 font-weight: bold;
4263 text-color:black;
4264 text-halo-color: white;
4265 text-halo-radius: 1;
4266}
4267node[place=islet] {
4268 icon-image: "place/islet.png";
4269 set icon_z0;
4270 text: auto;
4271 set text_z0;
4272 font-size: 10;
4273 font-weight: bold;
4274 text-color:black;
4275 text-halo-color: white;
4276 text-halo-radius: 1;
4277}
4278
4279/***************************/
4280/* "work in progress" tags */
4281/***************************/
4282
4283node|z16-[fixme]::core_fixme,
4284node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4285node|z16-[FIXME]::core_fixme,
4286node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4287 object-z-index: 20;
4288 icon-image: "misc/fixme-annotation.png";
4289}
4290node|z16-[note]::core_note,
4291node|z-15[note][!setting("hide_icons")]::core_note {
4292 object-z-index: 10;
4293 icon-image: "misc/note-annotation.png";
4294}
4295
4296/* special display of unreviewed tiger data (USA) */
4297way["tiger:reviewed"=no]::core_tiger {
4298 major-z-index: -10;
4299 width: 11;
4300 color: tiger_data#808000;
4301 opacity: 0.6;
4302}
4303
4304/****************************************/
4305/* zoom levels and general node display */
4306/****************************************/
4307
4308/*
4309Summary of different zoom levels:
4310 (any zoom) place=* and a few natural icons with their text is shown
4311 |z-15 untagged way nodes are hidden completely
4312 |z16- fixme=* and note=* symbols
4313 |z17- normal POI icons (without text),
4314 street name along highway=* ways
4315 |z18- text for normal POI icons is shown
4316
4317 * text size and node size is adapted according to zoom level (see style source below)
4318 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4319
4320*/
4321
4322node {
4323 text: auto;
4324}
4325node|z-16[setting("hide_icons")],
4326node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4327node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4328 symbol-size: 2;
4329 symbol-shape: square;
4330 symbol-stroke-color: node_standard#ffff00;
4331 major-z-index: 4.95; /* put node squares above line text */
4332}
4333way > node|z-15[setting("shrink_nodes")]!:tagged {
4334 symbol-shape: none;
4335}
4336node:connection {
4337 symbol-stroke-color: node_connection#ffff00;
4338}
4339node:tagged {
4340 symbol-stroke-color: none;
4341 symbol-fill-color: node_tagged#00ffff;
4342}
4343
4344way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4345
4346node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4347way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4348node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4349
4350node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4351way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4352node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4353
4354node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4355way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4356node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4357
4358node[!setting("shrink_nodes")] { symbol-size: 4; }
4359way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4360node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4361
4362node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4363relation|z-16[type=restriction][setting("hide_icons")] {
4364 icon-image: none;
4365}
4366node|z-17[setting("hide_icons")]!.text_z0 {
4367 text: none;
4368}
4369
4370node|z19,area|z19 { font-size: 9; }
4371node|z20-,area|z20- { font-size: 10; }
4372
4373/*******************/
4374/* way text labels */
4375/*******************/
4376
4377way|z17-[highway^=motorway][setting("highway_labels")],
4378way|z17-[highway^=trunk][setting("highway_labels")],
4379way|z17-[highway^=primary][setting("highway_labels")],
4380way|z17-[highway^=secondary][setting("highway_labels")],
4381way|z17-[highway^=tertiary][setting("highway_labels")],
4382way|z17-[highway=unclassified][setting("highway_labels")],
4383way|z17-[highway=residential][setting("highway_labels")],
4384way|z17-[highway=living_street][setting("highway_labels")],
4385way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4386way|z17-[highway=service][setting("highway_labels")],
4387way|z17-[highway=track][setting("highway_labels")] {
4388 text: auto;
4389 text-color: black;
4390 font-size: 9;
4391 text-position: line;
4392 text-halo-opacity: 1;
4393 text-halo-radius: 1.5;
4394}
4395way|z17-[highway^=motorway][setting("highway_labels")] {
4396 text-halo-color: motorway#809bc0;
4397}
4398way|z17-[highway^=trunk][setting("highway_labels")] {
4399 text-halo-color: trunk#7fc97f;
4400}
4401way|z17-[highway^=primary][setting("highway_labels")] {
4402 text-halo-color: primary#fb805f;
4403}
4404way|z17-[highway^=secondary][setting("highway_labels")] {
4405 text-halo-color: secondary#fdbf6f;
4406}
4407way|z17-[highway^=tertiary][setting("highway_labels")] {
4408 text-halo-color: tertiary#f7f496;
4409}
4410way|z17-[highway=unclassified][setting("highway_labels")],
4411way|z17-[highway=residential][setting("highway_labels")],
4412way|z17-[highway=living_street][setting("highway_labels")] {
4413 text-halo-color: street#c0c0c0;
4414}
4415way[highway=pedestrian][!area?][setting("highway_labels")] {
4416 text-halo-color: foot#00ff00;
4417}
4418way|z17-[highway=service][setting("highway_labels")] {
4419 text-halo-color: service#809bc0;
4420}
4421way|z17-[highway=track][setting("highway_labels")] {
4422 text-halo-color: highway_track#006600;
4423}
4424way|z18[highway][setting("highway_labels")] {
4425 font-size: 10;
4426}
4427way|z19[highway][setting("highway_labels")] {
4428 font-size: 11;
4429}
4430way|z20-[highway][setting("highway_labels")] {
4431 font-size: 12;
4432}
4433
4434/* "deprecated" tags
4435 historic=museum -> tourism=museum
4436 man_made=power_wind -> power=generator and power_source=wind
4437 man_made=power_hydro -> power=generator and power_source=hydro
4438 man_made=power_fossil -> power=generator and power_source=fossil
4439 man_made=power_nuclear -> power=generator and power_source=nuclear
4440 amenity=park_bench -> amenity=bench
4441 amenity=signpost -> information=guidepost
4442 amenity=emergency_phone -> emergency=phone
4443 highway minor - classification now more detailed
4444 highway=stile -> barrier=stile
4445 highway=gate -> barrier=gate
4446 highway=cattle_grid -> barrier=cattle_grid
4447 highway=toll_booth -> barrier=toll_booth
4448 highway=viaduct -> bridge=viaduct
4449 railway=viaduct -> bridge=viaduct
4450 waterway=aqueduct -> bridge=aqueduct
4451 natural=marsh -> natural=wetland
4452 leisure=zoo -> tourism=zoo
4453 power=station -> power=plant or power=sub_station
4454*/
Note: See TracBrowser for help on using the repository browser.