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

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

see #10835 - icon unification and geometry consistency for highway waypoints

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