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

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

fix #10769 - drop support of restriction=* on nodes

File size: 96.2 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12 icon: "dialogs/mappaint/josm_small.png";
13}
14
15canvas {
16 default-points: false;
17}
18
19/*************************/
20/* create style settings */
21/*************************/
22
23setting::hide_icons {
24 type: boolean;
25 label: tr("Hide icons at low zoom");
26 default: true;
27}
28
29setting::shrink_nodes {
30 type: boolean;
31 label: tr("Less obtrusive node symbols at low zoom");
32 default: true;
33}
34
35setting::highway_labels {
36 type: boolean;
37 label: tr("Display street labels (at high zoom)");
38 default: true;
39}
40
41/*********************/
42/* turn restrictions */
43/*********************/
44
45relation[restriction=no_left_turn] {
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[parking=multi-storey],
2054area[amenity=motorcycle_parking],
2055area[amenity=bicycle_parking],
2056area[parking=park_and_ride],
2057area[parking=underground],
2058area[parking=surface],
2059area[amenity=bicycle_rental],
2060area[amenity=car_rental],
2061area[amenity=car_sharing],
2062area[amenity=car_wash],
2063area[amenity=taxi],
2064area[amenity=fuel],
2065area[amenity=charging_station] {
2066 fill-color: amenity_traffic#f7efb7;
2067}
2068node[amenity=parking_space] {
2069 icon-image: "vehicle/parking.png";
2070 set icon_z17;
2071 text: auto;
2072}node[amenity=parking] {
2073 icon-image: vehicle/parking.png;
2074 set icon_z17;
2075 text: auto;
2076}
2077node[parking=multi-storey] {
2078 icon-image: "vehicle/parking/multi-storey.png";
2079 set icon_z17;
2080 text: auto;
2081}
2082node[amenity=motorcycle_parking] {
2083 icon-image: "vehicle/parking/motorbike.png";
2084 set icon_z17;
2085 text: auto;
2086}
2087node[amenity=bicycle_parking] {
2088 icon-image: "vehicle/parking/bicycle.png";
2089 set icon_z17;
2090 text: auto;
2091}
2092node[park_ride][park_ride!=no] {
2093 icon-image: "vehicle/parking/park_ride.svg";
2094 set icon_z17;
2095 text: auto;
2096}
2097node[parking=underground] {
2098 icon-image: "vehicle/parking/underground.png";
2099 set icon_z17;
2100 text: auto;
2101}
2102node[parking=surface] {
2103 icon-image: "vehicle/parking.png";
2104 set icon_z17;
2105 text: auto;
2106}
2107node[amenity=parking_space][wheelchair?] {
2108 icon-image: "vehicle/parking/handicapped.png";
2109 set icon_z17;
2110 text: auto;
2111}
2112node[amenity=bicycle_rental] {
2113 icon-image: "vehicle/rental/bicycle.png";
2114 set icon_z17;
2115 text: auto;
2116}
2117node[amenity=car_rental] {
2118 icon-image: "vehicle/rental/car.png";
2119 set icon_z17;
2120 text: auto;
2121}
2122node[amenity=car_sharing] {
2123 icon-image: "vehicle/car_sharing.png";
2124 set icon_z17;
2125 text: auto;
2126}
2127node[amenity=car_wash] {
2128 icon-image: "vehicle/car_wash.png";
2129 set icon_z17;
2130 text: auto;
2131}
2132node[amenity=taxi] {
2133 icon-image: "transport/taxi.png";
2134 set icon_z17;
2135 text: auto;
2136}
2137node[amenity=fuel] {
2138 icon-image: "vehicle/fuel.png";
2139 set icon_z17;
2140 text: auto;
2141}
2142node[amenity=charging_station] {
2143 icon-image: "vehicle/fuel/charging_station.png";
2144 set icon_z17;
2145 text: auto;
2146}
2147node[amenity=grit_bin] {
2148 icon-image: "misc/grit_bin.png";
2149 set icon_z17;
2150 text: auto;
2151}
2152area[amenity=telephone] {
2153 fill-color: amenity_light#f7efb7;
2154}
2155node[amenity=telephone] {
2156 icon-image: "service/telephone.png";
2157 set icon_z17;
2158 text: auto;
2159}
2160node[amenity=clock] {
2161 icon-image: "service/clock.png";
2162 set icon_z17;
2163 text: auto;
2164}
2165/* Rule to delete by end of 2014 if this deprecated tag has finally been replaced by emergency=phone below */
2166area[amenity=emergency_phone] {
2167 fill-color: amenity_light#f7efb7;
2168}
2169node[amenity=emergency_phone] {
2170 icon-image: "vehicle/emergency_phone.png";
2171 set icon_z17;
2172 text: auto;
2173}
2174area[emergency=phone],
2175area[emergency=aed],
2176area[emergency=defibrillator],
2177area[amenity=toilets],
2178area[amenity=shower],
2179area[amenity=recycling] {
2180 fill-color: amenity_light#f7efb7;
2181}
2182node[emergency=phone] {
2183 icon-image: "vehicle/emergency_phone.png";
2184 set icon_z17;
2185 text: auto;
2186}
2187node[emergency=aed] {
2188 icon-image: "presets/aed.svg";
2189 set icon_z17;
2190 text: auto;
2191}
2192node[emergency=defibrillator] {
2193 icon-image: "presets/aed.svg";
2194 set icon_z17;
2195 text: auto;
2196}
2197node[amenity=toilets] {
2198 icon-image: "service/toilets.png";
2199 set icon_z17;
2200 text: auto;
2201}
2202node[amenity=shower] {
2203 icon-image: "service/shower.svg";
2204 set icon_z17;
2205 text: auto;
2206}
2207node[amenity=recycling] {
2208 icon-image: "service/recycling.png";
2209 set icon_z17;
2210 text: auto;
2211}
2212node[amenity=waste_basket] {
2213 icon-image: "service/recycling/trash-bin.png";
2214 set icon_z17;
2215 text: auto;
2216}
2217node[amenity=waste_disposal] {
2218 icon-image: "service/recycling/waste_disposal.png";
2219 set icon_z17;
2220 text: auto;
2221}
2222area[amenity=public_building],
2223area[amenity=townhall],
2224area[amenity=embassy],
2225area[amenity=community_centre] {
2226 fill-color: amenity_light#f7efb7;
2227}
2228node[amenity=public_building],
2229node[amenity=townhall] {
2230 icon-image: "service.png";
2231 set icon_z17;
2232 text: auto;
2233}
2234node[amenity=embassy] {
2235 icon-image: "service/administration/embassy.png";
2236 set icon_z17;
2237 text: auto;
2238}
2239node[amenity=community_centre] {
2240 icon-image: "service/community_centre.png";
2241 set icon_z17;
2242 text: auto;
2243}
2244area[amenity=drinking_water],
2245area[amenity=water_point],
2246area[amenity=fountain] {
2247 fill-color: light_water#00005f;
2248}
2249node[amenity=drinking_water] {
2250 icon-image: "food/drinking_water.png";
2251 set icon_z17;
2252 text: auto;
2253}
2254node[amenity=water_point] {
2255 icon-image: "accommodation/camping/water.png";
2256 set icon_z17;
2257 text: auto;
2258}
2259node[amenity=fountain] {
2260 icon-image: "misc/fountain.png";
2261 set icon_z17;
2262 text: auto;
2263}
2264area[amenity=place_of_worship],
2265area[amenity=grave_yard],
2266area[amenity=crematorium],
2267area[amenity=post_office],
2268area[amenity=post_box],
2269area[amenity=studio],
2270area[amenity=school],
2271area[amenity=university],
2272area[amenity=college],
2273area[amenity=kindergarten],
2274area[amenity=driving_school] {
2275 fill-color: amenity_light#f7efb7;
2276}
2277node[amenity=place_of_worship] {
2278 icon-image: "religion.png";
2279 set icon_z17;
2280 text: auto;
2281}
2282node[amenity=place_of_worship][religion=bahai] {
2283 icon-image: "religion/bahai.png";
2284 set icon_z17;
2285 text: auto;
2286}
2287node[amenity=place_of_worship][religion=buddhist] {
2288 icon-image: "religion/buddhism.png";
2289 set icon_z17;
2290 text: auto;
2291}
2292node[amenity=place_of_worship][religion=christian] {
2293 icon-image: "religion/church.png";
2294 set icon_z17;
2295 text: auto;
2296}
2297node[amenity=place_of_worship][religion=hindu] {
2298 icon-image: "religion/hinduism.png";
2299 set icon_z17;
2300 text: auto;
2301}
2302node[amenity=place_of_worship][religion=jain] {
2303 icon-image: "religion/jainism.png";
2304 set icon_z17;
2305 text: auto;
2306}
2307node[amenity=place_of_worship][religion=jewish] {
2308 icon-image: "religion/jewish.png";
2309 set icon_z17;
2310 text: auto;
2311}
2312node[amenity=place_of_worship][religion=muslim] {
2313 icon-image: "religion/muslim.png";
2314 set icon_z17;
2315 text: auto;
2316}
2317node[amenity=place_of_worship][religion=sikh] {
2318 icon-image: "religion/sikhism.png";
2319 set icon_z17;
2320 text: auto;
2321}
2322node[amenity=place_of_worship][religion=shinto] {
2323 icon-image: "religion/shinto.png";
2324 set icon_z17;
2325 text: auto;
2326}
2327node[amenity=place_of_worship][religion=spiritualist] {
2328 icon-image: "misc/no_icon.png";
2329 set icon_z17;
2330 text: auto;
2331}
2332node[amenity=place_of_worship][religion=taoist] {
2333 icon-image: "religion/taoism.png";
2334 set icon_z17;
2335 text: auto;
2336}
2337node[amenity=place_of_worship][religion=unitarian] {
2338 icon-image: "misc/no_icon.png";
2339 set icon_z17;
2340 text: auto;
2341}
2342node[amenity=place_of_worship][religion=zoroastrian] {
2343 icon-image: "misc/no_icon.png";
2344 set icon_z17;
2345 text: auto;
2346}
2347node[amenity=grave_yard] {
2348 icon-image: "rendering/landuse/cemetery.png";
2349 set icon_z17;
2350 text: auto;
2351}
2352node[amenity=crematorium] {
2353 icon-image: "misc/no_icon.png";
2354 set icon_z17;
2355 text: auto;
2356}
2357node[amenity=post_office] {
2358 icon-image: "service/post_office.png";
2359 set icon_z17;
2360 text: auto;
2361}
2362node[amenity=post_box] {
2363 icon-image: "service/post_box.png";
2364 set icon_z17;
2365 text: auto;
2366}
2367node[amenity=studio] {
2368 icon-image: "service/studio.png";
2369 set icon_z17;
2370 text: auto;
2371}
2372node[amenity=school] {
2373 icon-image: "education/school.png";
2374 set icon_z17;
2375 text: auto;
2376}
2377node[amenity=university] {
2378 icon-image: "education/university.png";
2379 set icon_z17;
2380 text: auto;
2381}
2382node[amenity=college] {
2383 icon-image: "education/college.png";
2384 set icon_z17;
2385 text: auto;
2386}
2387node[amenity=kindergarten] {
2388 icon-image: "education/kindergarten.png";
2389 set icon_z17;
2390 text: auto;
2391}
2392node[amenity=driving_school] {
2393 icon-image: "education/driving_school.png";
2394 set icon_z17;
2395 text: auto;
2396}
2397area[amenity=pharmacy],
2398area[amenity=hospital],
2399area[amenity=clinic],
2400area[amenity=nursery],
2401area[amenity=baby_hatch],
2402area[amenity=doctors],
2403area[amenity=dentist],
2404area[amenity=veterinary] {
2405 fill-color: health#eeeeee;
2406}
2407node[amenity=pharmacy] {
2408 icon-image: "health/pharmacy.png";
2409 set icon_z17;
2410 text: auto;
2411}
2412node[amenity=hospital],
2413node[amenity=clinic] {
2414 icon-image: "health/hospital.png";
2415 set icon_z17;
2416 text: auto;
2417}
2418node[amenity=nursery] {
2419 icon-image: "misc/no_icon.png";
2420 set icon_z17;
2421 text: auto;
2422}
2423node[amenity=baby_hatch] {
2424 icon-image: "health/baby_hatch.png";
2425 set icon_z17;
2426 text: auto;
2427}
2428node[amenity=doctors] {
2429 icon-image: "health/doctor.png";
2430 set icon_z17;
2431 text: auto;
2432}
2433node[amenity=dentist] {
2434 icon-image: "health/dentist.png";
2435 set icon_z17;
2436 text: auto;
2437}
2438node[amenity=veterinary] {
2439 icon-image: "health/veterinary.png";
2440 set icon_z17;
2441 text: auto;
2442}
2443area[amenity=library],
2444area[amenity=police],
2445area[amenity=fire_station],
2446area[amenity=bus_station],
2447area[amenity=ferry_terminal],
2448area[amenity=theatre],
2449area[amenity=cinema],
2450area[amenity=arts_centre],
2451area[amenity=courthouse],
2452area[amenity=prison],
2453area[amenity=bank],
2454area[amenity=bureau_de_change],
2455area[amenity=atm],
2456area[amenity=bbq] {
2457 fill-color: amenity_light#f7efb7;
2458}
2459node[amenity=library] {
2460 icon-image: "shop/rental/library.png";
2461 set icon_z17;
2462 text: auto;
2463}
2464node[amenity=police] {
2465 icon-image: "service/police.png";
2466 set icon_z17;
2467 text: auto;
2468}
2469node[amenity=fire_station] {
2470 icon-image: "service/firebrigade.png";
2471 set icon_z17;
2472 text: auto;
2473}
2474node[amenity=bus_station] {
2475 icon-image: "transport/bus.png";
2476 set icon_z17;
2477 text: auto;
2478}
2479node[amenity=ferry_terminal] {
2480 icon-image: "nautical/ferry.png";
2481 icon-width: 16;
2482 set icon_z17;
2483 text: auto;
2484}
2485node[amenity=theatre] {
2486 icon-image: "leisure/theater.png";
2487 set icon_z17;
2488 text: auto;
2489}
2490node[amenity=cinema] {
2491 icon-image: "leisure/cinema.png";
2492 set icon_z17;
2493 text: auto;
2494}
2495node[amenity=arts_centre] {
2496 icon-image: "service/arts_centre.png";
2497 set icon_z17;
2498 text: auto;
2499}
2500node[amenity=courthouse] {
2501 icon-image: "service/administration/court_of_law.png";
2502 set icon_z17;
2503 text: auto;
2504}
2505node[amenity=prison] {
2506 icon-image: "service/administration/prison.png";
2507 set icon_z17;
2508 text: auto;
2509}
2510node[amenity=bank] {
2511 icon-image: "money/bank.png";
2512 set icon_z17;
2513 text: auto;
2514}
2515node[amenity=bureau_de_change] {
2516 icon-image: "money/exchange.png";
2517 set icon_z17;
2518 text: auto;
2519}
2520node[amenity=atm] {
2521 icon-image: "money/atm.png";
2522 set icon_z17;
2523 text: auto;
2524}
2525way[amenity=bench] {
2526 width: 2;
2527 color: amenity_light#f7efb7;
2528}
2529node[amenity=bench] {
2530 icon-image: "leisure/bench.png";
2531 set icon_z17;
2532 text: auto;
2533}
2534node[amenity=bbq] {
2535 icon-image: "leisure/bbq.png";
2536 set icon_z17;
2537 text: auto;
2538}
2539node[emergency=fire_hydrant] {
2540 icon-image: "service/fire_hydrant.png";
2541 set icon_z17;
2542 text: auto;
2543}
2544area[amenity=shelter],
2545area[amenity=hunting_stand],
2546area[amenity=marketplace],
2547area[amenity=wlan],
2548area[amenity=vending_machine] {
2549 fill-color: amenity_light#f7efb7;
2550}
2551node[amenity=shelter] {
2552 icon-image: "accommodation/shelter.png";
2553 set icon_z17;
2554 text: auto;
2555}
2556node[amenity=shelter][shelter_type=public_transport] {
2557 icon-image: "accommodation/shelter_public_transport_brown.png";
2558 set icon_z17;
2559 text: auto;
2560}
2561node[amenity=shelter][shelter_type=picnic_shelter] {
2562 icon-image: "accommodation/shelter_picnic_brown.png";
2563 set icon_z17;
2564 text: auto;
2565}
2566node[amenity=shelter][shelter_type=basic_hut] {
2567 icon-image: "accommodation/basic_hut_blue.png";
2568 set icon_z17;
2569 text: auto;
2570}
2571node[amenity=hunting_stand] {
2572 icon-image: "hunting_stand.png";
2573 set icon_z17;
2574 text: auto;
2575}
2576node[amenity=marketplace] {
2577 icon-image: "place/marketplace.png";
2578 set icon_z17;
2579 text: auto;
2580}
2581node[amenity=wlan] {
2582 icon-image: "wlan.png";
2583 set icon_z17;
2584 text: auto;
2585}
2586node[amenity=vending_machine] {
2587 icon-image: "transport/ticket-machine.png";
2588 set icon_z17;
2589}
2590node[vending=excrement_bags] {
2591 icon-image: "service/excrement_bags.png";
2592 set icon_z17;
2593 text: auto;
2594}
2595
2596/**************/
2597/* craft tags */
2598/**************/
2599
2600area[craft=painter],
2601area[craft=plumber],
2602area[craft=pottery],
2603area[craft=stonemason],
2604area[craft=tiler],
2605area[craft=window_construction] {
2606 fill-color: craft#999900;
2607}
2608node[craft=painter] {
2609 icon-image: "craft/painter.png";
2610 set icon_z17;
2611 text: auto;
2612}
2613node[craft=plumber] {
2614 icon-image: "craft/plumber.png";
2615 set icon_z17;
2616 text: auto;
2617}
2618node[craft=pottery] {
2619 icon-image: "craft/pottery.png";
2620 set icon_z17;
2621 text: auto;
2622}
2623node[craft=stonemason] {
2624 icon-image: "craft/stonemason.png";
2625 set icon_z17;
2626 text: auto;
2627}
2628node[craft=tiler] {
2629 icon-image: "craft/tiler.png";
2630 set icon_z17;
2631 text: auto;
2632}
2633node[craft=window_construction] {
2634 icon-image: "craft/window_construction.png";
2635 set icon_z17;
2636 text: auto;
2637}
2638
2639/****************/
2640/* tourism tags */
2641/****************/
2642
2643area[tourism=hotel],
2644area[tourism=motel],
2645area[tourism=guest_house],
2646area[tourism=hostel],
2647area[tourism=chalet],
2648area[tourism=alpine_hut],
2649area[tourism=camp_site],
2650area[tourism=caravan_site] {
2651 fill-color: hotel#e1a0a2;
2652}
2653node[tourism=hotel] {
2654 icon-image: "accommodation.png";
2655 set icon_z17;
2656 text: auto;
2657}
2658node[tourism=motel] {
2659 icon-image: "accommodation/motel.png";
2660 set icon_z17;
2661 text: auto;
2662}
2663node[tourism=guest_house] {
2664 icon-image: "accommodation/guest_house.png";
2665 set icon_z17;
2666 text: auto;
2667}
2668node[tourism=hostel] {
2669 icon-image: "accommodation/hostel.png";
2670 set icon_z17;
2671 text: auto;
2672}
2673node[tourism=chalet] {
2674 icon-image: "accommodation/chalet.png";
2675 set icon_z17;
2676 text: auto;
2677}
2678node[tourism=alpine_hut] {
2679 icon-image: "accommodation/alpine_hut_blue.png";
2680 set icon_z17;
2681 text: auto;
2682}
2683node[tourism=wilderness_hut] {
2684 icon-image: "accommodation/wilderness_hut_blue.png";
2685 set icon_z17;
2686 text: auto;
2687}
2688node[tourism=camp_site] {
2689 icon-image: "accommodation/camping.png";
2690 set icon_z17;
2691 text: auto;
2692}
2693node[tourism=caravan_site] {
2694 icon-image: "accommodation/camping/caravan.png";
2695 set icon_z17;
2696 text: auto;
2697}
2698area[tourism=picnic_site],
2699area[tourism=viewpoint],
2700area[tourism=theme_park],
2701area[tourism=attraction],
2702area[tourism=zoo],
2703area[tourism=artwork],
2704area[tourism=museum] {
2705 fill-color: tourism#e180a2;
2706}
2707node[tourism=picnic_site] {
2708 icon-image: "leisure/picnic.png";
2709 set icon_z17;
2710 text: auto;
2711}
2712node[tourism=viewpoint] {
2713 icon-image: "sightseeing/viewpoint.png";
2714 set icon_z17;
2715 text: auto;
2716}
2717node[tourism=theme_park] {
2718 icon-image: "leisure/theme_park.png";
2719 set icon_z17;
2720 text: auto;
2721}
2722node[tourism=attraction] {
2723 icon-image: "sightseeing.png";
2724 set icon_z17;
2725 text: auto;
2726}
2727node[tourism=zoo] {
2728 icon-image: "leisure/zoo.png";
2729 set icon_z17;
2730 text: auto;
2731}
2732way[tourism=artwork] {
2733 width: 2;
2734 color: tourism#e180a2;
2735}
2736node[tourism=artwork] {
2737 icon-image: "service/arts_centre.png";
2738 set icon_z17;
2739 text: auto;
2740}
2741node[tourism=museum] {
2742 icon-image: "sightseeing/museum.png";
2743 set icon_z17;
2744 text: auto;
2745}
2746
2747/********************/
2748/* information tags */
2749/********************/
2750
2751area[tourism=information] {
2752 fill-color: tourism#e180a2;
2753}
2754node[tourism=information] {
2755 icon-image: "misc/information.png";
2756 set icon_z17;
2757 text: auto;
2758}
2759node[information=guidepost] {
2760 icon-image: "misc/information/guidepost.png";
2761 set icon_z17;
2762 text: auto;
2763}
2764area[information=office] {
2765 fill-color: tourism#e180a2;
2766}
2767node[information=office] {
2768 icon-image: "misc/information/informationoffice.png";
2769 set icon_z17;
2770 text: auto;
2771}
2772node[information=map] {
2773 icon-image: "misc/information/map.png";
2774 set icon_z17;
2775 text: auto;
2776}
2777node[information=board] {
2778 icon-image: "misc/information/board.png";
2779 set icon_z17;
2780 text: auto;
2781}
2782
2783/*****************/
2784/* historic tags */
2785/*****************/
2786
2787area[historic=castle],
2788area[historic=monument],
2789area[historic=memorial],
2790area[historic=archaeological_site],
2791area[historic=ruins],
2792area[historic=battlefield],
2793area[historic=palaeontological_site],
2794area[historic=wayside_cross],
2795area[historic=wayside_shrine],
2796area[historic=boundary_stone] {
2797 fill-color: historic#663300;
2798}
2799node[historic=castle] {
2800 icon-image: "sightseeing/castle.png";
2801 set icon_z17;
2802 text: auto;
2803}
2804node[historic=monument] {
2805 icon-image: "sightseeing/monument.png";
2806 set icon_z17;
2807 text: auto;
2808}
2809node[historic=memorial] {
2810 icon-image: "sightseeing/memorial.png";
2811 set icon_z17;
2812 text: auto;
2813}
2814node[historic=archaeological_site] {
2815 icon-image: "sightseeing/archaeological.png";
2816 set icon_z17;
2817 text: auto;
2818}
2819node[historic=ruins] {
2820 icon-image: "sightseeing/ruins.png";
2821 set icon_z17;
2822 text: auto;
2823}
2824node[historic=battlefield] {
2825 icon-image: "sightseeing/battlefield.png";
2826 set icon_z17;
2827 text: auto;
2828}
2829node[historic=palaeontological_site] {
2830 icon-image: "historic/palaeontological_site.png";
2831 set icon_z17;
2832 text: auto;
2833}
2834node[historic=wayside_cross] {
2835 icon-image: "religion/wayside_cross.png";
2836 set icon_z17;
2837 text: auto;
2838}
2839node[historic=wayside_shrine] {
2840 icon-image: "religion/wayside_shrine.png";
2841 set icon_z17;
2842 text: auto;
2843}
2844node[historic=boundary_stone] {
2845 icon-image: "historic/boundary_stone.png";
2846 set icon_z17;
2847 text: auto;
2848}
2849
2850/****************/
2851/* landuse tags */
2852/****************/
2853
2854area[landuse],
2855area[leisure],
2856area[amenity],
2857area[place],
2858area[natural],
2859area[man_made] {
2860 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
2861}
2862area[landuse=farm],
2863area[landuse=farmland],
2864area[landuse=meadow],
2865area[landuse=vineyard],
2866area[landuse=orchard] {
2867 fill-color: green#b1e0c2;
2868}
2869area[landuse=quarry] {
2870 fill-color: quarry#888888;
2871}
2872area[landuse=landfill] {
2873 fill-color: landfill#663300;
2874}
2875area[landuse=basin],
2876area[landuse=reservoir] {
2877 fill-color: basin#0000bf;
2878}
2879area[landuse=forest] {
2880 fill-color: forest#b1efc8;
2881}
2882area[landuse=allotments],
2883area[landuse=greenhouse_horticulture],
2884area[landuse=plant_nursery],
2885area[landuse=grass] {
2886 fill-color: green#b1e0c2;
2887}
2888area[landuse=residential] {
2889 fill-color: residential#f0f0f0;
2890}
2891area[landuse=garages] {
2892 fill-color: garages#d6c8aa;
2893}
2894area[landuse=farmyard] {
2895 fill-color: farmyard#f0f0f0;
2896}
2897area[landuse=retail],
2898area[landuse=commercial] {
2899 fill-color: retail#ffc4ee;
2900}
2901area[landuse=industrial] {
2902 fill-color: industrial#ecd8ff;
2903}
2904area[landuse=brownfield] {
2905 fill-color: brownfield#ecba32;
2906}
2907area[landuse=greenfield] {
2908 fill-color: greenfield#b1ec5c;
2909}
2910area[landuse=railway] {
2911 fill-color: railland#888888;
2912}
2913area[landuse=construction] {
2914 fill-color: construction#ffff00;
2915}
2916way[landuse=construction] {
2917 width: 1;
2918 color: construction#ffff00;
2919 dashes: 9,9;
2920}
2921area[landuse=military] {
2922 fill-color: military#b62c2c;
2923}
2924area[landuse=religious] {
2925 fill-color: religious#ffd454;
2926}
2927area[landuse=cemetery] {
2928 fill-color: cemetery#b1efc8;
2929}
2930area[landuse=village_green] {
2931 fill-color: green#b1e0c2;
2932}
2933area[landuse=recreation_ground] {
2934 fill-color: green#b1e0c2;
2935}
2936node[landuse] {
2937 icon-image: "misc/deprecated.png";
2938 set icon_z17;
2939 text: auto;
2940}
2941
2942/*****************/
2943/* military tags */
2944/*****************/
2945
2946area[military=airfield],
2947area[military=bunker],
2948area[military=barracks],
2949area[military=danger_area],
2950area[military=range] {
2951 fill-color: military#b62c2c;
2952}
2953node[military=airfield] {
2954 icon-image: "transport/airport/airfield.png";
2955 set icon_z17;
2956 text: auto;
2957}
2958node[military=bunker] {
2959 icon-image: "misc/landmark/bunker.png";
2960 set icon_z17;
2961 text: auto;
2962}
2963node[military=barracks] {
2964 icon-image: "misc/no_icon.png";
2965 set icon_z17;
2966 text: auto;
2967}
2968node[military=danger_area] {
2969 icon-image: "misc/danger.png";
2970 set icon_z17;
2971 text: auto;
2972}
2973node[military=range] {
2974 icon-image: "misc/landmark/range.png";
2975 set icon_z17;
2976 text: auto;
2977}
2978
2979/*************************/
2980/* public_transport tags */
2981/*************************/
2982
2983node[public_transport=stop_position] {
2984 icon-image: "transport/railway_small.png";
2985 set icon_z17;
2986 text: auto;
2987}
2988node[highway=bus_stop] {
2989 icon-image: "transport/bus_small.png";
2990 set icon_z17;
2991 text: auto;
2992}
2993node[public_transport=stop_position][bus=yes] {
2994 icon-image: "transport/bus_small.png";
2995 set icon_z17;
2996 text: auto;
2997}
2998node[public_transport=stop_position][aerial=yes] {
2999 icon-image: "transport/aerialway.png";
3000 set icon_z17;
3001 text: auto;
3002}
3003node[public_transport=stop_position][ferry=yes] {
3004 icon-image: "transport/ferry.png";
3005 set icon_z17;
3006 text: auto;
3007}
3008node[public_transport=stop_position][tram=yes] {
3009 icon-image: "transport/tram.png";
3010 set icon_z17;
3011 text: auto;
3012}
3013node[public_transport=stop_position][train=yes] {
3014 icon-image: "transport/railway_small.png";
3015 set icon_z17;
3016 text: auto;
3017}
3018area[public_transport=platform]:closed {
3019 fill-color: service#809bc0;
3020}
3021way[public_transport=platform]!:closed {
3022 width: 3;
3023 color: service#809bc0;
3024 dashes: 12,3;
3025}
3026node[public_transport=platform] {
3027 icon-image: "transport/bus_small.png";
3028 set icon_z17;
3029 text: auto;
3030}
3031node[public_transport=platform][bus=yes] {
3032 icon-image: "transport/bus_small.png";
3033 set icon_z17;
3034 text: auto;
3035}
3036node[public_transport=platform][aerial=yes] {
3037 icon-image: "transport/aerialway/station.png";
3038 set icon_z17;
3039 text: auto;
3040}
3041node[public_transport=platform][ferry=yes] {
3042 icon-image: "transport/ferry.png";
3043 set icon_z17;
3044 text: auto;
3045}
3046node[public_transport=platform][tram=yes],
3047node[public_transport=platform][train=yes] {
3048 icon-image: "transport/railway_station.png";
3049 set icon_z17;
3050 text: auto;
3051}
3052
3053/****************/
3054/* railway tags */
3055/****************/
3056
3057area[railway=station], area[railway=tram_station],
3058area[railway=subway_entrance],
3059area[railway=crossing], area[railway=level_crossing] {
3060 fill-color: railwaypoint#f7efb7;
3061}
3062node[railway=station], node[railway=tram_station] {
3063 icon-image: "transport/railway_station.png";
3064 set icon_z17;
3065 text: auto;
3066}
3067node[railway=halt] {
3068 icon-image: "transport/railway_small.png";
3069 set icon_z17;
3070 text: auto;
3071}
3072node[railway=tram_stop] {
3073 icon-image: "transport/tram.png";
3074 set icon_z17;
3075 text: auto;
3076}
3077node[railway=subway_entrance] {
3078 icon-image: "transport/underground.png";
3079 set icon_z17;
3080 text: auto;
3081}
3082node[railway=crossing] {
3083 icon-image: "vehicle/crossing_small.png";
3084 set icon_z17;
3085 text: auto;
3086}
3087node[railway=level_crossing] {
3088 icon-image: "vehicle/crossing.png";
3089 set icon_z17;
3090 text: auto;
3091}
3092way[railway=rail] {
3093 width: 2;
3094 color: rail#404040;
3095 dashes: 9,9;
3096 dashes-background-color: raildashed#ffffff;
3097}
3098way[railway=rail][service=siding] {
3099 width: 1;
3100}
3101way[railway=rail][service=yard],
3102way[railway=rail][service=spur] {
3103 width: 1;
3104 color: railyard#552200
3105}
3106/* draw tram on top of other way (highway=*) or
3107 as a standalone style */
3108way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3109 object-z-index: 1;
3110 modifier: false; /* don't draw default way if there is no line on default layer */
3111 width: 1;
3112 color: railover#202020;
3113 dashes: 9,9;
3114 casing-width: 1;
3115 casing-color: otherrail#808080;
3116 casing-linecap: round;
3117 casing-dashes: 9,9;
3118}
3119way[railway=light_rail] {
3120 width: 2;
3121 color: otherrail#808080;
3122 dashes: 9,9;
3123}
3124way[railway=subway] {
3125 width: 1;
3126 color: subway#606060;
3127 dashes: 9,9;
3128}
3129way[railway=preserved] {
3130 width: 1;
3131 color: oldrail#404040;
3132 dashes: 9,9;
3133}
3134/* disused often appears together with highway=xy */
3135/* -> draw on separate layer with higher z-index, but use */
3136/* modifier: false; to suppress default line when used alone. */
3137/* use default layer when used without highway=* to display bridge correctly */
3138way[railway=disused][highway]::core_railway,
3139way[railway=disused][!highway],
3140way[railway=abandoned][highway]::core_railway,
3141way[railway=abandoned][!highway] {
3142 width: 1;
3143 modifier: false;
3144 z-index: 1;
3145 color: oldrail#404040;
3146 dashes: 9,9;
3147}
3148way[railway=narrow_gauge],
3149way[railway=monorail] {
3150 width: 1;
3151 color: rail#404040;
3152 dashes: 9,9;
3153}
3154area[railway=turntable],
3155area[railway=buffer_stop] {
3156 fill-color: rail#404040;
3157}
3158node[railway=turntable] {
3159 icon-image: "transport/turntable.png";
3160 set icon_z17;
3161 text: auto;
3162}
3163node[railway=buffer_stop] {
3164 icon-image: "transport/buffer_stop.png";
3165 set icon_z17;
3166 text: auto;
3167}
3168area[railway=platform]:closed {
3169 fill-color: rail#404040;
3170}
3171way[railway=platform] {
3172 width: 2;
3173 color: rail#404040;
3174}
3175way[railway=funicular] {
3176 width: 1;
3177 color: rail#404040;
3178 dashes: 9,9;
3179}
3180node[railway=rail], node[railway=tram], node[railway=light_rail],
3181node[railway=subway], node[railway=preserved],
3182node[railway=disused], node[railway=abandoned],
3183node[railway=narrow_gauge], node[railway=monorail],
3184node[railway=platform], node[railway=funicular],
3185node[service=yard], node[service=siding], node[service=spur] {
3186 icon-image: "misc/deprecated.png";
3187 set icon_z17;
3188 text: auto;
3189}
3190way[railway=construction][!highway] {
3191 width: 1;
3192 color: construction#ffff00;
3193 dashes: 9,9;
3194}
3195way[railway=construction][construction=rail] {
3196 width: 2;
3197 color: rail#404040;
3198 dashes: 9,9;
3199 dashes-background-color: construction#ffff00;
3200}
3201way[railway=construction][construction=light_rail] {
3202 width: 2;
3203}
3204way[railway=construction][construction=tram][highway]::core_railway,
3205way[railway=construction][construction=tram][!highway] {
3206 z-index: 1;
3207 width: 1;
3208 color: railover#202020;
3209 dashes: 9,9;
3210 casing-width: 1;
3211 casing-color: construction#ffff00;
3212 casing-linecap: round;
3213 casing-dashes: 9,9;
3214}
3215
3216/****************/
3217/* aeroway tags */
3218/****************/
3219
3220area[aeroway=aerodrome]:closed {
3221 fill-color: aeroway#660000;
3222}
3223way[aeroway=aerodrome] {
3224 width: 2;
3225 color: aeroway#660000;
3226 dashes: 9,9;
3227}
3228node[aeroway=aerodrome] {
3229 icon-image: "transport/airport.png";
3230 set icon_z17;
3231 text: auto;
3232}
3233area[aeroway=terminal] {
3234 fill-color: terminal#bb0000;
3235}
3236node[aeroway=terminal] {
3237 icon-image: "transport/airport/terminal.png";
3238 set icon_z17;
3239 text: auto;
3240}
3241area[aeroway=helipad] {
3242 fill-color: aeroway_dark#330000;
3243}
3244node[aeroway=helipad] {
3245 icon-image: "transport/airport/helipad.png";
3246 set icon_z17;
3247 text: auto;
3248}
3249area[aeroway=runway]:closed {
3250 fill-color: aeroway_dark#330000;
3251}
3252way[aeroway=runway] {
3253 width: 3;
3254 color: aeroway_dark#330000;
3255}
3256node[aeroway=runway] {
3257 icon-image: "transport/airport/runway.png";
3258 set icon_z17;
3259 text: auto;
3260}
3261area[aeroway=taxiway]:closed {
3262 fill-color: aeroway#660000;
3263}
3264way[aeroway=taxiway] {
3265 width: 2;
3266 color: aeroway#660000;
3267}
3268node[aeroway=taxiway] {
3269 icon-image: "transport/airport/taxiway.png";
3270 set icon_z17;
3271 text: auto;
3272}
3273area[aeroway=apron], area[aeroway=hangar] {
3274 fill-color: aeroway_light#990000;
3275}
3276node[aeroway=apron] {
3277 icon-image: "transport/airport/apron.png";
3278 set icon_z17;
3279 text: auto;
3280}
3281node[aeroway=hangar] {
3282 icon-image: "transport/airport/hangar.png";
3283 set icon_z17;
3284 text: auto;
3285}
3286node[aeroway=gate] {
3287 icon-image: "transport/airport/gate.png";
3288 set icon_z17;
3289 text: auto;
3290}
3291node[aeroway=windsock] {
3292 icon-image: "transport/airport/windsock.png";
3293 set icon_z17;
3294 text: auto;
3295}
3296
3297/******************/
3298/* aerialway tags */
3299/******************/
3300
3301way[aerialway=cable_car],
3302way[aerialway=gondola] {
3303 width: 1;
3304 color: aerialway#663300;
3305 dashes: 9,9;
3306}
3307node[aerialway=cable_car] {
3308 icon-image: "transport/aerialway/cable_car.png";
3309 set icon_z17;
3310 text: auto;
3311}
3312node[aerialway=gondola] {
3313 icon-image: "transport/aerialway/gondola.png";
3314 set icon_z17;
3315 text: auto;
3316}
3317way[aerialway=chair_lift] {
3318 width: 1;
3319 color: aerialway#663300;
3320 dashes: 6,6;
3321}
3322node[aerialway=chair_lift] {
3323 icon-image: "transport/aerialway/chair_lift.png";
3324 set icon_z17;
3325 text: auto;
3326}
3327way[aerialway=drag_lift] {
3328 width: 1;
3329 color: aerialway#663300;
3330 dashes: 3,3;
3331}
3332node[aerialway=drag_lift] {
3333 icon-image: "transport/aerialway/drag_lift.png";
3334 set icon_z17;
3335 text: auto;
3336}
3337area[aerialway=station],
3338area[aerialway=pylon] {
3339 fill-color: aerialway#663300;
3340}
3341node[aerialway=station] {
3342 icon-image: "transport/aerialway/station.png";
3343 set icon_z17;
3344 text: auto;
3345}
3346node[aerialway=pylon] {
3347 icon-image: "misc/landmark/power/tower_small.png";
3348 set icon_z17;
3349 text: auto;
3350}
3351way[aerialway=goods] {
3352 width: 1;
3353 color: aerialway#663300;
3354 dashes: 2,2;
3355}
3356node[aerialway=goods] {
3357 icon-image: "transport/aerialway/goods.png";
3358 set icon_z17;
3359 text: auto;
3360}
3361
3362/**************/
3363/* sport tags */
3364/**************/
3365
3366area[sport="9pin"],
3367area[sport="10pin"],
3368area[sport=athletics],
3369area[sport=soccer],
3370area[sport=australian_football],
3371area[sport=american_football],
3372area[sport=canadian_football],
3373area[sport=gaelic_games],
3374area[sport=rugby_league],
3375area[sport=rugby_union] {
3376 fill-color: sport#bde3cb;
3377}
3378node[sport="9pin"] {
3379 icon-image: "sport/10pin.png";
3380 set icon_z17;
3381 text: auto;
3382}
3383node[sport="10pin"] {
3384 icon-image: "sport/10pin.png";
3385 set icon_z17;
3386 text: auto;
3387}
3388node[sport=athletics] {
3389 icon-image: "sport/athletics.png";
3390 set icon_z17;
3391 text: auto;
3392}
3393node[sport=soccer],
3394node[sport=gaelic_games] {
3395 icon-image: "sport/soccer.png";
3396 set icon_z17;
3397 text: auto;
3398}
3399node[sport=australian_football],
3400node[sport=american_football],
3401node[sport=canadian_football],
3402node[sport=rugby_league],
3403node[sport=rugby_union] {
3404 icon-image: "sport/football.png";
3405 set icon_z17;
3406 text: auto;
3407}
3408area[sport=baseball],
3409area[sport=basketball],
3410area[sport=boules],
3411area[sport=bowls],
3412area[sport=canoe],
3413area[sport=chess],
3414area[sport=climbing]:closed,
3415area[sport=cricket],
3416area[sport=cricket_nets],
3417area[sport=croquet] {
3418 fill-color: sport#bde3cb;
3419}
3420node[sport=baseball] {
3421 icon-image: "sport/baseball.png";
3422 set icon_z17;
3423 text: auto;
3424}
3425node[sport=basketball] {
3426 icon-image: "sport/basketball.png";
3427 set icon_z17;
3428 text: auto;
3429}
3430node[sport=boules] {
3431 icon-image: "sport/boule.png";
3432 set icon_z17;
3433 text: auto;
3434}
3435node[sport=bowls] {
3436 icon-image: "sport/boule.png";
3437 set icon_z17;
3438 text: auto;
3439}
3440node[sport=canoe] {
3441 icon-image: "sport/canoe.svg";
3442 set icon_z17;
3443 text: auto;
3444}
3445node[sport=chess] {
3446 icon-image: "sport/chess.png";
3447 set icon_z17;
3448 text: auto;
3449}
3450node[sport=climbing] {
3451 icon-image: "sport/climbing.png";
3452 set icon_z17;
3453 text: auto;
3454}
3455node[sport=cricket] {
3456 icon-image: "sport/cricket.png";
3457 set icon_z17;
3458 text: auto;
3459}
3460node[sport=cricket_nets] {
3461 icon-image: "sport/cricket.png";
3462 set icon_z17;
3463 text: auto;
3464}
3465node[sport=croquet] {
3466 icon-image: "sport/croquet.png";
3467 set icon_z17;
3468 text: auto;
3469}
3470area[sport=cycling],
3471area[sport=dog_racing],
3472area[sport=equestrian],
3473area[sport=golf],
3474area[sport=gymnastics],
3475area[sport=hockey],
3476area[sport=horse_racing],
3477area[sport=karting],
3478area[sport=motocross],
3479area[sport=motor] {
3480 fill-color: sport#bde3cb;
3481}
3482node[sport=cycling] {
3483 icon-image: "sport/cycling.png";
3484 set icon_z17;
3485 text: auto;
3486}
3487node[sport=dog_racing] {
3488 icon-image: "leisure/dog.png";
3489 set icon_z17;
3490 text: auto;
3491}
3492node[sport=equestrian] {
3493 icon-image: "presets/equestrian.png";
3494 icon-width: 16;
3495 set icon_z17;
3496 text: auto;
3497}
3498node[sport=golf] {
3499 icon-image: "sport/golf.svg";
3500 set icon_z17;
3501 text: auto;
3502}
3503node[sport=gymnastics] {
3504 icon-image: "presets/gymnastics.png";
3505 icon-width: 16;
3506 set icon_z17;
3507 text: auto;
3508}
3509node[sport=hockey] {
3510 icon-image: "sport/hockey.png";
3511 set icon_z17;
3512 text: auto;
3513}
3514node[sport=horse_racing] {
3515 icon-image: "sport/riding.png";
3516 set icon_z17;
3517 text: auto;
3518}
3519node[sport=karting] {
3520 icon-image: "sport/karting.png";
3521 set icon_z17;
3522 text: auto;
3523}
3524node[sport=motocross] {
3525 icon-image: "sport/motocross.png";
3526 set icon_z17;
3527 text: auto;
3528}
3529node[sport=motor] {
3530 icon-image: "sport/motor.png";
3531 set icon_z17;
3532 text: auto;
3533}
3534area[sport=multi],
3535area[sport=pelota],
3536area[sport=racquet],
3537area[sport=skating],
3538area[sport=skateboard] {
3539 fill-color: sport#bde3cb;
3540}
3541node[sport=multi] {
3542 icon-image: "sport/multi.png";
3543 set icon_z17;
3544 text: auto;
3545}
3546node[sport=pelota] {
3547 icon-image: "sport/pelota.png";
3548 set icon_z17;
3549 text: auto;
3550}
3551node[sport=racquet] {
3552 icon-image: "sport/racquetball.png";
3553 set icon_z17;
3554 text: auto;
3555}
3556node[sport=skating] {
3557 icon-image: "sport/skating.png";
3558 set icon_z17;
3559 text: auto;
3560}
3561node[sport=skateboard] {
3562 icon-image: "sport/skateboard.png";
3563 set icon_z17;
3564 text: auto;
3565}
3566area[sport=swimming] {
3567 fill-color: swimming_pool#51c4ef;
3568}
3569node[sport=swimming] {
3570 icon-image: "sport/pool.png";
3571 set icon_z17;
3572 text: auto;
3573}
3574area[sport=skiing],
3575area[sport=table_tennis],
3576area[sport=tennis],
3577area[sport=paintball] {
3578 fill-color: sport#bde3cb;
3579}
3580node[sport=skiing] {
3581 icon-image: "sport/skiing.png";
3582 set icon_z17;
3583 text: auto;
3584}
3585node[sport=table_tennis] {
3586 icon-image: "sport/table_tennis.png";
3587 set icon_z17;
3588 text: auto;
3589}
3590node[sport=tennis] {
3591 icon-image: "sport/tennis.png";
3592 set icon_z17;
3593 text: auto;
3594}
3595node[sport=paintball] {
3596 icon-image: "misc/no_icon.png";
3597 set icon_z17;
3598 text: auto;
3599}
3600area[sport=squash],
3601area[sport=shooting],
3602area[sport=volleyball],
3603area[sport=beachvolleyball],
3604area[sport=bowling],
3605area[sport=handball],
3606area[sport=rowing],
3607area[sport=sailing],
3608area[sport=scuba_diving],
3609area[sport=badminton] {
3610 fill-color: sport#bde3cb;
3611}
3612node[sport=squash] {
3613 icon-image: "misc/no_icon.png";
3614 set icon_z17;
3615 text: auto;
3616}
3617node[sport=shooting] {
3618 icon-image: "presets/range.png";
3619 icon-width: 16;
3620 set icon_z17;
3621 text: auto;
3622}
3623node[sport=volleyball] {
3624 icon-image: "sport/volleyball.png";
3625 set icon_z17;
3626 text: auto;
3627}
3628node[sport=beachvolleyball] {
3629 icon-image: "sport/beachvolleyball.png";
3630 set icon_z17;
3631 text: auto;
3632}
3633node[sport=bowling] {
3634 icon-image: "sport/10pin.png";
3635 set icon_z17;
3636 text: auto;
3637}
3638node[sport=handball] {
3639 icon-image: "sport/handball.png";
3640 set icon_z17;
3641 text: auto;
3642}
3643node[sport=rowing] {
3644 icon-image: "sport/rowing.png";
3645 set icon_z17;
3646 text: auto;
3647}
3648node[sport=sailing] {
3649 icon-image: "misc/no_icon.png";
3650 set icon_z17;
3651 text: auto;
3652}
3653node[sport=scuba_diving] {
3654 icon-image: "sport/scuba_diving.svg";
3655 set icon_z17;
3656 text: auto;
3657}
3658node[sport=badminton] {
3659 icon-image: "misc/no_icon.png";
3660 set icon_z17;
3661 text: auto;
3662}
3663area[sport=archery],
3664area[sport=fishing],
3665area[sport=safety_training],
3666area[sport=model_aerodrome],
3667area[sport=rc_car] {
3668 fill-color: sport#bde3cb;
3669}
3670node[sport=archery] {
3671 icon-image: "sport/archery.png";
3672 set icon_z17;
3673 text: auto;
3674}
3675node[sport=fishing] {
3676 icon-image: "sport/fishing.png";
3677 set icon_z17;
3678 text: auto;
3679}
3680node[sport=safety_training] {
3681 icon-image: "sport/safety_training.png";
3682 set icon_z17;
3683 text: auto;
3684}
3685node[sport=model_aerodrome] {
3686 icon-image: "transport/airport.png";
3687 set icon_z17;
3688 text: auto;
3689}
3690node[sport=rc_car] {
3691 icon-image: "transport/car.png";
3692 set icon_z17;
3693 text: auto;
3694}
3695
3696/****************/
3697/* natural tags */
3698/****************/
3699
3700area[natural=spring] {
3701 fill-color: light_water#00005f;
3702}
3703node[natural=spring] {
3704 icon-image: "misc/landmark/spring.png";
3705 set icon_z17;
3706 text: auto;
3707}
3708node[natural=saddle] {
3709 icon-image: "presets/saddle.svg";
3710 set icon_z0;
3711 text: auto;
3712 set text_z0;
3713}
3714area[natural=peak] {
3715 fill-color: peak#663300;
3716}
3717node[natural=peak] {
3718 icon-image: "presets/peak.svg";
3719 set icon_z0;
3720 text: auto;
3721 set text_z0;
3722}
3723node[natural=peak][tourism=viewpoint] {
3724 icon-image: "sightseeing/peak_viewpoint.svg";
3725 set icon_z0;
3726 text: auto;
3727 set text_z0;
3728}
3729area[natural=glacier] {
3730 fill-color: glacier#ffffff;
3731}
3732node[natural=glacier] {
3733 icon-image: "misc/landmark/glacier_small.png";
3734 set icon_z0;
3735 text: auto;
3736 set text_z0;
3737}
3738area[natural=volcano] {
3739 fill-color: volcano#5f0000;
3740}
3741node[natural=volcano] {
3742 icon-image: "misc/landmark/volcano_small.png";
3743 set icon_z0;
3744 text: auto;
3745 set text_z0;
3746}
3747area[natural=cliff]:closed {
3748 fill-color: natural#002f00;
3749}
3750way[natural=cliff] {
3751 repeat-image: "misc/cliff-pattern.png";
3752 repeat-image-align: top;
3753 width: 1;
3754 color: #b2b2b2;
3755}
3756node[natural=cliff] {
3757 icon-image: "misc/cliff.png";
3758 set icon_z17;
3759 text: auto;
3760}
3761way[natural=ridge] {
3762 width: 1;
3763 color: natural#002f00;
3764}
3765area[natural=scree] {
3766 fill-color: natural#002f00;
3767}
3768area[natural=scrub] {
3769 fill-color: scrub#007000;
3770}
3771area[natural=fell] {
3772 fill-color: natural#002f00;
3773}
3774area[natural=heath] {
3775 fill-color: heath#ffffc0;
3776}
3777way[natural=tree_row] {
3778 width: 2;
3779 color: woodarea#008000;
3780}
3781area[natural=wood] {
3782 fill-color: woodarea#008000;
3783}
3784area[natural=grassland] {
3785 fill-color: green#b1e0c2;
3786}
3787area[natural=wetland] {
3788 fill-color: marsh#4f4ff3;
3789}
3790area[natural=water] {
3791 fill-color: water#0000ff;
3792}
3793way[natural=coastline] {
3794 width: 1;
3795 color: water#0000ff;
3796}
3797area[natural=mud] {
3798 fill-color: mud#cba762;
3799}
3800area[natural=beach] {
3801 fill-color: beach#f8dba2;
3802}
3803area[natural=sand] {
3804 fill-color: sand#f8dba2;
3805}
3806area[natural=bare_rock] {
3807 fill-color: bare_rock#f8f8c7;
3808}
3809area[natural=stone] {
3810 fill-color: stone#f8f8c7;
3811}
3812node[natural=stone] {
3813 icon-image: "misc/no_icon.png";
3814 set icon_z17;
3815 text: auto;
3816}
3817area[natural=bay],
3818area[natural=cave_entrance] {
3819 fill-color: natural#002f00;
3820}
3821node[natural=bay] {
3822 icon-image: "misc/bay.png";
3823 set icon_z17;
3824 text: auto;
3825}
3826node[natural=cave_entrance] {
3827 icon-image: "misc/landmark/cave_entrance.png";
3828 set icon_z17;
3829 text: auto;
3830}
3831node[natural=tree] {
3832 icon-image: "misc/landmark/trees.png";
3833 set icon_z17;
3834 text: auto;
3835}
3836node[natural=tree][type=conifer],
3837node[natural=tree][leaf_type=needleleaved] {
3838 icon-image: "misc/landmark/trees_conifer.png";
3839 set icon_z17;
3840 text: auto;
3841}
3842node[natural=tree][type=broad_leaved],
3843node[natural=tree][leaf_type=broadleaved] {
3844 icon-image: "misc/landmark/trees_broad_leaved.png";
3845 set icon_z17;
3846 text: auto;
3847}
3848node[natural=tree][type=palm] {
3849 icon-image: "misc/landmark/trees_palm.png";
3850 set icon_z17;
3851 text: auto;
3852}
3853node[natural=scree],
3854node[natural=scrub],
3855node[natural=fell],
3856node[natural=heath],
3857node[natural=tree_row],
3858node[natural=wood],
3859node[natural=grassland],
3860node[natural=wetland],
3861node[natural=water],
3862node[natural=coastline],
3863node[natural=mud],
3864node[natural=beach],
3865node[natural=sand],
3866node[natural=land],
3867node[natural=bare_rock],
3868node[natural=ridge] {
3869 icon-image: "misc/deprecated.png";
3870 set icon_z17;
3871 text: auto;
3872}
3873/*****************/
3874/* waterway tags */
3875/*****************/
3876
3877way[waterway=river] {
3878 width: 2;
3879 color: water#0000ff;
3880}
3881area[waterway=riverbank] {
3882 fill-color: riverbank#0000cf;
3883 width: 1;
3884 color: riverbank#0000cf;
3885}
3886way[waterway=canal], way[waterway=wadi] {
3887 width: 2;
3888 color: water#0000ff;
3889}
3890way[waterway=stream] {
3891 width: 1;
3892 color: stream#6600cc;
3893}
3894way[waterway=ditch], way[waterway=drain] {
3895 width: 1;
3896 color: water#0000ff;
3897}
3898area[waterway=dock] {
3899 fill-color: dock#0000cf;
3900}
3901node[waterway=dock] {
3902 icon-image: "nautical/boatyard.png";
3903 set icon_z17;
3904 text: auto;
3905}
3906node[waterway=lock_gate] {
3907 icon-image: "nautical/lock_gate.png";
3908 set icon_z17;
3909 text: auto;
3910}
3911node[waterway=turning_point] {
3912 icon-image: "nautical/turning.png";
3913 set icon_z17;
3914 text: auto;
3915}
3916area[waterway=boatyard] {
3917 fill-color: manmade#d8d8d8;
3918}
3919node[waterway=boatyard] {
3920 icon-image: "nautical/boatyard.png";
3921 set icon_z17;
3922 text: auto;
3923}
3924node[waterway=water_point],
3925node[waterway=waste_disposal],
3926node[waterway=mooring] {
3927 icon-image: "misc/deprecated.png";
3928 set icon_z17;
3929 text: auto;
3930}
3931node[mooring] {
3932 icon-image: "nautical/marina.png";
3933 set icon_z17;
3934 text: auto;
3935}
3936way[waterway=weir] {
3937 width: 2;
3938 color: manmade#d8d8d8;
3939}
3940node[waterway=weir] {
3941 icon-image: "nautical/weir.png";
3942 set icon_z17;
3943 text: auto;
3944}
3945way[waterway=rapids] {
3946 width: 2;
3947 color: rapids#8080ff;
3948}
3949node[waterway=rapids] {
3950 icon-image: "misc/no_icon.png";
3951 set icon_z17;
3952 text: auto;
3953}
3954area[waterway=dam]:closed {
3955 fill-color: manmade#d8d8d8;
3956}
3957way[waterway=dam] {
3958 width: 2;
3959 color: manmade#d8d8d8;
3960}
3961node[waterway=dam] {
3962 icon-image: "nautical/dam.png";
3963 set icon_z17;
3964 text: auto;
3965}
3966/* it's not possible to have both line and area, line seems more likely */
3967way[waterway=waterfall] {
3968 width: 2;
3969 color: manmade#d8d8d8;
3970}
3971node[waterway=waterfall] {
3972 icon-image: "nautical/waterfall.png";
3973 set icon_z17;
3974 text: auto;
3975}
3976node[waterway=river], node[waterway=riverbank],
3977node[waterway=canal], node[waterway=wadi],
3978node[waterway=stream],
3979node[waterway=ditch], node[waterway=drain] {
3980 icon-image: "misc/deprecated.png";
3981 set icon_z17;
3982 text: auto;
3983}
3984
3985/**************/
3986/* route tags */
3987/**************/
3988
3989way[route=ferry] {
3990 width: 1;
3991 color: ferry#809bc0;
3992 dashes: 9,9;
3993}
3994node[route=bus],
3995node[route=ferry],
3996node[route=flight],
3997node[route=ncn],
3998node[route=subsea],
3999node[route=ski],
4000node[route=tour],
4001node[route=pub_crawl] {
4002 icon-image: "misc/deprecated.png";
4003 set icon_z17;
4004 text: auto;
4005}
4006
4007/*******************/
4008/* properties tags */
4009/*******************/
4010
4011node[mountain_pass?] {
4012 icon-image: "misc/landmark/mountain_pass.png";
4013 set icon_z0;
4014 text: auto;
4015 set text_z0;
4016}
4017
4018/*****************/
4019/* boundary tags */
4020/*****************/
4021
4022way[boundary=national]::core_boundary,
4023way[boundary=administrative]::core_boundary,
4024way[boundary=postal_code]::core_boundary,
4025way[boundary=political]::core_boundary,
4026way[boundary=national_park]::core_boundary {
4027 z-index: 2;
4028 modifier: false;
4029 width: 1;
4030 color: boundary#FF6600;
4031 dashes: 9,9;
4032}
4033way[admin_level=9]::core_boundary,
4034relation[admin_level=9] > way::core_boundary,
4035way[admin_level=10]::core_boundary,
4036relation[admin_level=10] > way::core_boundary {
4037 z-index: 2;
4038 modifier: false;
4039 width: 1;
4040 color: boundary#FF6600;
4041 dashes: 9,9;
4042}
4043way[admin_level=7]::core_boundary,
4044relation[admin_level=7] > way::core_boundary,
4045way[admin_level=8]::core_boundary,
4046relation[admin_level=8] > way::core_boundary {
4047 z-index: 2;
4048 modifier: false;
4049 width: 2;
4050 color: boundary#FF6600;
4051 dashes: 9,9;
4052}
4053way[admin_level=5]::core_boundary,
4054relation[admin_level=5] > way::core_boundary,
4055way[admin_level=6]::core_boundary,
4056relation[admin_level=6] > way::core_boundary {
4057 z-index: 2;
4058 modifier: false;
4059 width: 3;
4060 color: boundary#FF6600;
4061 dashes: 9,9;
4062}
4063way[admin_level=3]::core_boundary,
4064relation[admin_level=3] > way::core_boundary,
4065way[admin_level=4]::core_boundary,
4066relation[admin_level=4] > way::core_boundary {
4067 z-index: 2;
4068 modifier: false;
4069 width: 4;
4070 color: boundary#FF6600;
4071 dashes: 9,9;
4072}
4073way[admin_level=1]::core_boundary,
4074relation[admin_level=1] > way::core_boundary,
4075way[admin_level=2]::core_boundary,
4076relation[admin_level=2] > way::core_boundary {
4077 z-index: 2;
4078 modifier: false;
4079 width: 5;
4080 color: boundary#FF6600;
4081 dashes: 9,9;
4082}
4083node[boundary=national],
4084node[boundary=administrative],
4085node[boundary=postal_code],
4086node[boundary=political],
4087node[boundary=national_park] {
4088 icon-image: "misc/deprecated.png";
4089 set icon_z17;
4090 text: auto;
4091}
4092
4093/******************/
4094/* maxspeed nodes */
4095/******************/
4096node[maxspeed=none][!is_prop_set(icon-image)] {
4097 icon-image: "vehicle/restriction/maxspeed_none.svg";
4098 set icon_z17;
4099}
4100node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4101 maxspeedprop: tag(maxspeed);
4102 set maxspeedclass;
4103}
4104node[maxspeed=signals][!is_prop_set(icon-image)] {
4105 maxspeedprop: " ?";
4106 set maxspeedclass;
4107}
4108node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4109 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4110 set maxspeedclass;
4111}
4112node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4113 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4114 set maxspeedclass;
4115}
4116node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4117 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4118 set maxspeedclass;
4119}
4120node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4121 /* background (white) */
4122 symbol-shape: circle;
4123 symbol-size: 17;
4124 symbol-fill-color: white;
4125 major-z-index: 4.2;
4126}
4127node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4128node[maxspeed=signals]::core_maxnodebg {
4129 /* background (black) */
4130 symbol-fill-color: black;
4131}
4132node[prop(maxspeedclass, default)]::core_maxnodefg {
4133 /* foreground (black text and red circle) */
4134 symbol-shape: circle;
4135 symbol-size: 15;
4136 symbol-stroke-color: crimson;
4137 symbol-stroke-width: 2;
4138 text: prop(maxspeedprop, default);
4139 font-size: 8;
4140 font-weight: bold;
4141 text-color: black;
4142 text-anchor-horizontal: center;
4143 text-anchor-vertical: center;
4144 text-offset-x: 0;
4145 text-offset-y: -1;
4146 major-z-index: 4.2;
4147}
4148node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4149node[maxspeed=signals]::core_maxnodefg {
4150 /* foreground (white text) */
4151 text-color: white;
4152}
4153node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4154 symbol-shape: none;
4155}
4156node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4157 text: none;
4158 symbol-shape: none;
4159}
4160
4161/**************/
4162/* place tags */
4163/**************/
4164
4165/* lot's of "openGeoDB:..." tags can be found in germany */
4166node["openGeoDB:type"=Stadt],
4167node["openGeoDB:type"=Kreis],
4168node["openGeoDB:type"=Gemeinde],
4169node["openGeoDB:type"=Ort],
4170node["openGeoDB:type"=District],
4171node["openGeoDB:location"=locality] {
4172 icon-image: "place/settlement/town.png";
4173 set icon_z0;
4174 text: auto;
4175 set text_z0;
4176 font-size: 10;
4177 font-weight: bold;
4178 text-color:black;
4179 text-halo-color: white;
4180 text-halo-radius: 1;
4181}
4182area[place=continent],
4183area[place=country],
4184area[place=state],
4185area[place=region],
4186area[place=county],
4187area[place=city],
4188area[place=town],
4189area[place=village],
4190area[place=hamlet],
4191area[place=farm],
4192area[place=isolated_dwelling],
4193area[place=neighbourhood],
4194area[place=suburb],
4195area[place=locality],
4196area[place=island],
4197area[place=islet] {
4198 fill-color: place#8de3cb;
4199}
4200node[place=continent],
4201node[place=country],
4202node[place=state],
4203node[place=region],
4204node[place=county] {
4205 icon-image: "place/settlement/capital.png";
4206 set icon_z0;
4207 text: auto;
4208 set text_z0;
4209 font-size: 10;
4210 font-weight: bold;
4211 text-color:black;
4212 text-halo-color: white;
4213 text-halo-radius: 1;
4214}
4215node[place=city] {
4216 icon-image: "place/settlement/city.png";
4217 set icon_z0;
4218 text: auto;
4219 set text_z0;
4220 font-size: 10;
4221 font-weight: bold;
4222 text-color:black;
4223 text-halo-color: white;
4224 text-halo-radius: 1;
4225}
4226node[place=town],
4227node[place=village],
4228node[place=hamlet],
4229node[place=farm],
4230node[place=isolated_dwelling],
4231node[place=neighbourhood],
4232node[place=suburb] {
4233 icon-image: "place/settlement/town.png";
4234 set icon_z0;
4235 text: auto;
4236 set text_z0;
4237 font-size: 10;
4238 font-weight: bold;
4239 text-color:black;
4240 text-halo-color: white;
4241 text-halo-radius: 1;
4242}
4243node[place=locality] {
4244 icon-image: "place/locality.png";
4245 set icon_z0;
4246 text: auto;
4247 set text_z0;
4248 font-size: 10;
4249 font-weight: bold;
4250 text-color:black;
4251 text-halo-color: white;
4252 text-halo-radius: 1;
4253}
4254node[place=island] {
4255 icon-image: "place/island.png";
4256 set icon_z0;
4257 text: auto;
4258 set text_z0;
4259 font-size: 10;
4260 font-weight: bold;
4261 text-color:black;
4262 text-halo-color: white;
4263 text-halo-radius: 1;
4264}
4265node[place=islet] {
4266 icon-image: "place/islet.png";
4267 set icon_z0;
4268 text: auto;
4269 set text_z0;
4270 font-size: 10;
4271 font-weight: bold;
4272 text-color:black;
4273 text-halo-color: white;
4274 text-halo-radius: 1;
4275}
4276
4277/***************************/
4278/* "work in progress" tags */
4279/***************************/
4280
4281node|z16-[fixme]::core_fixme,
4282node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4283node|z16-[FIXME]::core_fixme,
4284node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4285 object-z-index: 20;
4286 icon-image: "misc/fixme-annotation.png";
4287}
4288node|z16-[note]::core_note,
4289node|z-15[note][!setting("hide_icons")]::core_note {
4290 object-z-index: 10;
4291 icon-image: "misc/note-annotation.png";
4292}
4293
4294/* special display of unreviewed tiger data (USA) */
4295way["tiger:reviewed"=no]::core_tiger {
4296 major-z-index: -10;
4297 width: 11;
4298 color: tiger_data#808000;
4299 opacity: 0.6;
4300}
4301
4302/****************************************/
4303/* zoom levels and general node display */
4304/****************************************/
4305
4306/*
4307Summary of different zoom levels:
4308 (any zoom) place=* and a few natural icons with their text is shown
4309 |z-15 untagged way nodes are hidden completely
4310 |z16- fixme=* and note=* symbols
4311 |z17- normal POI icons (without text),
4312 street name along highway=* ways
4313 |z18- text for normal POI icons is shown
4314
4315 * text size and node size is adapted according to zoom level (see style source below)
4316 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4317
4318*/
4319
4320node {
4321 text: auto;
4322}
4323node|z-16[setting("hide_icons")],
4324node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4325node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4326 symbol-size: 2;
4327 symbol-shape: square;
4328 symbol-stroke-color: node_standard#ffff00;
4329 major-z-index: 4.95; /* put node squares above line text */
4330}
4331way > node|z-15[setting("shrink_nodes")]!:tagged {
4332 symbol-shape: none;
4333}
4334node:connection {
4335 symbol-stroke-color: node_connection#ffff00;
4336}
4337node:tagged {
4338 symbol-stroke-color: none;
4339 symbol-fill-color: node_tagged#00ffff;
4340}
4341
4342way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4343
4344node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4345way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4346node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4347
4348node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4349way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4350node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4351
4352node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4353way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4354node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4355
4356node[!setting("shrink_nodes")] { symbol-size: 4; }
4357way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4358node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4359
4360node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4361relation|z-16[type=restriction][setting("hide_icons")] {
4362 icon-image: none;
4363}
4364node|z-17[setting("hide_icons")]!.text_z0 {
4365 text: none;
4366}
4367
4368node|z19,area|z19 { font-size: 9; }
4369node|z20-,area|z20- { font-size: 10; }
4370
4371/*******************/
4372/* way text labels */
4373/*******************/
4374
4375way|z17-[highway^=motorway][setting("highway_labels")],
4376way|z17-[highway^=trunk][setting("highway_labels")],
4377way|z17-[highway^=primary][setting("highway_labels")],
4378way|z17-[highway^=secondary][setting("highway_labels")],
4379way|z17-[highway^=tertiary][setting("highway_labels")],
4380way|z17-[highway=unclassified][setting("highway_labels")],
4381way|z17-[highway=residential][setting("highway_labels")],
4382way|z17-[highway=living_street][setting("highway_labels")],
4383way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4384way|z17-[highway=service][setting("highway_labels")],
4385way|z17-[highway=track][setting("highway_labels")] {
4386 text: auto;
4387 text-color: black;
4388 font-size: 9;
4389 text-position: line;
4390 text-halo-opacity: 1;
4391 text-halo-radius: 1.5;
4392}
4393way|z17-[highway^=motorway][setting("highway_labels")] {
4394 text-halo-color: motorway#809bc0;
4395}
4396way|z17-[highway^=trunk][setting("highway_labels")] {
4397 text-halo-color: trunk#7fc97f;
4398}
4399way|z17-[highway^=primary][setting("highway_labels")] {
4400 text-halo-color: primary#fb805f;
4401}
4402way|z17-[highway^=secondary][setting("highway_labels")] {
4403 text-halo-color: secondary#fdbf6f;
4404}
4405way|z17-[highway^=tertiary][setting("highway_labels")] {
4406 text-halo-color: tertiary#f7f496;
4407}
4408way|z17-[highway=unclassified][setting("highway_labels")],
4409way|z17-[highway=residential][setting("highway_labels")],
4410way|z17-[highway=living_street][setting("highway_labels")] {
4411 text-halo-color: street#c0c0c0;
4412}
4413way[highway=pedestrian][!area?][setting("highway_labels")] {
4414 text-halo-color: foot#00ff00;
4415}
4416way|z17-[highway=service][setting("highway_labels")] {
4417 text-halo-color: service#809bc0;
4418}
4419way|z17-[highway=track][setting("highway_labels")] {
4420 text-halo-color: highway_track#006600;
4421}
4422way|z18[highway][setting("highway_labels")] {
4423 font-size: 10;
4424}
4425way|z19[highway][setting("highway_labels")] {
4426 font-size: 11;
4427}
4428way|z20-[highway][setting("highway_labels")] {
4429 font-size: 12;
4430}
4431
4432/* "deprecated" tags
4433 historic=museum -> tourism=museum
4434 man_made=power_wind -> power=generator and power_source=wind
4435 man_made=power_hydro -> power=generator and power_source=hydro
4436 man_made=power_fossil -> power=generator and power_source=fossil
4437 man_made=power_nuclear -> power=generator and power_source=nuclear
4438 amenity=park_bench -> amenity=bench
4439 amenity=signpost -> information=guidepost
4440 amenity=emergency_phone -> emergency=phone
4441 highway minor - classification now more detailed
4442 highway=stile -> barrier=stile
4443 highway=gate -> barrier=gate
4444 highway=cattle_grid -> barrier=cattle_grid
4445 highway=toll_booth -> barrier=toll_booth
4446 highway=viaduct -> bridge=viaduct
4447 railway=viaduct -> bridge=viaduct
4448 waterway=aqueduct -> bridge=aqueduct
4449 natural=marsh -> natural=wetland
4450 leisure=zoo -> tourism=zoo
4451 power=station -> power=plant or power=sub_station
4452*/
Note: See TracBrowser for help on using the repository browser.