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

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

see ​#12190 - add presets and mappaint style for social facilities (icons see [o31930]); drop mappaint support of amenity=nursery

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