source: josm/trunk/resources/styles/standard/elemstyles.mapcss

Last change on this file was 19458, checked in by stoecker, 5 weeks ago

fix #24441 - patch by StephaneP - manage amenity=charging_station on area in default style

  • Property svn:eol-style set to native
File size: 149.0 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12 icon: "logo_32x32x8.png";
13}
14
15canvas {
16 default-points: false;
17}
18node {
19 text: auto;
20}
21
22/*************************/
23/* create style settings */
24/*************************/
25
26setting::hide_icons {
27 type: boolean;
28 label: tr("Hide icons at low zoom");
29 default: true;
30}
31
32setting::shrink_nodes {
33 type: boolean;
34 label: tr("Less obtrusive node symbols at low zoom");
35 default: true;
36}
37
38setting::hide_tagged_waynodes {
39 type: boolean;
40 label: tr("Hide tagged waynodes at low zoom");
41 default: true;
42}
43
44setting::highway_labels {
45 type: boolean;
46 label: tr("Display street labels (at high zoom)");
47 default: true;
48}
49
50setting::alt_turn_icons {
51 type: boolean;
52 label: tr("Use alternative turn restriction icon set");
53 default: false;
54}
55
56setting::place_fill_colour {
57 type: boolean;
58 label: tr("Display fill colour of areas with place=*");
59 default: false;
60}
61
62setting::partial_fill {
63 type: boolean;
64 label: tr("Areas are drawn with fill only around their inner edges");
65 default: true;
66}
67
68setting::note_annotation {
69 type: boolean;
70 label: tr("Display note=* annotation on nodes");
71 default: false;
72}
73
74/*********************/
75/* turn restrictions */
76/*********************/
77
78relation[restriction=no_left_turn][!setting("alt_turn_icons")] {
79 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg";
80 set icon_z17;
81 text: auto;
82}
83relation[restriction=no_left_turn][setting("alt_turn_icons")] {
84 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg";
85 set icon_z17;
86 text: auto;
87}
88relation[restriction=no_right_turn][!setting("alt_turn_icons")] {
89 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg";
90 set icon_z17;
91 text: auto;
92}
93relation[restriction=no_right_turn][setting("alt_turn_icons")] {
94 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg";
95 set icon_z17;
96 text: auto;
97}
98relation[restriction=no_straight_on][!setting("alt_turn_icons")] {
99 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg";
100 set icon_z17;
101 text: auto;
102}
103relation[restriction=no_straight_on][setting("alt_turn_icons")] {
104 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg";
105 set icon_z17;
106 text: auto;
107}
108relation[restriction=no_u_turn] {
109 icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg";
110 set icon_z17;
111 text: auto;
112}
113relation[restriction=only_left_turn] {
114 icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg";
115 set icon_z17;
116 text: auto;
117}
118relation[restriction=only_right_turn] {
119 icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg";
120 set icon_z17;
121 text: auto;
122}
123relation[restriction=only_straight_on] {
124 icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg";
125 set icon_z17;
126 text: auto;
127}
128node[restriction] {
129 icon-image: "presets/misc/deprecated.svg";
130 set icon_z17;
131 text: auto;
132}
133
134/*********************************/
135/* conditional turn restrictions */
136/*********************************/
137
138relation["restriction:conditional" ^= "no_left_turn @ "][!setting("alt_turn_icons")] {
139 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg";
140 icon-opacity: 0.5;
141 set icon_z17;
142 text: auto;
143}
144relation["restriction:conditional" ^= "no_left_turn @ "][setting("alt_turn_icons")] {
145 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg";
146 icon-opacity: 0.5;
147 set icon_z17;
148 text: auto;
149}
150relation["restriction:conditional" ^= "no_right_turn @ "][!setting("alt_turn_icons")] {
151 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg";
152 icon-opacity: 0.6;
153 set icon_z17;
154 text: auto;
155}
156relation["restriction:conditional" ^= "no_right_turn @ "][setting("alt_turn_icons")] {
157 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg";
158 icon-opacity: 0.5;
159 set icon_z17;
160 text: auto;
161}
162relation["restriction:conditional" ^= "no_straight_on @ "][!setting("alt_turn_icons")] {
163 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg";
164 icon-opacity: 0.5;
165 set icon_z17;
166 text: auto;
167}
168relation["restriction:conditional" ^= "no_straight_on @ "][setting("alt_turn_icons")] {
169 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg";
170 icon-opacity: 0.5;
171 set icon_z17;
172 text: auto;
173}
174relation["restriction:conditional" ^= "no_u_turn @ "] {
175 icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg";
176 icon-opacity: 0.5;
177 set icon_z17;
178 text: auto;
179}
180relation["restriction:conditional" ^= "only_left_turn @ "] {
181 icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg";
182 icon-opacity: 0.5;
183 set icon_z17;
184 text: auto;
185}
186relation["restriction:conditional" ^= "only_right_turn @ "] {
187 icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg";
188 icon-opacity: 0.5;
189 set icon_z17;
190 text: auto;
191}
192relation["restriction:conditional" ^= "only_straight_on @ "] {
193 icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg";
194 icon-opacity: 0.5;
195 set icon_z17;
196 text: auto;
197}
198node["restriction:conditional"] {
199 icon-image: "presets/misc/deprecated.svg";
200 set icon_z17;
201 text: auto;
202}
203
204/******************/
205/* bridge, tunnel */
206/******************/
207
208way[bridge=yes]::core_bridge,
209way[bridge=aqueduct]::core_bridge,
210way[bridge=boardwalk]::core_bridge,
211way[bridge=cantilever]::core_bridge,
212way[bridge=covered]::core_bridge,
213way[bridge=low_water_crossing]::core_bridge,
214way[bridge=movable]::core_bridge,
215way[bridge=trestle]::core_bridge,
216way[bridge=viaduct]::core_bridge {
217 major-z-index: 2;
218 object-z-index: -1;
219 width: +4;
220 color: bridge#0000FF;
221 opacity: 0.9;
222}
223way[tunnel=yes]::core_tunnel,
224way[tunnel=culvert]::core_tunnel,
225way[tunnel=flooded]::core_tunnel,
226way[tunnel=building_passage]::core_tunnel,
227way[tunnel=avalanche_protector]::core_tunnel {
228 major-z-index: 2;
229 object-z-index: -1;
230 width: +5;
231 color: tunnel#964B00;
232 opacity: 0.9;
233}
234node[oneway],
235node[bridge],
236node[tunnel?],
237node[tunnel?!],
238node[cutting?!],
239node[embankment?!] {
240 icon-image: "presets/misc/deprecated.svg";
241 set icon_z17;
242}
243
244/****************************/
245/* access restrictions tags */
246/****************************/
247
248way[access?!]::core_access {
249 z-index: -1;
250 width: +2;
251 color: no#ff8080;
252 dashes: 2,2;
253}
254way[access=permissive]::core_access {
255 z-index: -1;
256 width: +2;
257 color: permissive#80ff80;
258 dashes: 2,2;
259}
260way[access=private]::core_access {
261 z-index: -1;
262 width: +2;
263 color: private#ff8080;
264 dashes: 2,2;
265}
266way[access=destination]::core_access {
267 z-index: -1;
268 width: +2;
269 color: destination#8080ff;
270 dashes: 2,2;
271}
272node[traffic_sign][access?!] {
273 icon-image: "presets/vehicle/restriction/restrictions.svg";
274 set icon_z17;
275}
276node[traffic_sign][access=permissive][!is_prop_set(icon-image)],
277node[traffic_sign][access=private][!is_prop_set(icon-image)],
278node[traffic_sign][access=destination][!is_prop_set(icon-image)] {
279 icon-image: "presets/misc/no_icon.svg";
280 set icon_z17;
281}
282node[traffic_sign][bicycle?!] {
283 icon-image: "presets/vehicle/restriction/bicycle.svg";
284 set icon_z17;
285}
286node[traffic_sign][bicycle=designated] {
287 icon-image: "presets/vehicle/restriction/bicycle-designated.svg";
288 set icon_z17;
289}
290node[traffic_sign][foot?!] {
291 icon-image: "presets/vehicle/restriction/foot.svg";
292 set icon_z17;
293}
294node[traffic_sign][foot=designated] {
295 icon-image: "presets/vehicle/restriction/foot-designated.svg";
296 set icon_z17;
297}
298node[traffic_sign][goods?!],
299node[traffic_sign][hgv?!] {
300 icon-image: "presets/vehicle/restriction/goods.svg";
301 set icon_z17;
302}
303node[traffic_sign][horse?!] {
304 icon-image: "presets/vehicle/restriction/horse.svg";
305 set icon_z17;
306}
307node[traffic_sign][horse=designated] {
308 icon-image: "presets/vehicle/restriction/horse-designated.svg";
309 set icon_z17;
310}
311node[traffic_sign][motorcycle?!] {
312 icon-image: "presets/vehicle/restriction/motorbike.svg";
313 set icon_z17;
314}
315node[traffic_sign][motorcar?!] {
316 icon-image: "presets/vehicle/restriction/motorcar.svg";
317 set icon_z17;
318}
319node[traffic_sign][psv?!] {
320 icon-image: "presets/vehicle/restriction/psv.svg";
321 set icon_z17;
322}
323node[traffic_sign][motorboat?!][!is_prop_set(icon-image)],
324node[traffic_sign][boat?!][!is_prop_set(icon-image)] {
325 icon-image: "presets/misc/no_icon.svg";
326 set icon_z17;
327}
328node[noexit=yes] {
329 icon-image: "presets/vehicle/restriction/dead_end.svg";
330 set icon_z17;
331}
332node[traffic_sign][maxweight] {
333 icon-image: "presets/vehicle/restriction/maxweight.svg";
334 set icon_z17;
335}
336node[traffic_sign][maxheight] {
337 icon-image: "presets/vehicle/restriction/maxheight.svg";
338 set icon_z17;
339}
340node[traffic_sign][maxwidth] {
341 icon-image: "presets/vehicle/restriction/maxwidth.svg";
342 set icon_z17;
343}
344node[traffic_sign][maxlength] {
345 icon-image: "presets/vehicle/restriction/maxlength.svg";
346 set icon_z17;
347}
348node[traffic_sign][minspeed] {
349 icon-image: "presets/vehicle/restriction/minspeed.svg";
350 set icon_z17;
351}
352node[traffic_sign][maxstay][!is_prop_set(icon-image)],
353node[traffic_sign][toll][!is_prop_set(icon-image)] {
354 icon-image: "presets/misc/no_icon.svg";
355 set icon_z17;
356}
357
358/*************************************/
359/* low rendering priority properties */
360/*************************************/
361
362area[changing_table=yes],
363area[changing_table=limited] {
364 fill-color: changing_table#f7efb7; /* same as amenity */
365}
366node[changing_table=yes],
367node[changing_table=limited] {
368 icon-image: "presets/service/changing_table.svg";
369 set icon_z17;
370}
371
372/*****************************/
373/* building/entrance/address */
374/*****************************/
375
376node["addr:housenumber"] {
377 icon-image: "presets/misc/housenumber_small.svg";
378 set icon_z17;
379}
380way["addr:interpolation"=odd] {
381 width: 1;
382 color: address#1C86EE;
383 dashes: 15,4;
384}
385way["addr:interpolation"=even] {
386 width: 1;
387 color: address#1C86EE;
388 dashes: 4,4;
389}
390way["addr:interpolation"=all],
391way["addr:interpolation"=alphabetic] {
392 width: 1;
393 color: address#1C86EE;
394 dashes: 2,2;
395}
396area[building][!building?!][building!=y][building!=1] {
397 fill-color: building#cb9999;
398}
399area[building=roof],
400area[building][!building?!][wall?!],
401area[building:part][!building:part?!] {
402 fill-color: buildingpart#dcbbbb;
403}
404area[building=construction][!construction] {
405 fill-color: building#cb9999;
406 width: 1;
407 color: construction#ffff00;
408 dashes: 9,9;
409}
410area[building=construction][construction] {
411 z-index: 1;
412 fill-color: buildingpart#dcbbbb;
413 width: 1;
414 dashes: 9,9;
415 casing-width: 1;
416 casing-color: construction#ffff00;
417 casing-linecap: round;
418 casing-dashes: 9,9;
419}
420node[building][!building?!] {
421 icon-image: "presets/landmark/building.svg";
422 set icon_z17;
423}
424node[building=garage] {
425 icon-image: "presets/landuse/garages.svg";
426 set icon_z17;
427}
428node[building=garages] {
429 icon-image: "presets/landuse/garages.svg";
430 set icon_z17;
431}
432node[building=transformer_tower] {
433 icon-image: "presets/power/transformer_tower.svg";
434 set icon_z17;
435}
436node[building=construction] {
437 icon-image: "presets/landmark/building_construction.svg";
438 set icon_z17;
439}
440node[entrance=yes],
441node[entrance=home],
442node[entrance=garage],
443node[entrance=staircase] {
444 icon-image: "presets/misc/entrance_yes.svg";
445 set icon_z17;
446}
447node[entrance=main] {
448 icon-image: "presets/misc/entrance_main.svg";
449 set icon_z17;
450}
451node[entrance=service] {
452 icon-image: "presets/misc/entrance_service.svg";
453 set icon_z17;
454}
455node[entrance=exit] {
456 icon-image: "presets/misc/entrance_exit.svg";
457 set icon_z17;
458}
459node[entrance=emergency] {
460 icon-image: "presets/misc/entrance_emergency.svg";
461 set icon_z17;
462}
463node[building=entrance],
464node[building:part] {
465 icon-image: "presets/misc/deprecated.svg";
466 set icon_z17;
467}
468
469/****************/
470/* barrier tags */
471/****************/
472
473way[barrier=bollard] {
474 width: 2;
475 color: barrier#F0F050;
476 dashes: 3,9;
477}
478node[barrier=bollard] {
479 icon-image: "presets/barrier/bollard.svg";
480 set icon_z17;
481}
482node[barrier=gate] {
483 icon-image: "presets/barrier/gate.svg";
484 set icon_z17;
485}
486way[barrier=gate],
487way[barrier=lift_gate],
488way[barrier=swing_gate],
489way[barrier=hampshire_gate],
490way[barrier=bump_gate],
491way[barrier=kissing_gate],
492way[barrier=wicket_gate] {
493 width: 2;
494 color: barrier-opening#88F050;
495}
496way[barrier=yes],
497way[barrier=hedge],
498way[barrier=fence],
499way[barrier=handrail],
500way[barrier=wall],
501way[barrier=guard_rail],
502way[barrier=cable_barrier],
503way[barrier=city_wall],
504way[barrier=retaining_wall],
505way[barrier=block],
506way[barrier=chain],
507way[barrier=ditch],
508way[barrier=jersey_barrier],
509way[barrier=log],
510way[barrier=kerb] {
511 width: 2;
512 color: barrier#F0F050;
513}
514way[barrier=hedge][area?], relation[type=multipolygon][barrier=hedge],
515way[barrier=wall][area?], relation[type=multipolygon][barrier=wall],
516way[barrier=city_wall][area?], relation[type=multipolygon][barrier=city_wall] {
517 fill-color: barrier#F0F050;
518}
519way[barrier=city_wall][two_sided!=yes] {
520 repeat-image: "presets/barrier/barrier_pattern.svg";
521 repeat-image-align: top;
522 repeat-image-offset: 0.5;
523}
524way[barrier=kerb] {
525 repeat-image: "presets/barrier/kerb_pattern.svg";
526 repeat-image-align: top;
527 repeat-image-offset: 0.5;
528}
529way[barrier=retaining_wall] {
530 repeat-image: "presets/misc/cliff_pattern.svg";
531 repeat-image-align: top;
532 repeat-image-offset: 0.5;
533}
534node[barrier=hedge],
535node[barrier=wall],
536node[barrier=guard_rail],
537node[barrier=cable_barrier],
538node[barrier=city_wall],
539node[barrier=retaining_wall],
540node[barrier=ditch] {
541 icon-image: "presets/misc/deprecated.svg";
542 set icon_z17;
543}
544node[barrier=kerb] {
545 icon-image: "presets/barrier/kerb.svg";
546 set icon_z17;
547}
548node[barrier=block] {
549 icon-image: "presets/barrier/block.svg";
550 set icon_z17;
551}
552node[barrier=chain] {
553 icon-image: "presets/barrier/chain.svg";
554 set icon_z17;
555}
556node[barrier=stile] {
557 icon-image: "presets/barrier/stile.svg";
558 set icon_z17;
559}
560node[barrier=turnstile] {
561 icon-image: "presets/barrier/turnstile.svg";
562 set icon_z17;
563}
564node[barrier=full-height_turnstile] {
565 icon-image: "presets/barrier/full-height_turnstile.svg";
566 set icon_z17;
567}
568node[barrier=cycle_barrier] {
569 icon-image: "presets/barrier/cycle_barrier.svg";
570 set icon_z17;
571}
572node[barrier=lift_gate] {
573 icon-image: "presets/barrier/lift_gate.svg";
574 set icon_z17;
575}
576node[barrier=swing_gate] {
577 icon-image: "presets/barrier/swing_gate.svg";
578 set icon_z17;
579}
580node[barrier=kissing_gate] {
581 icon-image: "presets/barrier/kissing_gate.svg";
582 set icon_z17;
583}
584node[barrier=wicket_gate] {
585 icon-image: "presets/barrier/wicket_gate.svg";
586 set icon_z17;
587}
588node[barrier=height_restrictor] {
589 icon-image: "presets/barrier/height_restrictor.svg";
590 set icon_z17;
591}
592area[barrier=toll_booth]:closed {
593 fill-color: barrier#F0F050;
594}
595node[barrier=toll_booth] {
596 icon-image: "presets/barrier/toll_station.svg";
597 set icon_z17;
598}
599node[barrier=entrance] {
600 icon-image: "presets/barrier/entrance.svg";
601 set icon_z17;
602}
603node[barrier=cattle_grid] {
604 icon-image: "presets/barrier/cattle_grid.svg";
605 set icon_z17;
606}
607node[barrier=border_control] {
608 icon-image: "presets/barrier/douane.svg";
609 set icon_z17;
610}
611node[barrier=sally_port] {
612 icon-image: "presets/barrier/sally_port.svg";
613 set icon_z17;
614}
615node[barrier=spikes] {
616 icon-image: "presets/barrier/spikes.svg";
617 set icon_z17;
618}
619node[barrier=jersey_barrier] {
620 icon-image: "presets/barrier/jersey_barrier.svg";
621 set icon_z17;
622}
623node[barrier=log] {
624 icon-image: "presets/barrier/log.svg";
625 set icon_z17;
626}
627node[barrier=bus_trap] {
628 icon-image: "presets/barrier/bus_trap.svg";
629 set icon_z17;
630}
631node[barrier=bump_gate][!is_prop_set(icon-image)],
632node[barrier=hampshire_gate][!is_prop_set(icon-image)] {
633 icon-image: "presets/misc/no_icon.svg";
634 set icon_z17;
635}
636
637/****************/
638/* highway tags */
639/****************/
640
641way[motorroad=yes]::core_motorroad {
642 major-z-index: 2;
643 z-index: -1;
644 width: +4;
645 color: motorroad#3377ff;
646}
647way[highway=motorway] {
648 width: 3;
649 z-index: 0.13; /* #15483 */
650 color: motorway#809bc0;
651}
652way[highway=motorway_link] {
653 width: 3;
654 z-index: 0.12;
655 color: motorway#809bc0;
656}
657way[highway=trunk] {
658 width: 3;
659 z-index: 0.11;
660 color: trunk#7fc97f;
661}
662way[highway=trunk_link] {
663 width: 3;
664 z-index: 0.10;
665 color: trunk#7fc97f;
666}
667way[highway=primary] {
668 width: 3;
669 z-index: 0.09;
670 color: primary#fb805f;
671}
672way[highway=primary_link] {
673 width: 3;
674 z-index: 0.08;
675 color: primary#fb805f;
676}
677way[highway=secondary] {
678 width: 3;
679 z-index: 0.07;
680 color: secondary#fdbf6f;
681}
682way[highway=secondary_link] {
683 width: 3;
684 z-index: 0.06;
685 color: secondary#fdbf6f;
686}
687way[highway=tertiary] {
688 width: 2;
689 z-index: 0.05;
690 color: tertiary#f7f496;
691}
692way[highway=tertiary_link] {
693 width: 2;
694 z-index: 0.04;
695 color: tertiary#f7f496;
696}
697way[highway=unclassified] {
698 width: 2;
699 z-index: 0.03;
700 color: street#c0c0c0;
701}
702way[highway=escape],
703way[highway=emergency_bay] {
704 width: 3;
705 color: street#c0c0c0;
706 dashes: 3,3;
707}
708way[highway=road] {
709 width: 2;
710 casing-width: 0.5;
711 casing-color: #ff9696;
712 color: highway_road#770000;
713}
714way[highway=track][area?], relation[type=multipolygon][highway=track] {
715 fill-color: highway_track#6e541c;
716}
717way[highway=track] {
718 width: 2;
719 color: highway_track#6e541c;
720}
721way[highway=residential] {
722 width: 2;
723 z-index: 0.02;
724 color: street#c0c0c0;
725}
726way[highway=living_street] {
727 width: 2;
728 z-index: 0.01;
729 dashes: 9,9;
730 dashes-background-color: livingdashed#00ff00;
731 color: street#c0c0c0;
732}
733way[highway=service][area?], relation[type=multipolygon][highway=service] {
734 fill-color: service#809bc0;
735}
736way[highway=service][!area?] {
737 width: 1;
738 color: service#809bc0;
739}
740way[highway=busway] {
741 width: 2;
742 color: bus#89cbeb;
743}
744way[highway=bridleway] {
745 width: 1;
746 color: horse#a18559;
747}
748way[highway=cycleway] {
749 width: 1;
750 color: bicycle#b100ff;
751}
752way[highway=footway][area?], relation[type=multipolygon][highway=footway] {
753 fill-color: foot#00ff00;
754}
755way[highway=footway][!area?] {
756 width: 1;
757 color: foot#00ff00;
758}
759way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] {
760 width: 1;
761 dashes: 9,9;
762 color: foot#00ff00;
763}
764/* display path with bicycle/foot=designated/official as if it was cycleway/footway */
765way[highway=path][bicycle=designated],
766way[highway=path][bicycle=official] {
767 width: 1;
768 color: bicycle#b100ff;
769 set cyclecolor;
770}
771way[highway=path][foot=designated],
772way[highway=path][foot=official] {
773 width: 1;
774 color: foot#00ff00;
775}
776way[highway=path][bicycle=designated][foot=designated],
777way[highway=path][bicycle=official][foot=official],
778way[highway=cycleway][foot=designated] {
779 width: 1;
780 color: bicycle#b100ff;
781 set cyclecolor;
782 dashes: 14,14;
783 dashes-background-color: foot#00ff00;
784}
785way[highway=footway][bicycle=designated] {
786 width: 1;
787 color: foot#00ff00;
788 dashes: 14,14;
789 dashes-background-color: bicycle#b100ff;
790}
791way[highway=cycleway][foot=yes],
792way[highway=path][bicycle=designated][foot=yes],
793way[highway=path][bicycle=official][foot=yes] {
794 width: 1;
795 color: bicycle#b100ff;
796 set cyclecolor;
797 dashes: 21,7;
798 dashes-background-color: foot#00ff00;
799}
800way[highway=footway][bicycle=yes],
801way[highway=path][bicycle=yes][foot=designated],
802way[highway=path][bicycle=yes][foot=official] {
803 width: 1;
804 color: foot#00ff00;
805 dashes: 21,7;
806 dashes-background-color: bicycle#b100ff;
807}
808way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] {
809 width: 3;
810 color: foot#00ff00;
811 fill-color: foot#00ff00;
812}
813way[highway=pedestrian] {
814 width: 3;
815 color: foot#00ff00;
816}
817way[highway=steps] {
818 width: 3;
819 color: foot#00ff00;
820 dashes: 2,2;
821}
822way[highway=bus_guideway] {
823 width: 1;
824 color: rail#404040;
825 dashes: 9,9;
826}
827way[highway=raceway] {
828 width: 1;
829 color: raceway#ff80ff;
830}
831way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] {
832 fill-color: raceway#ff80ff;
833}
834area[junction=yes] {
835 fill-color: junction#c0c0c0;
836}
837node[junction=yes] {
838 icon-image: "presets/vehicle/junction.svg";
839 set icon_z17;
840}
841node[highway=traffic_mirror] {
842 icon-image: "presets/vehicle/traffic_mirror.svg";
843 set icon_z17;
844}
845node[highway=milestone] {
846 icon-image: "presets/vehicle/milestone.svg";
847 set icon_z17;
848}
849node[highway=mini_roundabout] {
850 icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg";
851 set icon_z17;
852}
853node:righthandtraffic[highway=mini_roundabout] {
854 icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg";
855 set icon_z17;
856}
857node[highway=stop] {
858 icon-image: "presets/vehicle/restriction/stop.svg";
859 set icon_z17;
860}
861node[highway=give_way] {
862 icon-image: "presets/vehicle/restriction/give_way.svg";
863 set icon_z17;
864}
865node[cycleway=asl] {
866 icon-image: "presets/vehicle/asl.svg";
867 set icon_z17;
868}
869node[highway=traffic_signals] {
870 icon-image: "presets/vehicle/traffic_signals.svg";
871 set icon_z17;
872}
873node[highway=traffic_signals][crossing][crossing!=no] {
874 icon-image: "presets/vehicle/traffic_signals_crossing.svg";
875 set icon_z17;
876}
877node[highway=traffic_signals][crossing:island=yes] {
878 icon-image: "presets/vehicle/traffic_signals_crossing_island.svg";
879 set icon_z17;
880}
881node[highway=traffic_signals][crossing_ref=zebra] {
882 icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg";
883 set icon_z17;
884}
885node[highway=traffic_signals][crossing=traffic_signals] {
886 icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg";
887 set icon_z17;
888}
889node[highway=street_lamp] {
890 icon-image: "presets/misc/streetlamp.svg";
891 set icon_z17;
892}
893node[highway=speed_camera] {
894 icon-image: "presets/vehicle/restriction/speed_camera.svg";
895 set icon_z17;
896}
897relation[type=enforcement] >[role="device"] node {
898 icon-image: "presets/vehicle/restriction/speed_camera.svg";
899 set icon_z17;
900}
901node[highway=toll_gantry] {
902 icon-image: "presets/vehicle/restriction/toll_gantry.svg";
903 set icon_z17;
904}
905node[traffic_sign=city_limit] {
906 icon-image: "presets/vehicle/restriction/city_limit.svg";
907 set icon_z17;
908}
909node[highway=crossing][crossing!=no] {
910 icon-image: "presets/vehicle/crossing.svg";
911 set icon_z17;
912}
913node[highway=crossing][crossing:island=yes] {
914 icon-image: "presets/vehicle/crossing_island.svg";
915 set icon_z17;
916}
917node[highway=crossing][crossing=unmarked],
918node[highway=crossing][crossing=informal] {
919 icon-image: "presets/vehicle/crossing_unmarked.svg";
920 set icon_z17;
921}
922node[highway=crossing]["crossing:markings"=surface] {
923 icon-image: "presets/vehicle/crossing_markings_surface.svg";
924 set icon_z17;
925}
926node[highway=crossing]["crossing:markings"=lines] {
927 icon-image: "presets/vehicle/crossing_markings_lines.svg";
928 set icon_z17;
929}
930node[highway=crossing]["crossing:markings"="lines:paired"] {
931 icon-image: "presets/vehicle/crossing_markings_lines_paired.svg";
932 set icon_z17;
933}
934node[highway=crossing]["crossing:markings"=dashes] {
935 icon-image: "presets/vehicle/crossing_markings_dashes.svg";
936 set icon_z17;
937}
938node[highway=crossing]["crossing:markings"=dots] {
939 icon-image: "presets/vehicle/crossing_markings_dots.svg";
940 set icon_z17;
941}
942node[highway=crossing]["crossing:markings"="zebra:double"] {
943 icon-image: "presets/vehicle/crossing_markings_zebra_double.svg";
944 set icon_z17;
945}
946node[highway=crossing]["crossing:markings"="zebra:paired"] {
947 icon-image: "presets/vehicle/crossing_markings_zebra_paired.svg";
948 set icon_z17;
949}
950node[highway=crossing]["crossing:markings"="zebra:bicolour"] {
951 icon-image: "presets/vehicle/crossing_markings_zebra_bicolour.svg";
952 set icon_z17;
953}
954node[highway=crossing]["crossing:markings"=ladder] {
955 icon-image: "presets/vehicle/crossing_markings_ladder.svg";
956 set icon_z17;
957}
958node[highway=crossing]["crossing:markings"="ladder:skewed"] {
959 icon-image: "presets/vehicle/crossing_markings_ladder_skewed.svg";
960 set icon_z17;
961}
962node[highway=crossing]["crossing:markings"="ladder:paired"] {
963 icon-image: "presets/vehicle/crossing_markings_ladder_paired.svg";
964 set icon_z17;
965}
966node[highway=crossing][crossing_ref=zebra],
967node[highway=crossing]["crossing:markings"=zebra] {
968 icon-image: "presets/vehicle/crossing_ref_zebra.svg";
969 set icon_z17;
970}
971node[highway=crossing][crossing=traffic_signals] {
972 icon-image: "presets/vehicle/crossing_traffic_signals.svg";
973 set icon_z17;
974}
975node[highway=motorway_junction] {
976 icon-image: "presets/vehicle/motorway_junction.svg";
977 set icon_z17;
978 text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name)));
979}
980area[highway=services] {
981 fill-color: services#c0c0c0;
982}
983node[highway=services] {
984 icon-image: "presets/vehicle/services.svg";
985 set icon_z17;
986}
987area[highway=rest_area] {
988 fill-color: services#c0c0c0;
989}
990node[highway=rest_area] {
991 icon-image: "presets/vehicle/rest_area.svg";
992 set icon_z17;
993}
994area[highway=trailhead] {
995 fill-color: services#c0c0c0;
996}
997node[highway=trailhead] {
998 icon-image: "presets/landmark/trailhead.svg";
999 set icon_z17;
1000}
1001node[ford=stepping_stones],
1002node[ford?] {
1003 icon-image: "presets/vehicle/ford.svg";
1004 set icon_z17;
1005}
1006way[ford=stepping_stones]::core_ford,
1007way[ford?]::core_ford {
1008 z-index: 1;
1009 width: 2;
1010 color: water#0000ff;
1011 dashes: 9,9;
1012 dashes-offset: 9;
1013}
1014node[hazard] {
1015 icon-image: "presets/transport/hazard.svg";
1016 set icon_z17;
1017}
1018area[highway=platform]:closed {
1019 fill-color: highway_platform#c0c0c0;
1020}
1021way[highway=platform] {
1022 width: 2;
1023 color: highway_platform#c0c0c0;
1024}
1025node[highway=turning_circle] {
1026 icon-image: "presets/vehicle/turning_circle.svg";
1027 set icon_z17;
1028}
1029node[highway=turning_loop] {
1030 icon-image: "presets/vehicle/turning_loop.svg";
1031 set icon_z17;
1032}
1033node[highway=passing_place] {
1034 icon-image: "presets/vehicle/passing_place.svg";
1035 set icon_z17;
1036}
1037node[highway=emergency_bay] {
1038 icon-image: "presets/vehicle/emergency_bay.svg";
1039 set icon_z17;
1040}
1041area[highway=elevator] {
1042 fill-color: elevator#a6bace;
1043}
1044node[highway=elevator] {
1045 icon-image: "presets/service/elevator.svg";
1046 set icon_z17;
1047}
1048way[highway=construction] {
1049 width: 2;
1050 color: construction#ffff00;
1051 dashes: 9,9;
1052}
1053node[highway=construction] {
1054 icon-image: "presets/misc/construction.svg";
1055 set icon_z17;
1056}
1057area[highway=emergency_access_point] {
1058 fill-color: emergency_access_point#c0c0c0;
1059}
1060node[highway=emergency_access_point] {
1061 icon-image: "presets/service/emergency_access_point.svg";
1062 set icon_z17;
1063}
1064node[highway=motorway], node[highway=motorway_link],
1065node[highway=trunk], node[highway=trunk_link],
1066node[highway=primary], node[highway=primary_link],
1067node[highway=secondary], node[highway=secondary_link],
1068node[highway=tertiary], node[highway=tertiary_link],
1069node[highway=unclassified],
1070node[highway=road],
1071node[highway=unsurfaced],
1072node[highway=track],
1073node[highway=residential],
1074node[highway=living_street],
1075node[highway=service],
1076node[highway=bridleway],
1077node[highway=cycleway],
1078node[highway=footway],
1079node[highway=path],
1080node[highway=pedestrian],
1081node[highway=bus_guideway],
1082node[highway=busway],
1083node[highway=platform] {
1084 icon-image: "presets/misc/deprecated.svg";
1085 set icon_z17;
1086}
1087
1088/************************/
1089/* traffic_calming tags */
1090/************************/
1091
1092node[traffic_calming] {
1093 icon-image: "presets/vehicle/traffic_calming.svg";
1094 set icon_z17;
1095}
1096node[traffic_calming=chicane] {
1097 icon-image: "presets/vehicle/chicane.svg";
1098 set icon_z17;
1099}
1100node[traffic_calming=choker] {
1101 icon-image: "presets/vehicle/choker.svg";
1102 set icon_z17;
1103}
1104node[traffic_calming=island] {
1105 icon-image: "presets/vehicle/island.svg";
1106 set icon_z17;
1107}
1108node[traffic_calming=bump] {
1109 icon-image: "presets/vehicle/bump.svg";
1110 set icon_z17;
1111}
1112node[traffic_calming=hump] {
1113 icon-image: "presets/vehicle/hump.svg";
1114 set icon_z17;
1115}
1116node[traffic_calming=table] {
1117 icon-image: "presets/vehicle/table.svg";
1118 set icon_z17;
1119}
1120node[traffic_calming=cushion] {
1121 icon-image: "presets/vehicle/cushion.svg";
1122 set icon_z17;
1123}
1124node[traffic_calming=rumble_strip] {
1125 icon-image: "presets/vehicle/rumble_strip.svg";
1126 set icon_z17;
1127}
1128node[traffic_calming=dip] {
1129 icon-image: "presets/vehicle/dip.svg";
1130 set icon_z17;
1131}
1132node[traffic_calming=mini_bumps] {
1133 icon-image: "presets/vehicle/mini_bumps.svg";
1134 set icon_z17;
1135}
1136/****************/
1137/* junction tag */
1138/****************/
1139
1140node[junction=roundabout] {
1141 icon-image: "presets/vehicle/restriction/roundabout_left.svg";
1142 set icon_z17;
1143}
1144node:righthandtraffic[junction=roundabout] {
1145 icon-image: "presets/vehicle/restriction/roundabout_right.svg";
1146 set icon_z17;
1147}
1148
1149/*****************/
1150/* cycleway tags */
1151/*****************/
1152
1153 /* prepare lane */
1154way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway,
1155way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway {
1156 set laneRight;
1157 set righthandtr;
1158}
1159way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway,
1160way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway {
1161 set laneLeft;
1162 set righthandtr;
1163}
1164way[oneway?][cycleway=lane]!.righthandtr::core_cycleway,
1165way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway {
1166 set laneLeft;
1167}
1168way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway,
1169way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway {
1170 set laneRight;
1171}
1172way[cycleway:left=lane]::core_cycleway {
1173 set laneLeft;
1174}
1175way[cycleway:right=lane]::core_cycleway {
1176 set laneRight;
1177}
1178way[oneway=no][cycleway=lane]::core_cycleway,
1179way[!oneway][cycleway=lane]::core_cycleway,
1180way[cycleway:both=lane]::core_cycleway,
1181way[oneway?][oneway:bicycle=no][cycleway=lane]::core_cycleway {
1182 set laneLeft;
1183 set laneRight;
1184}
1185
1186 /* prepare shared_lane */
1187way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway,
1188way[!oneway][cycleway=shared_lane][junction=roundabout]:righthandtraffic::core_cycleway {
1189 set shared_laneRight;
1190 set righthandtr;
1191}
1192way[oneway=-1][cycleway=shared_lane]:righthandtraffic::core_cycleway {
1193 set shared_laneLeft;
1194 set righthandtr;
1195}
1196way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway,
1197way[!oneway][cycleway=shared_lane][junction=roundabout]!.righthandtr::core_cycleway {
1198 set shared_laneLeft;
1199}
1200way[oneway=-1][cycleway=shared_lane]!.righthandtr::core_cycleway {
1201 set shared_laneRight;
1202}
1203way[cycleway:left=shared_lane]::core_cycleway {
1204 set shared_laneLeft;
1205}
1206way[cycleway:right=shared_lane]::core_cycleway {
1207 set shared_laneRight;
1208}
1209way[oneway=no][cycleway=shared_lane]::core_cycleway,
1210way[!oneway][junction!=roundabout][cycleway=shared_lane]::core_cycleway,
1211way[oneway?][oneway:bicycle=no][cycleway=shared_lane]::core_cycleway,
1212way[cycleway:both=shared_lane]::core_cycleway {
1213 set shared_laneLeft;
1214 set shared_laneRight;
1215}
1216
1217 /* prepare track */
1218way[oneway?][cycleway=track]:righthandtraffic::core_cycleway,
1219way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway {
1220 set trackRight;
1221 set righthandtr;
1222}
1223way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway,
1224way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway {
1225 set trackLeft;
1226 set righthandtr;
1227}
1228way[oneway?][cycleway=track]!.righthandtr::core_cycleway,
1229way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway {
1230 set trackLeft;
1231}
1232way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway,
1233way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway {
1234 set trackRight;
1235}
1236way[cycleway:left=track]::core_cycleway {
1237 set trackLeft;
1238}
1239way[cycleway:right=track]::core_cycleway {
1240 set trackRight;
1241}
1242way[oneway=no][cycleway=track]::core_cycleway,
1243way[!oneway][cycleway=track]::core_cycleway,
1244way[oneway?][oneway:bicycle=no][cycleway=track]::core_cycleway,
1245way[cycleway:both=track]::core_cycleway {
1246 set trackLeft;
1247 set trackRight;
1248}
1249
1250 /* render lane */
1251way.laneRight::core_cycleway {
1252 width: 2;
1253 color: bicycle#b100ff;
1254 dashes: 6, 10;
1255 offset: 0 - (prop("width", "default") / 2) - 2;
1256 major-z-index: 2.1;
1257 modifier: true;
1258}
1259way[prop("laneLeft","core_cycleway")]::core_cycleway2 {
1260 width: 2;
1261 color: bicycle#b100ff;
1262 dashes: 6, 10;
1263 offset: (prop("width", "default") / 2) + 2;
1264 major-z-index: 2.1;
1265 modifier: true;
1266}
1267 /* render shared_lane */
1268way.shared_laneRight::core_cycleway {
1269 width: 2;
1270 color: bicycle#b100ff;
1271 dashes: 6, 3;
1272 offset: 0 - (prop("width", "default") / 2) - 2;
1273 major-z-index: 2.1;
1274 modifier: true;
1275}
1276way[prop("shared_laneLeft","core_cycleway")]::core_cycleway2 {
1277 width: 2;
1278 color: bicycle#b100ff;
1279 dashes: 6, 3;
1280 offset: (prop("width", "default") / 2) + 2;
1281 major-z-index: 2.1;
1282 modifier: true;
1283}
1284 /* render track */
1285way.trackRight::core_cycleway {
1286 width: 2;
1287 color: bicycle#b100ff;
1288 dashes: 25, 8;
1289 offset: 0 - (prop("width", "default") / 2) - 2;
1290 major-z-index: 2.1;
1291 modifier: true;
1292}
1293way[prop("trackLeft","core_cycleway")]::core_cycleway2 {
1294 width: 2;
1295 color: bicycle#b100ff;
1296 dashes: 25, 8;
1297 offset: (prop("width", "default") / 2) + 2;
1298 major-z-index: 2.1;
1299 modifier: true;
1300}
1301 /* render opposite */
1302way[oneway:bicycle=no][oneway][oneway!=no]::core_cycleway,
1303way[cycleway=opposite][oneway][oneway!=no]::core_cycleway {
1304 z-index: 1;
1305 width: +0;
1306 color: bicycle#b100ff;
1307 dashes: 4,10;
1308}
1309node[cycleway=lane ], node[cycleway=opposite_lane ],
1310node[cycleway=track], node[cycleway=opposite_track],
1311node[cycleway=opposite] {
1312 icon-image: "presets/misc/deprecated.svg";
1313 set icon_z17;
1314}
1315
1316/******************/
1317/* tracktype tags */
1318/******************/
1319
1320way[highway=track][tracktype=grade1] {
1321 dashes: 8,1;
1322}
1323way[highway=track][tracktype=grade2] {
1324 dashes: 6,2;
1325}
1326way[highway=track][tracktype=grade3] {
1327 dashes: 4,3;
1328}
1329way[highway=track][tracktype=grade4] {
1330 dashes: 4,5;
1331}
1332way[highway=track][tracktype=grade5] {
1333 dashes: 4,7;
1334}
1335
1336/**************/
1337/* piste tags */
1338/**************/
1339
1340way[route=ski]::core_piste {
1341 z-index: -1;
1342 modifier: false;
1343 width: 6;
1344 color: ski#809bc0;
1345}
1346area[piste:difficulty=easy][!highway][area=yes]::core_piste {
1347 fill-color: piste_easy#0000ff;
1348}
1349way[piste:difficulty=easy]::core_piste {
1350 z-index: -1; /* below line style from highway=* tag */
1351 modifier: false; /* suppress default line if there is no style on default layer */
1352 width: 6;
1353 color: piste_easy#0000ff;
1354}
1355area[piste:difficulty=intermediate][!highway][area=yes]::core_piste {
1356 fill-color: piste_intermediate#ff0000;
1357}
1358way[piste:difficulty=intermediate]::core_piste {
1359 z-index: -1;
1360 modifier: false;
1361 width: 6;
1362 color: piste_intermediate#ff0000;
1363}
1364area[piste:difficulty=advanced][!highway][area=yes]::core_piste {
1365 fill-color: piste_advanced#606060;
1366}
1367way[piste:difficulty=advanced]::core_piste {
1368 z-index: -1;
1369 modifier: false;
1370 width: 6;
1371 color: piste_advanced#606060;
1372}
1373area[piste:difficulty=expert][!highway][area=yes]::core_piste {
1374 fill-color: piste_expert#606060;
1375}
1376way[piste:difficulty=expert]::core_piste {
1377 z-index: -1;
1378 modifier: false;
1379 width: 6;
1380 color: piste_expert#606060;
1381}
1382area[piste:difficulty=freeride][!highway][area=yes]::core_piste {
1383 fill-color: piste_freeride#ffff00;
1384}
1385way[piste:difficulty=freeride]::core_piste {
1386 z-index: -1;
1387 modifier: false;
1388 width: 6;
1389 color: piste_freeride#ffff00;
1390}
1391area[piste:difficulty=novice][!highway][area=yes]::core_piste {
1392 fill-color: piste_novice#00ff00;
1393}
1394way[piste:difficulty=novice]::core_piste {
1395 z-index: -1;
1396 modifier: false;
1397 width: 6;
1398 color: piste_novice#00ff00;
1399}
1400node[piste:type=downhill],
1401node[piste:type=nordic],
1402node[piste:type=skitour],
1403node[piste:type=sled],
1404node[piste:type=sleigh],
1405node[piste:type=snow_park] {
1406 icon-image: "presets/sport/skiing.svg";
1407 set icon_z17;
1408}
1409
1410/**************/
1411/* power tags */
1412/**************/
1413
1414node[power=portal] {
1415 icon-image: "presets/power/portal.svg";
1416 set icon_z17;
1417}
1418node[power=tower] {
1419 icon-image: "presets/power/tower.svg";
1420 set icon_z17;
1421}
1422node[power=pole] {
1423 icon-image: "presets/power/pole.svg";
1424 set icon_z17;
1425}
1426node[power=pole][switch] {
1427 icon-image: "presets/power/pole_switch.svg";
1428 set icon_z17;
1429}
1430node[power=pole][transformer=distribution] {
1431 icon-image: "presets/power/pole_transformer.svg";
1432 set icon_z17;
1433}
1434node[power=catenary_mast] {
1435 icon-image: "presets/power/catenary_mast.svg";
1436 set icon_z17;
1437}
1438node[power=connection] {
1439 icon-image: "presets/power/connection.svg";
1440 set icon_z17;
1441}
1442node[power=insulator] {
1443 icon-image: "presets/power/insulator.svg";
1444 set icon_z17;
1445}
1446way[power=portal],
1447way[power=line],
1448way[power=minor_line] {
1449 width: 1;
1450 color: power#eeeeee;
1451}
1452way[power=cable] {
1453 width: 1;
1454 color: power#eeeeee;
1455 dashes: 9,9;
1456}
1457node[power=plant],
1458node[power=sub_station],
1459node[power=line],
1460node[power=cable],
1461node[power=minor_line] {
1462 icon-image: "presets/misc/deprecated.svg";
1463 set icon_z17;
1464}
1465area[power=plant],
1466area[power=substation],
1467area[power=compensator],
1468area[power=converter],
1469area[power=switchgear],
1470area[power=generator],
1471area[man_made=street_cabinet][street_cabinet=power] {
1472 fill-color: power#eeeeee;
1473}
1474node[man_made=street_cabinet][street_cabinet=power] {
1475 icon-image: "presets/power/cable_distribution_cabinet.svg";
1476 set icon_z17;
1477}
1478node[power=generator] {
1479 icon-image: "presets/power/generator.svg";
1480 set icon_z17;
1481}
1482node[power=heliostat] {
1483 icon-image: "presets/power/heliostat.svg";
1484 set icon_z17;
1485}
1486node[power=substation] {
1487 icon-image: "presets/power/substation.svg";
1488 set icon_z17;
1489}
1490node[power=transformer] {
1491 icon-image: "presets/power/transformer.svg";
1492 set icon_z17;
1493}
1494node[power=terminal] {
1495 icon-image: "presets/power/terminal.svg";
1496 set icon_z17;
1497}
1498node[power=switch] {
1499 icon-image: "presets/power/switch.svg";
1500 set icon_z17;
1501}
1502node[power=converter] {
1503 icon-image: "presets/power/converter.svg";
1504 set icon_z17;
1505}
1506node[power=compensator] {
1507 icon-image: "presets/power/compensator.svg";
1508 set icon_z17;
1509}
1510
1511
1512/*************************/
1513/* generator:source tags */
1514/*************************/
1515
1516area[generator:source=nuclear],
1517area[generator:source=wind],
1518area[generator:source=hydro],
1519area[generator:source=tidal],
1520area[generator:source=wave],
1521area[generator:source=osmotic],
1522area[generator:source=geothermal],
1523area[generator:source=solar],
1524area[generator:source=coal],
1525area[generator:source=gas],
1526area[generator:source=biomass],
1527area[generator:source=biofuel],
1528area[generator:source=biogas],
1529area[generator:source=oil],
1530area[generator:source=diesel],
1531area[generator:source=gasoline],
1532area[generator:source=waste] {
1533 fill-color: power#eeeeee;
1534}
1535node[generator:source=nuclear] {
1536 icon-image: "presets/power/power_source-nuclear.svg";
1537 set icon_z17;
1538}
1539node[generator:source=wind] {
1540 icon-image: "presets/power/power_source-wind.svg";
1541 set icon_z17;
1542}
1543node[generator:source=hydro],
1544node[generator:source=tidal],
1545node[generator:source=wave],
1546node[generator:source=osmotic] {
1547 icon-image: "presets/power/power_source-water.svg";
1548 set icon_z17;
1549}
1550node[generator:source=geothermal] {
1551 icon-image: "presets/power/power_source-geothermal.svg";
1552 set icon_z17;
1553}
1554node[generator:source=solar] {
1555 icon-image: "presets/power/power_source-sun.svg";
1556 set icon_z17;
1557}
1558node[generator:source=coal] {
1559 icon-image: "presets/power/power_source-coal.svg";
1560 set icon_z17;
1561}
1562node[generator:source=gas] {
1563 icon-image: "presets/power/power_source-gas.svg";
1564 set icon_z17;
1565}
1566node[generator:source=biomass],
1567node[generator:source=biofuel],
1568node[generator:source=biogas] {
1569 icon-image: "presets/power/power_source-biofuel.svg";
1570 set icon_z17;
1571}
1572node[generator:source=oil],
1573node[generator:source=diesel],
1574node[generator:source=gasoline] {
1575 icon-image: "presets/power/power_source-oil.svg";
1576 set icon_z17;
1577}
1578node[generator:source=waste] {
1579 icon-image: "presets/power/power_source-waste.svg";
1580 set icon_z17;
1581}
1582node[power_source] {
1583 icon-image: "presets/misc/deprecated.svg";
1584 set icon_z17;
1585}
1586/*****************/
1587/* man_made tags */
1588/*****************/
1589
1590area[man_made=street_cabinet][street_cabinet!=power], /* power street cabinet has own style above */
1591area[man_made=beacon],
1592area[man_made=bridge],
1593area[bridge:support],
1594area[man_made=chimney],
1595area[man_made=kiln],
1596area[man_made=gasometer],
1597area[man_made=silo],
1598area[man_made=storage_tank],
1599area[man_made=bunker_silo],
1600area[man_made=lighthouse],
1601area[man_made=monitoring_station],
1602area[man_made=pumping_station],
1603area[man_made=mineshaft] {
1604 fill-color: manmade#d8d8d8;
1605}
1606node[man_made=street_cabinet][street_cabinet!=power] {
1607 icon-image: "presets/misc/street_cabinet.svg";
1608 set icon_z17;
1609}
1610node[man_made=beacon] {
1611 icon-image: "presets/landmark/beacon.svg";
1612 set icon_z17;
1613}
1614node[man_made=bridge] {
1615 icon-image: "presets/misc/deprecated.svg";
1616 set icon_z17;
1617}
1618node[bridge:support] {
1619 icon-image: "presets/transport/bridge/bridge_support.svg";
1620 set icon_z17;
1621}
1622node[man_made=chimney] {
1623 icon-image: "presets/landmark/chimney.svg";
1624 set icon_z17;
1625}
1626node[man_made=kiln] {
1627 icon-image: "presets/misc/kiln.svg";
1628 set icon_z17;
1629}
1630node[man_made=flagpole] {
1631 icon-image: "presets/misc/flag.svg";
1632 set icon_z17;
1633}
1634node[man_made=cross] {
1635 icon-image: "presets/landmark/cross.svg";
1636 set icon_z17;
1637}
1638node[man_made=gasometer] {
1639 icon-image: "presets/landmark/gasometer.svg";
1640 set icon_z17;
1641}
1642node[man_made=silo] {
1643 icon-image: "presets/landmark/silo.svg";
1644 set icon_z17;
1645}
1646node[man_made=storage_tank] {
1647 icon-image: "presets/landmark/storage_tank.svg";
1648 set icon_z17;
1649}
1650node[man_made=bunker_silo] {
1651 icon-image: "presets/landmark/bunker_silo.svg";
1652 set icon_z17;
1653}
1654area[man_made=groyne]:closed {
1655 fill-color: manmade#d8d8d8;
1656}
1657way[man_made=groyne] {
1658 width: 2;
1659 color: manmade#d8d8d8;
1660}
1661area[man_made=breakwater]:closed {
1662 fill-color: manmade#d8d8d8;
1663}
1664way[man_made=breakwater] {
1665 width: 2;
1666 color: manmade#d8d8d8;
1667}
1668way[man_made=dyke]::man_made_dyke {
1669 width: 4;
1670 color: dyke#0aa846;
1671 z-index: -2;
1672 object-z-index: -1; /* below highway=* */
1673 modifier: false; /* don't draw default way if there is no line on default layer */
1674}
1675node[man_made=lighthouse] {
1676 icon-image: "presets/landmark/lighthouse.svg";
1677 set icon_z17;
1678}
1679node[man_made=monitoring_station] {
1680 icon-image: "presets/misc/monitoring_station.svg";
1681 set icon_z17;
1682}
1683node[man_made=pumping_station] {
1684 icon-image: "presets/misc/pumping_station.svg";
1685 set icon_z17;
1686}
1687node[man_made=mineshaft] {
1688 icon-image: "presets/landmark/mine.svg";
1689 set icon_z17;
1690}
1691area[man_made=crane]:closed {
1692 fill-color: manmade#d8d8d8;
1693}
1694way[man_made=crane] {
1695 width: 2;
1696 color: manmade#d8d8d8;
1697}
1698node[man_made=crane] {
1699 icon-image: "presets/landmark/crane.svg";
1700 set icon_z17;
1701}
1702way[man_made=goods_conveyor] {
1703 width: 2;
1704 color: manmade#d8d8d8;
1705}
1706node[man_made=adit] {
1707 icon-image: "presets/landmark/adit.svg";
1708 set icon_z17;
1709}
1710node[man_made=cairn] {
1711 icon-image: "presets/landmark/cairn.svg";
1712 set icon_z17;
1713}
1714area[man_made=pier]:closed {
1715 fill-color: pier#660000;
1716}
1717way[man_made=pier] {
1718 width: 2;
1719 color: pier#660000;
1720}
1721node[man_made=pier] {
1722 icon-image: "presets/nautical/pier.svg";
1723 set icon_z17;
1724}
1725way[embankment?][!highway][!railway][!waterway],
1726way[man_made=embankment][!highway][!railway][!waterway] {
1727 repeat-image: "presets/misc/embankment-pattern.svg";
1728 repeat-image-align: top;
1729 repeat-image-offset: 0.5;
1730 width: 1;
1731 color: embankment#c14d00;
1732}
1733way[embankment?][highway],
1734way[embankment?][railway],
1735way[embankment?][waterway] {
1736 repeat-image: "presets/misc/embankment-pattern-centered.svg";
1737 repeat-image-offset: 0.5;
1738}
1739way[man_made=embankment][highway],
1740way[man_made=embankment][railway],
1741way[man_made=embankment][waterway] {
1742 repeat-image: "presets/misc/embankment-pattern.svg";
1743 repeat-image-align: top;
1744 repeat-image-offset: -0.5;
1745}
1746way[man_made=pipeline][!waterway] {
1747 width: 2;
1748 color: pipeline#660000;
1749}
1750area[man_made=petroleum_well],
1751area[man_made=pump],
1752area[pipeline=substation] {
1753 fill-color: pipeline_substation#eeeeee;
1754}
1755node[pipeline=substation] {
1756 icon-image: "presets/misc/pipeline_substation.svg";
1757 set icon_z17;
1758}
1759node[marker] {
1760 icon-image: "presets/misc/pipeline_marker.svg";
1761 set icon_z17;
1762}
1763node[pipeline=valve] {
1764 icon-image: "presets/misc/valve.svg";
1765 set icon_z17;
1766}
1767node[man_made=manhole] {
1768 icon-image: "presets/misc/manhole.svg";
1769 set icon_z17;
1770}
1771node[man_made=petroleum_well] {
1772 icon-image: "presets/landmark/petroleum_well.svg";
1773 set icon_z17;
1774}
1775node[man_made=petroleum_well][substance=gas] {
1776 icon-image: "presets/landmark/gas_well.svg";
1777 set icon_z17;
1778}
1779node[man_made=petroleum_well][substance=oil] {
1780 icon-image: "presets/landmark/oil_well.svg";
1781 set icon_z17;
1782}
1783node[man_made=petroleum_well][mechanical_coupling=nodding_donkey] {
1784 icon-image: "presets/landmark/well_donkey.svg";
1785 set icon_z17;
1786}
1787node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=gas] {
1788 icon-image: "presets/landmark/gas_well_donkey.svg";
1789 set icon_z17;
1790}
1791node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=oil] {
1792 icon-image: "presets/landmark/oil_well_donkey.svg";
1793 set icon_z17;
1794}
1795node[man_made=pump] {
1796 icon-image: "presets/landmark/pump.svg";
1797 set icon_z17;
1798}
1799node[man_made=pump][substance=gas] {
1800 icon-image: "presets/landmark/pump_gas.svg";
1801 set icon_z17;
1802}
1803node[man_made=pump][substance=oil] {
1804 icon-image: "presets/landmark/pump_oil.svg";
1805 set icon_z17;
1806}
1807node[man_made=pump][substance=sewage] {
1808 icon-image: "presets/landmark/pump_sewage.svg";
1809 set icon_z17;
1810}
1811node[man_made=pump][substance=steam] {
1812 icon-image: "presets/landmark/pump_steam.svg";
1813 set icon_z17;
1814}
1815node[man_made=pump][substance=~/(^|_)?water$/] {
1816 icon-image: "presets/landmark/pump_water.svg";
1817 set icon_z17;
1818}
1819node[man_made=breakwater],
1820node[man_made=groyne],
1821node[man_made=embankment],
1822node[man_made=pumping_rig],
1823node[man_made=pipeline] {
1824 icon-image: "presets/misc/deprecated.svg";
1825 set icon_z17;
1826}
1827area[man_made=reservoir_covered],
1828area[man_made=wastewater_plant],
1829area[man_made=watermill],
1830area[man_made=water_well],
1831area[man_made=windmill],
1832area[man_made=windpump],
1833area[man_made=works],
1834area[man_made=water_works] {
1835 fill-color: manmade#d8d8d8;
1836}
1837node[man_made=reservoir_covered] {
1838 icon-image: "presets/landmark/reservoir_covered.svg";
1839 set icon_z17;
1840}
1841node[man_made=surveillance] {
1842 icon-image: "presets/service/surveillance.svg";
1843 set icon_z17;
1844}
1845node[man_made=survey_point] {
1846 icon-image: "presets/landmark/survey_point.svg";
1847 set icon_z17;
1848}
1849node[man_made=wastewater_plant] {
1850 icon-image: "presets/landmark/wastewater_plant.svg";
1851 set icon_z17;
1852}
1853node[man_made=watermill] {
1854 icon-image: "presets/landmark/watermill.svg";
1855 set icon_z17;
1856}
1857node[man_made=water_well] {
1858 icon-image: "presets/landmark/water_well.svg";
1859 set icon_z17;
1860}
1861node[man_made=water_well][mechanical_coupling=nodding_donkey] {
1862 icon-image: "presets/landmark/water_well_donkey.svg";
1863 set icon_z17;
1864}
1865node[man_made=windmill] {
1866 icon-image: "presets/landmark/windmill.svg";
1867 set icon_z17;
1868}
1869node[man_made=windpump] {
1870 icon-image: "presets/landmark/windpump.svg";
1871 set icon_z17;
1872}
1873node[man_made=windpump][substance=gas] {
1874 icon-image: "presets/landmark/windpump_gas.svg";
1875 set icon_z17;
1876}
1877node[man_made=windpump][substance=oil] {
1878 icon-image: "presets/landmark/windpump_oil.svg";
1879 set icon_z17;
1880}
1881node[man_made=windpump][substance=sewage] {
1882 icon-image: "presets/landmark/windpump_sewage.svg";
1883 set icon_z17;
1884}
1885node[man_made=windpump][substance=steam] {
1886 icon-image: "presets/landmark/windpump_steam.svg";
1887 set icon_z17;
1888}
1889node[man_made=works] {
1890 icon-image: "presets/landmark/works.svg";
1891 set icon_z17;
1892}
1893node[man_made=water_works] {
1894 icon-image: "presets/landmark/water_works.svg";
1895 set icon_z17;
1896}
1897way[man_made=cutline]::man_made_cutline {
1898 width: 4;
1899 color: cutline#bbff7c;
1900 z-index: -2;
1901 object-z-index: -1; /* below highway=* */
1902 modifier: false; /* don't draw default way if there is no line on default layer */
1903}
1904node[man_made=cutline] {
1905 icon-image: "presets/misc/deprecated.svg";
1906 set icon_z17;
1907}
1908
1909area[man_made=water_tower],
1910area[man_made=telescope],
1911area[man_made=antenna],
1912area[man_made=mast],
1913area[man_made=tower],
1914area[man_made=communications_tower] {
1915 fill-color: manmade#d8d8d8;
1916}
1917node[man_made=water_tower] {
1918 icon-image: "presets/tower/water_tower.svg";
1919 set icon_z17;
1920}
1921node[man_made=telescope] {
1922 icon-image: "presets/tower/telescope_dish.svg";
1923 set icon_z17;
1924}
1925node[man_made=telescope][telescope:type=optical] {
1926 icon-image: "presets/tower/telescope_dome.svg";
1927 set icon_z17;
1928}
1929node[man_made=antenna] {
1930 icon-image: "presets/tower/antenna.svg";
1931 set icon_z17;
1932}
1933node[man_made=mast] {
1934 icon-image: "presets/tower/mast.svg";
1935 set icon_z17;
1936}
1937node[man_made=mast][tower:type=communication] {
1938 icon-image: "presets/tower/mast_communication.svg";
1939 set icon_z17;
1940}
1941node[man_made=mast][tower:type=lighting] {
1942 icon-image: "presets/tower/mast_lighting.svg";
1943 set icon_z17;
1944}
1945node[man_made=tower] {
1946 icon-image: "presets/tower/tower.svg";
1947 set icon_z17;
1948}
1949node[man_made=tower][tower:type=bell_tower] {
1950 icon-image: "presets/tower/bell_tower.svg";
1951 set icon_z17;
1952}
1953node[man_made=tower][tower:type=communication] {
1954 icon-image: "presets/tower/communication.svg";
1955 set icon_z17;
1956}
1957node[man_made=tower][tower:type=cooling] {
1958 icon-image: "presets/tower/cooling.svg";
1959 set icon_z17;
1960}
1961node[man_made=tower][tower:type=defensive] {
1962 icon-image: "presets/tower/defensive.svg";
1963 set icon_z17;
1964}
1965node[man_made=tower][tower:type=lighting] {
1966 icon-image: "presets/tower/lighting.svg";
1967 set icon_z17;
1968}
1969node[man_made=tower][tower:type=observation] {
1970 icon-image: "presets/tower/observation.svg";
1971 set icon_z17;
1972}
1973node[man_made=tower][tower:type=watchtower] {
1974 icon-image: "presets/tower/observation.svg";
1975 set icon_z17;
1976}
1977node[man_made=communications_tower] {
1978 icon-image: "presets/tower/communications_tower.svg";
1979 set icon_z17;
1980}
1981node|z17-[man_made=utility_pole][utility][utility!=power][utility!=street_lighting]::utility_casing {
1982 utility_casing: #fdfdf8;
1983}
1984node|z17-[man_made=utility_pole][utility=gas]::utility_casing {
1985 utility_casing: #ffff00;
1986}
1987node|z17-[man_made=utility_pole][utility=oil]::utility_casing {
1988 utility_casing: #708090;
1989}
1990node|z17-[man_made=utility_pole][utility=telecom]::utility_casing,
1991node|z17-[man_made=utility_pole][utility=television]::utility_casing {
1992 utility_casing: #21bd00;
1993}
1994node|z17-[man_made=utility_pole][utility=water]::utility_casing {
1995 utility_casing: #2090cf;
1996}
1997node|z17-[man_made=utility_pole][utility=sewerage]::utility_casing {
1998 utility_casing: #1d5575;
1999}
2000node|z17-[man_made=utility_pole][utility=waste]::utility_casing {
2001 utility_casing: #ee82ee;
2002}
2003node[man_made=utility_pole].utility_casing::utility_casing {
2004 symbol-fill-color: prop("utility_casing");
2005 symbol-shape: circle;
2006 symbol-size: 12;
2007}
2008node[man_made=utility_pole] {
2009 icon-image: "presets/tower/pole.svg";
2010 set icon_z17;
2011}
2012node[man_made=utility_pole][utility~=power] {
2013 icon-image: "presets/power/pole.svg";
2014 set icon_z17;
2015}
2016node[man_made=utility_pole][utility~=street_lighting] {
2017 icon-image: "presets/tower/pole_street_light.svg";
2018 set icon_z17;
2019}
2020
2021/****************/
2022/* telecom tags */
2023/****************/
2024
2025area[telecom=exchange],
2026area[telecom=connection_point],
2027area[telecom=service_device],
2028area[man_made=street_cabinet][street_cabinet=telecom] {
2029 fill-color: telecom#d8d8d8; /* same as man_made */
2030}
2031node[telecom=exchange] {
2032 icon-image: "presets/telecom/exchange.svg";
2033 set icon_z17;
2034}
2035node[telecom=connection_point] {
2036 icon-image: "presets/telecom/connection_point.svg";
2037 set icon_z17;
2038}
2039node[telecom=service_device] {
2040 icon-image: "presets/telecom/service_device.svg";
2041 set icon_z17;
2042}
2043node[man_made=street_cabinet][street_cabinet=telecom] {
2044 icon-image: "presets/telecom/telecom_cabinet.svg";
2045 set icon_z17;
2046}
2047
2048/***************/
2049/* office tags */
2050/***************/
2051
2052area[office=accountant],
2053area[office=advertising_agency],
2054area[office=architect],
2055area[office=association],
2056area[office=company],
2057area[office=diplomatic],
2058area[office=educational_institution],
2059area[office=employment_agency],
2060area[office=estate_agent],
2061area[office=financial],
2062area[office=foundation],
2063area[office=government],
2064area[office=insurance],
2065area[office=it],
2066area[office=lawyer],
2067area[office=newspaper],
2068area[office=ngo],
2069area[office=notary],
2070area[office=political_party],
2071area[office=religion],
2072area[office=research],
2073area[office=tax_advisor],
2074area[office=telecommunication] {
2075 fill-color: office#de5696;
2076}
2077node[office=accountant] {
2078 icon-image: "presets/office/accountant.svg";
2079 set icon_z17;
2080}
2081node[office=advertising_agency] {
2082 icon-image: "presets/office/advertising_agency.svg";
2083 set icon_z17;
2084}
2085node[office=architect] {
2086 icon-image: "presets/office/architect.svg";
2087 set icon_z17;
2088}
2089node[office=association] {
2090 icon-image: "presets/office/association.svg";
2091 set icon_z17;
2092}
2093node[office=company] {
2094 icon-image: "presets/office/private_company.svg";
2095 set icon_z17;
2096}
2097node[office=diplomatic] {
2098 icon-image: "presets/office/diplomatic.svg";
2099 set icon_z17;
2100}
2101node[office=educational_institution] {
2102 icon-image: "presets/office/educational_institution.svg";
2103 set icon_z17;
2104}
2105node[office=employment_agency] {
2106 icon-image: "presets/office/employment_agency.svg";
2107 set icon_z17;
2108}
2109node[office=estate_agent] {
2110 icon-image: "presets/office/real_state.svg";
2111 set icon_z17;
2112}
2113node[office=financial] {
2114 icon-image: "presets/office/financial.svg";
2115 set icon_z17;
2116}
2117node[office=foundation] {
2118 icon-image: "presets/office/foundation.svg";
2119 set icon_z17;
2120}
2121node[office=insurance] {
2122 icon-image: "presets/office/insurance.svg";
2123 set icon_z17;
2124}
2125node[office=it] {
2126 icon-image: "presets/office/it.svg";
2127 set icon_z17;
2128}
2129node[office=lawyer] {
2130 icon-image: "presets/office/lawyer.svg";
2131 set icon_z17;
2132}
2133node[office=newspaper] {
2134 icon-image: "presets/office/newspaper.svg";
2135 set icon_z17;
2136}
2137node[office=ngo] {
2138 icon-image: "presets/office/ong.svg";
2139 set icon_z17;
2140}
2141node[office=notary] {
2142 icon-image: "presets/office/notary.svg";
2143 set icon_z17;
2144}
2145node[office=political_party] {
2146 icon-image: "presets/office/political_party.svg";
2147 set icon_z17;
2148}
2149node[office=religion] {
2150 icon-image: "presets/office/religion.svg";
2151 set icon_z17;
2152}
2153node[office=research] {
2154 icon-image: "presets/office/research.svg";
2155 set icon_z17;
2156}
2157node[office=tax_advisor] {
2158 icon-image: "presets/office/tax_advisor.svg";
2159 set icon_z17;
2160}
2161node[office=telecommunication] {
2162 icon-image: "presets/office/telecommunication.svg";
2163 set icon_z17;
2164}
2165node[office=government] {
2166 icon-image: "presets/office/government.svg";
2167 set icon_z17;
2168}
2169
2170/*************/
2171/* club tags */
2172/*************/
2173
2174area[club] {
2175 fill-color: club#a3e5f1;
2176}
2177node[club] {
2178 icon-image: "presets/leisure/club.svg";
2179 set icon_z17;
2180}
2181
2182/****************/
2183/* leisure tags */
2184/****************/
2185
2186area[leisure=bandstand],
2187area[leisure=bleachers],
2188area[leisure=sports_centre],
2189area[leisure=fitness_centre],
2190area[leisure=stadium],
2191area[leisure=horse_riding],
2192area[leisure=amusement_arcade],
2193area[leisure=adult_gaming_centre],
2194area[leisure=hackerspace],
2195area[leisure=outdoor_seating],
2196area[leisure=resort],
2197area[leisure=beach_resort],
2198area[leisure=water_park] {
2199 fill-color: leisure#c7f1a3;
2200}
2201node[leisure=bandstand] {
2202 icon-image: "presets/leisure/bandstand.svg";
2203 set icon_z17;
2204}
2205node[leisure=bleachers] {
2206 icon-image: "presets/leisure/bleachers.svg";
2207 set icon_z17;
2208}
2209node[leisure=sports_centre] {
2210 icon-image: "presets/sport/sports_centre.svg";
2211 set icon_z17;
2212}
2213node[leisure=fitness_centre] {
2214 icon-image: "presets/sport/fitness_centre.svg";
2215 set icon_z17;
2216}
2217node[leisure=stadium] {
2218 icon-image: "presets/sport/stadium.svg";
2219 set icon_z17;
2220}
2221node[leisure=horse_riding] {
2222 icon-image: "presets/leisure/horse_riding.svg";
2223 set icon_z17;
2224}
2225node[leisure=amusement_arcade] {
2226 icon-image: "presets/leisure/amusement_arcade.svg";
2227 set icon_z17;
2228}
2229node[leisure=adult_gaming_centre] {
2230 icon-image: "presets/leisure/adult_gaming_centre.svg";
2231 set icon_z17;
2232}
2233node[leisure=hackerspace] {
2234 icon-image: "presets/leisure/hackerspace.svg";
2235 set icon_z17;
2236}
2237node[leisure=outdoor_seating] {
2238 icon-image: "presets/leisure/outdoor_seating.svg";
2239 set icon_z17;
2240}
2241node[leisure=resort] {
2242 icon-image: "presets/leisure/resort.svg";
2243 set icon_z17;
2244}
2245node[leisure=beach_resort] {
2246 icon-image: "presets/leisure/beach_resort.svg";
2247 set icon_z17;
2248}
2249node[leisure=water_park] {
2250 icon-image: "presets/leisure/water_park.svg";
2251 set icon_z17;
2252}
2253way[leisure=track] {
2254 width: 2;
2255 color: leisuretrack#d4f4b9;
2256}
2257way[leisure=track][area?],
2258relation[leisure=track][!area?!]:closed {
2259 fill-color: leisuretrack#d4f4b9;
2260}
2261node[leisure=track] {
2262 icon-image: "presets/sport/track.svg";
2263 set icon_z17;
2264}
2265area[leisure=pitch] {
2266 fill-color: pitch#baee8d;
2267}
2268node[leisure=pitch] {
2269 icon-image: "presets/sport/pitch.svg";
2270 set icon_z17;
2271}
2272area[leisure=marina] {
2273 fill-color: marina#0070cf;
2274}
2275node[leisure=marina] {
2276 icon-image: "presets/nautical/marina.svg";
2277 set icon_z17;
2278}
2279way[leisure=slipway] {
2280 width: 2;
2281 color: leisure#c7f1a3;
2282}
2283node[leisure=slipway] {
2284 icon-image: "presets/nautical/slipway.svg";
2285 set icon_z17;
2286}
2287area[leisure=fishing],
2288area[leisure=bird_hide],
2289area[leisure=nature_reserve],
2290area[leisure=park],
2291area[leisure=playground],
2292area[leisure=garden],
2293area[leisure=firepit] {
2294 fill-color: leisure#c7f1a3;
2295}
2296node[leisure=fishing] {
2297 icon-image: "presets/sport/fishing.svg";
2298 set icon_z17;
2299}
2300node[leisure=bird_hide] {
2301 icon-image: "presets/leisure/bird_hide.svg";
2302 set icon_z17;
2303}
2304node[leisure=park] {
2305 icon-image: "presets/misc/deprecated.svg";
2306 set icon_z17;
2307}
2308node[leisure=playground] {
2309 icon-image: "presets/leisure/playground.svg";
2310 set icon_z17;
2311}
2312node[leisure=garden] {
2313 icon-image: "presets/leisure/garden.svg";
2314 set icon_z17;
2315}
2316node[leisure=common] {
2317 icon-image: "presets/misc/deprecated.svg";
2318 set icon_z17;
2319}
2320node[leisure=firepit] {
2321 icon-image: "presets/leisure/firepit.svg";
2322 set icon_z17;
2323}
2324node[leisure=picnic_table] {
2325 icon-image: "presets/leisure/picnic.svg";
2326 set icon_z17;
2327}
2328area[leisure=swimming_pool] {
2329 fill-color: swimming_pool#51c4ef;
2330}
2331node[leisure=swimming_pool] {
2332 icon-image: "presets/sport/swimming.svg";
2333 set icon_z17;
2334}
2335area[playground]:closed {
2336 fill-color: playground#c7f1a3;
2337}
2338way[playground] {
2339 width: 2;
2340 color: playground#c7f1a3;
2341}
2342node[playground] {
2343 icon-image: "presets/leisure/playground_device.svg";
2344 set icon_z17;
2345}
2346area[leisure=fitness_station],
2347area[leisure=miniature_golf],
2348area[leisure=dog_park],
2349area[leisure=ice_rink],
2350area[leisure=sauna] {
2351 fill-color: leisure#c7f1a3;
2352}
2353node[leisure=fitness_station] {
2354 icon-image: "presets/leisure/fitness_station.svg";
2355 set icon_z17;
2356}
2357node[leisure=miniature_golf] {
2358 icon-image: "presets/sport/miniature_golf.svg";
2359 set icon_z17;
2360}
2361node[leisure=dog_park] {
2362 icon-image: "presets/leisure/dogpark.svg";
2363 set icon_z17;
2364}
2365node[leisure=ice_rink] {
2366 icon-image: "presets/sport/ice_hockey.svg";
2367 set icon_z17;
2368}
2369node[leisure=sauna] {
2370 icon-image: "presets/leisure/sauna.svg";
2371 set icon_z17;
2372}
2373area[leisure=golf_course] {
2374 fill-color: leisure#c7f1a3;
2375}
2376node[leisure=golf_course] {
2377 icon-image: "presets/sport/golf/golf.svg";
2378 set icon_z17;
2379}
2380
2381/*************/
2382/* golf tags */
2383/*************/
2384area[golf=tee] {
2385 fill-color: golf#c7f1a3;
2386}
2387node[golf=tee] {
2388 icon-image: "presets/sport/golf/tee.svg";
2389 set icon_z17;
2390}
2391way[golf=hole] {
2392 width: 1;
2393 dashes: 10,10;
2394 color: golf_hole#808080;
2395}
2396node[golf=pin] {
2397 icon-image: "presets/sport/golf/pin.svg";
2398 set icon_z17;
2399}
2400area[golf=bunker] {
2401 fill-color: golf_bunker#ffab00;
2402}
2403area[golf=water_hazard],
2404area[golf=lateral_water_hazard] {
2405 fill-color: golf_water_hazard#0000ff;
2406}
2407area[golf=green] {
2408 fill-color: golf_green#00e700;
2409}
2410area[golf=fairway] {
2411 fill-color: golf_fairway#009a00;
2412}
2413area[golf=rough] {
2414 fill-color: golf_rough#006700;
2415}
2416area[golf=driving_range] {
2417 fill-color: golf_driving_range#c7f1a3;
2418}
2419node[golf=driving_range] {
2420 icon-image: "presets/sport/golf/driving_range.svg";
2421 set icon_z17;
2422}
2423
2424/********************/
2425/* advertising tags */
2426/********************/
2427
2428node[advertising=column] {
2429 icon-image: "presets/leisure/advertising_column.svg";
2430 set icon_z17;
2431}
2432area[advertising=column] {
2433 fill-color: advertising#880000;
2434}
2435node[advertising=billboard] {
2436 icon-image: "presets/leisure/billboard.svg";
2437 set icon_z17;
2438}
2439node[advertising=poster_box] {
2440 icon-image: "presets/leisure/poster_box.svg";
2441 set icon_z17;
2442}
2443node[advertising=totem] {
2444 icon-image: "presets/leisure/totem.svg";
2445 set icon_z17;
2446}
2447way[advertising=billboard],
2448way[advertising=poster_box],
2449way[advertising=totem] {
2450 width: 2;
2451 color: advertising#880000;
2452}
2453
2454/*************/
2455/* shop tags */
2456/*************/
2457
2458area[shop=supermarket],
2459area[shop=convenience],
2460area[shop=bakery],
2461area[shop=butcher],
2462area[shop=bicycle],
2463area[shop=doityourself],
2464area[shop=dry_cleaning],
2465area[shop=laundry],
2466area[shop=outdoor],
2467area[shop=kiosk],
2468area[shop=alcohol],
2469area[shop=beverages],
2470area[shop=books],
2471area[shop=boutique],
2472area[shop=car],
2473area[shop=car_repair],
2474area[shop=tyres],
2475area[shop=chemist],
2476area[shop=tobacco],
2477area[shop=e-cigarette],
2478area[shop=clothes],
2479area[shop=computer],
2480area[shop=confectionery],
2481area[shop=chocolate],
2482area[shop=pastry],
2483area[shop=copyshop],
2484area[shop=craft],
2485area[shop=curtain],
2486area[shop=cycle_repair],
2487area[shop=department_store],
2488area[shop=deli],
2489area[shop=doors],
2490area[shop=electronics],
2491area[shop=erotic],
2492area[shop=furniture],
2493area[shop=fabric],
2494area[shop=florist],
2495area[shop=frame],
2496area[shop=gas],
2497area[shop=general],
2498area[shop=gift],
2499area[shop=greengrocer],
2500area[shop=garden_centre],
2501area[shop=hairdresser],
2502area[shop=hardware],
2503area[shop=hearing_aids],
2504area[shop=hifi],
2505area[shop=houseware],
2506area[shop=pottery],
2507area[shop=jewelry],
2508area[shop=kitchen],
2509area[shop=mall],
2510area[shop=massage],
2511area[shop=mobile_phone],
2512area[shop=watches],
2513area[shop=motorcycle],
2514area[shop=musical_instrument],
2515area[shop=newsagent],
2516area[shop=optician],
2517area[shop=medical_supply],
2518area[shop=paint],
2519area[shop=party],
2520area[shop=pawnbroker],
2521area[shop=seafood],
2522area[shop=dairy],
2523area[shop=cheese],
2524area[shop=shoes],
2525area[shop=sports],
2526area[shop=stationery],
2527area[shop=tailor],
2528area[shop=travel_agency],
2529area[shop=scuba_diving],
2530area[shop=fishing],
2531area[shop=toys],
2532area[shop=vacuum_cleaner],
2533area[shop=variety_store],
2534area[shop=charity],
2535area[shop=second_hand],
2536area[shop=video],
2537area[shop=bookmaker],
2538area[shop=lottery],
2539area[shop=pet],
2540area[shop=pet_grooming],
2541area[shop=photo],
2542area[shop=ticket],
2543area[shop=carpet],
2544area[shop=interior_decoration],
2545area[shop=car_parts],
2546area[shop=video_games],
2547area[shop=bed],
2548area[shop=beauty],
2549area[shop=cosmetics],
2550area[shop=perfumery],
2551area[shop=herbalist],
2552area[shop=tea],
2553area[shop=coffee],
2554area[shop=frozen_food],
2555area[shop=antiques],
2556area[shop=swimming_pool],
2557area[shop=storage_rental],
2558area[shop=music],
2559area[shop=weapons],
2560area[shop=funeral_directors],
2561area[shop=agrarian],
2562area[shop=wine],
2563area[shop=farm],
2564area[shop=tattoo],
2565area[shop=art],
2566area[shop=lighting],
2567area[shop=security],
2568area[shop=wholesale],
2569area[shop=trade],
2570area[shop=bag] {
2571 fill-color: shop#00005f;
2572}
2573node[shop=supermarket] {
2574 icon-image: "presets/shop/supermarket.svg";
2575 set icon_z17;
2576}
2577node[shop=convenience] {
2578 icon-image: "presets/shop/convenience.svg";
2579 set icon_z17;
2580}
2581node[shop=bakery] {
2582 icon-image: "presets/shop/groceries/bakery.svg";
2583 set icon_z17;
2584}
2585node[shop=butcher] {
2586 icon-image: "presets/shop/groceries/butcher.svg";
2587 set icon_z17;
2588}
2589node[shop=bicycle] {
2590 icon-image: "presets/shop/bicycle.svg";
2591 set icon_z17;
2592}
2593node[shop=doityourself] {
2594 icon-image: "presets/shop/diy_store.svg";
2595 set icon_z17;
2596}
2597node[shop=dry_cleaning],
2598node[shop=laundry] {
2599 icon-image: "presets/shop/laundry.svg";
2600 set icon_z17;
2601}
2602node[shop=outdoor] {
2603 icon-image: "presets/shop/outdoor.svg";
2604 set icon_z17;
2605}
2606node[shop=kiosk] {
2607 icon-image: "presets/shop/kiosk.svg";
2608 set icon_z17;
2609}
2610node[shop=beverages] {
2611 icon-image: "presets/shop/beverages.svg";
2612 set icon_z17;
2613}
2614node[shop=alcohol] {
2615 icon-image: "presets/shop/alcohol.svg";
2616 set icon_z17;
2617}
2618node[shop=books] {
2619 icon-image: "presets/shop/book.svg";
2620 set icon_z17;
2621}
2622node[shop=boutique] {
2623 icon-image: "presets/shop/boutique.svg";
2624 set icon_z17;
2625}
2626node[shop=car] {
2627 icon-image: "presets/shop/vehicle.svg";
2628 set icon_z17;
2629}
2630node[shop=car_repair] {
2631 icon-image: "presets/vehicle/repair_shop.svg";
2632 set icon_z17;
2633}
2634node[shop=tyres] {
2635 icon-image: "presets/vehicle/tyres.svg";
2636 set icon_z17;
2637}
2638node[shop=chemist] {
2639 icon-image: "presets/shop/chemist.svg";
2640 set icon_z17;
2641}
2642node[shop=tobacco] {
2643 icon-image: "presets/shop/tobacco.svg";
2644 set icon_z17;
2645}
2646node[shop=e-cigarette] {
2647 icon-image: "presets/shop/e-cigarette.svg";
2648 set icon_z17;
2649}
2650node[shop=clothes] {
2651 icon-image: "presets/shop/clothes.svg";
2652 set icon_z17;
2653}
2654node[shop=computer] {
2655 icon-image: "presets/shop/computer.svg";
2656 set icon_z17;
2657}
2658node[shop=confectionery] {
2659 icon-image: "presets/shop/groceries/confectionery.svg";
2660 set icon_z17;
2661}
2662node[shop=chocolate] {
2663 icon-image: "presets/shop/groceries/chocolate.svg";
2664 set icon_z17;
2665}
2666node[shop=pastry] {
2667 icon-image: "presets/shop/groceries/pastry.svg";
2668 set icon_z17;
2669}
2670node[shop=copyshop] {
2671 icon-image: "presets/shop/copyshop.svg";
2672 set icon_z17;
2673}
2674node[shop=craft] {
2675 icon-image: "presets/shop/craft.svg";
2676 set icon_z17;
2677}
2678node[shop=curtain] {
2679 icon-image: "presets/shop/curtain.svg";
2680 set icon_z17;
2681}
2682node[shop=cycle_repair] {
2683 icon-image: "presets/shop/bicycle.svg";
2684 set icon_z17;
2685}
2686node[shop=department_store] {
2687 icon-image: "presets/shop/mall.svg";
2688 set icon_z17;
2689}
2690node[shop=deli] {
2691 icon-image: "presets/shop/groceries/deli.svg";
2692 set icon_z17;
2693}
2694node[shop=doors] {
2695 icon-image: "presets/shop/doors.svg";
2696 set icon_z17;
2697}
2698node[shop=electronics] {
2699 icon-image: "presets/shop/electronics.svg";
2700 set icon_z17;
2701}
2702node[shop=erotic] {
2703 icon-image: "presets/shop/erotic.svg";
2704 set icon_z17;
2705}
2706node[shop=furniture] {
2707 icon-image: "presets/shop/furniture.svg";
2708 set icon_z17;
2709}
2710node[shop=fabric] {
2711 icon-image: "presets/shop/fabric.svg";
2712 set icon_z17;
2713}
2714node[shop=florist] {
2715 icon-image: "presets/shop/florist.svg";
2716 set icon_z17;
2717}
2718node[shop=frame] {
2719 icon-image: "presets/shop/frame.svg";
2720 set icon_z17;
2721}
2722node[shop=gas] {
2723 icon-image: "presets/shop/gas.svg";
2724 set icon_z17;
2725}
2726node[shop=general] {
2727 icon-image: "presets/shop/mall.svg";
2728 set icon_z17;
2729}
2730node[shop=gift] {
2731 icon-image: "presets/shop/present.svg";
2732 set icon_z17;
2733}
2734node[shop=greengrocer] {
2735 icon-image: "presets/shop/groceries/greengrocer.svg";
2736 set icon_z17;
2737}
2738node[shop=garden_centre] {
2739 icon-image: "presets/shop/garden_centre.svg";
2740 set icon_z17;
2741}
2742node[shop=hairdresser] {
2743 icon-image: "presets/shop/hairdresser.svg";
2744 set icon_z17;
2745}
2746node[shop=hardware] {
2747 icon-image: "presets/shop/hardware.svg";
2748 set icon_z17;
2749}
2750node[shop=hearing_aids] {
2751 icon-image: "presets/shop/hearing_aids.svg";
2752 set icon_z17;
2753}
2754node[shop=hifi] {
2755 icon-image: "presets/shop/hifi.svg";
2756 set icon_z17;
2757}
2758node[shop=houseware] {
2759 icon-image: "presets/shop/houseware.svg";
2760 set icon_z17;
2761}
2762node[shop=pottery] {
2763 icon-image: "presets/shop/pottery.svg";
2764 set icon_z17;
2765}
2766node[shop=jewelry] {
2767 icon-image: "presets/shop/jewelry.svg";
2768 set icon_z17;
2769}
2770node[shop=kitchen] {
2771 icon-image: "presets/shop/kitchen.svg";
2772 set icon_z17;
2773}
2774node[shop=mall] {
2775 icon-image: "presets/shop/mall.svg";
2776 set icon_z17;
2777}
2778node[shop=massage] {
2779 icon-image: "presets/shop/massage.svg";
2780 set icon_z17;
2781}
2782node[shop=mobile_phone] {
2783 icon-image: "presets/shop/mobile_phone.svg";
2784 set icon_z17;
2785}
2786node[shop=watches] {
2787 icon-image: "presets/shop/watches.svg";
2788 set icon_z17;
2789}
2790node[shop=motorcycle] {
2791 icon-image: "presets/vehicle/motorbike.svg";
2792 set icon_z17;
2793}
2794node[shop=musical_instrument] {
2795 icon-image: "presets/shop/musical_instrument.svg";
2796 set icon_z17;
2797}
2798node[shop=newsagent] {
2799 icon-image: "presets/shop/news.svg";
2800 set icon_z17;
2801}
2802node[shop=optician] {
2803 icon-image: "presets/shop/optician.svg";
2804 set icon_z17;
2805}
2806node[shop=medical_supply] {
2807 icon-image: "presets/shop/medical_supply.svg";
2808 set icon_z17;
2809}
2810node[shop=paint] {
2811 icon-image: "presets/shop/paint.svg";
2812 set icon_z17;
2813}
2814node[shop=party] {
2815 icon-image: "presets/shop/party.svg";
2816 set icon_z17;
2817}
2818node[shop=pawnbroker] {
2819 icon-image: "presets/shop/pawnbroker.svg";
2820 set icon_z17;
2821}
2822node[shop=seafood] {
2823 icon-image: "presets/shop/groceries/seafood.svg";
2824 set icon_z17;
2825}
2826node[shop=dairy] {
2827 icon-image: "presets/shop/groceries/dairy.svg";
2828 set icon_z17;
2829}
2830node[shop=cheese] {
2831 icon-image: "presets/shop/groceries/cheese.svg";
2832 set icon_z17;
2833}
2834node[shop=shoes] {
2835 icon-image: "presets/shop/shoes.svg";
2836 set icon_z17;
2837}
2838node[shop=sports] {
2839 icon-image: "presets/sport/multi.svg";
2840 set icon_z17;
2841}
2842node[shop=stationery] {
2843 icon-image: "presets/shop/stationery.svg";
2844 set icon_z17;
2845}
2846node[shop=tailor] {
2847 icon-image: "presets/shop/tailor.svg";
2848 set icon_z17;
2849}
2850node[shop=travel_agency] {
2851 icon-image: "presets/shop/travel_agency.svg";
2852 set icon_z17;
2853}
2854node[shop=scuba_diving] {
2855 icon-image: "presets/shop/scuba_diving.svg";
2856 set icon_z17;
2857}
2858node[shop=fishing] {
2859 icon-image: "presets/shop/fishing.svg";
2860 set icon_z17;
2861}
2862node[shop=toys] {
2863 icon-image: "presets/shop/toys.svg";
2864 set icon_z17;
2865}
2866node[shop=vacuum_cleaner] {
2867 icon-image: "presets/shop/vacuum_cleaner.svg";
2868 set icon_z17;
2869}
2870node[shop=variety_store] {
2871 icon-image: "presets/shop/variety_store.svg";
2872 set icon_z17;
2873}
2874node[shop=charity] {
2875 icon-image: "presets/shop/charity.svg";
2876 set icon_z17;
2877}
2878node[shop=second_hand] {
2879 icon-image: "presets/shop/second_hand.svg";
2880 set icon_z17;
2881}
2882node[shop=video] {
2883 icon-image: "presets/shop/video.svg";
2884 set icon_z17;
2885}
2886node[shop=bookmaker] {
2887 icon-image: "presets/shop/lottery.svg";
2888 set icon_z17;
2889}
2890node[shop=lottery] {
2891 icon-image: "presets/shop/lottery.svg";
2892 set icon_z17;
2893}
2894node[shop=pet] {
2895 icon-image: "presets/shop/pet.svg";
2896 set icon_z17;
2897}
2898node[shop=pet_grooming] {
2899 icon-image: "presets/shop/pet_grooming.svg";
2900 set icon_z17;
2901}
2902node[shop=photo] {
2903 icon-image: "presets/shop/photo.svg";
2904 set icon_z17;
2905}
2906node[shop=ticket] {
2907 icon-image: "presets/shop/ticket.svg";
2908 set icon_z17;
2909}
2910node[shop=carpet] {
2911 icon-image: "presets/shop/carpet.svg";
2912 set icon_z17;
2913}
2914node[shop=interior_decoration] {
2915 icon-image: "presets/shop/interior_decoration.svg";
2916 set icon_z17;
2917}
2918node[shop=car_parts] {
2919 icon-image: "presets/vehicle/car_parts.svg";
2920 set icon_z17;
2921}
2922node[shop=video_games] {
2923 icon-image: "presets/shop/video_games.svg";
2924 set icon_z17;
2925}
2926node[shop=bed] {
2927 icon-image: "presets/shop/bed.svg";
2928 set icon_z17;
2929}
2930node[shop=beauty] {
2931 icon-image: "presets/shop/beauty.svg";
2932 set icon_z17;
2933}
2934node[shop=cosmetics] {
2935 icon-image: "presets/shop/cosmetics.svg";
2936 set icon_z17;
2937}
2938node[shop=perfumery] {
2939 icon-image: "presets/shop/perfumery.svg";
2940 set icon_z17;
2941}
2942node[shop=herbalist] {
2943 icon-image: "presets/shop/groceries/herbalist.svg";
2944 set icon_z17;
2945}
2946node[shop=tea] {
2947 icon-image: "presets/shop/groceries/tea.svg";
2948 set icon_z17;
2949}
2950node[shop=coffee] {
2951 icon-image: "presets/shop/groceries/coffee.svg";
2952 set icon_z17;
2953}
2954node[shop=frozen_food] {
2955 icon-image: "presets/shop/groceries/frozen_food.svg";
2956 set icon_z17;
2957}
2958node[shop=antiques] {
2959 icon-image: "presets/shop/antique.svg";
2960 set icon_z17;
2961}
2962node[shop=swimming_pool] {
2963 icon-image: "presets/shop/swimming_pool.svg";
2964 set icon_z17;
2965}
2966node[shop=storage_rental] {
2967 icon-image: "presets/shop/storage_rental.svg";
2968 set icon_z17;
2969}
2970node[shop=music] {
2971 icon-image: "presets/shop/music.svg";
2972 set icon_z17;
2973}
2974node[shop=weapons] {
2975 icon-image: "presets/shop/weapons.svg";
2976 set icon_z17;
2977}
2978node[shop=funeral_directors] {
2979 icon-image: "presets/shop/funeral_directors.svg";
2980 set icon_z17;
2981}
2982node[shop=agrarian] {
2983 icon-image: "presets/shop/agrarian.svg";
2984 set icon_z17;
2985}
2986node[shop=wine] {
2987 icon-image: "presets/shop/wine.svg";
2988 set icon_z17;
2989}
2990node[shop=farm] {
2991 icon-image: "presets/shop/groceries/farm.svg";
2992 set icon_z17;
2993}
2994node[shop=tattoo] {
2995 icon-image: "presets/shop/tattoo.svg";
2996 set icon_z17;
2997}
2998node[shop=art] {
2999 icon-image: "presets/shop/art.svg";
3000 set icon_z17;
3001}
3002node[shop=lighting] {
3003 icon-image: "presets/shop/lighting.svg";
3004 set icon_z17;
3005}
3006node[shop=security] {
3007 icon-image: "presets/shop/security.svg";
3008 set icon_z17;
3009}
3010node[shop=wholesale] {
3011 icon-image: "presets/shop/wholesale.svg";
3012 set icon_z17;
3013}
3014node[shop=trade] {
3015 icon-image: "presets/shop/trade.svg";
3016 set icon_z17;
3017}
3018node[shop=bag] {
3019 icon-image: "presets/shop/bag.svg";
3020 set icon_z17;
3021}
3022
3023/******************/
3024/* emergency tags */
3025/******************/
3026area[emergency=ambulance_station],
3027area[emergency=lifeguard],
3028area[emergency=water_tank] {
3029 fill-color: emergency#eeeeee;
3030}
3031node[emergency=ambulance_station] {
3032 icon-image: "presets/emergency/ambulance_station.svg";
3033 set icon_z17;
3034}
3035node[emergency=water_tank] {
3036 icon-image: "presets/emergency/water_tank.svg";
3037 set icon_z17;
3038}
3039node[emergency=suction_point] {
3040 icon-image: "presets/emergency/suction_point.svg";
3041 set icon_z17;
3042}
3043node[emergency=life_ring] {
3044 icon-image: "presets/emergency/life_ring.svg";
3045 set icon_z17;
3046}
3047node[emergency=lifeguard] {
3048 icon-image: "presets/emergency/lifeguard.svg";
3049 set icon_z17;
3050}
3051node[emergency=emergency_ward_entrance] {
3052 icon-image: "presets/emergency/emergency_ward_entrance.svg";
3053 set icon_z17;
3054}
3055node[emergency=phone] {
3056 icon-image: "presets/vehicle/emergency_phone.svg";
3057 set icon_z17;
3058}
3059node[emergency=defibrillator] {
3060 icon-image: "presets/emergency/aed.svg";
3061 set icon_z17;
3062}
3063node[emergency=fire_hydrant] {
3064 icon-image: "presets/service/fire_hydrant.svg";
3065 set icon_z17;
3066}
3067node[emergency=fire_extinguisher] {
3068 icon-image: "presets/emergency/fire_extinguisher.svg";
3069 set icon_z17;
3070}
3071node[emergency=fire_hose] {
3072 icon-image: "presets/emergency/fire_hose.svg";
3073 set icon_z17;
3074}
3075node[emergency=assembly_point] {
3076 icon-image: "presets/emergency/assembly_point.svg";
3077 set icon_z17;
3078}
3079node[emergency=siren] {
3080 icon-image: "presets/emergency/siren.svg";
3081 set icon_z17;
3082}
3083
3084/****************/
3085/* police tags */
3086/****************/
3087
3088area[police=barracks],
3089area[police=car_pound],
3090area[police=checkpoint],
3091area[police=detention],
3092area[police=naval_base],
3093area[police=offices],
3094area[police=range],
3095area[police=storage],
3096area[police=training_area],
3097area[police=yes] {
3098 fill-color: police#ecba52;
3099}
3100node[police=barracks],
3101node[police=car_pound],
3102node[police=checkpoint],
3103node[police=detention],
3104node[police=naval_base],
3105node[police=offices],
3106node[police=range],
3107node[police=storage],
3108node[police=training_node],
3109node[police=yes] {
3110 icon-image: "presets/service/police_non_public.svg";
3111 set icon_z17;
3112}
3113
3114/*******************/
3115/* healthcare tags */
3116/*******************/
3117
3118area[healthcare=laboratory] {
3119 fill-color: healthcare#3771c8;
3120}
3121node[healthcare=laboratory] {
3122 icon-image: "presets/health/laboratory.svg";
3123 set icon_z17;
3124}
3125
3126/****************/
3127/* amenity tags */
3128/****************/
3129
3130area[amenity=pub],
3131area[amenity=biergarten],
3132area[amenity=nightclub],
3133area[amenity=gambling],
3134area[amenity=stripclub],
3135area[amenity=casino],
3136area[amenity=brothel],
3137area[amenity=cafe],
3138area[amenity=restaurant],
3139area[amenity=food_court],
3140area[amenity=fast_food],
3141area[amenity=bar],
3142area[amenity=ice_cream] {
3143 fill-color: amenity#ecba52;
3144}
3145node[amenity=pub] {
3146 icon-image: "presets/food/pub.svg";
3147 set icon_z17;
3148}
3149node[amenity=biergarten] {
3150 icon-image: "presets/food/biergarten.svg";
3151 set icon_z17;
3152}
3153node[amenity=nightclub] {
3154 icon-image: "presets/leisure/nightclub.svg";
3155 set icon_z17;
3156}
3157node[amenity=gambling] {
3158 icon-image: "presets/leisure/gambling.svg";
3159 set icon_z17;
3160}
3161node[amenity=stripclub] {
3162 icon-image: "presets/leisure/stripclub.svg";
3163 set icon_z17;
3164}
3165node[amenity=casino] {
3166 icon-image: "presets/leisure/casino.svg";
3167 set icon_z17;
3168}
3169node[amenity=brothel] {
3170 icon-image: "presets/leisure/brothel.svg";
3171 set icon_z17;
3172}
3173node[amenity=cafe] {
3174 icon-image: "presets/food/cafe.svg";
3175 set icon_z17;
3176}
3177node[amenity=restaurant] {
3178 icon-image: "presets/food/restaurant.svg";
3179 set icon_z17;
3180}
3181node[amenity=food_court] {
3182 icon-image: "presets/food/food_court.svg";
3183 set icon_z17;
3184}
3185node[amenity=fast_food] {
3186 icon-image: "presets/food/fast_food.svg";
3187 set icon_z17;
3188}
3189node[amenity=bar] {
3190 icon-image: "presets/food/bar.svg";
3191 set icon_z17;
3192}
3193node[amenity=ice_cream] {
3194 icon-image: "presets/food/ice_cream.svg";
3195 set icon_z17;
3196}
3197area[amenity=bicycle_parking]:closed {
3198 fill-color: amenity_traffic#f7efb7;
3199}
3200way[amenity=bicycle_parking] {
3201 width: 2;
3202 color: amenity_traffic#f7efb7;
3203}
3204area[amenity=parking_space] {
3205 fill-color: parking_space#f7efb8;
3206}
3207area[amenity=trolley_bay] {
3208 fill-color: trolley_bay#b8d8f7;
3209}
3210area[amenity=parking],
3211area[amenity=motorcycle_parking],
3212area[amenity=bicycle_rental],
3213area[amenity=bicycle_repair_station],
3214area[amenity=bicycle_wash],
3215area[amenity=car_rental],
3216area[amenity=car_pooling],
3217area[amenity=car_sharing],
3218area[amenity=car_wash],
3219area[amenity=taxi],
3220area[amenity=fuel],
3221area[amenity=charging_station] {
3222 fill-color: amenity_traffic#f7efb7;
3223}
3224node[amenity=parking_space] {
3225 icon-image: "presets/vehicle/parking/parking_space.svg";
3226 set icon_z17;
3227}
3228node[amenity=trolley_bay] {
3229 icon-image: "presets/vehicle/parking/trolley_bay.svg";
3230 set icon_z17;
3231}
3232node[amenity=parking] {
3233 icon-image: "presets/vehicle/parking/parking.svg";
3234 set icon_z17;
3235}
3236node[amenity=parking_entrance] {
3237 icon-image: "presets/vehicle/parking/parking.svg";
3238 set icon_z17;
3239}
3240node[amenity=parking_entrance][parking=multi-storey],
3241node[amenity=parking][parking=multi-storey] {
3242 icon-image: "presets/vehicle/parking/multi-storey.svg";
3243 set icon_z17;
3244}
3245node[amenity=parking_entrance][parking=underground],
3246node[amenity=parking][parking=underground] {
3247 icon-image: "presets/vehicle/parking/underground.svg";
3248 set icon_z17;
3249}
3250node[amenity=motorcycle_parking] {
3251 icon-image: "presets/vehicle/parking/motorbike.svg";
3252 set icon_z17;
3253}
3254node[amenity=bicycle_parking] {
3255 icon-image: "presets/vehicle/parking/bicycle.svg";
3256 set icon_z17;
3257}
3258node[park_ride][park_ride!=no] {
3259 icon-image: "presets/vehicle/parking/park_ride.svg";
3260 set icon_z17;
3261}
3262node[amenity=parking_space][wheelchair?] {
3263 icon-image: "presets/vehicle/parking/handicapped.svg";
3264 set icon_z17;
3265}
3266node[amenity=bicycle_rental] {
3267 icon-image: "presets/vehicle/bicycle_rental.svg";
3268 set icon_z17;
3269}
3270node[amenity=bicycle_repair_station] {
3271 icon-image: "presets/vehicle/bicycle_repair_station.svg";
3272 set icon_z17;
3273}
3274node[amenity=bicycle_wash] {
3275 icon-image: "presets/vehicle/bicycle_wash.svg";
3276 set icon_z17;
3277}
3278node[amenity=car_rental] {
3279 icon-image: "presets/vehicle/car_rental.svg";
3280 set icon_z17;
3281}
3282node[amenity=car_pooling] {
3283 icon-image: "presets/vehicle/car_pooling.svg";
3284 set icon_z17;
3285}
3286node[amenity=car_sharing] {
3287 icon-image: "presets/vehicle/car_sharing.svg";
3288 set icon_z17;
3289}
3290node[amenity=car_wash] {
3291 icon-image: "presets/vehicle/car_wash.svg";
3292 set icon_z17;
3293}
3294node[amenity=taxi] {
3295 icon-image: "presets/transport/taxi.svg";
3296 set icon_z17;
3297}
3298node[amenity=fuel] {
3299 icon-image: "presets/vehicle/fuel.svg";
3300 set icon_z17;
3301}
3302node[amenity=charging_station] {
3303 icon-image: "presets/vehicle/charging_station.svg";
3304 set icon_z17;
3305}
3306node[amenity=grit_bin] {
3307 icon-image: "presets/misc/grit_bin.svg";
3308 set icon_z17;
3309}
3310node[amenity=telephone] {
3311 icon-image: "presets/service/telephone.svg";
3312 set icon_z17;
3313}
3314node[amenity=clock] {
3315 icon-image: "presets/service/clock.svg";
3316 set icon_z17;
3317}
3318node[amenity=photo_booth] {
3319 icon-image: "presets/service/photo_booth.svg";
3320 set icon_z17;
3321}
3322area[amenity=toilets],
3323area[amenity=shower],
3324area[amenity=internet_cafe],
3325area[amenity=recycling],
3326area[amenity=sanitary_dump_station] {
3327 fill-color: amenity_light#f7efb7;
3328}
3329node[amenity=toilets] {
3330 icon-image: "presets/service/toilets.svg";
3331 set icon_z17;
3332}
3333node[amenity=shower] {
3334 icon-image: "presets/service/shower.svg";
3335 set icon_z17;
3336}
3337node[amenity=internet_cafe] {
3338 icon-image: "presets/service/internet_cafe.svg";
3339 set icon_z17;
3340}
3341node[amenity=recycling] {
3342 icon-image: "presets/service/recycling/recycling.svg";
3343 set icon_z17;
3344}
3345node[amenity=recycling][recycling_type=container] {
3346 icon-image: "presets/service/recycling/recycling_container.svg";
3347}
3348node[amenity=recycling][recycling_type=centre] {
3349 icon-image: "presets/service/recycling/recycling_centre.svg";
3350}
3351node[amenity=waste_basket] {
3352 icon-image: "presets/service/recycling/waste_basket.svg";
3353 set icon_z17;
3354}
3355node[amenity=waste_disposal] {
3356 icon-image: "presets/service/recycling/waste_disposal.svg";
3357 set icon_z17;
3358}
3359node[amenity=sanitary_dump_station] {
3360 icon-image: "presets/service/recycling/sanitary_dump_station.svg";
3361 set icon_z17;
3362}
3363area[amenity=townhall],
3364area[amenity=events_venue],
3365area[amenity=community_centre] {
3366 fill-color: amenity_light#f7efb7;
3367}
3368node[amenity=townhall] {
3369 icon-image: "presets/service/townhall.svg";
3370 set icon_z17;
3371}
3372node[amenity=events_venue] {
3373 icon-image: "presets/service/events_venue.svg";
3374 set icon_z17;
3375}
3376node[amenity=community_centre] {
3377 icon-image: "presets/service/community_centre.svg";
3378 set icon_z17;
3379}
3380area[amenity=water_point],
3381area[amenity=fountain] {
3382 fill-color: light_water#00005f;
3383}
3384node[amenity=drinking_water] {
3385 icon-image: "presets/food/drinking_water.svg";
3386 set icon_z17;
3387}
3388node[amenity=water_point] {
3389 icon-image: "presets/accommodation/water.svg";
3390 set icon_z17;
3391}
3392node[amenity=fountain] {
3393 icon-image: "presets/misc/fountain.svg";
3394 set icon_z17;
3395}
3396area[amenity=animal_boarding],
3397area[amenity=animal_breeding],
3398area[amenity=place_of_worship],
3399area[amenity=monastery],
3400area[amenity=grave_yard],
3401area[amenity=crematorium],
3402area[amenity=post_office],
3403area[amenity=studio],
3404area[landuse=school],
3405area[amenity=school],
3406area[amenity=university],
3407area[amenity=college],
3408area[amenity=kindergarten],
3409area[amenity=language_school],
3410area[amenity=music_school],
3411area[amenity=driving_school],
3412area[amenity=driver_training] {
3413 fill-color: amenity_light#f7efb7;
3414}
3415node[amenity=animal_boarding] {
3416 icon-image: "presets/accommodation/animal_boarding.svg";
3417 set icon_z17;
3418}
3419node[amenity=animal_breeding] {
3420 icon-image: "presets/misc/animal_breeding.svg";
3421 set icon_z17;
3422}
3423node[amenity=place_of_worship] {
3424 icon-image: "presets/religion/religion.svg";
3425 set icon_z17;
3426}
3427node[amenity=place_of_worship][religion=bahai] {
3428 icon-image: "presets/religion/bahai.svg";
3429 set icon_z17;
3430}
3431node[amenity=place_of_worship][religion=buddhist] {
3432 icon-image: "presets/religion/buddhism.svg";
3433 set icon_z17;
3434}
3435node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
3436 icon-image: "presets/misc/no_icon.svg";
3437 set icon_z17;
3438}
3439node[amenity=place_of_worship][religion=christian] {
3440 icon-image: "presets/religion/church.svg";
3441 set icon_z17;
3442}
3443node[amenity=place_of_worship][religion=confucian] {
3444 icon-image: "presets/religion/confucian.svg";
3445 set icon_z17;
3446}
3447node[amenity=place_of_worship][religion=hindu] {
3448 icon-image: "presets/religion/hinduism.svg";
3449 set icon_z17;
3450}
3451node[amenity=place_of_worship][religion=jain] {
3452 icon-image: "presets/religion/jainism.svg";
3453 set icon_z17;
3454}
3455node[amenity=place_of_worship][religion=jewish] {
3456 icon-image: "presets/religion/jewish.svg";
3457 set icon_z17;
3458}
3459node[amenity=place_of_worship][religion=muslim] {
3460 icon-image: "presets/religion/muslim.svg";
3461 set icon_z17;
3462}
3463node[amenity=place_of_worship][religion=shinto] {
3464 icon-image: "presets/religion/shinto.svg";
3465 set icon_z17;
3466}
3467node[amenity=place_of_worship][religion=sikh] {
3468 icon-image: "presets/religion/sikhism.svg";
3469 set icon_z17;
3470}
3471node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
3472 icon-image: "presets/misc/no_icon.svg";
3473 set icon_z17;
3474}
3475node[amenity=place_of_worship][religion=taoist] {
3476 icon-image: "presets/religion/taoism.svg";
3477 set icon_z17;
3478}
3479node[amenity=place_of_worship][religion=tenrikyo] {
3480 icon-image: "presets/religion/tenrikyo.svg";
3481 set icon_z17;
3482}
3483node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
3484 icon-image: "presets/misc/no_icon.svg";
3485 set icon_z17;
3486}
3487node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
3488 icon-image: "presets/misc/no_icon.svg";
3489 set icon_z17;
3490}
3491node[amenity=monastery] {
3492 icon-image: "presets/religion/monastery.svg";
3493 set icon_z17;
3494}
3495node[amenity=grave_yard] {
3496 icon-image: "presets/landuse/graveyard.svg";
3497 set icon_z17;
3498}
3499node[amenity=crematorium][!is_prop_set(icon-image)] {
3500 icon-image: "presets/misc/no_icon.svg";
3501 set icon_z17;
3502}
3503node[amenity=post_office] {
3504 icon-image: "presets/service/post_office.svg";
3505 set icon_z17;
3506}
3507node[amenity=post_box] {
3508 icon-image: "presets/service/post_box.svg";
3509 set icon_z17;
3510}
3511node[amenity=letter_box] {
3512 icon-image: "presets/service/letter_box.svg";
3513 set icon_z17;
3514}
3515node[amenity=studio] {
3516 icon-image: "presets/service/studio.svg";
3517 set icon_z17;
3518}
3519node[amenity=school] {
3520 icon-image: "presets/education/school.svg";
3521 set icon_z17;
3522}
3523node[amenity=university] {
3524 icon-image: "presets/education/university.svg";
3525 set icon_z17;
3526}
3527node[amenity=college] {
3528 icon-image: "presets/education/college.svg";
3529 set icon_z17;
3530}
3531node[amenity=kindergarten] {
3532 icon-image: "presets/education/kindergarten.svg";
3533 set icon_z17;
3534}
3535node[amenity=language_school] {
3536 icon-image: "presets/education/language_school.svg";
3537 set icon_z17;
3538}
3539node[amenity=driving_school],
3540node[amenity=driver_training] {
3541 icon-image: "presets/education/driving_school.svg";
3542 set icon_z17;
3543}
3544node[amenity=music_school] {
3545 icon-image: "presets/education/music_school.svg";
3546 set icon_z17;
3547}
3548area[amenity=pharmacy],
3549area[amenity=hospital],
3550area[amenity=clinic],
3551area[amenity=nursing_home],
3552area[amenity=social_facility],
3553area[amenity=baby_hatch],
3554area[amenity=doctors],
3555area[amenity=dentist],
3556area[amenity=animal_shelter],
3557area[amenity=veterinary] {
3558 fill-color: health#eeeeee;
3559}
3560node[amenity=pharmacy] {
3561 icon-image: "presets/health/pharmacy.svg";
3562 set icon_z17;
3563}
3564node[amenity=hospital] {
3565 icon-image: "presets/health/hospital.svg";
3566 set icon_z17;
3567}
3568node[amenity=clinic] {
3569 icon-image: "presets/health/clinic.svg";
3570 set icon_z17;
3571}
3572node[amenity=social_facility][social_facility=nursing_home],
3573node[amenity=nursing_home] {
3574 icon-image: "presets/social_facility/nursing_home.svg";
3575 set icon_z17;
3576}
3577node[amenity=social_facility][social_facility=group_home] {
3578 icon-image: "presets/social_facility/group_home.svg";
3579 set icon_z17;
3580}
3581node[amenity=social_facility][social_facility=assisted_living] {
3582 icon-image: "presets/social_facility/assisted_living.svg";
3583 set icon_z17;
3584}
3585node[amenity=social_facility][social_facility=outreach] {
3586 icon-image: "presets/social_facility/outreach.svg";
3587 set icon_z17;
3588}
3589node[amenity=social_facility][social_facility=shelter] {
3590 icon-image: "presets/social_facility/shelter.svg";
3591 set icon_z17;
3592}
3593node[amenity=social_facility][social_facility=food_bank] {
3594 icon-image: "presets/social_facility/food_bank.svg";
3595 set icon_z17;
3596}
3597node[amenity=baby_hatch] {
3598 icon-image: "presets/health/baby_hatch.svg";
3599 set icon_z17;
3600}
3601node[amenity=doctors] {
3602 icon-image: "presets/health/doctors.svg";
3603 set icon_z17;
3604}
3605node[amenity=dentist] {
3606 icon-image: "presets/health/dentist.svg";
3607 set icon_z17;
3608}
3609node[amenity=animal_shelter] {
3610 icon-image: "presets/health/animal_shelter.svg";
3611 set icon_z17;
3612}
3613node[amenity=veterinary] {
3614 icon-image: "presets/health/veterinary.svg";
3615 set icon_z17;
3616}
3617area[amenity=library],
3618area[amenity=public_bookcase],
3619area[amenity=police],
3620area[amenity=ranger_station],
3621area[amenity=fire_station],
3622area[amenity=bus_station],
3623area[amenity=ferry_terminal],
3624area[amenity=theatre],
3625area[amenity=cinema],
3626area[amenity=dive_centre],
3627area[amenity=public_bath],
3628area[amenity=arts_centre],
3629area[amenity=courthouse],
3630area[amenity=prison],
3631area[amenity=bank],
3632area[amenity=bureau_de_change],
3633area[amenity=money_transfer],
3634area[amenity=bbq],
3635area[amenity=watering_place] {
3636 fill-color: amenity_light#f7efb7;
3637}
3638node[amenity=library] {
3639 icon-image: "presets/education/library.svg";
3640 set icon_z17;
3641}
3642node[amenity=public_bookcase] {
3643 icon-image: "presets/education/public_bookcase.svg";
3644 set icon_z17;
3645}
3646node[amenity=police] {
3647 icon-image: "presets/service/police.svg";
3648 set icon_z17;
3649}
3650node[amenity=ranger_station] {
3651 icon-image: "presets/service/ranger_station.svg";
3652 set icon_z17;
3653}
3654node[amenity=fire_station] {
3655 icon-image: "presets/service/firebrigade.svg";
3656 set icon_z17;
3657}
3658node[amenity=bus_station] {
3659 icon-image: "presets/transport/bus_old.svg";
3660 set icon_z17;
3661}
3662node[amenity=ferry_terminal] {
3663 icon-image: "presets/nautical/ferry.svg";
3664 set icon_z17;
3665}
3666node[amenity=theatre] {
3667 icon-image: "presets/leisure/theater.svg";
3668 set icon_z17;
3669}
3670node[amenity=cinema] {
3671 icon-image: "presets/leisure/cinema.svg";
3672 set icon_z17;
3673}
3674node[amenity=dive_centre] {
3675 icon-image: "presets/leisure/dive_centre.svg";
3676 set icon_z17;
3677}
3678node[amenity=public_bath] {
3679 icon-image: "presets/leisure/public_bath.svg";
3680 set icon_z17;
3681}
3682node[amenity=arts_centre] {
3683 icon-image: "presets/sightseeing/arts_centre.svg";
3684 set icon_z17;
3685}
3686node[amenity=courthouse] {
3687 icon-image: "presets/service/courthouse.svg";
3688 set icon_z17;
3689}
3690node[amenity=prison] {
3691 icon-image: "presets/service/prison.svg";
3692 set icon_z17;
3693}
3694node[amenity=bank] {
3695 icon-image: "presets/money/bank.svg";
3696 set icon_z17;
3697}
3698node[amenity=bureau_de_change] {
3699 icon-image: "presets/money/exchange.svg";
3700 set icon_z17;
3701}
3702node[amenity=money_transfer] {
3703 icon-image: "presets/money/money_transfer.svg";
3704 set icon_z17;
3705}
3706node[amenity=atm] {
3707 icon-image: "presets/money/atm.svg";
3708 set icon_z17;
3709}
3710way[amenity=bench] {
3711 width: 2;
3712 color: amenity_light#f7efb7;
3713}
3714node[amenity=bench] {
3715 icon-image: "presets/leisure/bench.svg";
3716 set icon_z17;
3717}
3718node[amenity=bbq] {
3719 icon-image: "presets/leisure/bbq.svg";
3720 set icon_z17;
3721}
3722node[amenity=compressed_air] {
3723 icon-image: "presets/vehicle/compressed_air.svg";
3724 set icon_z17;
3725}
3726node[amenity=watering_place] {
3727 icon-image: "presets/misc/watering_place.svg";
3728 set icon_z17;
3729}
3730area[amenity=shelter],
3731area[amenity=marketplace],
3732area[amenity=wlan] {
3733 fill-color: amenity_light#f7efb7;
3734}
3735node[amenity=shelter] {
3736 icon-image: "presets/accommodation/shelter.svg";
3737 set icon_z17;
3738}
3739node[amenity=shelter][shelter_type=public_transport] {
3740 icon-image: "presets/accommodation/shelter_public_transport.svg";
3741 set icon_z17;
3742}
3743node[amenity=shelter][shelter_type=picnic_shelter] {
3744 icon-image: "presets/accommodation/shelter_picnic.svg";
3745 set icon_z17;
3746}
3747node[amenity=shelter][shelter_type=basic_hut] {
3748 icon-image: "presets/accommodation/basic_hut.svg";
3749 set icon_z17;
3750}
3751node[amenity=shelter][shelter_type=gazebo] {
3752 icon-image: "presets/accommodation/gazebo.svg";
3753 set icon_z17;
3754}
3755node[amenity=shelter][shelter_type=lean_to] {
3756 icon-image: "presets/accommodation/shelter_lean_to.svg";
3757 set icon_z17;
3758}
3759node[amenity=hunting_stand] {
3760 icon-image: "presets/landmark/hunting_stand.svg";
3761 set icon_z17;
3762}
3763node[amenity=marketplace] {
3764 icon-image: "presets/shop/marketplace.svg";
3765 set icon_z17;
3766}
3767node[amenity=vending_machine] {
3768 icon-image: "presets/transport/ticket-machine.svg";
3769 set icon_z17;
3770}
3771node[vending=excrement_bags] {
3772 icon-image: "presets/service/excrement_bags.svg";
3773 set icon_z17;
3774}
3775node[amenity=parcel_locker] {
3776 icon-image: "presets/service/parcel_locker.svg";
3777 set icon_z17;
3778}
3779area[amenity=parcel_locker] {
3780 fill-color: parcel_locker#734a08;
3781}
3782
3783/**************/
3784/* craft tags */
3785/**************/
3786
3787area[craft=carpenter],
3788area[craft=shoemaker],
3789area[craft=photographer],
3790area[craft=metal_construction],
3791area[craft=electrician],
3792area[craft=electronics_repair],
3793area[craft=brewery],
3794area[craft=plumber],
3795area[craft=sawmill],
3796area[craft=gardener],
3797area[craft=winery],
3798area[craft=hvac],
3799area[craft=painter],
3800area[craft=stonemason],
3801area[craft=handicraft],
3802area[craft=pottery],
3803area[craft=key_cutter],
3804area[craft=caterer],
3805area[craft=roofer],
3806area[craft=beekeeper],
3807area[craft=blacksmith],
3808area[craft=locksmith],
3809area[craft=window_construction],
3810area[craft=upholsterer],
3811area[craft=tiler] {
3812 fill-color: craft#999900;
3813}
3814node[craft=carpenter] {
3815 icon-image: "presets/craft/carpenter.svg";
3816 set icon_z17;
3817}
3818node[craft=shoemaker] {
3819 icon-image: "presets/craft/shoemaker.svg";
3820 set icon_z17;
3821}
3822node[craft=photographer] {
3823 icon-image: "presets/craft/photographer.svg";
3824 set icon_z17;
3825}
3826node[craft=metal_construction] {
3827 icon-image: "presets/craft/metal_construction.svg";
3828 set icon_z17;
3829}
3830node[craft=electrician] {
3831 icon-image: "presets/craft/electrician.svg";
3832 set icon_z17;
3833}
3834node[craft=electronics_repair] {
3835 icon-image: "presets/craft/electronics_repair.svg";
3836 set icon_z17;
3837}
3838node[craft=brewery] {
3839 icon-image: "presets/craft/brewery.svg";
3840 set icon_z17;
3841}
3842node[craft=plumber] {
3843 icon-image: "presets/craft/plumber.svg";
3844 set icon_z17;
3845}
3846node[craft=sawmill] {
3847 icon-image: "presets/craft/sawmill.svg";
3848 set icon_z17;
3849}
3850node[craft=gardener] {
3851 icon-image: "presets/craft/gardener.svg";
3852 set icon_z17;
3853}
3854node[craft=winery] {
3855 icon-image: "presets/craft/winery.svg";
3856 set icon_z17;
3857}
3858node[craft=hvac] {
3859 icon-image: "presets/craft/hvac.svg";
3860 set icon_z17;
3861}
3862node[craft=painter] {
3863 icon-image: "presets/craft/painter.svg";
3864 set icon_z17;
3865}
3866node[craft=stonemason] {
3867 icon-image: "presets/craft/stonemason.svg";
3868 set icon_z17;
3869}
3870node[craft=handicraft] {
3871 icon-image: "presets/craft/handicraft.svg";
3872 set icon_z17;
3873}
3874node[craft=pottery] {
3875 icon-image: "presets/craft/pottery.svg";
3876 set icon_z17;
3877}
3878node[craft=key_cutter] {
3879 icon-image: "presets/craft/key_cutter.svg";
3880 set icon_z17;
3881}
3882node[craft=caterer] {
3883 icon-image: "presets/craft/caterer.svg";
3884 set icon_z17;
3885}
3886node[craft=roofer] {
3887 icon-image: "presets/craft/roofer.svg";
3888 set icon_z17;
3889}
3890node[craft=beekeeper] {
3891 icon-image: "presets/craft/beekeeper.svg";
3892 set icon_z17;
3893}
3894node[craft=blacksmith] {
3895 icon-image: "presets/craft/blacksmith.svg";
3896 set icon_z17;
3897}
3898node[craft=locksmith] {
3899 icon-image: "presets/craft/locksmith.svg";
3900 set icon_z17;
3901}
3902node[craft=window_construction] {
3903 icon-image: "presets/craft/window_construction.svg";
3904 set icon_z17;
3905}
3906node[craft=upholsterer] {
3907 icon-image: "presets/craft/upholsterer.svg";
3908 set icon_z17;
3909}
3910node[craft=tiler] {
3911 icon-image: "presets/craft/tiler.svg";
3912 set icon_z17;
3913}
3914
3915/****************/
3916/* tourism tags */
3917/****************/
3918
3919area[tourism=hotel],
3920area[tourism=motel],
3921area[tourism=guest_house],
3922area[tourism=apartment],
3923area[tourism=hostel],
3924area[tourism=chalet],
3925area[tourism=alpine_hut],
3926area[tourism=wilderness_hut],
3927area[tourism=camp_site],
3928area[tourism=camp_pitch],
3929area[tourism=caravan_site] {
3930 fill-color: hotel#feced0;
3931}
3932node[tourism=hotel] {
3933 icon-image: "presets/accommodation/hotel.svg";
3934 set icon_z17;
3935}
3936node[tourism=motel] {
3937 icon-image: "presets/accommodation/motel.svg";
3938 set icon_z17;
3939}
3940node[tourism=guest_house] {
3941 icon-image: "presets/accommodation/guest_house.svg";
3942 set icon_z17;
3943}
3944node[tourism=apartment] {
3945 icon-image: "presets/accommodation/apartment.svg";
3946 set icon_z17;
3947}
3948node[tourism=hostel] {
3949 icon-image: "presets/accommodation/hostel.svg";
3950 set icon_z17;
3951}
3952node[tourism=chalet] {
3953 icon-image: "presets/accommodation/chalet.svg";
3954 set icon_z17;
3955}
3956node[tourism=alpine_hut] {
3957 icon-image: "presets/accommodation/alpine_hut.svg";
3958 set icon_z17;
3959}
3960node[tourism=wilderness_hut] {
3961 icon-image: "presets/accommodation/wilderness_hut.svg";
3962 set icon_z17;
3963}
3964node[tourism=camp_site] {
3965 icon-image: "presets/accommodation/camping.svg";
3966 set icon_z17;
3967}
3968node[tourism=camp_pitch] {
3969 icon-image: "presets/accommodation/camp_pitch.svg";
3970 set icon_z17;
3971}
3972node[tourism=caravan_site] {
3973 icon-image: "presets/accommodation/caravan.svg";
3974 set icon_z17;
3975}
3976area[tourism=attraction]:closed {
3977 fill-color: tourism#e180a2;
3978}
3979way[tourism=attraction] {
3980 width: 2;
3981 color: tourism#e180a2;
3982}
3983node[tourism=attraction] {
3984 icon-image: "presets/sightseeing/attraction.svg";
3985 set icon_z17;
3986}
3987area[tourism=picnic_site],
3988area[tourism=viewpoint],
3989area[tourism=theme_park],
3990area[tourism=zoo],
3991area[tourism=gallery],
3992area[tourism=museum] {
3993 fill-color: tourism#e180a2;
3994}
3995node[tourism=picnic_site] {
3996 icon-image: "presets/leisure/picnic.svg";
3997 set icon_z17;
3998}
3999node[tourism=viewpoint] {
4000 icon-image: "presets/sightseeing/viewpoint.svg";
4001 set icon_z17;
4002}
4003node[tourism=theme_park] {
4004 icon-image: "presets/leisure/theme_park.svg";
4005 set icon_z17;
4006}
4007node[tourism=zoo] {
4008 icon-image: "presets/leisure/zoo.svg";
4009 set icon_z17;
4010}
4011area[tourism=artwork]:closed {
4012 fill-color: tourism#e180a2;
4013}
4014way[tourism=artwork] {
4015 width: 2;
4016 color: tourism#e180a2;
4017}
4018node[tourism=artwork] {
4019 icon-image: "presets/sightseeing/arts_centre.svg";
4020 set icon_z17;
4021}
4022node[tourism=gallery] {
4023 icon-image: "presets/sightseeing/gallery.svg";
4024 set icon_z17;
4025}
4026node[tourism=museum] {
4027 icon-image: "presets/sightseeing/museum.svg";
4028 set icon_z17;
4029}
4030
4031/********************/
4032/* attraction tags */
4033/********************/
4034
4035area[attraction=animal] {
4036 fill-color: attraction#ffbfd3;
4037 color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
4038}
4039node[attraction=animal] {
4040 icon-image: "presets/attraction/animal.svg";
4041 set icon_z17;
4042}
4043way[attraction=water_slide] {
4044 width: 2;
4045 color: attraction#ffbfd3;
4046}
4047node[attraction=water_slide] {
4048 icon-image: "presets/attraction/water_slide.svg";
4049 set icon_z17;
4050}
4051
4052/********************/
4053/* information tags */
4054/********************/
4055
4056area[tourism=information] {
4057 fill-color: tourism#e180a2;
4058}
4059node[tourism=information] {
4060 icon-image: "presets/misc/information/information.svg";
4061 set icon_z17;
4062}
4063node[tourism=information][information=guidepost] {
4064 icon-image: "presets/misc/information/guidepost.svg";
4065 set icon_z17;
4066}
4067node[tourism=information][information=route_marker] {
4068 icon-image: "presets/misc/information/route_marker.svg";
4069 set icon_z17;
4070}
4071node[tourism=information][information=audioguide] {
4072 icon-image: "presets/misc/information/audioguide.svg";
4073 set icon_z17;
4074}
4075area[tourism=information][information=office] {
4076 fill-color: tourism#e180a2;
4077}
4078node[tourism=information][information=office] {
4079 icon-image: "presets/misc/information/informationoffice.svg";
4080 set icon_z17;
4081}
4082node[tourism=information][information=map] {
4083 icon-image: "presets/misc/information/map.svg";
4084 set icon_z17;
4085}
4086node[tourism=information][information=board] {
4087 icon-image: "presets/misc/information/board.svg";
4088 set icon_z17;
4089}
4090
4091/*****************/
4092/* historic tags */
4093/*****************/
4094
4095area[historic=castle],
4096area[historic=fort],
4097area[historic=monument],
4098area[historic=memorial],
4099area[historic=tomb],
4100area[historic=archaeological_site],
4101area[historic=ruins],
4102area[historic=battlefield],
4103area[geological=palaeontological_site],
4104area[historic=city_gate],
4105area[historic=manor],
4106area[historic=church],
4107area[historic=monastery],
4108area[historic=charcoal_pile],
4109area[historic=mine],
4110area[historic=mine_shaft],
4111area[historic=shieling],
4112area[historic=wayside_cross],
4113area[historic=wayside_shrine],
4114area[historic=boundary_stone],
4115area[historic=milestone] {
4116 fill-color: historic#663300;
4117}
4118node[historic=fort] {
4119 icon-image: "presets/sightseeing/fort.svg";
4120 set icon_z17;
4121}
4122node[historic=castle] {
4123 icon-image: "presets/sightseeing/castle.svg";
4124 set icon_z17;
4125}
4126node[historic=monument] {
4127 icon-image: "presets/sightseeing/monument.svg";
4128 set icon_z17;
4129}
4130node[historic=memorial] {
4131 icon-image: "presets/sightseeing/memorial.svg";
4132 set icon_z17;
4133}
4134node[historic=archaeological_site] {
4135 icon-image: "presets/sightseeing/archaeological.svg";
4136 set icon_z17;
4137}
4138node[historic=ruins] {
4139 icon-image: "presets/sightseeing/ruins.svg";
4140 set icon_z17;
4141}
4142node[historic=battlefield] {
4143 icon-image: "presets/sightseeing/battlefield.svg";
4144 set icon_z17;
4145}
4146node[geological=palaeontological_site] {
4147 icon-image: "presets/sightseeing/palaeontological_site.svg";
4148 set icon_z17;
4149}
4150area[historic=citywalls]:closed {
4151 fill-color: historic#663300;
4152}
4153way[historic=citywalls] {
4154 width: 2;
4155 color: historic#663300;
4156}
4157node[historic=city_gate] {
4158 icon-image: "presets/sightseeing/city_gate.svg";
4159 set icon_z17;
4160}
4161node[historic=manor] {
4162 icon-image: "presets/sightseeing/manor.svg";
4163 set icon_z17;
4164}
4165node[historic=church] {
4166 icon-image: "presets/religion/historic_church.svg";
4167 set icon_z17;
4168}
4169node[historic=monastery] {
4170 icon-image: "presets/sightseeing/monastery.svg";
4171 set icon_z17;
4172}
4173node[historic=charcoal_pile] {
4174 icon-image: "presets/misc/charcoal_pile.svg";
4175 set icon_z17;
4176}
4177node[historic=mine],
4178node[historic=mine_shaft] {
4179 icon-image: "presets/landmark/historic_mine.svg";
4180 set icon_z17;
4181}
4182node[historic=shieling] {
4183 icon-image: "presets/landmark/shieling.svg";
4184 set icon_z17;
4185}
4186node[historic=wayside_cross] {
4187 icon-image: "presets/religion/wayside_cross.svg";
4188 set icon_z17;
4189}
4190node[historic=wayside_shrine] {
4191 icon-image: "presets/religion/wayside_shrine.svg";
4192 set icon_z17;
4193}
4194node[historic=boundary_stone] {
4195 icon-image: "presets/landmark/boundary_stone.svg";
4196 set icon_z17;
4197}
4198node[historic=milestone] {
4199 icon-image: "presets/landmark/milestone.svg";
4200 set icon_z17;
4201}
4202area[cemetery=grave] {
4203 fill-color: grave#663300;
4204}
4205node[cemetery=grave] {
4206 icon-image: "presets/misc/grave.svg";
4207 set icon_z17;
4208}
4209area[cemetery=sector] {
4210 fill-color: cemetery_sector#dbf8e6;
4211}
4212node[cemetery=sector] {
4213 icon-image: "presets/misc/cemetery_sector.svg";
4214 set icon_z17;
4215}
4216node[historic=tomb] {
4217 icon-image: "presets/misc/tomb.svg";
4218 set icon_z17;
4219}
4220
4221/****************/
4222/* landuse tags */
4223/****************/
4224
4225area[landuse],
4226area[leisure],
4227area[amenity],
4228area[place],
4229area[natural],
4230area[man_made] {
4231 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
4232}
4233area[landuse=farmland] {
4234 fill-color: farmland#b8e0b1;
4235}
4236area[landuse=meadow] {
4237 fill-color: meadow#b1e0b6;
4238}
4239area[landuse=vineyard],
4240area[landuse=orchard] {
4241 fill-color: green#b1e0c2;
4242}
4243area[landuse=quarry] {
4244 fill-color: quarry#a6945b;
4245}
4246area[landuse=landfill] {
4247 fill-color: landfill#663300;
4248}
4249area[landuse=basin],
4250area[landuse=reservoir],
4251area[natural=water][water=reservoir] {
4252 fill-color: basin#0000bf;
4253}
4254area[man_made=tailings_pond] {
4255 fill-color:tailings_pond#af0073;
4256}
4257area[landuse=forest] {
4258 fill-color: forest#b1efc8;
4259}
4260area[landuse=allotments] {
4261 fill-color: allotments#5dbf80;
4262}
4263area[landuse=greenhouse_horticulture],
4264area[landuse=plant_nursery] {
4265 fill-color: green#b1e0c2;
4266}
4267area[landuse=salt_pond] {
4268 fill-color: salt_pond#eeeeee;
4269}
4270area[landuse=aquaculture] {
4271 fill-color: aquaculture#189dff;
4272}
4273area[landuse=flowerbed] {
4274 fill-color: flowerbed#91c956;
4275}
4276area[landuse=grass] {
4277 fill-color: grass#97ca96;
4278}
4279area[landuse=residential] {
4280 fill-color: residential#f0f0f0;
4281}
4282area[landuse=garages] {
4283 fill-color: garages#d6c8aa;
4284}
4285area[landuse=farmyard] {
4286 fill-color: farmyard#f0f0f0;
4287}
4288area[landuse=education] {
4289 fill-color: education#f7efb7;
4290}
4291area[landuse=retail] {
4292 fill-color: retail#ffc4ee;
4293}
4294area[landuse=commercial] {
4295 fill-color: commercial#ffc4ee;
4296}
4297area[landuse=industrial] {
4298 fill-color: industrial#ecd8ff;
4299}
4300area[landuse=brownfield] {
4301 fill-color: brownfield#ecba32;
4302}
4303area[landuse=greenfield] {
4304 fill-color: greenfield#b1ec5c;
4305}
4306area[landuse=railway] {
4307 fill-color: railland#80654e;
4308}
4309area[landuse=construction] {
4310 fill-color: construction#ffff00;
4311 width: 1;
4312 dashes: 9,9;
4313}
4314area[landuse=military] {
4315 fill-color: military#b62c2c;
4316}
4317area[landuse=religious] {
4318 fill-color: religious#ffd454;
4319}
4320area[landuse=cemetery] {
4321 fill-color: cemetery#b1efc8;
4322}
4323area[landuse=village_green] {
4324 fill-color: green#b1e0c2;
4325}
4326area[landuse=recreation_ground] {
4327 fill-color: green#b1e0c2;
4328}
4329node[landuse] {
4330 icon-image: "presets/misc/deprecated.svg";
4331 set icon_z17;
4332}
4333
4334/*****************/
4335/* military tags */
4336/*****************/
4337
4338area[military=airfield],
4339area[military=bunker],
4340area[military=barracks],
4341area[military=danger_area],
4342area[military=range] {
4343 fill-color: military#b62c2c;
4344}
4345node[military=airfield] {
4346 icon-image: "presets/transport/airport/airfield.svg";
4347 set icon_z17;
4348}
4349node[military=bunker] {
4350 icon-image: "presets/landmark/bunker.svg";
4351 set icon_z17;
4352}
4353node[military=barracks][!is_prop_set(icon-image)] {
4354 icon-image: "presets/misc/no_icon.svg";
4355 set icon_z17;
4356}
4357node[military=danger_area] {
4358 icon-image: "presets/misc/danger.svg";
4359 set icon_z17;
4360}
4361node[military=range] {
4362 icon-image: "presets/sport/range.svg";
4363 set icon_z17;
4364}
4365
4366/****************/
4367/* railway tags */
4368/****************/
4369
4370area[railway=station] {
4371 fill-color: railwaypoint#f7efb7;
4372}
4373node[railway=station] {
4374 icon-image: "presets/transport/railway_station.svg";
4375 set icon_z17;
4376}
4377node[railway=halt] {
4378 icon-image: "presets/transport/railway_halt.svg";
4379 set icon_z17;
4380}
4381node[railway=tram_stop] {
4382 icon-image: "presets/transport/tram.svg";
4383 set icon_z17;
4384}
4385node[railway=subway_entrance] {
4386 icon-image: "presets/transport/underground.svg";
4387 set icon_z17;
4388}
4389node[railway=crossing] {
4390 icon-image: "presets/transport/railway/crossing.svg";
4391 set icon_z17;
4392}
4393node[railway=level_crossing] {
4394 icon-image: "presets/transport/railway/level_crossing.svg";
4395 set icon_z17;
4396}
4397way[railway=rail] {
4398 width: 2;
4399 color: rail#404040;
4400 dashes: 9,9;
4401 dashes-background-color: raildashed#ffffff;
4402}
4403way[railway=rail][service=crossover],
4404way[railway=rail][service=siding] {
4405 width: 1;
4406}
4407way[railway=rail][service=yard],
4408way[railway=rail][service=spur] {
4409 width: 1;
4410 color: railyard#552200;
4411}
4412/* draw tram and light_rail on top of other way (highway=*) or
4413 as a standalone style */
4414way[highway][railway=tram]::core_railway,
4415way[!highway][railway=tram] {
4416 z-index: 1;
4417 modifier: false; /* don't draw default way if there is no line on default layer */
4418 width: 1;
4419 color: railover#202020;
4420 dashes: 9,9;
4421 casing-width: 1;
4422 casing-color: otherrail#808080;
4423 casing-linecap: round;
4424 casing-dashes: 9,9;
4425}
4426way[highway][railway=tram][service=crossover]::core_railway,
4427way[!highway][railway=tram][service=crossover],
4428way[highway][railway=tram][service=siding]::core_railway,
4429way[!highway][railway=tram][service=siding],
4430way[highway][railway=tram][service=yard]::core_railway,
4431way[!highway][railway=tram][service=yard],
4432way[highway][railway=tram][service=spur]::core_railway,
4433way[!highway][railway=tram][service=spur] {
4434 dashes: 6,6;
4435 casing-dashes: 6,6;
4436}
4437
4438way[highway][railway=light_rail]::core_railway,
4439way[!highway][railway=light_rail] {
4440 z-index: 1;
4441 modifier: false; /* don't draw default way if there is no line on default layer */
4442 width: 2;
4443 color: otherrail#808080;
4444 dashes: 9,9;
4445}
4446way[railway=subway] {
4447 width: 1;
4448 color: subway#606060;
4449 dashes: 9,9;
4450}
4451way[railway=preserved] {
4452 width: 1;
4453 color: oldrail#404040;
4454 dashes: 9,9;
4455}
4456way[railway=light_rail][service=crossover],
4457way[railway=light_rail][service=siding],
4458way[railway=light_rail][service=yard],
4459way[railway=light_rail][service=spur],
4460way[railway=subway][service=crossover],
4461way[railway=subway][service=siding],
4462way[railway=subway][service=yard],
4463way[railway=subway][service=spur],
4464way[railway=preserved][service=crossover],
4465way[railway=preserved][service=siding],
4466way[railway=preserved][service=yard],
4467way[railway=preserved][service=spur] {
4468 dashes: 6,6;
4469}
4470/* disused often appears together with highway=xy */
4471/* -> draw on separate layer with higher z-index, but use */
4472/* modifier: false; to suppress default line when used alone. */
4473/* use default layer when used without highway=* to display bridge correctly */
4474way[railway=disused][highway]::core_railway,
4475way[railway=disused][!highway],
4476way[railway=abandoned][highway]::core_railway,
4477way[railway=abandoned][!highway] {
4478 width: 1;
4479 modifier: false;
4480 z-index: 1;
4481 color: oldrail#404040;
4482 dashes: 9,9;
4483}
4484way[railway=narrow_gauge],
4485way[railway=monorail] {
4486 width: 1;
4487 color: rail#404040;
4488 dashes: 9,9;
4489}
4490way[railway=narrow_gauge][service=crossover],
4491way[railway=narrow_gauge][service=siding],
4492way[railway=narrow_gauge][service=yard],
4493way[railway=narrow_gauge][service=spur],
4494way[railway=monorail][service=crossover],
4495way[railway=monorail][service=siding],
4496way[railway=monorail][service=yard],
4497way[railway=monorail][service=spur] {
4498 dashes: 6,6;
4499}
4500area[railway=turntable] {
4501 fill-color: rail#404040;
4502}
4503node[railway=turntable] {
4504 icon-image: "presets/transport/railway/turntable.svg";
4505 set icon_z17;
4506}
4507node[railway=buffer_stop] {
4508 icon-image: "presets/transport/railway/buffer_stop.svg";
4509 set icon_z17;
4510}
4511area[railway=platform]:closed {
4512 fill-color: rail#404040;
4513}
4514way[railway=platform] {
4515 width: 2;
4516 color: rail#404040;
4517}
4518way[railway=funicular] {
4519 width: 1;
4520 color: rail#404040;
4521 dashes: 9,9;
4522}
4523node[railway=switch] {
4524 icon-image: "presets/transport/railway/switch.svg";
4525 set icon_z17;
4526}
4527node[railway=railway_crossing] {
4528 icon-image: "presets/transport/railway/railway_crossing.svg";
4529 set icon_z17;
4530}
4531node[railway=signal] {
4532 icon-image: "presets/transport/railway/signal.svg";
4533 set icon_z17;
4534}
4535node[railway=milestone] {
4536 icon-image: "presets/transport/railway/milestone.svg";
4537 set icon_z17;
4538}
4539node[railway=rail], node[railway=tram], node[railway=light_rail],
4540node[railway=subway], node[railway=preserved],
4541node[railway=disused], node[railway=abandoned],
4542node[railway=narrow_gauge], node[railway=monorail],
4543node[railway=platform], node[railway=funicular],
4544node[service=yard], node[service=siding], node[service=spur] {
4545 icon-image: "presets/misc/deprecated.svg";
4546 set icon_z17;
4547}
4548way[railway=construction][!highway] {
4549 width: 1;
4550 color: construction#ffff00;
4551 dashes: 9,9;
4552}
4553way[railway=construction][construction=rail] {
4554 width: 2;
4555 color: rail#404040;
4556 dashes: 9,9;
4557 dashes-background-color: construction#ffff00;
4558}
4559way[railway=construction][construction=light_rail][highway]::core_railway,
4560way[railway=construction][construction=light_rail][!highway] {
4561 z-index: 1;
4562 width: 2;
4563 dashes: 9,9;
4564 color: construction#ffff00;
4565}
4566way[railway=construction][construction=tram][highway]::core_railway,
4567way[railway=construction][construction=tram][!highway] {
4568 z-index: 1;
4569 width: 1;
4570 color: railover#202020;
4571 dashes: 9,9;
4572 casing-width: 1;
4573 casing-color: construction#ffff00;
4574 casing-linecap: round;
4575 casing-dashes: 9,9;
4576}
4577
4578/****************/
4579/* aeroway tags */
4580/****************/
4581
4582area[aeroway=aerodrome] {
4583 fill-color: aeroway#660000;
4584 width: 2;
4585 dashes: 9,9;
4586}
4587node[aeroway=aerodrome][military!=airfield] {
4588 icon-image: "presets/transport/airport.svg";
4589 set icon_z17;
4590}
4591area[aeroway=terminal] {
4592 fill-color: terminal#bb0000;
4593}
4594node[aeroway=terminal] {
4595 icon-image: "presets/transport/airport/terminal.svg";
4596 set icon_z17;
4597}
4598area[aeroway=helipad] {
4599 fill-color: aeroway_dark#330000;
4600}
4601node[aeroway=helipad] {
4602 icon-image: "presets/transport/airport/helipad.svg";
4603 set icon_z17;
4604}
4605area[aeroway=runway]:closed {
4606 fill-color: aeroway_dark#330000;
4607}
4608way[aeroway=runway] {
4609 width: 3;
4610 color: aeroway_dark#330000;
4611}
4612area[aeroway=taxiway]:closed {
4613 fill-color: aeroway#660000;
4614}
4615way[aeroway=taxiway] {
4616 width: 2;
4617 color: aeroway#660000;
4618}
4619way[aeroway=parking_position] {
4620 width: 1;
4621 color: aeroway#660000;
4622}
4623node[aeroway=parking_position] {
4624 icon-image: "presets/transport/airport/parking_position.svg";
4625 set icon_z17;
4626}
4627area[aeroway=apron],
4628area[aeroway=hangar] {
4629 fill-color: aeroway_light#990000;
4630}
4631node[aeroway=apron],
4632node[aeroway=runway],
4633node[aeroway=taxiway] {
4634 icon-image: "presets/misc/deprecated.svg";
4635 set icon_z17;
4636}
4637node[aeroway=holding_position] {
4638 icon-image: "presets/transport/airport/holding_position.svg";
4639 set icon_z17;
4640}
4641way[aeroway=holding_position] {
4642 width: 1;
4643 color: aeroway_marking#D6CE08;
4644}
4645node[aeroway=hangar] {
4646 icon-image: "presets/transport/airport/hangar.svg";
4647 set icon_z17;
4648}
4649node[aeroway=gate] {
4650 icon-image: "presets/transport/airport/gate.svg";
4651 set icon_z17;
4652}
4653node[airmark=beacon] {
4654 icon-image: "presets/transport/airport/airmark_beacon.svg";
4655 set icon_z17;
4656}
4657node[aeroway=navigationaid] {
4658 icon-image: "presets/transport/airport/navigationaid.svg";
4659 set icon_z17;
4660}
4661node[aeroway=navigationaid][navigationaid=papi] {
4662 icon-image: "presets/transport/airport/papi.svg";
4663 set icon_z17;
4664}
4665node[aeroway=navigationaid][navigationaid=vasi] {
4666 icon-image: "presets/transport/airport/vasi.svg";
4667 set icon_z17;
4668}
4669node[aeroway=windsock] {
4670 icon-image: "presets/transport/airport/windsock.svg";
4671 set icon_z17;
4672}
4673
4674/******************/
4675/* aerialway tags */
4676/******************/
4677
4678way[aerialway=cable_car],
4679way[aerialway=gondola] {
4680 width: 1;
4681 color: aerialway#663300;
4682 dashes: 9,9;
4683}
4684way[aerialway=chair_lift] {
4685 width: 1;
4686 color: aerialway#663300;
4687 dashes: 6,6;
4688}
4689way[aerialway=mixed_lift] {
4690 width: 1;
4691 color: aerialway#663300;
4692 dashes: 6,6,9,6;
4693}
4694way[aerialway=j-bar],
4695way[aerialway=t-bar],
4696way[aerialway=platter],
4697way[aerialway=rope_tow],
4698way[aerialway=drag_lift] {
4699 width: 1;
4700 color: aerialway#663300;
4701 dashes: 3,3;
4702}
4703way[aerialway=magic_carpet] {
4704 width: 1;
4705 color: aerialway#663300;
4706 dashes: 3,3;
4707}
4708way[aerialway=goods] {
4709 width: 1;
4710 color: aerialway#663300;
4711 dashes: 2,2;
4712}
4713way[aerialway=zip_line] {
4714 width: 1;
4715 color: aerialway#663300;
4716 dashes: 3,3;
4717}
4718area[aerialway=station] {
4719 fill-color: aerialway#663300;
4720}
4721node[aerialway=station] {
4722 icon-image: "presets/transport/aerialway/station.svg";
4723 set icon_z17;
4724}
4725node[aerialway=pylon] {
4726 icon-image: "presets/transport/aerialway/pylon.svg";
4727 set icon_z17;
4728}
4729node[aerialway=cable_car],
4730node[aerialway=gondola],
4731node[aerialway=chair_lift],
4732node[aerialway=mixed_lift],
4733node[aerialway=drag_lift],
4734node[aerialway=t-bar],
4735node[aerialway=j-bar],
4736node[aerialway=platter],
4737node[aerialway=magic_carpet],
4738node[aerialway=rope_tow],
4739node[aerialway=goods],
4740node[aerialway=zip_line] {
4741 icon-image: "presets/misc/deprecated.svg";
4742 set icon_z17;
4743}
4744
4745/*************************/
4746/* public_transport tags */
4747/*************************/
4748
4749node[highway=bus_stop] {
4750 icon-image: "presets/transport/bus_small.svg";
4751 set icon_z17;
4752}
4753node[public_transport=stop_position] {
4754 icon-image: "presets/transport/stop_position.svg";
4755 set icon_z17;
4756}
4757node[public_transport=stop_position][share_taxi=yes] {
4758 icon-image: "presets/transport/share_taxi.svg";
4759 set icon_z17;
4760}
4761node[public_transport=stop_position][bus=yes] {
4762 icon-image: "presets/transport/bus.svg";
4763 set icon_z17;
4764}
4765node[public_transport=stop_position][train=yes] {
4766 icon-image: "presets/transport/train.svg";
4767 set icon_z17;
4768}
4769node[public_transport=stop_position][light_rail=yes] {
4770 icon-image: "presets/transport/railway/light_rail.svg";
4771 set icon_z17;
4772}
4773node[public_transport=stop_position][tram=yes] {
4774 icon-image: "presets/transport/railway/tram.svg";
4775 set icon_z17;
4776}
4777node[public_transport=stop_position][subway=yes] {
4778 icon-image: "presets/transport/railway/subway.svg";
4779 set icon_z17;
4780}
4781node[public_transport=stop_position][monorail=yes] {
4782 icon-image: "presets/transport/railway/monorail.svg";
4783 set icon_z17;
4784}
4785node[public_transport=stop_position][trolleybus=yes] {
4786 icon-image: "presets/transport/trolleybus.svg";
4787 set icon_z17;
4788}
4789node[public_transport=stop_position][funicular=yes] {
4790 icon-image: "presets/transport/railway/funicular.svg";
4791 set icon_z17;
4792}
4793node[public_transport=stop_position][aerialway=yes] {
4794 icon-image: "presets/transport/aerialway/station.svg";
4795 set icon_z17;
4796}
4797node[public_transport=stop_position][ferry=yes] {
4798 icon-image: "presets/nautical/ferry.svg";
4799 set icon_z17;
4800}
4801area[public_transport=platform]:closed {
4802 fill-color: service#809bc0;
4803}
4804way[public_transport=platform]!:closed {
4805 width: 3;
4806 color: service#809bc0;
4807 dashes: 12,3;
4808}
4809node[public_transport=platform] {
4810 icon-image: "presets/transport/platform.svg";
4811 set icon_z17;
4812}
4813area[public_transport=station] {
4814 fill-color: railwaypoint#f7efb7;
4815}
4816node[public_transport=station] {
4817 icon-image: "presets/transport/station.svg";
4818 set icon_z17;
4819}
4820
4821/**************/
4822/* sport tags */
4823/**************/
4824
4825area[sport="9pin"],
4826area[sport="10pin"],
4827area[sport=soccer],
4828area[sport=australian_football],
4829area[sport=american_football],
4830area[sport=canadian_football],
4831area[sport=gaelic_games],
4832area[sport=rugby_league],
4833area[sport=rugby_union] {
4834 fill-color: sport#bde3cb;
4835}
4836node[sport="9pin"] {
4837 icon-image: "presets/sport/9pin.svg";
4838 set icon_z17;
4839}
4840node[sport="10pin"] {
4841 icon-image: "presets/sport/10pin.svg";
4842 set icon_z17;
4843}
4844node[sport=soccer],
4845node[sport=gaelic_games] {
4846 icon-image: "presets/sport/soccer.svg";
4847 set icon_z17;
4848}
4849node[sport=australian_football],
4850node[sport=american_football],
4851node[sport=canadian_football],
4852node[sport=rugby_league],
4853node[sport=rugby_union] {
4854 icon-image: "presets/sport/football.svg";
4855 set icon_z17;
4856}
4857area[sport=baseball],
4858area[sport=basketball],
4859area[sport=boules],
4860area[sport=bowls],
4861area[sport=canoe],
4862area[sport=chess],
4863area[sport=climbing]:closed,
4864area[sport=cricket],
4865area[sport=croquet] {
4866 fill-color: sport#bde3cb;
4867}
4868node[sport=baseball] {
4869 icon-image: "presets/sport/baseball.svg";
4870 set icon_z17;
4871}
4872node[sport=basketball] {
4873 icon-image: "presets/sport/basketball.svg";
4874 set icon_z17;
4875}
4876node[sport=boules] {
4877 icon-image: "presets/sport/boule.svg";
4878 set icon_z17;
4879}
4880node[sport=bowls] {
4881 icon-image: "presets/sport/boule.svg";
4882 set icon_z17;
4883}
4884node[sport=canoe] {
4885 icon-image: "presets/sport/canoe.svg";
4886 set icon_z17;
4887}
4888node[sport=chess] {
4889 icon-image: "presets/sport/chess.svg";
4890 set icon_z17;
4891}
4892node[sport=climbing] {
4893 icon-image: "presets/sport/climbing.svg";
4894 set icon_z17;
4895}
4896node[climbing=route_bottom] {
4897 icon-image: "presets/sport/climbing_route_bottom.svg";
4898 set icon_z17;
4899}
4900node[climbing=route_top] {
4901 icon-image: "presets/sport/climbing_route_top.svg";
4902 set icon_z17;
4903}
4904node[sport=cricket] {
4905 icon-image: "presets/sport/cricket.svg";
4906 set icon_z17;
4907}
4908node[sport=croquet] {
4909 icon-image: "presets/sport/croquet.svg";
4910 set icon_z17;
4911}
4912area[sport=cycling],
4913area[sport=dog_racing],
4914area[sport=equestrian],
4915area[sport=golf],
4916area[sport=gymnastics],
4917area[sport=field_hockey],
4918area[sport=ice_hockey],
4919area[sport=curling],
4920area[sport=horse_racing],
4921area[sport=karting][highway!=raceway],
4922area[sport=karting][highway=raceway][area=yes],
4923area[sport=motocross][highway!=raceway],
4924area[sport=motocross][highway=raceway][area=yes],
4925area[sport=motor][highway!=raceway],
4926area[sport=motor][highway=raceway][area=yes] {
4927 fill-color: sport#bde3cb;
4928}
4929node[sport=cycling] {
4930 icon-image: "presets/sport/cycling.svg";
4931 set icon_z17;
4932}
4933node[sport=dog_racing] {
4934 icon-image: "presets/sport/dog_racing.svg";
4935 set icon_z17;
4936}
4937node[sport=equestrian] {
4938 icon-image: "presets/sport/equestrian.svg";
4939 set icon_z17;
4940}
4941node[sport=golf] {
4942 icon-image: "presets/sport/golf.svg";
4943 set icon_z17;
4944}
4945node[sport=gymnastics] {
4946 icon-image: "presets/sport/gymnastics.svg";
4947 set icon_z17;
4948}
4949node[sport=field_hockey] {
4950 icon-image: "presets/sport/field_hockey.svg";
4951 set icon_z17;
4952}
4953node[sport=ice_hockey] {
4954 icon-image: "presets/sport/ice_hockey.svg";
4955 set icon_z17;
4956}
4957node[sport=curling] {
4958 icon-image: "presets/sport/curling.svg";
4959 set icon_z17;
4960}
4961node[sport=horse_racing] {
4962 icon-image: "presets/sport/riding.svg";
4963 set icon_z17;
4964}
4965node[sport=karting] {
4966 icon-image: "presets/sport/karting.svg";
4967 set icon_z17;
4968}
4969node[sport=motocross] {
4970 icon-image: "presets/sport/motocross.svg";
4971 set icon_z17;
4972}
4973node[sport=motor] {
4974 icon-image: "presets/sport/motor.svg";
4975 set icon_z17;
4976}
4977area[sport=athletics] {
4978 fill-color: sport_athletics#cfebd7;
4979}
4980node[sport=athletics] {
4981 icon-image: "presets/sport/athletics.svg";
4982 set icon_z17;
4983}
4984area[sport=running]:closed {
4985 fill-color: sport_running#cfebd8;
4986}
4987way[sport=running] {
4988 width: 2;
4989 color: sport_running#cfebd8;
4990}
4991node[sport=running] {
4992 icon-image: "presets/sport/running.svg";
4993 set icon_z17;
4994}
4995area[sport=multi] {
4996 fill-color: sport_multi#cfebd9;
4997}
4998node[sport=multi] {
4999 icon-image: "presets/sport/multi.svg";
5000 set icon_z17;
5001}
5002area[sport=pelota],
5003area[sport=racquet],
5004area[sport=ice_skating],
5005area[sport=roller_skating],
5006area[sport=skateboard] {
5007 fill-color: sport#bde3cb;
5008}
5009node[sport=pelota] {
5010 icon-image: "presets/sport/pelota.svg";
5011 set icon_z17;
5012}
5013node[sport=racquet] {
5014 icon-image: "presets/sport/racquetball.svg";
5015 set icon_z17;
5016}
5017node[sport=ice_skating] {
5018 icon-image: "presets/sport/ice_skating.svg";
5019 set icon_z17;
5020}
5021node[sport=roller_skating] {
5022 icon-image: "presets/sport/roller_skating.svg";
5023 set icon_z17;
5024}
5025node[sport=skating] {
5026 icon-image: "presets/misc/deprecated.svg";
5027 set icon_z17;
5028}
5029node[sport=skateboard] {
5030 icon-image: "presets/sport/skateboard.svg";
5031 set icon_z17;
5032}
5033area[sport=swimming] {
5034 fill-color: swimming_pool#51c4ef;
5035}
5036node[sport=swimming] {
5037 icon-image: "presets/sport/swimming.svg";
5038 set icon_z17;
5039}
5040area[sport=table_tennis],
5041area[sport=tennis],
5042area[sport=paintball] {
5043 fill-color: sport#bde3cb;
5044}
5045node[sport=table_tennis] {
5046 icon-image: "presets/sport/table_tennis.svg";
5047 set icon_z17;
5048}
5049node[sport=tennis] {
5050 icon-image: "presets/sport/tennis.svg";
5051 set icon_z17;
5052}
5053node[sport=paintball][!is_prop_set(icon-image)] {
5054 icon-image: "presets/misc/no_icon.svg";
5055 set icon_z17;
5056}
5057area[sport=squash],
5058area[sport=shooting],
5059area[sport=volleyball],
5060area[sport=beachvolleyball],
5061area[sport=billiards],
5062area[sport=bowling],
5063area[sport=handball],
5064area[sport=rowing],
5065area[sport=sailing],
5066area[sport=scuba_diving],
5067area[sport=badminton] {
5068 fill-color: sport#bde3cb;
5069}
5070node[sport=squash][!is_prop_set(icon-image)] {
5071 icon-image: "presets/misc/no_icon.svg";
5072 set icon_z17;
5073}
5074node[sport=shooting] {
5075 icon-image: "presets/sport/range.svg";
5076 set icon_z17;
5077}
5078node[sport=volleyball] {
5079 icon-image: "presets/sport/volleyball.svg";
5080 set icon_z17;
5081}
5082node[sport=beachvolleyball] {
5083 icon-image: "presets/sport/beachvolleyball.svg";
5084 set icon_z17;
5085}
5086node[sport=billiards] {
5087 icon-image: "presets/sport/billiards.svg";
5088 set icon_z17;
5089}
5090node[sport=bowling] {
5091 icon-image: "presets/sport/9pin.svg";
5092 set icon_z17;
5093}
5094node[sport=handball] {
5095 icon-image: "presets/sport/handball.svg";
5096 set icon_z17;
5097}
5098node[sport=rowing] {
5099 icon-image: "presets/sport/rowing.svg";
5100 set icon_z17;
5101}
5102node[sport=sailing][!is_prop_set(icon-image)] {
5103 icon-image: "presets/misc/no_icon.svg";
5104 set icon_z17;
5105}
5106node[sport=scuba_diving] {
5107 icon-image: "presets/sport/scuba_diving.svg";
5108 set icon_z17;
5109}
5110node[sport=badminton][!is_prop_set(icon-image)] {
5111 icon-image: "presets/misc/no_icon.svg";
5112 set icon_z17;
5113}
5114area[sport=archery],
5115area[sport=fishing],
5116area[sport=model_aerodrome],
5117area[sport=rc_car] {
5118 fill-color: sport#bde3cb;
5119}
5120node[sport=archery] {
5121 icon-image: "presets/sport/archery.svg";
5122 set icon_z17;
5123}
5124node[sport=fishing] {
5125 icon-image: "presets/sport/fishing.svg";
5126 set icon_z17;
5127}
5128node[sport=model_aerodrome] {
5129 icon-image: "presets/transport/airport.svg";
5130 set icon_z17;
5131}
5132node[sport=rc_car] {
5133 icon-image: "presets/sport/rc_car.svg";
5134 set icon_z17;
5135}
5136
5137/****************/
5138/* natural tags */
5139/****************/
5140
5141area[natural=spring] {
5142 fill-color: light_water#00005f;
5143}
5144node[natural=spring] {
5145 icon-image: "presets/landmark/spring.svg";
5146 set icon_z17;
5147}
5148node[natural=saddle] {
5149 icon-image: "presets/landmark/saddle.svg";
5150 set icon_z0;
5151 set text_z0;
5152}
5153node[natural=peak] {
5154 icon-image: "presets/landmark/peak.svg";
5155 set icon_z0;
5156 set text_z0;
5157}
5158node[natural=peak][tourism=viewpoint] {
5159 icon-image: "presets/sightseeing/peak_viewpoint.svg";
5160 set icon_z0;
5161 set text_z0;
5162}
5163area[natural=glacier] {
5164 fill-color: glacier#ffffff;
5165}
5166node[natural=volcano] {
5167 icon-image: "presets/landmark/volcano.svg";
5168 set icon_z0;
5169 set text_z0;
5170}
5171area[natural=cliff]:closed {
5172 fill-color: natural#002f00;
5173}
5174way[natural=cliff] {
5175 repeat-image: "presets/misc/cliff_pattern.svg";
5176 repeat-image-align: top;
5177 repeat-image-offset: 0.5;
5178 width: 1;
5179 color: #b2b2b2;
5180}
5181node[natural=cliff] {
5182 icon-image: "presets/misc/cliff.svg";
5183 set icon_z17;
5184}
5185way[natural=earth_bank] {
5186 repeat-image: "presets/misc/earth_bank_pattern.svg";
5187 repeat-image-align: top;
5188 repeat-image-offset: 0.5;
5189 width: 1;
5190 color: #9c6f32;
5191}
5192way[natural=arete] {
5193 width: 1;
5194 color: arete#e6e6e6;
5195}
5196way[natural=ridge] {
5197 width: 1;
5198 color: natural#002f00;
5199}
5200way[natural=valley] {
5201 width: 1;
5202 color: natural#002f00;
5203}
5204area[natural=scree] {
5205 fill-color: scree#c3c3c3;
5206}
5207area[natural=shingle] {
5208 fill-color: shingle#c3c3c3;
5209}
5210area[natural=scrub] {
5211 fill-color: scrub#007000;
5212}
5213area[natural=shrubbery] {
5214 fill-color: shrubbery#399a4e;
5215}
5216area[natural=fell] {
5217 fill-color: natural#002f00;
5218}
5219area[natural=heath] {
5220 fill-color: heath#ffffc0;
5221}
5222way[natural=tree_row] {
5223 width: 2;
5224 color: woodarea#008000;
5225}
5226area[natural=wood] {
5227 fill-color: woodarea#008000;
5228}
5229area[natural=grassland] {
5230 fill-color: green#b1e0c2;
5231}
5232area[natural=wetland] {
5233 fill-color: marsh#4f4ff3;
5234}
5235area[natural=water] {
5236 fill-color: water#0000ff;
5237}
5238area[natural=water][intermittent=yes] {
5239 width: 2;
5240 dashes: 15, 5;
5241}
5242way[natural=coastline] {
5243 width: 2;
5244 color: water#0000ff;
5245 right-casing-color: water#0000ff;
5246 right-casing-width: 8;
5247 right-casing-opacity: 0.35;
5248}
5249area[natural=mud] {
5250 fill-color: mud#cba762;
5251}
5252area[natural=beach] {
5253 fill-color: beach#f8dba2;
5254}
5255area[natural=sand] {
5256 fill-color: sand#f8dba2;
5257}
5258area[natural=bare_rock] {
5259 fill-color: bare_rock#f8f8c7;
5260}
5261area[natural=rock] {
5262 fill-color: stone#f8f8c7;
5263}
5264node[natural=rock] {
5265 icon-image: "presets/misc/rock.svg";
5266 set icon_z17;
5267}
5268area[natural=stone] {
5269 fill-color: stone#f8f8c7;
5270}
5271node[natural=stone] {
5272 icon-image: "presets/misc/stone.svg";
5273 set icon_z17;
5274}
5275area[natural=bay]:closed {
5276 fill-color: natural#002f00;
5277}
5278way[natural=bay] {
5279 width: 2;
5280 color: natural#002f00;
5281}
5282node[natural=bay] {
5283 icon-image: "presets/nautical/bay.svg";
5284 set icon_z17;
5285}
5286area[natural=strait]:closed {
5287 fill-color: natural#002f00;
5288}
5289way[natural=strait] {
5290 width: 2;
5291 color: natural#002f00;
5292}
5293node[natural=strait] {
5294 icon-image: "presets/nautical/strait.svg";
5295 set icon_z17;
5296}
5297area[natural=cape],
5298area[natural=sinkhole],
5299area[natural=cave_entrance] {
5300 fill-color: natural#002f00;
5301}
5302node[natural=cape] {
5303 icon-image: "presets/nautical/cape.svg";
5304 set icon_z17;
5305}
5306node[natural=sinkhole] {
5307 icon-image: "presets/landmark/sinkhole.svg";
5308 set icon_z17;
5309}
5310node[natural=sinkhole][sinkhole=bluehole] {
5311 icon-image: "presets/landmark/bluehole.svg";
5312 set icon_z17;
5313}
5314node[natural=sinkhole][sinkhole=doline] {
5315 icon-image: "presets/landmark/doline.svg";
5316 set icon_z17;
5317}
5318node[natural=sinkhole][sinkhole=estavelle] {
5319 icon-image: "presets/landmark/estavelle.svg";
5320 set icon_z17;
5321}
5322node[natural=sinkhole][sinkhole=pit] {
5323 icon-image: "presets/landmark/pit.svg";
5324 set icon_z17;
5325}
5326node[natural=sinkhole][sinkhole=ponor] {
5327 icon-image: "presets/landmark/ponor.svg";
5328 set icon_z17;
5329}
5330node[natural=cave_entrance] {
5331 icon-image: "presets/landmark/cave_entrance.svg";
5332 set icon_z17;
5333}
5334area[natural=reef] {
5335 fill-color: reef#80c9ff;
5336}
5337node[natural=reef] {
5338 icon-image: "presets/landmark/reef.svg";
5339 set icon_z17;
5340}
5341node[natural=shrub] {
5342 icon-image: "presets/landmark/shrub.svg";
5343 set icon_z17;
5344}
5345node[natural=tree] {
5346 icon-image: "presets/landmark/trees.svg";
5347 set icon_z17;
5348}
5349node[natural=tree][leaf_type=needleleaved] {
5350 icon-image: "presets/landmark/trees_conifer.svg";
5351 set icon_z17;
5352}
5353node[natural=tree][leaf_type=broadleaved] {
5354 icon-image: "presets/landmark/trees_broad_leaved.svg";
5355 set icon_z17;
5356}
5357node[natural=glacier],
5358node[natural=scree],
5359node[natural=shingle],
5360node[natural=scrub],
5361node[natural=shrubbery],
5362node[natural=fell],
5363node[natural=heath],
5364node[natural=tree_row],
5365node[natural=wood],
5366node[natural=grassland],
5367node[natural=wetland],
5368node[natural=water],
5369node[natural=coastline],
5370node[natural=mud],
5371node[natural=beach],
5372node[natural=sand],
5373node[natural=land],
5374node[natural=bare_rock],
5375node[natural=arete],
5376node[natural=ridge],
5377node[natural=valley] {
5378 icon-image: "presets/misc/deprecated.svg";
5379 set icon_z17;
5380}
5381/*****************/
5382/* waterway tags */
5383/*****************/
5384
5385way[waterway=river] {
5386 width: 2;
5387 color: water#0000ff;
5388}
5389area[waterway=riverbank] {
5390 fill-color: riverbank#0000cf;
5391 width: 1;
5392 color: riverbank#0000cf;
5393}
5394way[waterway=pressurised],
5395way[waterway=canal] {
5396 width: 2;
5397 color: water#0000ff;
5398}
5399way[waterway=river][lock=yes],
5400way[waterway=canal][lock=yes] {
5401 casing-width: 2;
5402 casing-color: lock#303030;
5403 casing-dashes: 5,20;
5404}
5405way[waterway=pressurised][tunnel] {
5406 casing-width: 1;
5407 casing-color: tunnel#964B00;
5408}
5409way[waterway=pressurised][man_made=pipeline] {
5410 casing-width: 1;
5411 casing-color: pipeline#660000;
5412}
5413way[waterway=stream] {
5414 width: 1;
5415 color: stream#6600cc;
5416}
5417way[waterway=ditch],
5418way[waterway=drain] {
5419 width: 1;
5420 color: water#0000ff;
5421}
5422way[waterway=tidal_channel] {
5423 width: 1;
5424 color: tidal_channel#0000ff;
5425}
5426way[waterway=river][intermittent=yes],
5427area[waterway=riverbank][intermittent=yes],
5428way[waterway=canal][intermittent=yes],
5429way[waterway=stream][intermittent=yes],
5430way[waterway=ditch][intermittent=yes],
5431way[waterway=drain][intermittent=yes],
5432way[waterway=tidal_channel][intermittent=yes] {
5433 dashes: 15, 5;
5434}
5435area[waterway=dock] {
5436 fill-color: dock#0000cf;
5437}
5438node[waterway=dock] {
5439 icon-image: "presets/nautical/boatyard.svg";
5440 set icon_z17;
5441}
5442way[waterway=lock_gate] {
5443 width: 3;
5444 color: lock_gate#303030;
5445}
5446node[waterway=lock_gate] {
5447 icon-image: "presets/nautical/lock_gate.svg";
5448 set icon_z17;
5449}
5450node[waterway=turning_point] {
5451 icon-image: "presets/nautical/turning.svg";
5452 set icon_z17;
5453}
5454area[waterway=boatyard] {
5455 fill-color: manmade#d8d8d8;
5456}
5457node[waterway=boatyard] {
5458 icon-image: "presets/nautical/boatyard.svg";
5459 set icon_z17;
5460}
5461node[waterway=water_point],
5462node[waterway=waste_disposal],
5463node[waterway=mooring] {
5464 icon-image: "presets/misc/deprecated.svg";
5465 set icon_z17;
5466}
5467node[mooring] {
5468 icon-image: "presets/nautical/marina.svg";
5469 set icon_z17;
5470}
5471area[waterway=fuel] {
5472 fill-color: amenity_traffic#f7efb7;
5473}
5474node[waterway=fuel] {
5475 icon-image: "presets/nautical/marine_fuel.svg";
5476 set icon_z17;
5477}
5478way[waterway=weir] {
5479 width: 2;
5480 color: manmade#d8d8d8;
5481}
5482node[waterway=weir] {
5483 icon-image: "presets/nautical/weir.svg";
5484 set icon_z17;
5485}
5486area[waterway=dam]:closed {
5487 fill-color: manmade#d8d8d8;
5488}
5489way[waterway=dam] {
5490 width: 2;
5491 color: manmade#d8d8d8;
5492}
5493node[waterway=dam] {
5494 icon-image: "presets/nautical/dam.svg";
5495 set icon_z17;
5496}
5497/* it's not possible to have both line and area, line seems more likely */
5498way[waterway=waterfall] {
5499 width: 2;
5500 color: manmade#d8d8d8;
5501}
5502node[waterway=waterfall] {
5503 icon-image: "presets/nautical/waterfall.svg";
5504 set icon_z17;
5505}
5506node[waterway=river], node[waterway=riverbank],
5507node[waterway=canal], node[waterway=wadi],
5508node[waterway=stream],
5509node[waterway=ditch], node[waterway=drain] {
5510 icon-image: "presets/misc/deprecated.svg";
5511 set icon_z17;
5512}
5513
5514/**************/
5515/* route tags */
5516/**************/
5517
5518way[route=ferry] {
5519 width: 1;
5520 color: ferry#809bc0;
5521 dashes: 9,9;
5522}
5523node[route=bus],
5524node[route=ferry],
5525node[route=flight],
5526node[route=ncn],
5527node[route=subsea],
5528node[route=ski],
5529node[route=tour],
5530node[route=pub_crawl] {
5531 icon-image: "presets/misc/deprecated.svg";
5532 set icon_z17;
5533}
5534
5535/*******************/
5536/* properties tags */
5537/*******************/
5538
5539node[mountain_pass?] {
5540 icon-image: "presets/landmark/mountain_pass.svg";
5541 set icon_z0;
5542 set text_z0;
5543}
5544
5545/*****************/
5546/* boundary tags */
5547/*****************/
5548
5549relation[boundary=protected_area] > way::core_boundary,
5550relation[boundary=administrative] > way::core_boundary,
5551relation[boundary=postal_code] > way::core_boundary,
5552relation[boundary=political] > way::core_boundary,
5553relation[boundary=maritime] > way::core_boundary,
5554relation[boundary=hazard] > way::core_boundary,
5555relation[boundary=national_park] > way::core_boundary,
5556way[boundary=protected_area]::core_boundary,
5557way[boundary=administrative]::core_boundary,
5558way[boundary=postal_code]::core_boundary,
5559way[boundary=political]::core_boundary,
5560way[boundary=maritime]::core_boundary,
5561way[boundary=hazard]::core_boundary,
5562way[boundary=national_park]::core_boundary {
5563 z-index: 2;
5564 modifier: false;
5565 width: 1;
5566 color: boundary#FF6600;
5567 dashes: 9,9;
5568}
5569/* admin_level >=9 use the default width of 1 defined above */
5570way[boundary=administrative][admin_level=7]::core_boundary,
5571relation[boundary=administrative][admin_level=7] > way::core_boundary,
5572way[boundary=administrative][admin_level=8]::core_boundary,
5573relation[boundary=administrative][admin_level=8] > way::core_boundary {
5574 width: 2;
5575}
5576way[boundary=administrative][admin_level=5]::core_boundary,
5577relation[boundary=administrative][admin_level=5] > way::core_boundary,
5578way[boundary=administrative][admin_level=6]::core_boundary,
5579relation[boundary=administrative][admin_level=6] > way::core_boundary {
5580 width: 3;
5581}
5582way[boundary=administrative][admin_level=3]::core_boundary,
5583relation[boundary=administrative][admin_level=3] > way::core_boundary,
5584way[boundary=administrative][admin_level=4]::core_boundary,
5585relation[boundary=administrative][admin_level=4] > way::core_boundary {
5586 width: 4;
5587}
5588way[boundary=administrative][admin_level=1]::core_boundary,
5589relation[boundary=administrative][admin_level=1] > way::core_boundary,
5590way[boundary=administrative][admin_level=2]::core_boundary,
5591relation[boundary=administrative][admin_level=2] > way::core_boundary {
5592 width: 5;
5593}
5594
5595node[boundary=marker] {
5596 icon-image: "presets/landmark/boundary_marker.svg";
5597 set icon_z17;
5598}
5599
5600node[boundary=national],
5601node[boundary=administrative],
5602node[boundary=postal_code],
5603node[boundary=political],
5604node[boundary=national_park] {
5605 icon-image: "presets/misc/deprecated.svg";
5606 set icon_z17;
5607}
5608
5609/******************/
5610/* maxspeed nodes */
5611/******************/
5612node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
5613 icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
5614 set icon_z17;
5615}
5616node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
5617 maxspeedprop: tag(maxspeed);
5618 set maxspeedclass;
5619}
5620node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
5621 maxspeedprop: " ?";
5622 set maxspeedclass;
5623}
5624node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
5625 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
5626 set maxspeedclass;
5627}
5628node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
5629 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
5630 set maxspeedclass;
5631}
5632node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
5633 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
5634 set maxspeedclass;
5635}
5636node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
5637 /* background (white) */
5638 symbol-shape: circle;
5639 symbol-size: 17;
5640 symbol-fill-color: white;
5641 major-z-index: 4.2;
5642}
5643node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
5644node[traffic_sign][maxspeed=signals]::core_maxnodebg {
5645 /* background (black) */
5646 symbol-fill-color: black;
5647}
5648node[prop(maxspeedclass, default)]::core_maxnodefg {
5649 /* foreground (black text and red circle) */
5650 symbol-shape: circle;
5651 symbol-size: 15;
5652 symbol-stroke-color: crimson;
5653 symbol-stroke-width: 2;
5654 text: prop(maxspeedprop, default);
5655 font-size: 8;
5656 font-weight: bold;
5657 text-color: black;
5658 text-anchor-horizontal: center;
5659 text-anchor-vertical: center;
5660 text-offset-x: 0;
5661 text-offset-y: -1;
5662 major-z-index: 4.2;
5663}
5664node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
5665node[traffic_sign][maxspeed=signals]::core_maxnodefg {
5666 /* foreground (white text) */
5667 text-color: white;
5668}
5669node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
5670 symbol-shape: none;
5671}
5672node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
5673 text: none;
5674 symbol-shape: none;
5675}
5676
5677/**************/
5678/* place tags */
5679/**************/
5680
5681area[setting("place_fill_colour")][place=continent],
5682area[setting("place_fill_colour")][place=country],
5683area[setting("place_fill_colour")][place=state],
5684area[setting("place_fill_colour")][place=region],
5685area[setting("place_fill_colour")][place=county],
5686area[setting("place_fill_colour")][place=city],
5687area[setting("place_fill_colour")][place=town],
5688area[setting("place_fill_colour")][place=village],
5689area[setting("place_fill_colour")][place=hamlet],
5690area[setting("place_fill_colour")][place=municipality],
5691area[setting("place_fill_colour")][place=farm],
5692area[setting("place_fill_colour")][place=isolated_dwelling],
5693area[setting("place_fill_colour")][place=neighbourhood],
5694area[setting("place_fill_colour")][place=suburb],
5695area[setting("place_fill_colour")][place=locality],
5696area[setting("place_fill_colour")][place=city_block],
5697area[place=island],
5698area[place=islet] {
5699 fill-color: place#8de3cb;
5700 set place;
5701}
5702node[place=continent],
5703node[place=country],
5704node[place=state],
5705node[place=region],
5706node[place=county],
5707node[place=city],
5708node[place=town],
5709node[place=suburb],
5710node[place=village],
5711node[place=quarter],
5712node[place=neighbourhood],
5713node[place=hamlet],
5714node[place=municipality],
5715node[place=isolated_dwelling],
5716node[place=farm],
5717node[place=city_block],
5718node[place=island],
5719node[place=islet] {
5720 set icon_z0;
5721 set text_z0;
5722 font-weight: bold;
5723 text-color:black;
5724 text-halo-color: white;
5725 text-halo-radius: 1;
5726 set place;
5727}
5728
5729node[place=continent],
5730node[place=country],
5731node[place=state],
5732node[place=region],
5733node[place=county] {
5734 icon-image: "presets/place/capital.svg";
5735 z-index: 2.9;
5736}
5737node[place=city] {
5738 icon-image: "presets/place/city.svg";
5739 z-index: 2.8;
5740}
5741node[place=town] {
5742 icon-image: "presets/place/town.svg";
5743 z-index: 2.7;
5744}
5745node[place=suburb] {
5746 icon-image: "presets/place/suburb.svg";
5747 z-index: 2.6;
5748}
5749node[place=village] {
5750 icon-image: "presets/place/village.svg";
5751 z-index: 2.5;
5752}
5753node[place=quarter] {
5754 icon-image: "presets/place/quarter.svg";
5755 z-index: 2.5;
5756}
5757node[place=neighbourhood] {
5758 icon-image: "presets/place/neighbourhood.svg";
5759 z-index: 2.4;
5760}
5761node[place=hamlet] {
5762 icon-image: "presets/place/hamlet.svg";
5763 z-index: 2.3;
5764}
5765node[place=municipality] {
5766 icon-image: "presets/place/municipality.svg";
5767 z-index: 2.21;
5768}
5769node[place=isolated_dwelling] {
5770 icon-image: "presets/place/isolated_dwelling.svg";
5771 z-index: 2.2;
5772}
5773node[place=farm] {
5774 icon-image: "presets/place/farm.svg";
5775 z-index: 2.1;
5776}
5777node[place=city_block] {
5778 icon-image: "presets/place/cityblock.svg";
5779 z-index: 2.1;
5780}
5781node|z15-[place=locality],
5782node|z-14[place=locality][!setting("hide_icons")] {
5783 icon-image: "presets/place/locality.svg";
5784 font-weight: bold;
5785 text-color: black;
5786 text-halo-color: white;
5787 text-halo-radius: 1;
5788}
5789node[place=island] {
5790 icon-image: "presets/place/island.svg";
5791}
5792node[place=islet] {
5793 icon-image: "presets/place/islet.svg";
5794}
5795
5796area[place=square] {
5797 fill-color: place#8de3cb;
5798}
5799node[place=square] {
5800 icon-image: "presets/place/square.svg";
5801 set icon_z17;
5802}
5803
5804/***************************/
5805/* "work in progress" tags */
5806/***************************/
5807
5808node|z17-[fixme]::core_note_fixme,
5809node|z-16[fixme][!setting("hide_icons")]::core_note_fixme,
5810node|z17-[FIXME]::core_note_fixme,
5811node|z-16[FIXME][!setting("hide_icons")]::core_note_fixme {
5812 object-z-index: 10;
5813 icon-image: "presets/misc/fixme_annotation.svg";
5814}
5815node|z17-[note][setting("note_annotation")]::core_note_fixme,
5816node|z-16[note][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5817 object-z-index: 10;
5818 icon-image: "presets/misc/note_annotation.svg";
5819}
5820node|z16-[note][fixme][setting("note_annotation")]::core_note_fixme,
5821node|z-16[note][fixme][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme,
5822node|z17-[note][FIXME][setting("note_annotation")]::core_note_fixme,
5823node|z-16[note][FIXME][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5824 icon-image: "presets/misc/note_fixme_annotation.svg";
5825}
5826
5827/****************************************/
5828/* zoom levels and general node display */
5829/****************************************/
5830
5831/*
5832Summary of different zoom levels:
5833 (any zoom) place=* (except locality and square) and a few natural icons with their text is shown
5834 |z-14 tagged way nodes are hidden completely
5835 |z-15 untagged way nodes are hidden completely
5836 |z15 place=locality icon
5837 |z16- place=locality text
5838 |z17- normal POI icons (without text),
5839 street name along highway=* ways
5840 |z18- text for normal POI icons is shown
5841
5842 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller
5843 * all these zoom features are modifiable via style settings
5844 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5845
5846*/
5847
5848node|z-16[setting("hide_icons")],
5849node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5850node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5851 symbol-size: 2;
5852 symbol-shape: square;
5853 symbol-stroke-color: node_standard#ffff00;
5854 major-z-index: 4.95; /* put node squares above line text */
5855}
5856way > node|z-15[setting("shrink_nodes")]!:tagged {
5857 symbol-shape: none;
5858}
5859node:connection {
5860 symbol-stroke-color: node_connection#ffff00;
5861}
5862node:tagged {
5863 symbol-stroke-color: none;
5864 symbol-fill-color: node_tagged#00ffff;
5865}
5866node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5867 symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5868}
5869way > node|z-14[setting("shrink_nodes")][setting("hide_tagged_waynodes")]:tagged { /* todo: check which is faster: `way > node {...}` or `node!:unconnected {...}`, also at other occurrences in this file */
5870 symbol-shape: none;
5871}
5872
5873way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5874
5875node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5876way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5877node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5878
5879node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5880way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5881node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5882
5883node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5884way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5885node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5886
5887node[!setting("shrink_nodes")] { symbol-size: 4; }
5888way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5889node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5890
5891node:selected {
5892 symbol-shape: square;
5893 symbol-size: 6;
5894 symbol-fill-color: node_selected#ff0000;
5895 symbol-stroke-color: node_selected#ff0000;
5896}
5897
5898node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5899relation|z-16[type=restriction][setting("hide_icons")] {
5900 icon-image: none;
5901}
5902node|z-17[setting("hide_icons")]!.text_z0 {
5903 text: none;
5904}
5905node|z16-17[setting("hide_icons")][place=locality] {
5906 text: auto;
5907}
5908
5909node|z-18,area|z-18 { font-size: 8; }
5910node|z19,area|z19 { font-size: 9; }
5911node|z20-,area|z20- { font-size: 11; }
5912
5913node.place, way.place, area.place { font-size: 11; }
5914
5915
5916/*******************/
5917/* way text labels */
5918/*******************/
5919
5920way|z18-[highway=motorway][setting("highway_labels")],
5921way|z18-[highway=motorway_link][setting("highway_labels")],
5922way|z18-[highway=trunk][setting("highway_labels")],
5923way|z18-[highway=trunk_link][setting("highway_labels")],
5924way|z18-[highway=primary][setting("highway_labels")],
5925way|z18-[highway=primary_link][setting("highway_labels")],
5926way|z18-[highway=secondary][setting("highway_labels")],
5927way|z18-[highway=secondary_link][setting("highway_labels")],
5928way|z18-[highway=tertiary][setting("highway_labels")],
5929way|z18-[highway=tertiary_link][setting("highway_labels")],
5930way|z18-[highway=unclassified][setting("highway_labels")],
5931way|z18-[highway=residential][setting("highway_labels")],
5932way|z18-[highway=living_street][setting("highway_labels")],
5933way|z18-[highway=escape][setting("highway_labels")],
5934way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5935way|z18-[highway=steps][setting("highway_labels")],
5936way|z18-[highway=footway][setting("highway_labels")],
5937way|z18-[highway=path][setting("highway_labels")],
5938way|z18-[highway=service][setting("highway_labels")],
5939way|z18-[highway=track][setting("highway_labels")],
5940way|z18-[highway=cycleway][setting("highway_labels")],
5941way|z18-[highway=bridleway][setting("highway_labels")],
5942way|z18-[highway=bus_guideway][setting("highway_labels")],
5943way|z18-[highway=busway][setting("highway_labels")],
5944way|z18-[highway=raceway][setting("highway_labels")],
5945way|z18-[highway=construction][setting("highway_labels")],
5946way|z18-[highway=road][setting("highway_labels")] {
5947 text: auto;
5948 text-color: black;
5949 font-size: 10;
5950 text-position: line;
5951 text-halo-opacity: 1;
5952 text-halo-radius: 1.5;
5953}
5954way|z18-[highway=motorway][setting("highway_labels")],
5955way|z18-[highway=motorway_link][setting("highway_labels")] {
5956 text-halo-color: motorway#809bc0;
5957}
5958way|z18-[highway=trunk][setting("highway_labels")],
5959way|z18-[highway=trunk_link][setting("highway_labels")] {
5960 text-halo-color: trunk#7fc97f;
5961}
5962way|z18-[highway=primary][setting("highway_labels")],
5963way|z18-[highway=primary_link][setting("highway_labels")] {
5964 text-halo-color: primary#fb805f;
5965}
5966way|z18-[highway=secondary][setting("highway_labels")],
5967way|z18-[highway=secondary_link][setting("highway_labels")] {
5968 text-halo-color: secondary#fdbf6f;
5969}
5970way|z18-[highway=tertiary][setting("highway_labels")],
5971way|z18-[highway=tertiary_link][setting("highway_labels")] {
5972 text-halo-color: tertiary#f7f496;
5973}
5974way|z18-[highway=unclassified][setting("highway_labels")],
5975way|z18-[highway=residential][setting("highway_labels")],
5976way|z18-[highway=living_street][setting("highway_labels")],
5977way|z18-[highway=escape][setting("highway_labels")] {
5978 text-halo-color: street#c0c0c0;
5979}
5980way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5981way|z18-[highway=steps][setting("highway_labels")],
5982way|z18-[highway=footway][setting("highway_labels")],
5983way|z18-[highway=path][setting("highway_labels")] {
5984 text-halo-color: foot#00ff00;
5985}
5986way|z18-[highway=service][setting("highway_labels")] {
5987 text-halo-color: service#809bc0;
5988}
5989way|z18-[highway=track][setting("highway_labels")] {
5990 text-halo-color: highway_track#6e541c;
5991}
5992way|z18-[highway=cycleway][setting("highway_labels")],
5993way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5994 text-halo-color: bicycle#b100ff;
5995}
5996way|z18-[highway=bridleway][setting("highway_labels")] {
5997 text-halo-color: horse#a18559;
5998}
5999way|z18-[highway=bus_guideway][setting("highway_labels")] {
6000 text-halo-color: rail#404040;
6001}
6002way|z18-[highway=busway][setting("highway_labels")] {
6003 text-halo-color: bus#89cbeb;
6004}
6005way|z18-[highway=raceway][setting("highway_labels")] {
6006 text-halo-color: raceway#ff80ff;
6007}
6008way|z18-[highway=construction][setting("highway_labels")] {
6009 text-halo-color: construction#ffff00;
6010}
6011way|z18-[highway=road][setting("highway_labels")] {
6012 text-halo-color: highway_road#770000;
6013}
6014way|z18-[highway][railway=platform][setting("highway_labels")] {
6015 text-halo-color: rail#404040;
6016}
6017way|z18-[highway][public_transport=platform][setting("highway_labels")] {
6018 text-halo-color: service#809bc0;
6019}
6020way|z19[highway][setting("highway_labels")] {
6021 font-size: 11;
6022}
6023way|z20-[highway][setting("highway_labels")] {
6024 font-size: 12;
6025}
6026
6027/*************/
6028/* Area fill */
6029/*************/
6030
6031/* small extent for unclosed area (see below for closed) */
6032area[setting("partial_fill")] {
6033 fill-extent: 15;
6034}
6035
6036/* Turn partial fill off and use plain fill, when the partial fill covers about
6037 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
6038 Switching between full and partial fill while drawing an area might be irritating,
6039 so only do this at low zoom. */
6040area|z-13[setting("partial_fill")] {
6041 fill-extent-threshold: 1.0;
6042}
6043
6044/* Larger extent for closed areas.
6045 Turn partial fill off, when it covers more than about 50% of the area. This avoids
6046 areas with small unfilled patches in the center. */
6047area[setting("partial_fill")]:closed2 {
6048 fill-extent: 25;
6049 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
6050}
6051
Note: See TracBrowser for help on using the repository browser.