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

Last change on this file since 7810 was 7810, checked in by Klumbumbus, 10 years ago

add preset and mappaint style for highway=traffic_mirror

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