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

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

see #10835 - icon unification and geometry consistency for barrier=*

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