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

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

fix ​#12190 - add new health related icons, by zermes (icons see [o31931]); move old icons to nodist folder

  • Property svn:eol-style set to native
File size: 110.7 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.svg";
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.svg";
2751 set icon_z17;
2752 text: auto;
2753}
2754node[amenity=hospital] {
2755 icon-image: "health/hospital.svg";
2756 set icon_z17;
2757 text: auto;
2758}
2759node[amenity=clinic] {
2760 icon-image: "health/clinic.svg";
2761 set icon_z17;
2762 text: auto;
2763}
2764node[amenity=nursing_home] {
2765 icon-image: "social_facility/nursing_home.svg";
2766 set icon_z17;
2767 text: auto;
2768}
2769node[amenity=social_facility][social_facility=group_home] {
2770 icon-image: "social_facility/group_home.svg";
2771 set icon_z17;
2772 text: auto;
2773}
2774node[amenity=social_facility][social_facility=assisted_living] {
2775 icon-image: "social_facility/assisted_living.svg";
2776 set icon_z17;
2777 text: auto;
2778}
2779node[amenity=social_facility][social_facility=outreach] {
2780 icon-image: "social_facility/outreach.svg";
2781 set icon_z17;
2782 text: auto;
2783}
2784node[amenity=social_facility][social_facility=shelter] {
2785 icon-image: "social_facility/shelter.svg";
2786 set icon_z17;
2787 text: auto;
2788}
2789node[amenity=social_facility][social_facility=food_bank] {
2790 icon-image: "social_facility/food_bank.svg";
2791 set icon_z17;
2792 text: auto;
2793}
2794node[amenity=baby_hatch] {
2795 icon-image: "health/baby_hatch.svg";
2796 set icon_z17;
2797 text: auto;
2798}
2799node[amenity=doctors] {
2800 icon-image: "health/doctors.svg";
2801 set icon_z17;
2802 text: auto;
2803}
2804node[amenity=dentist] {
2805 icon-image: "health/dentist.svg";
2806 set icon_z17;
2807 text: auto;
2808}
2809node[amenity=veterinary] {
2810 icon-image: "health/veterinary.svg";
2811 set icon_z17;
2812 text: auto;
2813}
2814area[amenity=library],
2815area[amenity=police],
2816area[amenity=ranger_station],
2817area[amenity=fire_station],
2818area[amenity=bus_station],
2819area[amenity=ferry_terminal],
2820area[amenity=theatre],
2821area[amenity=cinema],
2822area[amenity=arts_centre],
2823area[amenity=courthouse],
2824area[amenity=prison],
2825area[amenity=bank],
2826area[amenity=bureau_de_change],
2827area[amenity=bbq] {
2828 fill-color: amenity_light#f7efb7;
2829}
2830node[amenity=library] {
2831 icon-image: "shop/library.png";
2832 set icon_z17;
2833 text: auto;
2834}
2835node[amenity=police] {
2836 icon-image: "service/police.png";
2837 set icon_z17;
2838 text: auto;
2839}
2840node[amenity=ranger_station] {
2841 icon-image: "service/ranger_station.svg";
2842 set icon_z17;
2843 text: auto;
2844}
2845node[amenity=fire_station] {
2846 icon-image: "service/firebrigade.png";
2847 set icon_z17;
2848 text: auto;
2849}
2850node[amenity=bus_station] {
2851 icon-image: "transport/bus.png";
2852 set icon_z17;
2853 text: auto;
2854}
2855node[amenity=ferry_terminal] {
2856 icon-image: "nautical/ferry.png";
2857 icon-width: 16;
2858 set icon_z17;
2859 text: auto;
2860}
2861node[amenity=theatre] {
2862 icon-image: "presets/theater.png";
2863 icon-width: 16;
2864 set icon_z17;
2865 text: auto;
2866}
2867node[amenity=cinema] {
2868 icon-image: "leisure/cinema.png";
2869 set icon_z17;
2870 text: auto;
2871}
2872node[amenity=arts_centre] {
2873 icon-image: "service/arts_centre.png";
2874 set icon_z17;
2875 text: auto;
2876}
2877node[amenity=courthouse] {
2878 icon-image: "service/administration/courthouse.svg";
2879 set icon_z17;
2880 text: auto;
2881}
2882node[amenity=prison] {
2883 icon-image: "service/administration/prison.svg";
2884 set icon_z17;
2885 text: auto;
2886}
2887node[amenity=bank] {
2888 icon-image: "money/bank.png";
2889 set icon_z17;
2890 text: auto;
2891}
2892node[amenity=bureau_de_change] {
2893 icon-image: "money/exchange.png";
2894 set icon_z17;
2895 text: auto;
2896}
2897node[amenity=atm] {
2898 icon-image: "money/atm.png";
2899 set icon_z17;
2900 text: auto;
2901}
2902way[amenity=bench] {
2903 width: 2;
2904 color: amenity_light#f7efb7;
2905}
2906node[amenity=bench] {
2907 icon-image: "leisure/bench.png";
2908 set icon_z17;
2909 text: auto;
2910}
2911node[amenity=bbq] {
2912 icon-image: "leisure/bbq.png";
2913 set icon_z17;
2914 text: auto;
2915}
2916node[emergency=fire_hydrant] {
2917 icon-image: "service/fire_hydrant.png";
2918 set icon_z17;
2919 text: auto;
2920}
2921node[amenity=compressed_air] {
2922 icon-image: "vehicle/compressed_air.svg";
2923 set icon_z17;
2924 text: auto;
2925}
2926area[amenity=shelter],
2927area[amenity=marketplace],
2928area[amenity=wlan] {
2929 fill-color: amenity_light#f7efb7;
2930}
2931node[amenity=shelter] {
2932 icon-image: "accommodation/shelter.png";
2933 set icon_z17;
2934 text: auto;
2935}
2936node[amenity=shelter][shelter_type=public_transport] {
2937 icon-image: "accommodation/shelter_public_transport_brown.png";
2938 set icon_z17;
2939 text: auto;
2940}
2941node[amenity=shelter][shelter_type=picnic_shelter] {
2942 icon-image: "accommodation/shelter_picnic_brown.png";
2943 set icon_z17;
2944 text: auto;
2945}
2946node[amenity=shelter][shelter_type=basic_hut] {
2947 icon-image: "accommodation/basic_hut_blue.png";
2948 set icon_z17;
2949 text: auto;
2950}
2951node[amenity=shelter][shelter_type=lean_to] {
2952 icon-image: "accommodation/shelter_lean_to.svg";
2953 set icon_z17;
2954 text: auto;
2955}
2956node[amenity=hunting_stand] {
2957 icon-image: "hunting_stand.png";
2958 set icon_z17;
2959 text: auto;
2960}
2961node[amenity=marketplace] {
2962 icon-image: "place/marketplace.png";
2963 set icon_z17;
2964 text: auto;
2965}
2966node[amenity=wlan] {
2967 icon-image: "wlan.png";
2968 set icon_z17;
2969 text: auto;
2970}
2971node[amenity=vending_machine] {
2972 icon-image: "transport/ticket-machine.png";
2973 set icon_z17;
2974}
2975node[vending=excrement_bags] {
2976 icon-image: "service/excrement_bags.png";
2977 set icon_z17;
2978 text: auto;
2979}
2980
2981/**************/
2982/* craft tags */
2983/**************/
2984
2985area[craft=painter],
2986area[craft=plumber],
2987area[craft=pottery],
2988area[craft=stonemason],
2989area[craft=tiler],
2990area[craft=window_construction] {
2991 fill-color: craft#999900;
2992}
2993node[craft=painter] {
2994 icon-image: "craft/painter.png";
2995 set icon_z17;
2996 text: auto;
2997}
2998node[craft=plumber] {
2999 icon-image: "craft/plumber.png";
3000 set icon_z17;
3001 text: auto;
3002}
3003node[craft=pottery] {
3004 icon-image: "craft/pottery.png";
3005 set icon_z17;
3006 text: auto;
3007}
3008node[craft=stonemason] {
3009 icon-image: "craft/stonemason.png";
3010 set icon_z17;
3011 text: auto;
3012}
3013node[craft=tiler] {
3014 icon-image: "craft/tiler.png";
3015 set icon_z17;
3016 text: auto;
3017}
3018node[craft=window_construction] {
3019 icon-image: "craft/window_construction.png";
3020 set icon_z17;
3021 text: auto;
3022}
3023
3024/****************/
3025/* tourism tags */
3026/****************/
3027
3028area[tourism=hotel],
3029area[tourism=motel],
3030area[tourism=guest_house],
3031area[tourism=hostel],
3032area[tourism=chalet],
3033area[tourism=alpine_hut],
3034area[tourism=camp_site],
3035area[tourism=caravan_site] {
3036 fill-color: hotel#e1a0a2;
3037}
3038node[tourism=hotel] {
3039 icon-image: "accommodation/hotel.svg";
3040 set icon_z17;
3041 text: auto;
3042}
3043node[tourism=motel] {
3044 icon-image: "accommodation/motel.svg";
3045 set icon_z17;
3046 text: auto;
3047}
3048node[tourism=guest_house] {
3049 icon-image: "accommodation/guest_house.png";
3050 set icon_z17;
3051 text: auto;
3052}
3053node[tourism=hostel] {
3054 icon-image: "accommodation/hostel.svg";
3055 set icon_z17;
3056 text: auto;
3057}
3058node[tourism=chalet] {
3059 icon-image: "accommodation/chalet.png";
3060 set icon_z17;
3061 text: auto;
3062}
3063node[tourism=alpine_hut] {
3064 icon-image: "accommodation/alpine_hut_blue.png";
3065 set icon_z17;
3066 text: auto;
3067}
3068node[tourism=wilderness_hut] {
3069 icon-image: "accommodation/wilderness_hut_blue.png";
3070 set icon_z17;
3071 text: auto;
3072}
3073node[tourism=camp_site] {
3074 icon-image: "accommodation/camping.png";
3075 set icon_z17;
3076 text: auto;
3077}
3078node[tourism=caravan_site] {
3079 icon-image: "accommodation/camping/caravan.png";
3080 set icon_z17;
3081 text: auto;
3082}
3083area[tourism=picnic_site],
3084area[tourism=viewpoint],
3085area[tourism=theme_park],
3086area[tourism=attraction],
3087area[tourism=zoo],
3088area[tourism=museum] {
3089 fill-color: tourism#e180a2;
3090}
3091node[tourism=picnic_site] {
3092 icon-image: "leisure/picnic.png";
3093 set icon_z17;
3094 text: auto;
3095}
3096node[tourism=viewpoint] {
3097 icon-image: "sightseeing/viewpoint.png";
3098 set icon_z17;
3099 text: auto;
3100}
3101node[tourism=theme_park] {
3102 icon-image: "leisure/theme_park.png";
3103 set icon_z17;
3104 text: auto;
3105}
3106node[tourism=attraction] {
3107 icon-image: "sightseeing.png";
3108 set icon_z17;
3109 text: auto;
3110}
3111node[tourism=zoo] {
3112 icon-image: "leisure/zoo.png";
3113 set icon_z17;
3114 text: auto;
3115}
3116area[tourism=artwork]:closed {
3117 fill-color: tourism#e180a2;
3118}
3119way[tourism=artwork] {
3120 width: 2;
3121 color: tourism#e180a2;
3122}
3123node[tourism=artwork] {
3124 icon-image: "service/arts_centre.png";
3125 set icon_z17;
3126 text: auto;
3127}
3128node[tourism=museum] {
3129 icon-image: "sightseeing/museum.svg";
3130 set icon_z17;
3131 text: auto;
3132}
3133
3134/********************/
3135/* information tags */
3136/********************/
3137
3138area[tourism=information] {
3139 fill-color: tourism#e180a2;
3140}
3141node[tourism=information] {
3142 icon-image: "misc/information.png";
3143 set icon_z17;
3144 text: auto;
3145}
3146node[tourism=information][information=guidepost] {
3147 icon-image: "misc/information/guidepost.png";
3148 set icon_z17;
3149 text: auto;
3150}
3151area[tourism=information][information=office] {
3152 fill-color: tourism#e180a2;
3153}
3154node[tourism=information][information=office] {
3155 icon-image: "misc/information/informationoffice.png";
3156 set icon_z17;
3157 text: auto;
3158}
3159node[tourism=information][information=map] {
3160 icon-image: "misc/information/map.png";
3161 set icon_z17;
3162 text: auto;
3163}
3164node[tourism=information][information=board] {
3165 icon-image: "misc/information/board.png";
3166 set icon_z17;
3167 text: auto;
3168}
3169
3170/*****************/
3171/* historic tags */
3172/*****************/
3173
3174area[historic=castle],
3175area[historic=monument],
3176area[historic=memorial],
3177area[historic=archaeological_site],
3178area[historic=ruins],
3179area[historic=battlefield],
3180area[geological=palaeontological_site],
3181area[historic=wayside_cross],
3182area[historic=wayside_shrine],
3183area[historic=boundary_stone] {
3184 fill-color: historic#663300;
3185}
3186node[historic=castle] {
3187 icon-image: "sightseeing/castle.svg";
3188 set icon_z17;
3189 text: auto;
3190}
3191node[historic=monument] {
3192 icon-image: "sightseeing/monument.png";
3193 set icon_z17;
3194 text: auto;
3195}
3196node[historic=memorial] {
3197 icon-image: "sightseeing/memorial.png";
3198 set icon_z17;
3199 text: auto;
3200}
3201node[historic=archaeological_site] {
3202 icon-image: "sightseeing/archaeological.png";
3203 set icon_z17;
3204 text: auto;
3205}
3206node[historic=ruins] {
3207 icon-image: "sightseeing/ruins.png";
3208 set icon_z17;
3209 text: auto;
3210}
3211node[historic=battlefield] {
3212 icon-image: "sightseeing/battlefield.png";
3213 set icon_z17;
3214 text: auto;
3215}
3216node[geological=palaeontological_site] {
3217 icon-image: "historic/palaeontological_site.png";
3218 set icon_z17;
3219 text: auto;
3220}
3221node[historic=wayside_cross] {
3222 icon-image: "religion/wayside_cross.png";
3223 set icon_z17;
3224 text: auto;
3225}
3226node[historic=wayside_shrine] {
3227 icon-image: "religion/wayside_shrine.png";
3228 set icon_z17;
3229 text: auto;
3230}
3231node[historic=boundary_stone] {
3232 icon-image: "historic/boundary_stone.png";
3233 set icon_z17;
3234 text: auto;
3235}
3236
3237/****************/
3238/* landuse tags */
3239/****************/
3240
3241area[landuse],
3242area[leisure],
3243area[amenity],
3244area[place],
3245area[natural],
3246area[man_made] {
3247 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3248}
3249area[landuse=farmland] {
3250 fill-color: farmland#b8e0b1;
3251}
3252area[landuse=meadow] {
3253 fill-color: meadow#b1e0b6;
3254}
3255area[landuse=vineyard],
3256area[landuse=orchard] {
3257 fill-color: green#b1e0c2;
3258}
3259area[landuse=quarry] {
3260 fill-color: quarry#888888;
3261}
3262area[landuse=landfill] {
3263 fill-color: landfill#663300;
3264}
3265area[landuse=basin],
3266area[landuse=reservoir] {
3267 fill-color: basin#0000bf;
3268}
3269area[landuse=forest] {
3270 fill-color: forest#b1efc8;
3271}
3272area[landuse=allotments] {
3273 fill-color: allotments#5dbf80;
3274}
3275area[landuse=greenhouse_horticulture],
3276area[landuse=plant_nursery] {
3277 fill-color: green#b1e0c2;
3278}
3279area[landuse=grass] {
3280 fill-color: grass#97ca96;
3281}
3282area[landuse=residential] {
3283 fill-color: residential#f0f0f0;
3284}
3285area[landuse=garages] {
3286 fill-color: garages#d6c8aa;
3287}
3288area[landuse=farmyard] {
3289 fill-color: farmyard#f0f0f0;
3290}
3291area[landuse=retail],
3292area[landuse=commercial] {
3293 fill-color: retail#ffc4ee;
3294}
3295area[landuse=industrial] {
3296 fill-color: industrial#ecd8ff;
3297}
3298area[landuse=brownfield] {
3299 fill-color: brownfield#ecba32;
3300}
3301area[landuse=greenfield] {
3302 fill-color: greenfield#b1ec5c;
3303}
3304area[landuse=railway] {
3305 fill-color: railland#888888;
3306}
3307area[landuse=construction] {
3308 fill-color: construction#ffff00;
3309}
3310way[landuse=construction] {
3311 width: 1;
3312 color: construction#ffff00;
3313 dashes: 9,9;
3314}
3315area[landuse=military] {
3316 fill-color: military#b62c2c;
3317}
3318area[landuse=religious] {
3319 fill-color: religious#ffd454;
3320}
3321area[landuse=cemetery] {
3322 fill-color: cemetery#b1efc8;
3323}
3324area[landuse=village_green] {
3325 fill-color: green#b1e0c2;
3326}
3327area[landuse=recreation_ground] {
3328 fill-color: green#b1e0c2;
3329}
3330node[landuse] {
3331 icon-image: "misc/deprecated.png";
3332 set icon_z17;
3333 text: auto;
3334}
3335
3336/*****************/
3337/* military tags */
3338/*****************/
3339
3340area[military=airfield],
3341area[military=bunker],
3342area[military=barracks],
3343area[military=danger_area],
3344area[military=range] {
3345 fill-color: military#b62c2c;
3346}
3347node[military=airfield] {
3348 icon-image: "transport/airport/airfield.png";
3349 set icon_z17;
3350 text: auto;
3351}
3352node[military=bunker] {
3353 icon-image: "misc/landmark/bunker.png";
3354 set icon_z17;
3355 text: auto;
3356}
3357node[military=barracks] {
3358 icon-image: "misc/no_icon.png";
3359 set icon_z17;
3360 text: auto;
3361}
3362node[military=danger_area] {
3363 icon-image: "misc/danger.png";
3364 set icon_z17;
3365 text: auto;
3366}
3367node[military=range] {
3368 icon-image: "misc/landmark/range.png";
3369 set icon_z17;
3370 text: auto;
3371}
3372
3373/*************************/
3374/* public_transport tags */
3375/*************************/
3376
3377node[public_transport=stop_position] {
3378 icon-image: "transport/railway_small.png";
3379 set icon_z17;
3380 text: auto;
3381}
3382node[highway=bus_stop] {
3383 icon-image: "transport/bus_small.png";
3384 set icon_z17;
3385 text: auto;
3386}
3387node[public_transport=stop_position][bus=yes] {
3388 icon-image: "transport/bus_small.png";
3389 set icon_z17;
3390 text: auto;
3391}
3392node[public_transport=stop_position][aerial=yes] {
3393 icon-image: "transport/aerialway.png";
3394 set icon_z17;
3395 text: auto;
3396}
3397node[public_transport=stop_position][ferry=yes] {
3398 icon-image: "transport/ferry.png";
3399 set icon_z17;
3400 text: auto;
3401}
3402node[public_transport=stop_position][tram=yes] {
3403 icon-image: "transport/tram.png";
3404 set icon_z17;
3405 text: auto;
3406}
3407node[public_transport=stop_position][train=yes] {
3408 icon-image: "transport/railway_small.png";
3409 set icon_z17;
3410 text: auto;
3411}
3412area[public_transport=platform]:closed {
3413 fill-color: service#809bc0;
3414}
3415way[public_transport=platform]!:closed {
3416 width: 3;
3417 color: service#809bc0;
3418 dashes: 12,3;
3419}
3420node[public_transport=platform] {
3421 icon-image: "transport/bus_small.png";
3422 set icon_z17;
3423 text: auto;
3424}
3425node[public_transport=platform][bus=yes] {
3426 icon-image: "transport/bus_small.png";
3427 set icon_z17;
3428 text: auto;
3429}
3430node[public_transport=platform][aerial=yes] {
3431 icon-image: "transport/aerialway/station.png";
3432 set icon_z17;
3433 text: auto;
3434}
3435node[public_transport=platform][ferry=yes] {
3436 icon-image: "transport/ferry.png";
3437 set icon_z17;
3438 text: auto;
3439}
3440node[public_transport=platform][tram=yes],
3441node[public_transport=platform][train=yes] {
3442 icon-image: "transport/railway_station.png";
3443 set icon_z17;
3444 text: auto;
3445}
3446
3447/****************/
3448/* railway tags */
3449/****************/
3450
3451area[railway=station],
3452area[railway=tram_station],
3453area[railway=subway_entrance] {
3454 fill-color: railwaypoint#f7efb7;
3455}
3456node[railway=station], node[railway=tram_station] {
3457 icon-image: "transport/railway_station.png";
3458 set icon_z17;
3459 text: auto;
3460}
3461node[railway=halt] {
3462 icon-image: "transport/railway_small.png";
3463 set icon_z17;
3464 text: auto;
3465}
3466node[railway=tram_stop] {
3467 icon-image: "transport/tram.png";
3468 set icon_z17;
3469 text: auto;
3470}
3471node[railway=subway_entrance] {
3472 icon-image: "transport/underground.png";
3473 set icon_z17;
3474 text: auto;
3475}
3476node[railway=crossing] {
3477 icon-image: "vehicle/crossing.png";
3478 set icon_z17;
3479 text: auto;
3480}
3481node[railway=level_crossing] {
3482 icon-image: "presets/level_crossing.png";
3483 icon-width: 16;
3484 set icon_z17;
3485 text: auto;
3486}
3487way[railway=rail] {
3488 width: 2;
3489 color: rail#404040;
3490 dashes: 9,9;
3491 dashes-background-color: raildashed#ffffff;
3492}
3493way[railway=rail][service=siding] {
3494 width: 1;
3495}
3496way[railway=rail][service=yard],
3497way[railway=rail][service=spur] {
3498 width: 1;
3499 color: railyard#552200
3500}
3501/* draw tram on top of other way (highway=*) or
3502 as a standalone style */
3503way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3504 object-z-index: 1;
3505 modifier: false; /* don't draw default way if there is no line on default layer */
3506 width: 1;
3507 color: railover#202020;
3508 dashes: 9,9;
3509 casing-width: 1;
3510 casing-color: otherrail#808080;
3511 casing-linecap: round;
3512 casing-dashes: 9,9;
3513}
3514way[railway=light_rail] {
3515 width: 2;
3516 color: otherrail#808080;
3517 dashes: 9,9;
3518}
3519way[railway=subway] {
3520 width: 1;
3521 color: subway#606060;
3522 dashes: 9,9;
3523}
3524way[railway=preserved] {
3525 width: 1;
3526 color: oldrail#404040;
3527 dashes: 9,9;
3528}
3529/* disused often appears together with highway=xy */
3530/* -> draw on separate layer with higher z-index, but use */
3531/* modifier: false; to suppress default line when used alone. */
3532/* use default layer when used without highway=* to display bridge correctly */
3533way[railway=disused][highway]::core_railway,
3534way[railway=disused][!highway],
3535way[railway=abandoned][highway]::core_railway,
3536way[railway=abandoned][!highway] {
3537 width: 1;
3538 modifier: false;
3539 z-index: 1;
3540 color: oldrail#404040;
3541 dashes: 9,9;
3542}
3543way[railway=narrow_gauge],
3544way[railway=monorail] {
3545 width: 1;
3546 color: rail#404040;
3547 dashes: 9,9;
3548}
3549area[railway=turntable] {
3550 fill-color: rail#404040;
3551}
3552node[railway=turntable] {
3553 icon-image: "transport/turntable.png";
3554 set icon_z17;
3555 text: auto;
3556}
3557node[railway=buffer_stop] {
3558 icon-image: "transport/buffer_stop.png";
3559 set icon_z17;
3560 text: auto;
3561}
3562area[railway=platform]:closed {
3563 fill-color: rail#404040;
3564}
3565way[railway=platform] {
3566 width: 2;
3567 color: rail#404040;
3568}
3569way[railway=funicular] {
3570 width: 1;
3571 color: rail#404040;
3572 dashes: 9,9;
3573}
3574node[railway=switch] {
3575 icon-image: "presets/railway_switch.svg";
3576 icon-width: 16;
3577 set icon_z17;
3578 text: auto;
3579}
3580node[railway=signal] {
3581 icon-image: "vehicle/railway_signal.svg";
3582 set icon_z17;
3583 text: auto;
3584}
3585node[railway=milestone] {
3586 icon-image: "vehicle/milestone.svg";
3587 set icon_z17;
3588 text: auto;
3589}
3590node[railway=rail], node[railway=tram], node[railway=light_rail],
3591node[railway=subway], node[railway=preserved],
3592node[railway=disused], node[railway=abandoned],
3593node[railway=narrow_gauge], node[railway=monorail],
3594node[railway=platform], node[railway=funicular],
3595node[service=yard], node[service=siding], node[service=spur] {
3596 icon-image: "misc/deprecated.png";
3597 set icon_z17;
3598 text: auto;
3599}
3600way[railway=construction][!highway] {
3601 width: 1;
3602 color: construction#ffff00;
3603 dashes: 9,9;
3604}
3605way[railway=construction][construction=rail] {
3606 width: 2;
3607 color: rail#404040;
3608 dashes: 9,9;
3609 dashes-background-color: construction#ffff00;
3610}
3611way[railway=construction][construction=light_rail] {
3612 width: 2;
3613}
3614way[railway=construction][construction=tram][highway]::core_railway,
3615way[railway=construction][construction=tram][!highway] {
3616 z-index: 1;
3617 width: 1;
3618 color: railover#202020;
3619 dashes: 9,9;
3620 casing-width: 1;
3621 casing-color: construction#ffff00;
3622 casing-linecap: round;
3623 casing-dashes: 9,9;
3624}
3625
3626/****************/
3627/* aeroway tags */
3628/****************/
3629
3630area[aeroway=aerodrome] {
3631 fill-color: aeroway#660000;
3632 width: 2;
3633 dashes: 9,9;
3634}
3635node[aeroway=aerodrome][military!=airfield] {
3636 icon-image: "transport/airport.png";
3637 set icon_z17;
3638 text: auto;
3639}
3640area[aeroway=terminal] {
3641 fill-color: terminal#bb0000;
3642}
3643node[aeroway=terminal] {
3644 icon-image: "transport/airport/terminal.png";
3645 set icon_z17;
3646 text: auto;
3647}
3648area[aeroway=helipad] {
3649 fill-color: aeroway_dark#330000;
3650}
3651node[aeroway=helipad] {
3652 icon-image: "transport/airport/helipad.png";
3653 set icon_z17;
3654 text: auto;
3655}
3656area[aeroway=runway]:closed {
3657 fill-color: aeroway_dark#330000;
3658}
3659way[aeroway=runway] {
3660 width: 3;
3661 color: aeroway_dark#330000;
3662}
3663area[aeroway=taxiway]:closed {
3664 fill-color: aeroway#660000;
3665}
3666way[aeroway=taxiway] {
3667 width: 2;
3668 color: aeroway#660000;
3669}
3670way[aeroway=parking_position] {
3671 width: 1;
3672 color: aeroway#660000;
3673}
3674node[aeroway=parking_position] {
3675 icon-image: "transport/airport/parking_position.png";
3676 set icon_z17;
3677 text: auto;
3678}
3679area[aeroway=apron],
3680area[aeroway=hangar] {
3681 fill-color: aeroway_light#990000;
3682}
3683node[aeroway=apron],
3684node[aeroway=runway],
3685node[aeroway=taxiway] {
3686 icon-image: "misc/deprecated.png";
3687 set icon_z17;
3688 text: auto;
3689}
3690node[aeroway=hangar] {
3691 icon-image: "transport/airport/hangar.png";
3692 set icon_z17;
3693 text: auto;
3694}
3695node[aeroway=gate] {
3696 icon-image: "transport/airport/gate.png";
3697 set icon_z17;
3698 text: auto;
3699}
3700node[aeroway=windsock] {
3701 icon-image: "transport/airport/windsock.png";
3702 set icon_z17;
3703 text: auto;
3704}
3705
3706/******************/
3707/* aerialway tags */
3708/******************/
3709
3710way[aerialway=cable_car],
3711way[aerialway=gondola] {
3712 width: 1;
3713 color: aerialway#663300;
3714 dashes: 9,9;
3715}
3716way[aerialway=chair_lift] {
3717 width: 1;
3718 color: aerialway#663300;
3719 dashes: 6,6;
3720}
3721way[aerialway=mixed_lift] {
3722 width: 1;
3723 color: aerialway#663300;
3724 dashes: 6,6,9,6;
3725}
3726way[aerialway=j-bar],
3727way[aerialway=t-bar],
3728way[aerialway=platter],
3729way[aerialway=rope_tow],
3730way[aerialway=drag_lift] {
3731 width: 1;
3732 color: aerialway#663300;
3733 dashes: 3,3;
3734}
3735way[aerialway=magic_carpet] {
3736 width: 1;
3737 color: aerialway#663300;
3738 dashes: 3,3;
3739}
3740way[aerialway=goods] {
3741 width: 1;
3742 color: aerialway#663300;
3743 dashes: 2,2;
3744}
3745area[aerialway=station] {
3746 fill-color: aerialway#663300;
3747}
3748node[aerialway=station] {
3749 icon-image: "transport/aerialway/station.png";
3750 set icon_z17;
3751 text: auto;
3752}
3753node[aerialway=pylon] {
3754 icon-image: "transport/aerialway/pylon.svg";
3755 set icon_z17;
3756 text: auto;
3757}
3758node[aerialway=cable_car],
3759node[aerialway=gondola],
3760node[aerialway=chair_lift],
3761node[aerialway=mixed_lift],
3762node[aerialway=drag_lift],
3763node[aerialway=t-bar],
3764node[aerialway=j-bar],
3765node[aerialway=platter],
3766node[aerialway=magic_carpet],
3767node[aerialway=rope_tow],
3768node[aerialway=goods] {
3769 icon-image: "misc/deprecated.png";
3770 set icon_z17;
3771 text: auto;
3772}
3773
3774/**************/
3775/* sport tags */
3776/**************/
3777
3778area[sport="9pin"],
3779area[sport="10pin"],
3780area[sport=athletics],
3781area[sport=running],
3782area[sport=soccer],
3783area[sport=australian_football],
3784area[sport=american_football],
3785area[sport=canadian_football],
3786area[sport=gaelic_games],
3787area[sport=rugby_league],
3788area[sport=rugby_union] {
3789 fill-color: sport#bde3cb;
3790}
3791node[sport="9pin"] {
3792 icon-image: "sport/10pin.png";
3793 set icon_z17;
3794 text: auto;
3795}
3796node[sport="10pin"] {
3797 icon-image: "sport/10pin.png";
3798 set icon_z17;
3799 text: auto;
3800}
3801node[sport=athletics] {
3802 icon-image: "sport/athletics.png";
3803 set icon_z17;
3804 text: auto;
3805}
3806node[sport=running] {
3807 icon-image: "sport/running.svg";
3808 set icon_z17;
3809 text: auto;
3810}
3811node[sport=soccer],
3812node[sport=gaelic_games] {
3813 icon-image: "sport/soccer.png";
3814 set icon_z17;
3815 text: auto;
3816}
3817node[sport=australian_football],
3818node[sport=american_football],
3819node[sport=canadian_football],
3820node[sport=rugby_league],
3821node[sport=rugby_union] {
3822 icon-image: "sport/football.png";
3823 set icon_z17;
3824 text: auto;
3825}
3826area[sport=baseball],
3827area[sport=basketball],
3828area[sport=boules],
3829area[sport=bowls],
3830area[sport=canoe],
3831area[sport=chess],
3832area[sport=climbing]:closed,
3833area[sport=cricket],
3834area[sport=croquet] {
3835 fill-color: sport#bde3cb;
3836}
3837node[sport=baseball] {
3838 icon-image: "sport/baseball.png";
3839 set icon_z17;
3840 text: auto;
3841}
3842node[sport=basketball] {
3843 icon-image: "sport/basketball.png";
3844 set icon_z17;
3845 text: auto;
3846}
3847node[sport=boules] {
3848 icon-image: "sport/boule.png";
3849 set icon_z17;
3850 text: auto;
3851}
3852node[sport=bowls] {
3853 icon-image: "sport/boule.png";
3854 set icon_z17;
3855 text: auto;
3856}
3857node[sport=canoe] {
3858 icon-image: "sport/canoe.svg";
3859 set icon_z17;
3860 text: auto;
3861}
3862node[sport=chess] {
3863 icon-image: "sport/chess.png";
3864 set icon_z17;
3865 text: auto;
3866}
3867node[sport=climbing] {
3868 icon-image: "sport/climbing.png";
3869 set icon_z17;
3870 text: auto;
3871}
3872node[sport=cricket] {
3873 icon-image: "sport/cricket.png";
3874 set icon_z17;
3875 text: auto;
3876}
3877node[sport=croquet] {
3878 icon-image: "sport/croquet.png";
3879 set icon_z17;
3880 text: auto;
3881}
3882area[sport=cycling],
3883area[sport=dog_racing],
3884area[sport=equestrian],
3885area[sport=golf],
3886area[sport=gymnastics],
3887area[sport=field_hockey],
3888area[sport=ice_hockey],
3889area[sport=horse_racing],
3890area[sport=karting][highway!=raceway],
3891area[sport=karting][highway=raceway][area=yes],
3892area[sport=motocross][highway!=raceway],
3893area[sport=motocross][highway=raceway][area=yes],
3894area[sport=motor][highway!=raceway],
3895area[sport=motor][highway=raceway][area=yes] {
3896 fill-color: sport#bde3cb;
3897}
3898node[sport=cycling] {
3899 icon-image: "sport/cycling.png";
3900 set icon_z17;
3901 text: auto;
3902}
3903node[sport=dog_racing] {
3904 icon-image: "leisure/dog.png";
3905 set icon_z17;
3906 text: auto;
3907}
3908node[sport=equestrian] {
3909 icon-image: "presets/equestrian.png";
3910 icon-width: 16;
3911 set icon_z17;
3912 text: auto;
3913}
3914node[sport=golf] {
3915 icon-image: "sport/golf.svg";
3916 set icon_z17;
3917 text: auto;
3918}
3919node[sport=gymnastics] {
3920 icon-image: "presets/gymnastics.png";
3921 icon-width: 16;
3922 set icon_z17;
3923 text: auto;
3924}
3925node[sport=field_hockey] {
3926 icon-image: "sport/field_hockey.png";
3927 set icon_z17;
3928 text: auto;
3929}
3930node[sport=ice_hockey] {
3931 icon-image: "sport/ice_hockey.png";
3932 set icon_z17;
3933 text: auto;
3934}
3935node[sport=horse_racing] {
3936 icon-image: "sport/riding.png";
3937 set icon_z17;
3938 text: auto;
3939}
3940node[sport=karting] {
3941 icon-image: "sport/karting.png";
3942 set icon_z17;
3943 text: auto;
3944}
3945node[sport=motocross] {
3946 icon-image: "sport/motocross.png";
3947 set icon_z17;
3948 text: auto;
3949}
3950node[sport=motor] {
3951 icon-image: "sport/motor.png";
3952 set icon_z17;
3953 text: auto;
3954}
3955area[sport=multi],
3956area[sport=pelota],
3957area[sport=racquet],
3958area[sport=skating],
3959area[sport=skateboard] {
3960 fill-color: sport#bde3cb;
3961}
3962node[sport=multi] {
3963 icon-image: "sport/multi.png";
3964 set icon_z17;
3965 text: auto;
3966}
3967node[sport=pelota] {
3968 icon-image: "sport/pelota.png";
3969 set icon_z17;
3970 text: auto;
3971}
3972node[sport=racquet] {
3973 icon-image: "sport/racquetball.png";
3974 set icon_z17;
3975 text: auto;
3976}
3977node[sport=skating] {
3978 icon-image: "sport/skating.png";
3979 set icon_z17;
3980 text: auto;
3981}
3982node[sport=skateboard] {
3983 icon-image: "sport/skateboard.png";
3984 set icon_z17;
3985 text: auto;
3986}
3987area[sport=swimming] {
3988 fill-color: swimming_pool#51c4ef;
3989}
3990node[sport=swimming] {
3991 icon-image: "sport/pool.png";
3992 set icon_z17;
3993 text: auto;
3994}
3995area[sport=table_tennis],
3996area[sport=tennis],
3997area[sport=paintball] {
3998 fill-color: sport#bde3cb;
3999}
4000node[sport=table_tennis] {
4001 icon-image: "sport/table_tennis.png";
4002 set icon_z17;
4003 text: auto;
4004}
4005node[sport=tennis] {
4006 icon-image: "sport/tennis.png";
4007 set icon_z17;
4008 text: auto;
4009}
4010node[sport=paintball] {
4011 icon-image: "misc/no_icon.png";
4012 set icon_z17;
4013 text: auto;
4014}
4015area[sport=squash],
4016area[sport=shooting],
4017area[sport=volleyball],
4018area[sport=beachvolleyball],
4019area[sport=billiards],
4020area[sport=bowling],
4021area[sport=handball],
4022area[sport=rowing],
4023area[sport=sailing],
4024area[sport=scuba_diving],
4025area[sport=badminton] {
4026 fill-color: sport#bde3cb;
4027}
4028node[sport=squash] {
4029 icon-image: "misc/no_icon.png";
4030 set icon_z17;
4031 text: auto;
4032}
4033node[sport=shooting] {
4034 icon-image: "presets/range.png";
4035 icon-width: 16;
4036 set icon_z17;
4037 text: auto;
4038}
4039node[sport=volleyball] {
4040 icon-image: "sport/volleyball.png";
4041 set icon_z17;
4042 text: auto;
4043}
4044node[sport=beachvolleyball] {
4045 icon-image: "sport/beachvolleyball.png";
4046 set icon_z17;
4047 text: auto;
4048}
4049node[sport=billiards] {
4050 icon-image: "sport/billiards.svg";
4051 set icon_z17;
4052 text: auto;
4053}
4054node[sport=bowling] {
4055 icon-image: "sport/10pin.png";
4056 set icon_z17;
4057 text: auto;
4058}
4059node[sport=handball] {
4060 icon-image: "sport/handball.png";
4061 set icon_z17;
4062 text: auto;
4063}
4064node[sport=rowing] {
4065 icon-image: "sport/rowing.png";
4066 set icon_z17;
4067 text: auto;
4068}
4069node[sport=sailing] {
4070 icon-image: "misc/no_icon.png";
4071 set icon_z17;
4072 text: auto;
4073}
4074node[sport=scuba_diving] {
4075 icon-image: "sport/scuba_diving.svg";
4076 set icon_z17;
4077 text: auto;
4078}
4079node[sport=badminton] {
4080 icon-image: "misc/no_icon.png";
4081 set icon_z17;
4082 text: auto;
4083}
4084area[sport=archery],
4085area[sport=fishing],
4086area[sport=model_aerodrome],
4087area[sport=rc_car] {
4088 fill-color: sport#bde3cb;
4089}
4090node[sport=archery] {
4091 icon-image: "sport/archery.png";
4092 set icon_z17;
4093 text: auto;
4094}
4095node[sport=fishing] {
4096 icon-image: "sport/fishing.png";
4097 set icon_z17;
4098 text: auto;
4099}
4100node[sport=model_aerodrome] {
4101 icon-image: "transport/airport.png";
4102 set icon_z17;
4103 text: auto;
4104}
4105node[sport=rc_car] {
4106 icon-image: "transport/car.png";
4107 set icon_z17;
4108 text: auto;
4109}
4110
4111/****************/
4112/* natural tags */
4113/****************/
4114
4115area[natural=spring] {
4116 fill-color: light_water#00005f;
4117}
4118node[natural=spring] {
4119 icon-image: "misc/landmark/spring.png";
4120 set icon_z17;
4121 text: auto;
4122}
4123node[natural=saddle] {
4124 icon-image: "presets/saddle.svg";
4125 set icon_z0;
4126 text: auto;
4127 set text_z0;
4128}
4129node[natural=peak] {
4130 icon-image: "presets/peak.svg";
4131 set icon_z0;
4132 text: auto;
4133 set text_z0;
4134}
4135node[natural=peak][tourism=viewpoint] {
4136 icon-image: "sightseeing/peak_viewpoint.svg";
4137 set icon_z0;
4138 text: auto;
4139 set text_z0;
4140}
4141area[natural=glacier] {
4142 fill-color: glacier#ffffff;
4143}
4144node[natural=volcano] {
4145 icon-image: "misc/landmark/volcano_small.png";
4146 set icon_z0;
4147 text: auto;
4148 set text_z0;
4149}
4150area[natural=cliff]:closed {
4151 fill-color: natural#002f00;
4152}
4153way[natural=cliff] {
4154 repeat-image: "misc/cliff-pattern.png";
4155 repeat-image-align: top;
4156 width: 1;
4157 color: #b2b2b2;
4158}
4159node[natural=cliff] {
4160 icon-image: "misc/cliff.svg";
4161 set icon_z17;
4162 text: auto;
4163}
4164way[natural=ridge] {
4165 width: 1;
4166 color: natural#002f00;
4167}
4168way[natural=valley] {
4169 width: 1;
4170 color: natural#002f00;
4171}
4172area[natural=scree] {
4173 fill-color: natural#002f00;
4174}
4175area[natural=scrub] {
4176 fill-color: scrub#007000;
4177}
4178area[natural=fell] {
4179 fill-color: natural#002f00;
4180}
4181area[natural=heath] {
4182 fill-color: heath#ffffc0;
4183}
4184way[natural=tree_row] {
4185 width: 2;
4186 color: woodarea#008000;
4187}
4188area[natural=wood] {
4189 fill-color: woodarea#008000;
4190}
4191area[natural=grassland] {
4192 fill-color: green#b1e0c2;
4193}
4194area[natural=wetland] {
4195 fill-color: marsh#4f4ff3;
4196}
4197area[natural=water] {
4198 fill-color: water#0000ff;
4199}
4200way[natural=coastline] {
4201 width: 2;
4202 color: water#0000ff;
4203 right-casing-color: water#0000ff;
4204 right-casing-width: 5;
4205 right-casing-opacity: 0.30;
4206}
4207area[natural=mud] {
4208 fill-color: mud#cba762;
4209}
4210area[natural=beach] {
4211 fill-color: beach#f8dba2;
4212}
4213area[natural=sand] {
4214 fill-color: sand#f8dba2;
4215}
4216area[natural=bare_rock] {
4217 fill-color: bare_rock#f8f8c7;
4218}
4219area[natural=rock] {
4220 fill-color: stone#f8f8c7;
4221}
4222node[natural=rock] {
4223 icon-image: "misc/rock.svg";
4224 set icon_z17;
4225 text: auto;
4226}
4227area[natural=stone] {
4228 fill-color: stone#f8f8c7;
4229}
4230node[natural=stone] {
4231 icon-image: "misc/stone.svg";
4232 set icon_z17;
4233 text: auto;
4234}
4235area[natural=bay],
4236area[natural=cave_entrance] {
4237 fill-color: natural#002f00;
4238}
4239node[natural=bay] {
4240 icon-image: "nautical/bay.svg";
4241 set icon_z17;
4242 text: auto;
4243}
4244node[natural=cave_entrance] {
4245 icon-image: "misc/landmark/cave_entrance.png";
4246 set icon_z17;
4247 text: auto;
4248}
4249node[natural=tree] {
4250 icon-image: "misc/landmark/trees.png";
4251 set icon_z17;
4252 text: auto;
4253}
4254node[natural=tree][type=conifer],
4255node[natural=tree][leaf_type=needleleaved] {
4256 icon-image: "misc/landmark/trees_conifer.png";
4257 set icon_z17;
4258 text: auto;
4259}
4260node[natural=tree][type=broad_leaved],
4261node[natural=tree][leaf_type=broadleaved] {
4262 icon-image: "misc/landmark/trees_broad_leaved.png";
4263 set icon_z17;
4264 text: auto;
4265}
4266node[natural=tree][type=palm] {
4267 icon-image: "misc/landmark/trees_palm.png";
4268 set icon_z17;
4269 text: auto;
4270}
4271node[natural=glacier],
4272node[natural=scree],
4273node[natural=scrub],
4274node[natural=fell],
4275node[natural=heath],
4276node[natural=tree_row],
4277node[natural=wood],
4278node[natural=grassland],
4279node[natural=wetland],
4280node[natural=water],
4281node[natural=coastline],
4282node[natural=mud],
4283node[natural=beach],
4284node[natural=sand],
4285node[natural=land],
4286node[natural=bare_rock],
4287node[natural=ridge],
4288node[natural=valley] {
4289 icon-image: "misc/deprecated.png";
4290 set icon_z17;
4291 text: auto;
4292}
4293/*****************/
4294/* waterway tags */
4295/*****************/
4296
4297way[waterway=river] {
4298 width: 2;
4299 color: water#0000ff;
4300}
4301area[waterway=riverbank] {
4302 fill-color: riverbank#0000cf;
4303 width: 1;
4304 color: riverbank#0000cf;
4305}
4306way[waterway=canal] {
4307 width: 2;
4308 color: water#0000ff;
4309}
4310way[waterway=stream] {
4311 width: 1;
4312 color: stream#6600cc;
4313}
4314way[waterway=ditch], way[waterway=drain] {
4315 width: 1;
4316 color: water#0000ff;
4317}
4318area[waterway=dock] {
4319 fill-color: dock#0000cf;
4320}
4321node[waterway=dock] {
4322 icon-image: "nautical/boatyard.png";
4323 set icon_z17;
4324 text: auto;
4325}
4326node[waterway=lock_gate] {
4327 icon-image: "nautical/lock_gate.png";
4328 set icon_z17;
4329 text: auto;
4330}
4331node[waterway=turning_point] {
4332 icon-image: "nautical/turning.png";
4333 set icon_z17;
4334 text: auto;
4335}
4336area[waterway=boatyard] {
4337 fill-color: manmade#d8d8d8;
4338}
4339node[waterway=boatyard] {
4340 icon-image: "nautical/boatyard.png";
4341 set icon_z17;
4342 text: auto;
4343}
4344node[waterway=water_point],
4345node[waterway=waste_disposal],
4346node[waterway=mooring] {
4347 icon-image: "misc/deprecated.png";
4348 set icon_z17;
4349 text: auto;
4350}
4351node[mooring] {
4352 icon-image: "nautical/marina.png";
4353 set icon_z17;
4354 text: auto;
4355}
4356area[waterway=fuel] {
4357 fill-color: amenity_traffic#f7efb7;
4358}
4359node[waterway=fuel] {
4360 icon-image: "nautical/marine_fuel.png";
4361 icon-width: 16;
4362 set icon_z17;
4363 text: auto;
4364}
4365way[waterway=weir] {
4366 width: 2;
4367 color: manmade#d8d8d8;
4368}
4369node[waterway=weir] {
4370 icon-image: "nautical/weir.png";
4371 set icon_z17;
4372 text: auto;
4373}
4374area[waterway=dam]:closed {
4375 fill-color: manmade#d8d8d8;
4376}
4377way[waterway=dam] {
4378 width: 2;
4379 color: manmade#d8d8d8;
4380}
4381node[waterway=dam] {
4382 icon-image: "nautical/dam.png";
4383 set icon_z17;
4384 text: auto;
4385}
4386/* it's not possible to have both line and area, line seems more likely */
4387way[waterway=waterfall] {
4388 width: 2;
4389 color: manmade#d8d8d8;
4390}
4391node[waterway=waterfall] {
4392 icon-image: "nautical/waterfall.png";
4393 set icon_z17;
4394 text: auto;
4395}
4396node[waterway=river], node[waterway=riverbank],
4397node[waterway=canal], node[waterway=wadi],
4398node[waterway=stream],
4399node[waterway=ditch], node[waterway=drain] {
4400 icon-image: "misc/deprecated.png";
4401 set icon_z17;
4402 text: auto;
4403}
4404
4405/**************/
4406/* route tags */
4407/**************/
4408
4409way[route=ferry] {
4410 width: 1;
4411 color: ferry#809bc0;
4412 dashes: 9,9;
4413}
4414node[route=bus],
4415node[route=ferry],
4416node[route=flight],
4417node[route=ncn],
4418node[route=subsea],
4419node[route=ski],
4420node[route=tour],
4421node[route=pub_crawl] {
4422 icon-image: "misc/deprecated.png";
4423 set icon_z17;
4424 text: auto;
4425}
4426
4427/*******************/
4428/* properties tags */
4429/*******************/
4430
4431node[mountain_pass?] {
4432 icon-image: "misc/landmark/mountain_pass.png";
4433 set icon_z0;
4434 text: auto;
4435 set text_z0;
4436}
4437
4438/*****************/
4439/* boundary tags */
4440/*****************/
4441
4442way[boundary=protected_area]::core_boundary,
4443way[boundary=administrative]::core_boundary,
4444way[boundary=postal_code]::core_boundary,
4445way[boundary=political]::core_boundary,
4446way[boundary=maritime]::core_boundary,
4447way[boundary=national_park]::core_boundary {
4448 z-index: 2;
4449 modifier: false;
4450 width: 1;
4451 color: boundary#FF6600;
4452 dashes: 9,9;
4453}
4454way[admin_level=9]::core_boundary,
4455relation[admin_level=9] > way::core_boundary,
4456way[admin_level=10]::core_boundary,
4457relation[admin_level=10] > way::core_boundary {
4458 z-index: 2;
4459 modifier: false;
4460 width: 1;
4461 color: boundary#FF6600;
4462 dashes: 9,9;
4463}
4464way[admin_level=7]::core_boundary,
4465relation[admin_level=7] > way::core_boundary,
4466way[admin_level=8]::core_boundary,
4467relation[admin_level=8] > way::core_boundary {
4468 z-index: 2;
4469 modifier: false;
4470 width: 2;
4471 color: boundary#FF6600;
4472 dashes: 9,9;
4473}
4474way[admin_level=5]::core_boundary,
4475relation[admin_level=5] > way::core_boundary,
4476way[admin_level=6]::core_boundary,
4477relation[admin_level=6] > way::core_boundary {
4478 z-index: 2;
4479 modifier: false;
4480 width: 3;
4481 color: boundary#FF6600;
4482 dashes: 9,9;
4483}
4484way[admin_level=3]::core_boundary,
4485relation[admin_level=3] > way::core_boundary,
4486way[admin_level=4]::core_boundary,
4487relation[admin_level=4] > way::core_boundary {
4488 z-index: 2;
4489 modifier: false;
4490 width: 4;
4491 color: boundary#FF6600;
4492 dashes: 9,9;
4493}
4494way[admin_level=1]::core_boundary,
4495relation[admin_level=1] > way::core_boundary,
4496way[admin_level=2]::core_boundary,
4497relation[admin_level=2] > way::core_boundary {
4498 z-index: 2;
4499 modifier: false;
4500 width: 5;
4501 color: boundary#FF6600;
4502 dashes: 9,9;
4503}
4504node[boundary=national],
4505node[boundary=administrative],
4506node[boundary=postal_code],
4507node[boundary=political],
4508node[boundary=national_park] {
4509 icon-image: "misc/deprecated.png";
4510 set icon_z17;
4511 text: auto;
4512}
4513
4514/******************/
4515/* maxspeed nodes */
4516/******************/
4517node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4518 icon-image: "vehicle/restriction/maxspeed_none.svg";
4519 set icon_z17;
4520}
4521node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4522 maxspeedprop: tag(maxspeed);
4523 set maxspeedclass;
4524}
4525node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4526 maxspeedprop: " ?";
4527 set maxspeedclass;
4528}
4529node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4530 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4531 set maxspeedclass;
4532}
4533node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4534 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4535 set maxspeedclass;
4536}
4537node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4538 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4539 set maxspeedclass;
4540}
4541node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4542 /* background (white) */
4543 symbol-shape: circle;
4544 symbol-size: 17;
4545 symbol-fill-color: white;
4546 major-z-index: 4.2;
4547}
4548node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4549node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4550 /* background (black) */
4551 symbol-fill-color: black;
4552}
4553node[prop(maxspeedclass, default)]::core_maxnodefg {
4554 /* foreground (black text and red circle) */
4555 symbol-shape: circle;
4556 symbol-size: 15;
4557 symbol-stroke-color: crimson;
4558 symbol-stroke-width: 2;
4559 text: prop(maxspeedprop, default);
4560 font-size: 8;
4561 font-weight: bold;
4562 text-color: black;
4563 text-anchor-horizontal: center;
4564 text-anchor-vertical: center;
4565 text-offset-x: 0;
4566 text-offset-y: -1;
4567 major-z-index: 4.2;
4568}
4569node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4570node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4571 /* foreground (white text) */
4572 text-color: white;
4573}
4574node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4575 symbol-shape: none;
4576}
4577node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4578 text: none;
4579 symbol-shape: none;
4580}
4581
4582/**************/
4583/* place tags */
4584/**************/
4585
4586/* lot's of "openGeoDB:..." tags can be found in germany */
4587node["openGeoDB:type"=Stadt],
4588node["openGeoDB:type"=Kreis],
4589node["openGeoDB:type"=Gemeinde],
4590node["openGeoDB:type"=Ort],
4591node["openGeoDB:type"=District],
4592node["openGeoDB:location"=locality] {
4593 icon-image: "place/settlement/openGeoDB.png";
4594 set icon_z0;
4595 text: auto;
4596 set text_z0;
4597 font-size: 10;
4598 font-weight: bold;
4599 text-color:black;
4600 text-halo-color: white;
4601 text-halo-radius: 1;
4602}
4603area[setting("place_fill_colour")][place=continent],
4604area[setting("place_fill_colour")][place=country],
4605area[setting("place_fill_colour")][place=state],
4606area[setting("place_fill_colour")][place=region],
4607area[setting("place_fill_colour")][place=county],
4608area[setting("place_fill_colour")][place=city],
4609area[setting("place_fill_colour")][place=town],
4610area[setting("place_fill_colour")][place=village],
4611area[setting("place_fill_colour")][place=hamlet],
4612area[setting("place_fill_colour")][place=farm],
4613area[setting("place_fill_colour")][place=isolated_dwelling],
4614area[setting("place_fill_colour")][place=neighbourhood],
4615area[setting("place_fill_colour")][place=suburb],
4616area[setting("place_fill_colour")][place=locality],
4617area[setting("place_fill_colour")][place=island],
4618area[setting("place_fill_colour")][place=islet] {
4619 fill-color: place#8de3cb;
4620}
4621node[place=continent],
4622node[place=country],
4623node[place=state],
4624node[place=region],
4625node[place=county] {
4626 icon-image: "place/settlement/capital.png";
4627 set icon_z0;
4628 text: auto;
4629 set text_z0;
4630 font-size: 10;
4631 font-weight: bold;
4632 text-color:black;
4633 text-halo-color: white;
4634 text-halo-radius: 1;
4635 z-index: 2.9;
4636}
4637node[place=city] {
4638 icon-image: "place/settlement/city.png";
4639 set icon_z0;
4640 text: auto;
4641 set text_z0;
4642 font-size: 10;
4643 font-weight: bold;
4644 text-color:black;
4645 text-halo-color: white;
4646 text-halo-radius: 1;
4647 z-index: 2.8;
4648}
4649node[place=town] {
4650 icon-image: "place/settlement/town.png";
4651 set icon_z0;
4652 text: auto;
4653 set text_z0;
4654 font-size: 10;
4655 font-weight: bold;
4656 text-color:black;
4657 text-halo-color: white;
4658 text-halo-radius: 1;
4659 z-index: 2.7;
4660}
4661node[place=suburb] {
4662 icon-image: "place/settlement/suburb.png";
4663 set icon_z0;
4664 text: auto;
4665 set text_z0;
4666 font-size: 10;
4667 font-weight: bold;
4668 text-color:black;
4669 text-halo-color: white;
4670 text-halo-radius: 1;
4671 z-index: 2.6;
4672}
4673node[place=village] {
4674 icon-image: "place/settlement/village.png";
4675 set icon_z0;
4676 text: auto;
4677 set text_z0;
4678 font-size: 10;
4679 font-weight: bold;
4680 text-color:black;
4681 text-halo-color: white;
4682 text-halo-radius: 1;
4683 z-index: 2.5;
4684}
4685node[place=neighbourhood] {
4686 icon-image: "place/settlement/neighbourhood.png";
4687 set icon_z0;
4688 text: auto;
4689 set text_z0;
4690 font-size: 10;
4691 font-weight: bold;
4692 text-color:black;
4693 text-halo-color: white;
4694 text-halo-radius: 1;
4695 z-index: 2.4;
4696}
4697node[place=hamlet] {
4698 icon-image: "place/settlement/hamlet.png";
4699 set icon_z0;
4700 text: auto;
4701 set text_z0;
4702 font-size: 10;
4703 font-weight: bold;
4704 text-color:black;
4705 text-halo-color: white;
4706 text-halo-radius: 1;
4707 z-index: 2.3;
4708}
4709node[place=isolated_dwelling] {
4710 icon-image: "place/settlement/isolated_dwelling.png";
4711 set icon_z0;
4712 text: auto;
4713 set text_z0;
4714 font-size: 10;
4715 font-weight: bold;
4716 text-color:black;
4717 text-halo-color: white;
4718 text-halo-radius: 1;
4719 z-index: 2.2;
4720}
4721node[place=farm] {
4722 icon-image: "place/settlement/farm.png";
4723 set icon_z0;
4724 text: auto;
4725 set text_z0;
4726 font-size: 10;
4727 font-weight: bold;
4728 text-color:black;
4729 text-halo-color: white;
4730 text-halo-radius: 1;
4731 z-index: 2.1;
4732}
4733node|z15-[place=locality],
4734node|z-14[place=locality][!setting("hide_icons")] {
4735 icon-image: "place/locality.png";
4736 text: auto;
4737 font-size: 10;
4738 font-weight: bold;
4739 text-color:black;
4740 text-halo-color: white;
4741 text-halo-radius: 1;
4742}
4743node[place=island] {
4744 icon-image: "place/island.png";
4745 set icon_z0;
4746 text: auto;
4747 set text_z0;
4748 font-size: 10;
4749 font-weight: bold;
4750 text-color:black;
4751 text-halo-color: white;
4752 text-halo-radius: 1;
4753}
4754node[place=islet] {
4755 icon-image: "place/islet.png";
4756 set icon_z0;
4757 text: auto;
4758 set text_z0;
4759 font-size: 10;
4760 font-weight: bold;
4761 text-color:black;
4762 text-halo-color: white;
4763 text-halo-radius: 1;
4764}
4765
4766/***************************/
4767/* "work in progress" tags */
4768/***************************/
4769
4770node|z16-[fixme]::core_note_fixme,
4771node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4772node|z16-[FIXME]::core_note_fixme,
4773node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4774 object-z-index: 10;
4775 icon-image: "misc/fixme-annotation.png";
4776}
4777node|z16-[note]::core_note_fixme,
4778node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4779 object-z-index: 10;
4780 icon-image: "misc/note-annotation.png";
4781}
4782node|z16-[note][fixme]::core_note_fixme,
4783node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4784node|z16-[note][FIXME]::core_note_fixme,
4785node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4786 icon-image: "misc/note-fixme-annotation.png";
4787}
4788
4789/* special display of unreviewed tiger data (USA) */
4790way["tiger:reviewed"=no]::core_tiger {
4791 major-z-index: -10;
4792 width: 11;
4793 color: tiger_data#808000;
4794 opacity: 0.6;
4795}
4796
4797/****************************************/
4798/* zoom levels and general node display */
4799/****************************************/
4800
4801/*
4802Summary of different zoom levels:
4803 (any zoom) place=* (except locality) and a few natural icons with their text is shown
4804 |z-15 untagged way nodes are hidden completely
4805 |z15 place=locality icon
4806 |z16- fixme=* and note=* symbols; place=locality text
4807 |z17- normal POI icons (without text),
4808 street name along highway=* ways
4809 |z18- text for normal POI icons is shown
4810
4811 * text size and node size is adapted according to zoom level (see style source below)
4812 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4813
4814*/
4815
4816node {
4817 text: auto;
4818}
4819node|z-16[setting("hide_icons")],
4820node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4821node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4822 symbol-size: 2;
4823 symbol-shape: square;
4824 symbol-stroke-color: node_standard#ffff00;
4825 major-z-index: 4.95; /* put node squares above line text */
4826}
4827way > node|z-15[setting("shrink_nodes")]!:tagged {
4828 symbol-shape: none;
4829}
4830node:connection {
4831 symbol-stroke-color: node_connection#ffff00;
4832}
4833node:tagged {
4834 symbol-stroke-color: none;
4835 symbol-fill-color: node_tagged#00ffff;
4836}
4837
4838way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4839
4840node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4841way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4842node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4843
4844node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4845way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4846node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4847
4848node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4849way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4850node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4851
4852node[!setting("shrink_nodes")] { symbol-size: 4; }
4853way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4854node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4855
4856node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4857relation|z-16[type=restriction][setting("hide_icons")] {
4858 icon-image: none;
4859}
4860node|z-17[setting("hide_icons")]!.text_z0 {
4861 text: none;
4862}
4863node|z16-17[setting("hide_icons")][place=locality] {
4864 text: auto;
4865}
4866
4867node|z19,area|z19 { font-size: 9; }
4868node|z20-,area|z20- { font-size: 10; }
4869
4870/*******************/
4871/* way text labels */
4872/*******************/
4873
4874way|z17-[highway^=motorway][setting("highway_labels")],
4875way|z17-[highway^=trunk][setting("highway_labels")],
4876way|z17-[highway^=primary][setting("highway_labels")],
4877way|z17-[highway^=secondary][setting("highway_labels")],
4878way|z17-[highway^=tertiary][setting("highway_labels")],
4879way|z17-[highway=unclassified][setting("highway_labels")],
4880way|z17-[highway=residential][setting("highway_labels")],
4881way|z17-[highway=living_street][setting("highway_labels")],
4882way|z17-[highway=escape][setting("highway_labels")],
4883way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4884way|z17-[highway=steps][setting("highway_labels")],
4885way|z17-[highway=footway][setting("highway_labels")],
4886way|z17-[highway=path][setting("highway_labels")],
4887way|z17-[highway=service][setting("highway_labels")],
4888way|z17-[highway=track][setting("highway_labels")],
4889way|z17-[highway=cycleway][setting("highway_labels")],
4890way|z17-[highway=bridleway][setting("highway_labels")],
4891way|z17-[highway=bus_guideway][setting("highway_labels")],
4892way|z17-[highway=raceway][setting("highway_labels")],
4893way|z17-[highway=construction][setting("highway_labels")],
4894way|z17-[highway=road][setting("highway_labels")] {
4895 text: auto;
4896 text-color: black;
4897 font-size: 9;
4898 text-position: line;
4899 text-halo-opacity: 1;
4900 text-halo-radius: 1.5;
4901}
4902way|z17-[highway^=motorway][setting("highway_labels")] {
4903 text-halo-color: motorway#809bc0;
4904}
4905way|z17-[highway^=trunk][setting("highway_labels")] {
4906 text-halo-color: trunk#7fc97f;
4907}
4908way|z17-[highway^=primary][setting("highway_labels")] {
4909 text-halo-color: primary#fb805f;
4910}
4911way|z17-[highway^=secondary][setting("highway_labels")] {
4912 text-halo-color: secondary#fdbf6f;
4913}
4914way|z17-[highway^=tertiary][setting("highway_labels")] {
4915 text-halo-color: tertiary#f7f496;
4916}
4917way|z17-[highway=unclassified][setting("highway_labels")],
4918way|z17-[highway=residential][setting("highway_labels")],
4919way|z17-[highway=living_street][setting("highway_labels")],
4920way|z17-[highway=escape][setting("highway_labels")] {
4921 text-halo-color: street#c0c0c0;
4922}
4923way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4924way|z17-[highway=steps][setting("highway_labels")],
4925way|z17-[highway=footway][setting("highway_labels")],
4926way|z17-[highway=path][setting("highway_labels")] {
4927 text-halo-color: foot#00ff00;
4928}
4929way|z17-[highway=service][setting("highway_labels")] {
4930 text-halo-color: service#809bc0;
4931}
4932way|z17-[highway=track][setting("highway_labels")] {
4933 text-halo-color: highway_track#6e541c;
4934}
4935way|z17-[highway=cycleway][setting("highway_labels")],
4936way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4937 text-halo-color: bicycle#b100ff;
4938}
4939way|z17-[highway=bridleway][setting("highway_labels")] {
4940 text-halo-color: horse#a18559;
4941}
4942way|z17-[highway=bus_guideway][setting("highway_labels")] {
4943 text-halo-color: rail#404040;
4944}
4945way|z17-[highway=raceway][setting("highway_labels")] {
4946 text-halo-color: raceway#ff80ff;
4947}
4948way|z17-[highway=construction][setting("highway_labels")] {
4949 text-halo-color: construction#ffff00;
4950}
4951way|z17-[highway=road][setting("highway_labels")] {
4952 text-halo-color: highway_road#770000;
4953}
4954way|z17-[highway][railway=platform][setting("highway_labels")] {
4955 text-halo-color: rail#404040;
4956}
4957way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4958 text-halo-color: service#809bc0;
4959}
4960way|z18[highway][setting("highway_labels")] {
4961 font-size: 10;
4962}
4963way|z19[highway][setting("highway_labels")] {
4964 font-size: 11;
4965}
4966way|z20-[highway][setting("highway_labels")] {
4967 font-size: 12;
4968}
4969
4970/*************/
4971/* Area fill */
4972/*************/
4973
4974/* small extent for unclosed area (see below for closed) */
4975area[setting("partial_fill")] {
4976 fill-extent: 15;
4977}
4978
4979/* Turn partial fill off and us plain fill, when the partial fill covers about
4980 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4981 Switching between full and partial fill while drawing an area might be irritating,
4982 so only do this at low zoom. */
4983area|z-13[setting("partial_fill")] {
4984 fill-extent-threshold: 1.0;
4985}
4986
4987/* Larger extent for closed areas.
4988 Turn partial fill off, when it covers more than about 50% of the area. This is avoids
4989 areas with small unfilled patches in the center. */
4990area[setting("partial_fill")]:closed2 {
4991 fill-extent: 25;
4992 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4993}
4994
Note: See TracBrowser for help on using the repository browser.