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

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

see #10804 - more cleanup in rendering of parking

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