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

Last change on this file since 9302 was 9302, checked in by Klumbumbus, 8 years ago

see #12135 - add mappaint for entrance=staircase and tourism=wilderness_hut, adjust tourism color (was to similar to building), typos

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