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

Last change on this file since 19404 was 19404, checked in by stoecker, 6 weeks ago

add conditional restrictions to mappaint, patch by Andrew Harvey

  • 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] {
3221 fill-color: amenity_traffic#f7efb7;
3222}
3223node[amenity=parking_space] {
3224 icon-image: "presets/vehicle/parking/parking_space.svg";
3225 set icon_z17;
3226}
3227node[amenity=trolley_bay] {
3228 icon-image: "presets/vehicle/parking/trolley_bay.svg";
3229 set icon_z17;
3230}
3231node[amenity=parking] {
3232 icon-image: "presets/vehicle/parking/parking.svg";
3233 set icon_z17;
3234}
3235node[amenity=parking_entrance] {
3236 icon-image: "presets/vehicle/parking/parking.svg";
3237 set icon_z17;
3238}
3239node[amenity=parking_entrance][parking=multi-storey],
3240node[amenity=parking][parking=multi-storey] {
3241 icon-image: "presets/vehicle/parking/multi-storey.svg";
3242 set icon_z17;
3243}
3244node[amenity=parking_entrance][parking=underground],
3245node[amenity=parking][parking=underground] {
3246 icon-image: "presets/vehicle/parking/underground.svg";
3247 set icon_z17;
3248}
3249node[amenity=motorcycle_parking] {
3250 icon-image: "presets/vehicle/parking/motorbike.svg";
3251 set icon_z17;
3252}
3253node[amenity=bicycle_parking] {
3254 icon-image: "presets/vehicle/parking/bicycle.svg";
3255 set icon_z17;
3256}
3257node[park_ride][park_ride!=no] {
3258 icon-image: "presets/vehicle/parking/park_ride.svg";
3259 set icon_z17;
3260}
3261node[amenity=parking_space][wheelchair?] {
3262 icon-image: "presets/vehicle/parking/handicapped.svg";
3263 set icon_z17;
3264}
3265node[amenity=bicycle_rental] {
3266 icon-image: "presets/vehicle/bicycle_rental.svg";
3267 set icon_z17;
3268}
3269node[amenity=bicycle_repair_station] {
3270 icon-image: "presets/vehicle/bicycle_repair_station.svg";
3271 set icon_z17;
3272}
3273node[amenity=bicycle_wash] {
3274 icon-image: "presets/vehicle/bicycle_wash.svg";
3275 set icon_z17;
3276}
3277node[amenity=car_rental] {
3278 icon-image: "presets/vehicle/car_rental.svg";
3279 set icon_z17;
3280}
3281node[amenity=car_pooling] {
3282 icon-image: "presets/vehicle/car_pooling.svg";
3283 set icon_z17;
3284}
3285node[amenity=car_sharing] {
3286 icon-image: "presets/vehicle/car_sharing.svg";
3287 set icon_z17;
3288}
3289node[amenity=car_wash] {
3290 icon-image: "presets/vehicle/car_wash.svg";
3291 set icon_z17;
3292}
3293node[amenity=taxi] {
3294 icon-image: "presets/transport/taxi.svg";
3295 set icon_z17;
3296}
3297node[amenity=fuel] {
3298 icon-image: "presets/vehicle/fuel.svg";
3299 set icon_z17;
3300}
3301node[amenity=charging_station] {
3302 icon-image: "presets/vehicle/charging_station.svg";
3303 set icon_z17;
3304}
3305node[amenity=grit_bin] {
3306 icon-image: "presets/misc/grit_bin.svg";
3307 set icon_z17;
3308}
3309node[amenity=telephone] {
3310 icon-image: "presets/service/telephone.svg";
3311 set icon_z17;
3312}
3313node[amenity=clock] {
3314 icon-image: "presets/service/clock.svg";
3315 set icon_z17;
3316}
3317node[amenity=photo_booth] {
3318 icon-image: "presets/service/photo_booth.svg";
3319 set icon_z17;
3320}
3321area[amenity=toilets],
3322area[amenity=shower],
3323area[amenity=internet_cafe],
3324area[amenity=recycling],
3325area[amenity=sanitary_dump_station] {
3326 fill-color: amenity_light#f7efb7;
3327}
3328node[amenity=toilets] {
3329 icon-image: "presets/service/toilets.svg";
3330 set icon_z17;
3331}
3332node[amenity=shower] {
3333 icon-image: "presets/service/shower.svg";
3334 set icon_z17;
3335}
3336node[amenity=internet_cafe] {
3337 icon-image: "presets/service/internet_cafe.svg";
3338 set icon_z17;
3339}
3340node[amenity=recycling] {
3341 icon-image: "presets/service/recycling/recycling.svg";
3342 set icon_z17;
3343}
3344node[amenity=recycling][recycling_type=container] {
3345 icon-image: "presets/service/recycling/recycling_container.svg";
3346}
3347node[amenity=recycling][recycling_type=centre] {
3348 icon-image: "presets/service/recycling/recycling_centre.svg";
3349}
3350node[amenity=waste_basket] {
3351 icon-image: "presets/service/recycling/waste_basket.svg";
3352 set icon_z17;
3353}
3354node[amenity=waste_disposal] {
3355 icon-image: "presets/service/recycling/waste_disposal.svg";
3356 set icon_z17;
3357}
3358node[amenity=sanitary_dump_station] {
3359 icon-image: "presets/service/recycling/sanitary_dump_station.svg";
3360 set icon_z17;
3361}
3362area[amenity=townhall],
3363area[amenity=events_venue],
3364area[amenity=community_centre] {
3365 fill-color: amenity_light#f7efb7;
3366}
3367node[amenity=townhall] {
3368 icon-image: "presets/service/townhall.svg";
3369 set icon_z17;
3370}
3371node[amenity=events_venue] {
3372 icon-image: "presets/service/events_venue.svg";
3373 set icon_z17;
3374}
3375node[amenity=community_centre] {
3376 icon-image: "presets/service/community_centre.svg";
3377 set icon_z17;
3378}
3379area[amenity=water_point],
3380area[amenity=fountain] {
3381 fill-color: light_water#00005f;
3382}
3383node[amenity=drinking_water] {
3384 icon-image: "presets/food/drinking_water.svg";
3385 set icon_z17;
3386}
3387node[amenity=water_point] {
3388 icon-image: "presets/accommodation/water.svg";
3389 set icon_z17;
3390}
3391node[amenity=fountain] {
3392 icon-image: "presets/misc/fountain.svg";
3393 set icon_z17;
3394}
3395area[amenity=animal_boarding],
3396area[amenity=animal_breeding],
3397area[amenity=place_of_worship],
3398area[amenity=monastery],
3399area[amenity=grave_yard],
3400area[amenity=crematorium],
3401area[amenity=post_office],
3402area[amenity=studio],
3403area[landuse=school],
3404area[amenity=school],
3405area[amenity=university],
3406area[amenity=college],
3407area[amenity=kindergarten],
3408area[amenity=language_school],
3409area[amenity=music_school],
3410area[amenity=driving_school],
3411area[amenity=driver_training] {
3412 fill-color: amenity_light#f7efb7;
3413}
3414node[amenity=animal_boarding] {
3415 icon-image: "presets/accommodation/animal_boarding.svg";
3416 set icon_z17;
3417}
3418node[amenity=animal_breeding] {
3419 icon-image: "presets/misc/animal_breeding.svg";
3420 set icon_z17;
3421}
3422node[amenity=place_of_worship] {
3423 icon-image: "presets/religion/religion.svg";
3424 set icon_z17;
3425}
3426node[amenity=place_of_worship][religion=bahai] {
3427 icon-image: "presets/religion/bahai.svg";
3428 set icon_z17;
3429}
3430node[amenity=place_of_worship][religion=buddhist] {
3431 icon-image: "presets/religion/buddhism.svg";
3432 set icon_z17;
3433}
3434node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
3435 icon-image: "presets/misc/no_icon.svg";
3436 set icon_z17;
3437}
3438node[amenity=place_of_worship][religion=christian] {
3439 icon-image: "presets/religion/church.svg";
3440 set icon_z17;
3441}
3442node[amenity=place_of_worship][religion=confucian] {
3443 icon-image: "presets/religion/confucian.svg";
3444 set icon_z17;
3445}
3446node[amenity=place_of_worship][religion=hindu] {
3447 icon-image: "presets/religion/hinduism.svg";
3448 set icon_z17;
3449}
3450node[amenity=place_of_worship][religion=jain] {
3451 icon-image: "presets/religion/jainism.svg";
3452 set icon_z17;
3453}
3454node[amenity=place_of_worship][religion=jewish] {
3455 icon-image: "presets/religion/jewish.svg";
3456 set icon_z17;
3457}
3458node[amenity=place_of_worship][religion=muslim] {
3459 icon-image: "presets/religion/muslim.svg";
3460 set icon_z17;
3461}
3462node[amenity=place_of_worship][religion=shinto] {
3463 icon-image: "presets/religion/shinto.svg";
3464 set icon_z17;
3465}
3466node[amenity=place_of_worship][religion=sikh] {
3467 icon-image: "presets/religion/sikhism.svg";
3468 set icon_z17;
3469}
3470node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
3471 icon-image: "presets/misc/no_icon.svg";
3472 set icon_z17;
3473}
3474node[amenity=place_of_worship][religion=taoist] {
3475 icon-image: "presets/religion/taoism.svg";
3476 set icon_z17;
3477}
3478node[amenity=place_of_worship][religion=tenrikyo] {
3479 icon-image: "presets/religion/tenrikyo.svg";
3480 set icon_z17;
3481}
3482node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
3483 icon-image: "presets/misc/no_icon.svg";
3484 set icon_z17;
3485}
3486node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
3487 icon-image: "presets/misc/no_icon.svg";
3488 set icon_z17;
3489}
3490node[amenity=monastery] {
3491 icon-image: "presets/religion/monastery.svg";
3492 set icon_z17;
3493}
3494node[amenity=grave_yard] {
3495 icon-image: "presets/landuse/graveyard.svg";
3496 set icon_z17;
3497}
3498node[amenity=crematorium][!is_prop_set(icon-image)] {
3499 icon-image: "presets/misc/no_icon.svg";
3500 set icon_z17;
3501}
3502node[amenity=post_office] {
3503 icon-image: "presets/service/post_office.svg";
3504 set icon_z17;
3505}
3506node[amenity=post_box] {
3507 icon-image: "presets/service/post_box.svg";
3508 set icon_z17;
3509}
3510node[amenity=letter_box] {
3511 icon-image: "presets/service/letter_box.svg";
3512 set icon_z17;
3513}
3514node[amenity=studio] {
3515 icon-image: "presets/service/studio.svg";
3516 set icon_z17;
3517}
3518node[amenity=school] {
3519 icon-image: "presets/education/school.svg";
3520 set icon_z17;
3521}
3522node[amenity=university] {
3523 icon-image: "presets/education/university.svg";
3524 set icon_z17;
3525}
3526node[amenity=college] {
3527 icon-image: "presets/education/college.svg";
3528 set icon_z17;
3529}
3530node[amenity=kindergarten] {
3531 icon-image: "presets/education/kindergarten.svg";
3532 set icon_z17;
3533}
3534node[amenity=language_school] {
3535 icon-image: "presets/education/language_school.svg";
3536 set icon_z17;
3537}
3538node[amenity=driving_school],
3539node[amenity=driver_training] {
3540 icon-image: "presets/education/driving_school.svg";
3541 set icon_z17;
3542}
3543node[amenity=music_school] {
3544 icon-image: "presets/education/music_school.svg";
3545 set icon_z17;
3546}
3547area[amenity=pharmacy],
3548area[amenity=hospital],
3549area[amenity=clinic],
3550area[amenity=nursing_home],
3551area[amenity=social_facility],
3552area[amenity=baby_hatch],
3553area[amenity=doctors],
3554area[amenity=dentist],
3555area[amenity=animal_shelter],
3556area[amenity=veterinary] {
3557 fill-color: health#eeeeee;
3558}
3559node[amenity=pharmacy] {
3560 icon-image: "presets/health/pharmacy.svg";
3561 set icon_z17;
3562}
3563node[amenity=hospital] {
3564 icon-image: "presets/health/hospital.svg";
3565 set icon_z17;
3566}
3567node[amenity=clinic] {
3568 icon-image: "presets/health/clinic.svg";
3569 set icon_z17;
3570}
3571node[amenity=social_facility][social_facility=nursing_home],
3572node[amenity=nursing_home] {
3573 icon-image: "presets/social_facility/nursing_home.svg";
3574 set icon_z17;
3575}
3576node[amenity=social_facility][social_facility=group_home] {
3577 icon-image: "presets/social_facility/group_home.svg";
3578 set icon_z17;
3579}
3580node[amenity=social_facility][social_facility=assisted_living] {
3581 icon-image: "presets/social_facility/assisted_living.svg";
3582 set icon_z17;
3583}
3584node[amenity=social_facility][social_facility=outreach] {
3585 icon-image: "presets/social_facility/outreach.svg";
3586 set icon_z17;
3587}
3588node[amenity=social_facility][social_facility=shelter] {
3589 icon-image: "presets/social_facility/shelter.svg";
3590 set icon_z17;
3591}
3592node[amenity=social_facility][social_facility=food_bank] {
3593 icon-image: "presets/social_facility/food_bank.svg";
3594 set icon_z17;
3595}
3596node[amenity=baby_hatch] {
3597 icon-image: "presets/health/baby_hatch.svg";
3598 set icon_z17;
3599}
3600node[amenity=doctors] {
3601 icon-image: "presets/health/doctors.svg";
3602 set icon_z17;
3603}
3604node[amenity=dentist] {
3605 icon-image: "presets/health/dentist.svg";
3606 set icon_z17;
3607}
3608node[amenity=animal_shelter] {
3609 icon-image: "presets/health/animal_shelter.svg";
3610 set icon_z17;
3611}
3612node[amenity=veterinary] {
3613 icon-image: "presets/health/veterinary.svg";
3614 set icon_z17;
3615}
3616area[amenity=library],
3617area[amenity=public_bookcase],
3618area[amenity=police],
3619area[amenity=ranger_station],
3620area[amenity=fire_station],
3621area[amenity=bus_station],
3622area[amenity=ferry_terminal],
3623area[amenity=theatre],
3624area[amenity=cinema],
3625area[amenity=dive_centre],
3626area[amenity=public_bath],
3627area[amenity=arts_centre],
3628area[amenity=courthouse],
3629area[amenity=prison],
3630area[amenity=bank],
3631area[amenity=bureau_de_change],
3632area[amenity=money_transfer],
3633area[amenity=bbq],
3634area[amenity=watering_place] {
3635 fill-color: amenity_light#f7efb7;
3636}
3637node[amenity=library] {
3638 icon-image: "presets/education/library.svg";
3639 set icon_z17;
3640}
3641node[amenity=public_bookcase] {
3642 icon-image: "presets/education/public_bookcase.svg";
3643 set icon_z17;
3644}
3645node[amenity=police] {
3646 icon-image: "presets/service/police.svg";
3647 set icon_z17;
3648}
3649node[amenity=ranger_station] {
3650 icon-image: "presets/service/ranger_station.svg";
3651 set icon_z17;
3652}
3653node[amenity=fire_station] {
3654 icon-image: "presets/service/firebrigade.svg";
3655 set icon_z17;
3656}
3657node[amenity=bus_station] {
3658 icon-image: "presets/transport/bus_old.svg";
3659 set icon_z17;
3660}
3661node[amenity=ferry_terminal] {
3662 icon-image: "presets/nautical/ferry.svg";
3663 set icon_z17;
3664}
3665node[amenity=theatre] {
3666 icon-image: "presets/leisure/theater.svg";
3667 set icon_z17;
3668}
3669node[amenity=cinema] {
3670 icon-image: "presets/leisure/cinema.svg";
3671 set icon_z17;
3672}
3673node[amenity=dive_centre] {
3674 icon-image: "presets/leisure/dive_centre.svg";
3675 set icon_z17;
3676}
3677node[amenity=public_bath] {
3678 icon-image: "presets/leisure/public_bath.svg";
3679 set icon_z17;
3680}
3681node[amenity=arts_centre] {
3682 icon-image: "presets/sightseeing/arts_centre.svg";
3683 set icon_z17;
3684}
3685node[amenity=courthouse] {
3686 icon-image: "presets/service/courthouse.svg";
3687 set icon_z17;
3688}
3689node[amenity=prison] {
3690 icon-image: "presets/service/prison.svg";
3691 set icon_z17;
3692}
3693node[amenity=bank] {
3694 icon-image: "presets/money/bank.svg";
3695 set icon_z17;
3696}
3697node[amenity=bureau_de_change] {
3698 icon-image: "presets/money/exchange.svg";
3699 set icon_z17;
3700}
3701node[amenity=money_transfer] {
3702 icon-image: "presets/money/money_transfer.svg";
3703 set icon_z17;
3704}
3705node[amenity=atm] {
3706 icon-image: "presets/money/atm.svg";
3707 set icon_z17;
3708}
3709way[amenity=bench] {
3710 width: 2;
3711 color: amenity_light#f7efb7;
3712}
3713node[amenity=bench] {
3714 icon-image: "presets/leisure/bench.svg";
3715 set icon_z17;
3716}
3717node[amenity=bbq] {
3718 icon-image: "presets/leisure/bbq.svg";
3719 set icon_z17;
3720}
3721node[amenity=compressed_air] {
3722 icon-image: "presets/vehicle/compressed_air.svg";
3723 set icon_z17;
3724}
3725node[amenity=watering_place] {
3726 icon-image: "presets/misc/watering_place.svg";
3727 set icon_z17;
3728}
3729area[amenity=shelter],
3730area[amenity=marketplace],
3731area[amenity=wlan] {
3732 fill-color: amenity_light#f7efb7;
3733}
3734node[amenity=shelter] {
3735 icon-image: "presets/accommodation/shelter.svg";
3736 set icon_z17;
3737}
3738node[amenity=shelter][shelter_type=public_transport] {
3739 icon-image: "presets/accommodation/shelter_public_transport.svg";
3740 set icon_z17;
3741}
3742node[amenity=shelter][shelter_type=picnic_shelter] {
3743 icon-image: "presets/accommodation/shelter_picnic.svg";
3744 set icon_z17;
3745}
3746node[amenity=shelter][shelter_type=basic_hut] {
3747 icon-image: "presets/accommodation/basic_hut.svg";
3748 set icon_z17;
3749}
3750node[amenity=shelter][shelter_type=gazebo] {
3751 icon-image: "presets/accommodation/gazebo.svg";
3752 set icon_z17;
3753}
3754node[amenity=shelter][shelter_type=lean_to] {
3755 icon-image: "presets/accommodation/shelter_lean_to.svg";
3756 set icon_z17;
3757}
3758node[amenity=hunting_stand] {
3759 icon-image: "presets/landmark/hunting_stand.svg";
3760 set icon_z17;
3761}
3762node[amenity=marketplace] {
3763 icon-image: "presets/shop/marketplace.svg";
3764 set icon_z17;
3765}
3766node[amenity=vending_machine] {
3767 icon-image: "presets/transport/ticket-machine.svg";
3768 set icon_z17;
3769}
3770node[vending=excrement_bags] {
3771 icon-image: "presets/service/excrement_bags.svg";
3772 set icon_z17;
3773}
3774node[amenity=parcel_locker] {
3775 icon-image: "presets/service/parcel_locker.svg";
3776 set icon_z17;
3777}
3778area[amenity=parcel_locker] {
3779 fill-color: parcel_locker#734a08;
3780}
3781
3782/**************/
3783/* craft tags */
3784/**************/
3785
3786area[craft=carpenter],
3787area[craft=shoemaker],
3788area[craft=photographer],
3789area[craft=metal_construction],
3790area[craft=electrician],
3791area[craft=electronics_repair],
3792area[craft=brewery],
3793area[craft=plumber],
3794area[craft=sawmill],
3795area[craft=gardener],
3796area[craft=winery],
3797area[craft=hvac],
3798area[craft=painter],
3799area[craft=stonemason],
3800area[craft=handicraft],
3801area[craft=pottery],
3802area[craft=key_cutter],
3803area[craft=caterer],
3804area[craft=roofer],
3805area[craft=beekeeper],
3806area[craft=blacksmith],
3807area[craft=locksmith],
3808area[craft=window_construction],
3809area[craft=upholsterer],
3810area[craft=tiler] {
3811 fill-color: craft#999900;
3812}
3813node[craft=carpenter] {
3814 icon-image: "presets/craft/carpenter.svg";
3815 set icon_z17;
3816}
3817node[craft=shoemaker] {
3818 icon-image: "presets/craft/shoemaker.svg";
3819 set icon_z17;
3820}
3821node[craft=photographer] {
3822 icon-image: "presets/craft/photographer.svg";
3823 set icon_z17;
3824}
3825node[craft=metal_construction] {
3826 icon-image: "presets/craft/metal_construction.svg";
3827 set icon_z17;
3828}
3829node[craft=electrician] {
3830 icon-image: "presets/craft/electrician.svg";
3831 set icon_z17;
3832}
3833node[craft=electronics_repair] {
3834 icon-image: "presets/craft/electronics_repair.svg";
3835 set icon_z17;
3836}
3837node[craft=brewery] {
3838 icon-image: "presets/craft/brewery.svg";
3839 set icon_z17;
3840}
3841node[craft=plumber] {
3842 icon-image: "presets/craft/plumber.svg";
3843 set icon_z17;
3844}
3845node[craft=sawmill] {
3846 icon-image: "presets/craft/sawmill.svg";
3847 set icon_z17;
3848}
3849node[craft=gardener] {
3850 icon-image: "presets/craft/gardener.svg";
3851 set icon_z17;
3852}
3853node[craft=winery] {
3854 icon-image: "presets/craft/winery.svg";
3855 set icon_z17;
3856}
3857node[craft=hvac] {
3858 icon-image: "presets/craft/hvac.svg";
3859 set icon_z17;
3860}
3861node[craft=painter] {
3862 icon-image: "presets/craft/painter.svg";
3863 set icon_z17;
3864}
3865node[craft=stonemason] {
3866 icon-image: "presets/craft/stonemason.svg";
3867 set icon_z17;
3868}
3869node[craft=handicraft] {
3870 icon-image: "presets/craft/handicraft.svg";
3871 set icon_z17;
3872}
3873node[craft=pottery] {
3874 icon-image: "presets/craft/pottery.svg";
3875 set icon_z17;
3876}
3877node[craft=key_cutter] {
3878 icon-image: "presets/craft/key_cutter.svg";
3879 set icon_z17;
3880}
3881node[craft=caterer] {
3882 icon-image: "presets/craft/caterer.svg";
3883 set icon_z17;
3884}
3885node[craft=roofer] {
3886 icon-image: "presets/craft/roofer.svg";
3887 set icon_z17;
3888}
3889node[craft=beekeeper] {
3890 icon-image: "presets/craft/beekeeper.svg";
3891 set icon_z17;
3892}
3893node[craft=blacksmith] {
3894 icon-image: "presets/craft/blacksmith.svg";
3895 set icon_z17;
3896}
3897node[craft=locksmith] {
3898 icon-image: "presets/craft/locksmith.svg";
3899 set icon_z17;
3900}
3901node[craft=window_construction] {
3902 icon-image: "presets/craft/window_construction.svg";
3903 set icon_z17;
3904}
3905node[craft=upholsterer] {
3906 icon-image: "presets/craft/upholsterer.svg";
3907 set icon_z17;
3908}
3909node[craft=tiler] {
3910 icon-image: "presets/craft/tiler.svg";
3911 set icon_z17;
3912}
3913
3914/****************/
3915/* tourism tags */
3916/****************/
3917
3918area[tourism=hotel],
3919area[tourism=motel],
3920area[tourism=guest_house],
3921area[tourism=apartment],
3922area[tourism=hostel],
3923area[tourism=chalet],
3924area[tourism=alpine_hut],
3925area[tourism=wilderness_hut],
3926area[tourism=camp_site],
3927area[tourism=camp_pitch],
3928area[tourism=caravan_site] {
3929 fill-color: hotel#feced0;
3930}
3931node[tourism=hotel] {
3932 icon-image: "presets/accommodation/hotel.svg";
3933 set icon_z17;
3934}
3935node[tourism=motel] {
3936 icon-image: "presets/accommodation/motel.svg";
3937 set icon_z17;
3938}
3939node[tourism=guest_house] {
3940 icon-image: "presets/accommodation/guest_house.svg";
3941 set icon_z17;
3942}
3943node[tourism=apartment] {
3944 icon-image: "presets/accommodation/apartment.svg";
3945 set icon_z17;
3946}
3947node[tourism=hostel] {
3948 icon-image: "presets/accommodation/hostel.svg";
3949 set icon_z17;
3950}
3951node[tourism=chalet] {
3952 icon-image: "presets/accommodation/chalet.svg";
3953 set icon_z17;
3954}
3955node[tourism=alpine_hut] {
3956 icon-image: "presets/accommodation/alpine_hut.svg";
3957 set icon_z17;
3958}
3959node[tourism=wilderness_hut] {
3960 icon-image: "presets/accommodation/wilderness_hut.svg";
3961 set icon_z17;
3962}
3963node[tourism=camp_site] {
3964 icon-image: "presets/accommodation/camping.svg";
3965 set icon_z17;
3966}
3967node[tourism=camp_pitch] {
3968 icon-image: "presets/accommodation/camp_pitch.svg";
3969 set icon_z17;
3970}
3971node[tourism=caravan_site] {
3972 icon-image: "presets/accommodation/caravan.svg";
3973 set icon_z17;
3974}
3975area[tourism=attraction]:closed {
3976 fill-color: tourism#e180a2;
3977}
3978way[tourism=attraction] {
3979 width: 2;
3980 color: tourism#e180a2;
3981}
3982node[tourism=attraction] {
3983 icon-image: "presets/sightseeing/attraction.svg";
3984 set icon_z17;
3985}
3986area[tourism=picnic_site],
3987area[tourism=viewpoint],
3988area[tourism=theme_park],
3989area[tourism=zoo],
3990area[tourism=gallery],
3991area[tourism=museum] {
3992 fill-color: tourism#e180a2;
3993}
3994node[tourism=picnic_site] {
3995 icon-image: "presets/leisure/picnic.svg";
3996 set icon_z17;
3997}
3998node[tourism=viewpoint] {
3999 icon-image: "presets/sightseeing/viewpoint.svg";
4000 set icon_z17;
4001}
4002node[tourism=theme_park] {
4003 icon-image: "presets/leisure/theme_park.svg";
4004 set icon_z17;
4005}
4006node[tourism=zoo] {
4007 icon-image: "presets/leisure/zoo.svg";
4008 set icon_z17;
4009}
4010area[tourism=artwork]:closed {
4011 fill-color: tourism#e180a2;
4012}
4013way[tourism=artwork] {
4014 width: 2;
4015 color: tourism#e180a2;
4016}
4017node[tourism=artwork] {
4018 icon-image: "presets/sightseeing/arts_centre.svg";
4019 set icon_z17;
4020}
4021node[tourism=gallery] {
4022 icon-image: "presets/sightseeing/gallery.svg";
4023 set icon_z17;
4024}
4025node[tourism=museum] {
4026 icon-image: "presets/sightseeing/museum.svg";
4027 set icon_z17;
4028}
4029
4030/********************/
4031/* attraction tags */
4032/********************/
4033
4034area[attraction=animal] {
4035 fill-color: attraction#ffbfd3;
4036 color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
4037}
4038node[attraction=animal] {
4039 icon-image: "presets/attraction/animal.svg";
4040 set icon_z17;
4041}
4042way[attraction=water_slide] {
4043 width: 2;
4044 color: attraction#ffbfd3;
4045}
4046node[attraction=water_slide] {
4047 icon-image: "presets/attraction/water_slide.svg";
4048 set icon_z17;
4049}
4050
4051/********************/
4052/* information tags */
4053/********************/
4054
4055area[tourism=information] {
4056 fill-color: tourism#e180a2;
4057}
4058node[tourism=information] {
4059 icon-image: "presets/misc/information/information.svg";
4060 set icon_z17;
4061}
4062node[tourism=information][information=guidepost] {
4063 icon-image: "presets/misc/information/guidepost.svg";
4064 set icon_z17;
4065}
4066node[tourism=information][information=route_marker] {
4067 icon-image: "presets/misc/information/route_marker.svg";
4068 set icon_z17;
4069}
4070node[tourism=information][information=audioguide] {
4071 icon-image: "presets/misc/information/audioguide.svg";
4072 set icon_z17;
4073}
4074area[tourism=information][information=office] {
4075 fill-color: tourism#e180a2;
4076}
4077node[tourism=information][information=office] {
4078 icon-image: "presets/misc/information/informationoffice.svg";
4079 set icon_z17;
4080}
4081node[tourism=information][information=map] {
4082 icon-image: "presets/misc/information/map.svg";
4083 set icon_z17;
4084}
4085node[tourism=information][information=board] {
4086 icon-image: "presets/misc/information/board.svg";
4087 set icon_z17;
4088}
4089
4090/*****************/
4091/* historic tags */
4092/*****************/
4093
4094area[historic=castle],
4095area[historic=fort],
4096area[historic=monument],
4097area[historic=memorial],
4098area[historic=tomb],
4099area[historic=archaeological_site],
4100area[historic=ruins],
4101area[historic=battlefield],
4102area[geological=palaeontological_site],
4103area[historic=city_gate],
4104area[historic=manor],
4105area[historic=church],
4106area[historic=monastery],
4107area[historic=charcoal_pile],
4108area[historic=mine],
4109area[historic=mine_shaft],
4110area[historic=shieling],
4111area[historic=wayside_cross],
4112area[historic=wayside_shrine],
4113area[historic=boundary_stone],
4114area[historic=milestone] {
4115 fill-color: historic#663300;
4116}
4117node[historic=fort] {
4118 icon-image: "presets/sightseeing/fort.svg";
4119 set icon_z17;
4120}
4121node[historic=castle] {
4122 icon-image: "presets/sightseeing/castle.svg";
4123 set icon_z17;
4124}
4125node[historic=monument] {
4126 icon-image: "presets/sightseeing/monument.svg";
4127 set icon_z17;
4128}
4129node[historic=memorial] {
4130 icon-image: "presets/sightseeing/memorial.svg";
4131 set icon_z17;
4132}
4133node[historic=archaeological_site] {
4134 icon-image: "presets/sightseeing/archaeological.svg";
4135 set icon_z17;
4136}
4137node[historic=ruins] {
4138 icon-image: "presets/sightseeing/ruins.svg";
4139 set icon_z17;
4140}
4141node[historic=battlefield] {
4142 icon-image: "presets/sightseeing/battlefield.svg";
4143 set icon_z17;
4144}
4145node[geological=palaeontological_site] {
4146 icon-image: "presets/sightseeing/palaeontological_site.svg";
4147 set icon_z17;
4148}
4149area[historic=citywalls]:closed {
4150 fill-color: historic#663300;
4151}
4152way[historic=citywalls] {
4153 width: 2;
4154 color: historic#663300;
4155}
4156node[historic=city_gate] {
4157 icon-image: "presets/sightseeing/city_gate.svg";
4158 set icon_z17;
4159}
4160node[historic=manor] {
4161 icon-image: "presets/sightseeing/manor.svg";
4162 set icon_z17;
4163}
4164node[historic=church] {
4165 icon-image: "presets/religion/historic_church.svg";
4166 set icon_z17;
4167}
4168node[historic=monastery] {
4169 icon-image: "presets/sightseeing/monastery.svg";
4170 set icon_z17;
4171}
4172node[historic=charcoal_pile] {
4173 icon-image: "presets/misc/charcoal_pile.svg";
4174 set icon_z17;
4175}
4176node[historic=mine],
4177node[historic=mine_shaft] {
4178 icon-image: "presets/landmark/historic_mine.svg";
4179 set icon_z17;
4180}
4181node[historic=shieling] {
4182 icon-image: "presets/landmark/shieling.svg";
4183 set icon_z17;
4184}
4185node[historic=wayside_cross] {
4186 icon-image: "presets/religion/wayside_cross.svg";
4187 set icon_z17;
4188}
4189node[historic=wayside_shrine] {
4190 icon-image: "presets/religion/wayside_shrine.svg";
4191 set icon_z17;
4192}
4193node[historic=boundary_stone] {
4194 icon-image: "presets/landmark/boundary_stone.svg";
4195 set icon_z17;
4196}
4197node[historic=milestone] {
4198 icon-image: "presets/landmark/milestone.svg";
4199 set icon_z17;
4200}
4201area[cemetery=grave] {
4202 fill-color: grave#663300;
4203}
4204node[cemetery=grave] {
4205 icon-image: "presets/misc/grave.svg";
4206 set icon_z17;
4207}
4208area[cemetery=sector] {
4209 fill-color: cemetery_sector#dbf8e6;
4210}
4211node[cemetery=sector] {
4212 icon-image: "presets/misc/cemetery_sector.svg";
4213 set icon_z17;
4214}
4215node[historic=tomb] {
4216 icon-image: "presets/misc/tomb.svg";
4217 set icon_z17;
4218}
4219
4220/****************/
4221/* landuse tags */
4222/****************/
4223
4224area[landuse],
4225area[leisure],
4226area[amenity],
4227area[place],
4228area[natural],
4229area[man_made] {
4230 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
4231}
4232area[landuse=farmland] {
4233 fill-color: farmland#b8e0b1;
4234}
4235area[landuse=meadow] {
4236 fill-color: meadow#b1e0b6;
4237}
4238area[landuse=vineyard],
4239area[landuse=orchard] {
4240 fill-color: green#b1e0c2;
4241}
4242area[landuse=quarry] {
4243 fill-color: quarry#a6945b;
4244}
4245area[landuse=landfill] {
4246 fill-color: landfill#663300;
4247}
4248area[landuse=basin],
4249area[landuse=reservoir],
4250area[natural=water][water=reservoir] {
4251 fill-color: basin#0000bf;
4252}
4253area[man_made=tailings_pond] {
4254 fill-color:tailings_pond#af0073;
4255}
4256area[landuse=forest] {
4257 fill-color: forest#b1efc8;
4258}
4259area[landuse=allotments] {
4260 fill-color: allotments#5dbf80;
4261}
4262area[landuse=greenhouse_horticulture],
4263area[landuse=plant_nursery] {
4264 fill-color: green#b1e0c2;
4265}
4266area[landuse=salt_pond] {
4267 fill-color: salt_pond#eeeeee;
4268}
4269area[landuse=aquaculture] {
4270 fill-color: aquaculture#189dff;
4271}
4272area[landuse=flowerbed] {
4273 fill-color: flowerbed#91c956;
4274}
4275area[landuse=grass] {
4276 fill-color: grass#97ca96;
4277}
4278area[landuse=residential] {
4279 fill-color: residential#f0f0f0;
4280}
4281area[landuse=garages] {
4282 fill-color: garages#d6c8aa;
4283}
4284area[landuse=farmyard] {
4285 fill-color: farmyard#f0f0f0;
4286}
4287area[landuse=education] {
4288 fill-color: education#f7efb7;
4289}
4290area[landuse=retail] {
4291 fill-color: retail#ffc4ee;
4292}
4293area[landuse=commercial] {
4294 fill-color: commercial#ffc4ee;
4295}
4296area[landuse=industrial] {
4297 fill-color: industrial#ecd8ff;
4298}
4299area[landuse=brownfield] {
4300 fill-color: brownfield#ecba32;
4301}
4302area[landuse=greenfield] {
4303 fill-color: greenfield#b1ec5c;
4304}
4305area[landuse=railway] {
4306 fill-color: railland#80654e;
4307}
4308area[landuse=construction] {
4309 fill-color: construction#ffff00;
4310 width: 1;
4311 dashes: 9,9;
4312}
4313area[landuse=military] {
4314 fill-color: military#b62c2c;
4315}
4316area[landuse=religious] {
4317 fill-color: religious#ffd454;
4318}
4319area[landuse=cemetery] {
4320 fill-color: cemetery#b1efc8;
4321}
4322area[landuse=village_green] {
4323 fill-color: green#b1e0c2;
4324}
4325area[landuse=recreation_ground] {
4326 fill-color: green#b1e0c2;
4327}
4328node[landuse] {
4329 icon-image: "presets/misc/deprecated.svg";
4330 set icon_z17;
4331}
4332
4333/*****************/
4334/* military tags */
4335/*****************/
4336
4337area[military=airfield],
4338area[military=bunker],
4339area[military=barracks],
4340area[military=danger_area],
4341area[military=range] {
4342 fill-color: military#b62c2c;
4343}
4344node[military=airfield] {
4345 icon-image: "presets/transport/airport/airfield.svg";
4346 set icon_z17;
4347}
4348node[military=bunker] {
4349 icon-image: "presets/landmark/bunker.svg";
4350 set icon_z17;
4351}
4352node[military=barracks][!is_prop_set(icon-image)] {
4353 icon-image: "presets/misc/no_icon.svg";
4354 set icon_z17;
4355}
4356node[military=danger_area] {
4357 icon-image: "presets/misc/danger.svg";
4358 set icon_z17;
4359}
4360node[military=range] {
4361 icon-image: "presets/sport/range.svg";
4362 set icon_z17;
4363}
4364
4365/****************/
4366/* railway tags */
4367/****************/
4368
4369area[railway=station] {
4370 fill-color: railwaypoint#f7efb7;
4371}
4372node[railway=station] {
4373 icon-image: "presets/transport/railway_station.svg";
4374 set icon_z17;
4375}
4376node[railway=halt] {
4377 icon-image: "presets/transport/railway_halt.svg";
4378 set icon_z17;
4379}
4380node[railway=tram_stop] {
4381 icon-image: "presets/transport/tram.svg";
4382 set icon_z17;
4383}
4384node[railway=subway_entrance] {
4385 icon-image: "presets/transport/underground.svg";
4386 set icon_z17;
4387}
4388node[railway=crossing] {
4389 icon-image: "presets/transport/railway/crossing.svg";
4390 set icon_z17;
4391}
4392node[railway=level_crossing] {
4393 icon-image: "presets/transport/railway/level_crossing.svg";
4394 set icon_z17;
4395}
4396way[railway=rail] {
4397 width: 2;
4398 color: rail#404040;
4399 dashes: 9,9;
4400 dashes-background-color: raildashed#ffffff;
4401}
4402way[railway=rail][service=crossover],
4403way[railway=rail][service=siding] {
4404 width: 1;
4405}
4406way[railway=rail][service=yard],
4407way[railway=rail][service=spur] {
4408 width: 1;
4409 color: railyard#552200;
4410}
4411/* draw tram and light_rail on top of other way (highway=*) or
4412 as a standalone style */
4413way[highway][railway=tram]::core_railway,
4414way[!highway][railway=tram] {
4415 z-index: 1;
4416 modifier: false; /* don't draw default way if there is no line on default layer */
4417 width: 1;
4418 color: railover#202020;
4419 dashes: 9,9;
4420 casing-width: 1;
4421 casing-color: otherrail#808080;
4422 casing-linecap: round;
4423 casing-dashes: 9,9;
4424}
4425way[highway][railway=tram][service=crossover]::core_railway,
4426way[!highway][railway=tram][service=crossover],
4427way[highway][railway=tram][service=siding]::core_railway,
4428way[!highway][railway=tram][service=siding],
4429way[highway][railway=tram][service=yard]::core_railway,
4430way[!highway][railway=tram][service=yard],
4431way[highway][railway=tram][service=spur]::core_railway,
4432way[!highway][railway=tram][service=spur] {
4433 dashes: 6,6;
4434 casing-dashes: 6,6;
4435}
4436
4437way[highway][railway=light_rail]::core_railway,
4438way[!highway][railway=light_rail] {
4439 z-index: 1;
4440 modifier: false; /* don't draw default way if there is no line on default layer */
4441 width: 2;
4442 color: otherrail#808080;
4443 dashes: 9,9;
4444}
4445way[railway=subway] {
4446 width: 1;
4447 color: subway#606060;
4448 dashes: 9,9;
4449}
4450way[railway=preserved] {
4451 width: 1;
4452 color: oldrail#404040;
4453 dashes: 9,9;
4454}
4455way[railway=light_rail][service=crossover],
4456way[railway=light_rail][service=siding],
4457way[railway=light_rail][service=yard],
4458way[railway=light_rail][service=spur],
4459way[railway=subway][service=crossover],
4460way[railway=subway][service=siding],
4461way[railway=subway][service=yard],
4462way[railway=subway][service=spur],
4463way[railway=preserved][service=crossover],
4464way[railway=preserved][service=siding],
4465way[railway=preserved][service=yard],
4466way[railway=preserved][service=spur] {
4467 dashes: 6,6;
4468}
4469/* disused often appears together with highway=xy */
4470/* -> draw on separate layer with higher z-index, but use */
4471/* modifier: false; to suppress default line when used alone. */
4472/* use default layer when used without highway=* to display bridge correctly */
4473way[railway=disused][highway]::core_railway,
4474way[railway=disused][!highway],
4475way[railway=abandoned][highway]::core_railway,
4476way[railway=abandoned][!highway] {
4477 width: 1;
4478 modifier: false;
4479 z-index: 1;
4480 color: oldrail#404040;
4481 dashes: 9,9;
4482}
4483way[railway=narrow_gauge],
4484way[railway=monorail] {
4485 width: 1;
4486 color: rail#404040;
4487 dashes: 9,9;
4488}
4489way[railway=narrow_gauge][service=crossover],
4490way[railway=narrow_gauge][service=siding],
4491way[railway=narrow_gauge][service=yard],
4492way[railway=narrow_gauge][service=spur],
4493way[railway=monorail][service=crossover],
4494way[railway=monorail][service=siding],
4495way[railway=monorail][service=yard],
4496way[railway=monorail][service=spur] {
4497 dashes: 6,6;
4498}
4499area[railway=turntable] {
4500 fill-color: rail#404040;
4501}
4502node[railway=turntable] {
4503 icon-image: "presets/transport/railway/turntable.svg";
4504 set icon_z17;
4505}
4506node[railway=buffer_stop] {
4507 icon-image: "presets/transport/railway/buffer_stop.svg";
4508 set icon_z17;
4509}
4510area[railway=platform]:closed {
4511 fill-color: rail#404040;
4512}
4513way[railway=platform] {
4514 width: 2;
4515 color: rail#404040;
4516}
4517way[railway=funicular] {
4518 width: 1;
4519 color: rail#404040;
4520 dashes: 9,9;
4521}
4522node[railway=switch] {
4523 icon-image: "presets/transport/railway/switch.svg";
4524 set icon_z17;
4525}
4526node[railway=railway_crossing] {
4527 icon-image: "presets/transport/railway/railway_crossing.svg";
4528 set icon_z17;
4529}
4530node[railway=signal] {
4531 icon-image: "presets/transport/railway/signal.svg";
4532 set icon_z17;
4533}
4534node[railway=milestone] {
4535 icon-image: "presets/transport/railway/milestone.svg";
4536 set icon_z17;
4537}
4538node[railway=rail], node[railway=tram], node[railway=light_rail],
4539node[railway=subway], node[railway=preserved],
4540node[railway=disused], node[railway=abandoned],
4541node[railway=narrow_gauge], node[railway=monorail],
4542node[railway=platform], node[railway=funicular],
4543node[service=yard], node[service=siding], node[service=spur] {
4544 icon-image: "presets/misc/deprecated.svg";
4545 set icon_z17;
4546}
4547way[railway=construction][!highway] {
4548 width: 1;
4549 color: construction#ffff00;
4550 dashes: 9,9;
4551}
4552way[railway=construction][construction=rail] {
4553 width: 2;
4554 color: rail#404040;
4555 dashes: 9,9;
4556 dashes-background-color: construction#ffff00;
4557}
4558way[railway=construction][construction=light_rail][highway]::core_railway,
4559way[railway=construction][construction=light_rail][!highway] {
4560 z-index: 1;
4561 width: 2;
4562 dashes: 9,9;
4563 color: construction#ffff00;
4564}
4565way[railway=construction][construction=tram][highway]::core_railway,
4566way[railway=construction][construction=tram][!highway] {
4567 z-index: 1;
4568 width: 1;
4569 color: railover#202020;
4570 dashes: 9,9;
4571 casing-width: 1;
4572 casing-color: construction#ffff00;
4573 casing-linecap: round;
4574 casing-dashes: 9,9;
4575}
4576
4577/****************/
4578/* aeroway tags */
4579/****************/
4580
4581area[aeroway=aerodrome] {
4582 fill-color: aeroway#660000;
4583 width: 2;
4584 dashes: 9,9;
4585}
4586node[aeroway=aerodrome][military!=airfield] {
4587 icon-image: "presets/transport/airport.svg";
4588 set icon_z17;
4589}
4590area[aeroway=terminal] {
4591 fill-color: terminal#bb0000;
4592}
4593node[aeroway=terminal] {
4594 icon-image: "presets/transport/airport/terminal.svg";
4595 set icon_z17;
4596}
4597area[aeroway=helipad] {
4598 fill-color: aeroway_dark#330000;
4599}
4600node[aeroway=helipad] {
4601 icon-image: "presets/transport/airport/helipad.svg";
4602 set icon_z17;
4603}
4604area[aeroway=runway]:closed {
4605 fill-color: aeroway_dark#330000;
4606}
4607way[aeroway=runway] {
4608 width: 3;
4609 color: aeroway_dark#330000;
4610}
4611area[aeroway=taxiway]:closed {
4612 fill-color: aeroway#660000;
4613}
4614way[aeroway=taxiway] {
4615 width: 2;
4616 color: aeroway#660000;
4617}
4618way[aeroway=parking_position] {
4619 width: 1;
4620 color: aeroway#660000;
4621}
4622node[aeroway=parking_position] {
4623 icon-image: "presets/transport/airport/parking_position.svg";
4624 set icon_z17;
4625}
4626area[aeroway=apron],
4627area[aeroway=hangar] {
4628 fill-color: aeroway_light#990000;
4629}
4630node[aeroway=apron],
4631node[aeroway=runway],
4632node[aeroway=taxiway] {
4633 icon-image: "presets/misc/deprecated.svg";
4634 set icon_z17;
4635}
4636node[aeroway=holding_position] {
4637 icon-image: "presets/transport/airport/holding_position.svg";
4638 set icon_z17;
4639}
4640way[aeroway=holding_position] {
4641 width: 1;
4642 color: aeroway_marking#D6CE08;
4643}
4644node[aeroway=hangar] {
4645 icon-image: "presets/transport/airport/hangar.svg";
4646 set icon_z17;
4647}
4648node[aeroway=gate] {
4649 icon-image: "presets/transport/airport/gate.svg";
4650 set icon_z17;
4651}
4652node[airmark=beacon] {
4653 icon-image: "presets/transport/airport/airmark_beacon.svg";
4654 set icon_z17;
4655}
4656node[aeroway=navigationaid] {
4657 icon-image: "presets/transport/airport/navigationaid.svg";
4658 set icon_z17;
4659}
4660node[aeroway=navigationaid][navigationaid=papi] {
4661 icon-image: "presets/transport/airport/papi.svg";
4662 set icon_z17;
4663}
4664node[aeroway=navigationaid][navigationaid=vasi] {
4665 icon-image: "presets/transport/airport/vasi.svg";
4666 set icon_z17;
4667}
4668node[aeroway=windsock] {
4669 icon-image: "presets/transport/airport/windsock.svg";
4670 set icon_z17;
4671}
4672
4673/******************/
4674/* aerialway tags */
4675/******************/
4676
4677way[aerialway=cable_car],
4678way[aerialway=gondola] {
4679 width: 1;
4680 color: aerialway#663300;
4681 dashes: 9,9;
4682}
4683way[aerialway=chair_lift] {
4684 width: 1;
4685 color: aerialway#663300;
4686 dashes: 6,6;
4687}
4688way[aerialway=mixed_lift] {
4689 width: 1;
4690 color: aerialway#663300;
4691 dashes: 6,6,9,6;
4692}
4693way[aerialway=j-bar],
4694way[aerialway=t-bar],
4695way[aerialway=platter],
4696way[aerialway=rope_tow],
4697way[aerialway=drag_lift] {
4698 width: 1;
4699 color: aerialway#663300;
4700 dashes: 3,3;
4701}
4702way[aerialway=magic_carpet] {
4703 width: 1;
4704 color: aerialway#663300;
4705 dashes: 3,3;
4706}
4707way[aerialway=goods] {
4708 width: 1;
4709 color: aerialway#663300;
4710 dashes: 2,2;
4711}
4712way[aerialway=zip_line] {
4713 width: 1;
4714 color: aerialway#663300;
4715 dashes: 3,3;
4716}
4717area[aerialway=station] {
4718 fill-color: aerialway#663300;
4719}
4720node[aerialway=station] {
4721 icon-image: "presets/transport/aerialway/station.svg";
4722 set icon_z17;
4723}
4724node[aerialway=pylon] {
4725 icon-image: "presets/transport/aerialway/pylon.svg";
4726 set icon_z17;
4727}
4728node[aerialway=cable_car],
4729node[aerialway=gondola],
4730node[aerialway=chair_lift],
4731node[aerialway=mixed_lift],
4732node[aerialway=drag_lift],
4733node[aerialway=t-bar],
4734node[aerialway=j-bar],
4735node[aerialway=platter],
4736node[aerialway=magic_carpet],
4737node[aerialway=rope_tow],
4738node[aerialway=goods],
4739node[aerialway=zip_line] {
4740 icon-image: "presets/misc/deprecated.svg";
4741 set icon_z17;
4742}
4743
4744/*************************/
4745/* public_transport tags */
4746/*************************/
4747
4748node[highway=bus_stop] {
4749 icon-image: "presets/transport/bus_small.svg";
4750 set icon_z17;
4751}
4752node[public_transport=stop_position] {
4753 icon-image: "presets/transport/stop_position.svg";
4754 set icon_z17;
4755}
4756node[public_transport=stop_position][share_taxi=yes] {
4757 icon-image: "presets/transport/share_taxi.svg";
4758 set icon_z17;
4759}
4760node[public_transport=stop_position][bus=yes] {
4761 icon-image: "presets/transport/bus.svg";
4762 set icon_z17;
4763}
4764node[public_transport=stop_position][train=yes] {
4765 icon-image: "presets/transport/train.svg";
4766 set icon_z17;
4767}
4768node[public_transport=stop_position][light_rail=yes] {
4769 icon-image: "presets/transport/railway/light_rail.svg";
4770 set icon_z17;
4771}
4772node[public_transport=stop_position][tram=yes] {
4773 icon-image: "presets/transport/railway/tram.svg";
4774 set icon_z17;
4775}
4776node[public_transport=stop_position][subway=yes] {
4777 icon-image: "presets/transport/railway/subway.svg";
4778 set icon_z17;
4779}
4780node[public_transport=stop_position][monorail=yes] {
4781 icon-image: "presets/transport/railway/monorail.svg";
4782 set icon_z17;
4783}
4784node[public_transport=stop_position][trolleybus=yes] {
4785 icon-image: "presets/transport/trolleybus.svg";
4786 set icon_z17;
4787}
4788node[public_transport=stop_position][funicular=yes] {
4789 icon-image: "presets/transport/railway/funicular.svg";
4790 set icon_z17;
4791}
4792node[public_transport=stop_position][aerialway=yes] {
4793 icon-image: "presets/transport/aerialway/station.svg";
4794 set icon_z17;
4795}
4796node[public_transport=stop_position][ferry=yes] {
4797 icon-image: "presets/nautical/ferry.svg";
4798 set icon_z17;
4799}
4800area[public_transport=platform]:closed {
4801 fill-color: service#809bc0;
4802}
4803way[public_transport=platform]!:closed {
4804 width: 3;
4805 color: service#809bc0;
4806 dashes: 12,3;
4807}
4808node[public_transport=platform] {
4809 icon-image: "presets/transport/platform.svg";
4810 set icon_z17;
4811}
4812area[public_transport=station] {
4813 fill-color: railwaypoint#f7efb7;
4814}
4815node[public_transport=station] {
4816 icon-image: "presets/transport/station.svg";
4817 set icon_z17;
4818}
4819
4820/**************/
4821/* sport tags */
4822/**************/
4823
4824area[sport="9pin"],
4825area[sport="10pin"],
4826area[sport=soccer],
4827area[sport=australian_football],
4828area[sport=american_football],
4829area[sport=canadian_football],
4830area[sport=gaelic_games],
4831area[sport=rugby_league],
4832area[sport=rugby_union] {
4833 fill-color: sport#bde3cb;
4834}
4835node[sport="9pin"] {
4836 icon-image: "presets/sport/9pin.svg";
4837 set icon_z17;
4838}
4839node[sport="10pin"] {
4840 icon-image: "presets/sport/10pin.svg";
4841 set icon_z17;
4842}
4843node[sport=soccer],
4844node[sport=gaelic_games] {
4845 icon-image: "presets/sport/soccer.svg";
4846 set icon_z17;
4847}
4848node[sport=australian_football],
4849node[sport=american_football],
4850node[sport=canadian_football],
4851node[sport=rugby_league],
4852node[sport=rugby_union] {
4853 icon-image: "presets/sport/football.svg";
4854 set icon_z17;
4855}
4856area[sport=baseball],
4857area[sport=basketball],
4858area[sport=boules],
4859area[sport=bowls],
4860area[sport=canoe],
4861area[sport=chess],
4862area[sport=climbing]:closed,
4863area[sport=cricket],
4864area[sport=croquet] {
4865 fill-color: sport#bde3cb;
4866}
4867node[sport=baseball] {
4868 icon-image: "presets/sport/baseball.svg";
4869 set icon_z17;
4870}
4871node[sport=basketball] {
4872 icon-image: "presets/sport/basketball.svg";
4873 set icon_z17;
4874}
4875node[sport=boules] {
4876 icon-image: "presets/sport/boule.svg";
4877 set icon_z17;
4878}
4879node[sport=bowls] {
4880 icon-image: "presets/sport/boule.svg";
4881 set icon_z17;
4882}
4883node[sport=canoe] {
4884 icon-image: "presets/sport/canoe.svg";
4885 set icon_z17;
4886}
4887node[sport=chess] {
4888 icon-image: "presets/sport/chess.svg";
4889 set icon_z17;
4890}
4891node[sport=climbing] {
4892 icon-image: "presets/sport/climbing.svg";
4893 set icon_z17;
4894}
4895node[climbing=route_bottom] {
4896 icon-image: "presets/sport/climbing_route_bottom.svg";
4897 set icon_z17;
4898}
4899node[climbing=route_top] {
4900 icon-image: "presets/sport/climbing_route_top.svg";
4901 set icon_z17;
4902}
4903node[sport=cricket] {
4904 icon-image: "presets/sport/cricket.svg";
4905 set icon_z17;
4906}
4907node[sport=croquet] {
4908 icon-image: "presets/sport/croquet.svg";
4909 set icon_z17;
4910}
4911area[sport=cycling],
4912area[sport=dog_racing],
4913area[sport=equestrian],
4914area[sport=golf],
4915area[sport=gymnastics],
4916area[sport=field_hockey],
4917area[sport=ice_hockey],
4918area[sport=curling],
4919area[sport=horse_racing],
4920area[sport=karting][highway!=raceway],
4921area[sport=karting][highway=raceway][area=yes],
4922area[sport=motocross][highway!=raceway],
4923area[sport=motocross][highway=raceway][area=yes],
4924area[sport=motor][highway!=raceway],
4925area[sport=motor][highway=raceway][area=yes] {
4926 fill-color: sport#bde3cb;
4927}
4928node[sport=cycling] {
4929 icon-image: "presets/sport/cycling.svg";
4930 set icon_z17;
4931}
4932node[sport=dog_racing] {
4933 icon-image: "presets/sport/dog_racing.svg";
4934 set icon_z17;
4935}
4936node[sport=equestrian] {
4937 icon-image: "presets/sport/equestrian.svg";
4938 set icon_z17;
4939}
4940node[sport=golf] {
4941 icon-image: "presets/sport/golf.svg";
4942 set icon_z17;
4943}
4944node[sport=gymnastics] {
4945 icon-image: "presets/sport/gymnastics.svg";
4946 set icon_z17;
4947}
4948node[sport=field_hockey] {
4949 icon-image: "presets/sport/field_hockey.svg";
4950 set icon_z17;
4951}
4952node[sport=ice_hockey] {
4953 icon-image: "presets/sport/ice_hockey.svg";
4954 set icon_z17;
4955}
4956node[sport=curling] {
4957 icon-image: "presets/sport/curling.svg";
4958 set icon_z17;
4959}
4960node[sport=horse_racing] {
4961 icon-image: "presets/sport/riding.svg";
4962 set icon_z17;
4963}
4964node[sport=karting] {
4965 icon-image: "presets/sport/karting.svg";
4966 set icon_z17;
4967}
4968node[sport=motocross] {
4969 icon-image: "presets/sport/motocross.svg";
4970 set icon_z17;
4971}
4972node[sport=motor] {
4973 icon-image: "presets/sport/motor.svg";
4974 set icon_z17;
4975}
4976area[sport=athletics] {
4977 fill-color: sport_athletics#cfebd7;
4978}
4979node[sport=athletics] {
4980 icon-image: "presets/sport/athletics.svg";
4981 set icon_z17;
4982}
4983area[sport=running]:closed {
4984 fill-color: sport_running#cfebd8;
4985}
4986way[sport=running] {
4987 width: 2;
4988 color: sport_running#cfebd8;
4989}
4990node[sport=running] {
4991 icon-image: "presets/sport/running.svg";
4992 set icon_z17;
4993}
4994area[sport=multi] {
4995 fill-color: sport_multi#cfebd9;
4996}
4997node[sport=multi] {
4998 icon-image: "presets/sport/multi.svg";
4999 set icon_z17;
5000}
5001area[sport=pelota],
5002area[sport=racquet],
5003area[sport=ice_skating],
5004area[sport=roller_skating],
5005area[sport=skateboard] {
5006 fill-color: sport#bde3cb;
5007}
5008node[sport=pelota] {
5009 icon-image: "presets/sport/pelota.svg";
5010 set icon_z17;
5011}
5012node[sport=racquet] {
5013 icon-image: "presets/sport/racquetball.svg";
5014 set icon_z17;
5015}
5016node[sport=ice_skating] {
5017 icon-image: "presets/sport/ice_skating.svg";
5018 set icon_z17;
5019}
5020node[sport=roller_skating] {
5021 icon-image: "presets/sport/roller_skating.svg";
5022 set icon_z17;
5023}
5024node[sport=skating] {
5025 icon-image: "presets/misc/deprecated.svg";
5026 set icon_z17;
5027}
5028node[sport=skateboard] {
5029 icon-image: "presets/sport/skateboard.svg";
5030 set icon_z17;
5031}
5032area[sport=swimming] {
5033 fill-color: swimming_pool#51c4ef;
5034}
5035node[sport=swimming] {
5036 icon-image: "presets/sport/swimming.svg";
5037 set icon_z17;
5038}
5039area[sport=table_tennis],
5040area[sport=tennis],
5041area[sport=paintball] {
5042 fill-color: sport#bde3cb;
5043}
5044node[sport=table_tennis] {
5045 icon-image: "presets/sport/table_tennis.svg";
5046 set icon_z17;
5047}
5048node[sport=tennis] {
5049 icon-image: "presets/sport/tennis.svg";
5050 set icon_z17;
5051}
5052node[sport=paintball][!is_prop_set(icon-image)] {
5053 icon-image: "presets/misc/no_icon.svg";
5054 set icon_z17;
5055}
5056area[sport=squash],
5057area[sport=shooting],
5058area[sport=volleyball],
5059area[sport=beachvolleyball],
5060area[sport=billiards],
5061area[sport=bowling],
5062area[sport=handball],
5063area[sport=rowing],
5064area[sport=sailing],
5065area[sport=scuba_diving],
5066area[sport=badminton] {
5067 fill-color: sport#bde3cb;
5068}
5069node[sport=squash][!is_prop_set(icon-image)] {
5070 icon-image: "presets/misc/no_icon.svg";
5071 set icon_z17;
5072}
5073node[sport=shooting] {
5074 icon-image: "presets/sport/range.svg";
5075 set icon_z17;
5076}
5077node[sport=volleyball] {
5078 icon-image: "presets/sport/volleyball.svg";
5079 set icon_z17;
5080}
5081node[sport=beachvolleyball] {
5082 icon-image: "presets/sport/beachvolleyball.svg";
5083 set icon_z17;
5084}
5085node[sport=billiards] {
5086 icon-image: "presets/sport/billiards.svg";
5087 set icon_z17;
5088}
5089node[sport=bowling] {
5090 icon-image: "presets/sport/9pin.svg";
5091 set icon_z17;
5092}
5093node[sport=handball] {
5094 icon-image: "presets/sport/handball.svg";
5095 set icon_z17;
5096}
5097node[sport=rowing] {
5098 icon-image: "presets/sport/rowing.svg";
5099 set icon_z17;
5100}
5101node[sport=sailing][!is_prop_set(icon-image)] {
5102 icon-image: "presets/misc/no_icon.svg";
5103 set icon_z17;
5104}
5105node[sport=scuba_diving] {
5106 icon-image: "presets/sport/scuba_diving.svg";
5107 set icon_z17;
5108}
5109node[sport=badminton][!is_prop_set(icon-image)] {
5110 icon-image: "presets/misc/no_icon.svg";
5111 set icon_z17;
5112}
5113area[sport=archery],
5114area[sport=fishing],
5115area[sport=model_aerodrome],
5116area[sport=rc_car] {
5117 fill-color: sport#bde3cb;
5118}
5119node[sport=archery] {
5120 icon-image: "presets/sport/archery.svg";
5121 set icon_z17;
5122}
5123node[sport=fishing] {
5124 icon-image: "presets/sport/fishing.svg";
5125 set icon_z17;
5126}
5127node[sport=model_aerodrome] {
5128 icon-image: "presets/transport/airport.svg";
5129 set icon_z17;
5130}
5131node[sport=rc_car] {
5132 icon-image: "presets/sport/rc_car.svg";
5133 set icon_z17;
5134}
5135
5136/****************/
5137/* natural tags */
5138/****************/
5139
5140area[natural=spring] {
5141 fill-color: light_water#00005f;
5142}
5143node[natural=spring] {
5144 icon-image: "presets/landmark/spring.svg";
5145 set icon_z17;
5146}
5147node[natural=saddle] {
5148 icon-image: "presets/landmark/saddle.svg";
5149 set icon_z0;
5150 set text_z0;
5151}
5152node[natural=peak] {
5153 icon-image: "presets/landmark/peak.svg";
5154 set icon_z0;
5155 set text_z0;
5156}
5157node[natural=peak][tourism=viewpoint] {
5158 icon-image: "presets/sightseeing/peak_viewpoint.svg";
5159 set icon_z0;
5160 set text_z0;
5161}
5162area[natural=glacier] {
5163 fill-color: glacier#ffffff;
5164}
5165node[natural=volcano] {
5166 icon-image: "presets/landmark/volcano.svg";
5167 set icon_z0;
5168 set text_z0;
5169}
5170area[natural=cliff]:closed {
5171 fill-color: natural#002f00;
5172}
5173way[natural=cliff] {
5174 repeat-image: "presets/misc/cliff_pattern.svg";
5175 repeat-image-align: top;
5176 repeat-image-offset: 0.5;
5177 width: 1;
5178 color: #b2b2b2;
5179}
5180node[natural=cliff] {
5181 icon-image: "presets/misc/cliff.svg";
5182 set icon_z17;
5183}
5184way[natural=earth_bank] {
5185 repeat-image: "presets/misc/earth_bank_pattern.svg";
5186 repeat-image-align: top;
5187 repeat-image-offset: 0.5;
5188 width: 1;
5189 color: #9c6f32;
5190}
5191way[natural=arete] {
5192 width: 1;
5193 color: arete#e6e6e6;
5194}
5195way[natural=ridge] {
5196 width: 1;
5197 color: natural#002f00;
5198}
5199way[natural=valley] {
5200 width: 1;
5201 color: natural#002f00;
5202}
5203area[natural=scree] {
5204 fill-color: scree#c3c3c3;
5205}
5206area[natural=shingle] {
5207 fill-color: shingle#c3c3c3;
5208}
5209area[natural=scrub] {
5210 fill-color: scrub#007000;
5211}
5212area[natural=shrubbery] {
5213 fill-color: shrubbery#399a4e;
5214}
5215area[natural=fell] {
5216 fill-color: natural#002f00;
5217}
5218area[natural=heath] {
5219 fill-color: heath#ffffc0;
5220}
5221way[natural=tree_row] {
5222 width: 2;
5223 color: woodarea#008000;
5224}
5225area[natural=wood] {
5226 fill-color: woodarea#008000;
5227}
5228area[natural=grassland] {
5229 fill-color: green#b1e0c2;
5230}
5231area[natural=wetland] {
5232 fill-color: marsh#4f4ff3;
5233}
5234area[natural=water] {
5235 fill-color: water#0000ff;
5236}
5237area[natural=water][intermittent=yes] {
5238 width: 2;
5239 dashes: 15, 5;
5240}
5241way[natural=coastline] {
5242 width: 2;
5243 color: water#0000ff;
5244 right-casing-color: water#0000ff;
5245 right-casing-width: 8;
5246 right-casing-opacity: 0.35;
5247}
5248area[natural=mud] {
5249 fill-color: mud#cba762;
5250}
5251area[natural=beach] {
5252 fill-color: beach#f8dba2;
5253}
5254area[natural=sand] {
5255 fill-color: sand#f8dba2;
5256}
5257area[natural=bare_rock] {
5258 fill-color: bare_rock#f8f8c7;
5259}
5260area[natural=rock] {
5261 fill-color: stone#f8f8c7;
5262}
5263node[natural=rock] {
5264 icon-image: "presets/misc/rock.svg";
5265 set icon_z17;
5266}
5267area[natural=stone] {
5268 fill-color: stone#f8f8c7;
5269}
5270node[natural=stone] {
5271 icon-image: "presets/misc/stone.svg";
5272 set icon_z17;
5273}
5274area[natural=bay]:closed {
5275 fill-color: natural#002f00;
5276}
5277way[natural=bay] {
5278 width: 2;
5279 color: natural#002f00;
5280}
5281node[natural=bay] {
5282 icon-image: "presets/nautical/bay.svg";
5283 set icon_z17;
5284}
5285area[natural=strait]:closed {
5286 fill-color: natural#002f00;
5287}
5288way[natural=strait] {
5289 width: 2;
5290 color: natural#002f00;
5291}
5292node[natural=strait] {
5293 icon-image: "presets/nautical/strait.svg";
5294 set icon_z17;
5295}
5296area[natural=cape],
5297area[natural=sinkhole],
5298area[natural=cave_entrance] {
5299 fill-color: natural#002f00;
5300}
5301node[natural=cape] {
5302 icon-image: "presets/nautical/cape.svg";
5303 set icon_z17;
5304}
5305node[natural=sinkhole] {
5306 icon-image: "presets/landmark/sinkhole.svg";
5307 set icon_z17;
5308}
5309node[natural=sinkhole][sinkhole=bluehole] {
5310 icon-image: "presets/landmark/bluehole.svg";
5311 set icon_z17;
5312}
5313node[natural=sinkhole][sinkhole=doline] {
5314 icon-image: "presets/landmark/doline.svg";
5315 set icon_z17;
5316}
5317node[natural=sinkhole][sinkhole=estavelle] {
5318 icon-image: "presets/landmark/estavelle.svg";
5319 set icon_z17;
5320}
5321node[natural=sinkhole][sinkhole=pit] {
5322 icon-image: "presets/landmark/pit.svg";
5323 set icon_z17;
5324}
5325node[natural=sinkhole][sinkhole=ponor] {
5326 icon-image: "presets/landmark/ponor.svg";
5327 set icon_z17;
5328}
5329node[natural=cave_entrance] {
5330 icon-image: "presets/landmark/cave_entrance.svg";
5331 set icon_z17;
5332}
5333area[natural=reef] {
5334 fill-color: reef#80c9ff;
5335}
5336node[natural=reef] {
5337 icon-image: "presets/landmark/reef.svg";
5338 set icon_z17;
5339}
5340node[natural=shrub] {
5341 icon-image: "presets/landmark/shrub.svg";
5342 set icon_z17;
5343}
5344node[natural=tree] {
5345 icon-image: "presets/landmark/trees.svg";
5346 set icon_z17;
5347}
5348node[natural=tree][leaf_type=needleleaved] {
5349 icon-image: "presets/landmark/trees_conifer.svg";
5350 set icon_z17;
5351}
5352node[natural=tree][leaf_type=broadleaved] {
5353 icon-image: "presets/landmark/trees_broad_leaved.svg";
5354 set icon_z17;
5355}
5356node[natural=glacier],
5357node[natural=scree],
5358node[natural=shingle],
5359node[natural=scrub],
5360node[natural=shrubbery],
5361node[natural=fell],
5362node[natural=heath],
5363node[natural=tree_row],
5364node[natural=wood],
5365node[natural=grassland],
5366node[natural=wetland],
5367node[natural=water],
5368node[natural=coastline],
5369node[natural=mud],
5370node[natural=beach],
5371node[natural=sand],
5372node[natural=land],
5373node[natural=bare_rock],
5374node[natural=arete],
5375node[natural=ridge],
5376node[natural=valley] {
5377 icon-image: "presets/misc/deprecated.svg";
5378 set icon_z17;
5379}
5380/*****************/
5381/* waterway tags */
5382/*****************/
5383
5384way[waterway=river] {
5385 width: 2;
5386 color: water#0000ff;
5387}
5388area[waterway=riverbank] {
5389 fill-color: riverbank#0000cf;
5390 width: 1;
5391 color: riverbank#0000cf;
5392}
5393way[waterway=pressurised],
5394way[waterway=canal] {
5395 width: 2;
5396 color: water#0000ff;
5397}
5398way[waterway=river][lock=yes],
5399way[waterway=canal][lock=yes] {
5400 casing-width: 2;
5401 casing-color: lock#303030;
5402 casing-dashes: 5,20;
5403}
5404way[waterway=pressurised][tunnel] {
5405 casing-width: 1;
5406 casing-color: tunnel#964B00;
5407}
5408way[waterway=pressurised][man_made=pipeline] {
5409 casing-width: 1;
5410 casing-color: pipeline#660000;
5411}
5412way[waterway=stream] {
5413 width: 1;
5414 color: stream#6600cc;
5415}
5416way[waterway=ditch],
5417way[waterway=drain] {
5418 width: 1;
5419 color: water#0000ff;
5420}
5421way[waterway=tidal_channel] {
5422 width: 1;
5423 color: tidal_channel#0000ff;
5424}
5425way[waterway=river][intermittent=yes],
5426area[waterway=riverbank][intermittent=yes],
5427way[waterway=canal][intermittent=yes],
5428way[waterway=stream][intermittent=yes],
5429way[waterway=ditch][intermittent=yes],
5430way[waterway=drain][intermittent=yes],
5431way[waterway=tidal_channel][intermittent=yes] {
5432 dashes: 15, 5;
5433}
5434area[waterway=dock] {
5435 fill-color: dock#0000cf;
5436}
5437node[waterway=dock] {
5438 icon-image: "presets/nautical/boatyard.svg";
5439 set icon_z17;
5440}
5441way[waterway=lock_gate] {
5442 width: 3;
5443 color: lock_gate#303030;
5444}
5445node[waterway=lock_gate] {
5446 icon-image: "presets/nautical/lock_gate.svg";
5447 set icon_z17;
5448}
5449node[waterway=turning_point] {
5450 icon-image: "presets/nautical/turning.svg";
5451 set icon_z17;
5452}
5453area[waterway=boatyard] {
5454 fill-color: manmade#d8d8d8;
5455}
5456node[waterway=boatyard] {
5457 icon-image: "presets/nautical/boatyard.svg";
5458 set icon_z17;
5459}
5460node[waterway=water_point],
5461node[waterway=waste_disposal],
5462node[waterway=mooring] {
5463 icon-image: "presets/misc/deprecated.svg";
5464 set icon_z17;
5465}
5466node[mooring] {
5467 icon-image: "presets/nautical/marina.svg";
5468 set icon_z17;
5469}
5470area[waterway=fuel] {
5471 fill-color: amenity_traffic#f7efb7;
5472}
5473node[waterway=fuel] {
5474 icon-image: "presets/nautical/marine_fuel.svg";
5475 set icon_z17;
5476}
5477way[waterway=weir] {
5478 width: 2;
5479 color: manmade#d8d8d8;
5480}
5481node[waterway=weir] {
5482 icon-image: "presets/nautical/weir.svg";
5483 set icon_z17;
5484}
5485area[waterway=dam]:closed {
5486 fill-color: manmade#d8d8d8;
5487}
5488way[waterway=dam] {
5489 width: 2;
5490 color: manmade#d8d8d8;
5491}
5492node[waterway=dam] {
5493 icon-image: "presets/nautical/dam.svg";
5494 set icon_z17;
5495}
5496/* it's not possible to have both line and area, line seems more likely */
5497way[waterway=waterfall] {
5498 width: 2;
5499 color: manmade#d8d8d8;
5500}
5501node[waterway=waterfall] {
5502 icon-image: "presets/nautical/waterfall.svg";
5503 set icon_z17;
5504}
5505node[waterway=river], node[waterway=riverbank],
5506node[waterway=canal], node[waterway=wadi],
5507node[waterway=stream],
5508node[waterway=ditch], node[waterway=drain] {
5509 icon-image: "presets/misc/deprecated.svg";
5510 set icon_z17;
5511}
5512
5513/**************/
5514/* route tags */
5515/**************/
5516
5517way[route=ferry] {
5518 width: 1;
5519 color: ferry#809bc0;
5520 dashes: 9,9;
5521}
5522node[route=bus],
5523node[route=ferry],
5524node[route=flight],
5525node[route=ncn],
5526node[route=subsea],
5527node[route=ski],
5528node[route=tour],
5529node[route=pub_crawl] {
5530 icon-image: "presets/misc/deprecated.svg";
5531 set icon_z17;
5532}
5533
5534/*******************/
5535/* properties tags */
5536/*******************/
5537
5538node[mountain_pass?] {
5539 icon-image: "presets/landmark/mountain_pass.svg";
5540 set icon_z0;
5541 set text_z0;
5542}
5543
5544/*****************/
5545/* boundary tags */
5546/*****************/
5547
5548relation[boundary=protected_area] > way::core_boundary,
5549relation[boundary=administrative] > way::core_boundary,
5550relation[boundary=postal_code] > way::core_boundary,
5551relation[boundary=political] > way::core_boundary,
5552relation[boundary=maritime] > way::core_boundary,
5553relation[boundary=hazard] > way::core_boundary,
5554relation[boundary=national_park] > way::core_boundary,
5555way[boundary=protected_area]::core_boundary,
5556way[boundary=administrative]::core_boundary,
5557way[boundary=postal_code]::core_boundary,
5558way[boundary=political]::core_boundary,
5559way[boundary=maritime]::core_boundary,
5560way[boundary=hazard]::core_boundary,
5561way[boundary=national_park]::core_boundary {
5562 z-index: 2;
5563 modifier: false;
5564 width: 1;
5565 color: boundary#FF6600;
5566 dashes: 9,9;
5567}
5568/* admin_level >=9 use the default width of 1 defined above */
5569way[boundary=administrative][admin_level=7]::core_boundary,
5570relation[boundary=administrative][admin_level=7] > way::core_boundary,
5571way[boundary=administrative][admin_level=8]::core_boundary,
5572relation[boundary=administrative][admin_level=8] > way::core_boundary {
5573 width: 2;
5574}
5575way[boundary=administrative][admin_level=5]::core_boundary,
5576relation[boundary=administrative][admin_level=5] > way::core_boundary,
5577way[boundary=administrative][admin_level=6]::core_boundary,
5578relation[boundary=administrative][admin_level=6] > way::core_boundary {
5579 width: 3;
5580}
5581way[boundary=administrative][admin_level=3]::core_boundary,
5582relation[boundary=administrative][admin_level=3] > way::core_boundary,
5583way[boundary=administrative][admin_level=4]::core_boundary,
5584relation[boundary=administrative][admin_level=4] > way::core_boundary {
5585 width: 4;
5586}
5587way[boundary=administrative][admin_level=1]::core_boundary,
5588relation[boundary=administrative][admin_level=1] > way::core_boundary,
5589way[boundary=administrative][admin_level=2]::core_boundary,
5590relation[boundary=administrative][admin_level=2] > way::core_boundary {
5591 width: 5;
5592}
5593
5594node[boundary=marker] {
5595 icon-image: "presets/landmark/boundary_marker.svg";
5596 set icon_z17;
5597}
5598
5599node[boundary=national],
5600node[boundary=administrative],
5601node[boundary=postal_code],
5602node[boundary=political],
5603node[boundary=national_park] {
5604 icon-image: "presets/misc/deprecated.svg";
5605 set icon_z17;
5606}
5607
5608/******************/
5609/* maxspeed nodes */
5610/******************/
5611node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
5612 icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
5613 set icon_z17;
5614}
5615node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
5616 maxspeedprop: tag(maxspeed);
5617 set maxspeedclass;
5618}
5619node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
5620 maxspeedprop: " ?";
5621 set maxspeedclass;
5622}
5623node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
5624 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
5625 set maxspeedclass;
5626}
5627node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
5628 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
5629 set maxspeedclass;
5630}
5631node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
5632 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
5633 set maxspeedclass;
5634}
5635node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
5636 /* background (white) */
5637 symbol-shape: circle;
5638 symbol-size: 17;
5639 symbol-fill-color: white;
5640 major-z-index: 4.2;
5641}
5642node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
5643node[traffic_sign][maxspeed=signals]::core_maxnodebg {
5644 /* background (black) */
5645 symbol-fill-color: black;
5646}
5647node[prop(maxspeedclass, default)]::core_maxnodefg {
5648 /* foreground (black text and red circle) */
5649 symbol-shape: circle;
5650 symbol-size: 15;
5651 symbol-stroke-color: crimson;
5652 symbol-stroke-width: 2;
5653 text: prop(maxspeedprop, default);
5654 font-size: 8;
5655 font-weight: bold;
5656 text-color: black;
5657 text-anchor-horizontal: center;
5658 text-anchor-vertical: center;
5659 text-offset-x: 0;
5660 text-offset-y: -1;
5661 major-z-index: 4.2;
5662}
5663node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
5664node[traffic_sign][maxspeed=signals]::core_maxnodefg {
5665 /* foreground (white text) */
5666 text-color: white;
5667}
5668node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
5669 symbol-shape: none;
5670}
5671node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
5672 text: none;
5673 symbol-shape: none;
5674}
5675
5676/**************/
5677/* place tags */
5678/**************/
5679
5680area[setting("place_fill_colour")][place=continent],
5681area[setting("place_fill_colour")][place=country],
5682area[setting("place_fill_colour")][place=state],
5683area[setting("place_fill_colour")][place=region],
5684area[setting("place_fill_colour")][place=county],
5685area[setting("place_fill_colour")][place=city],
5686area[setting("place_fill_colour")][place=town],
5687area[setting("place_fill_colour")][place=village],
5688area[setting("place_fill_colour")][place=hamlet],
5689area[setting("place_fill_colour")][place=municipality],
5690area[setting("place_fill_colour")][place=farm],
5691area[setting("place_fill_colour")][place=isolated_dwelling],
5692area[setting("place_fill_colour")][place=neighbourhood],
5693area[setting("place_fill_colour")][place=suburb],
5694area[setting("place_fill_colour")][place=locality],
5695area[setting("place_fill_colour")][place=city_block],
5696area[place=island],
5697area[place=islet] {
5698 fill-color: place#8de3cb;
5699 set place;
5700}
5701node[place=continent],
5702node[place=country],
5703node[place=state],
5704node[place=region],
5705node[place=county],
5706node[place=city],
5707node[place=town],
5708node[place=suburb],
5709node[place=village],
5710node[place=quarter],
5711node[place=neighbourhood],
5712node[place=hamlet],
5713node[place=municipality],
5714node[place=isolated_dwelling],
5715node[place=farm],
5716node[place=city_block],
5717node[place=island],
5718node[place=islet] {
5719 set icon_z0;
5720 set text_z0;
5721 font-weight: bold;
5722 text-color:black;
5723 text-halo-color: white;
5724 text-halo-radius: 1;
5725 set place;
5726}
5727
5728node[place=continent],
5729node[place=country],
5730node[place=state],
5731node[place=region],
5732node[place=county] {
5733 icon-image: "presets/place/capital.svg";
5734 z-index: 2.9;
5735}
5736node[place=city] {
5737 icon-image: "presets/place/city.svg";
5738 z-index: 2.8;
5739}
5740node[place=town] {
5741 icon-image: "presets/place/town.svg";
5742 z-index: 2.7;
5743}
5744node[place=suburb] {
5745 icon-image: "presets/place/suburb.svg";
5746 z-index: 2.6;
5747}
5748node[place=village] {
5749 icon-image: "presets/place/village.svg";
5750 z-index: 2.5;
5751}
5752node[place=quarter] {
5753 icon-image: "presets/place/quarter.svg";
5754 z-index: 2.5;
5755}
5756node[place=neighbourhood] {
5757 icon-image: "presets/place/neighbourhood.svg";
5758 z-index: 2.4;
5759}
5760node[place=hamlet] {
5761 icon-image: "presets/place/hamlet.svg";
5762 z-index: 2.3;
5763}
5764node[place=municipality] {
5765 icon-image: "presets/place/municipality.svg";
5766 z-index: 2.21;
5767}
5768node[place=isolated_dwelling] {
5769 icon-image: "presets/place/isolated_dwelling.svg";
5770 z-index: 2.2;
5771}
5772node[place=farm] {
5773 icon-image: "presets/place/farm.svg";
5774 z-index: 2.1;
5775}
5776node[place=city_block] {
5777 icon-image: "presets/place/cityblock.svg";
5778 z-index: 2.1;
5779}
5780node|z15-[place=locality],
5781node|z-14[place=locality][!setting("hide_icons")] {
5782 icon-image: "presets/place/locality.svg";
5783 font-weight: bold;
5784 text-color: black;
5785 text-halo-color: white;
5786 text-halo-radius: 1;
5787}
5788node[place=island] {
5789 icon-image: "presets/place/island.svg";
5790}
5791node[place=islet] {
5792 icon-image: "presets/place/islet.svg";
5793}
5794
5795area[place=square] {
5796 fill-color: place#8de3cb;
5797}
5798node[place=square] {
5799 icon-image: "presets/place/square.svg";
5800 set icon_z17;
5801}
5802
5803/***************************/
5804/* "work in progress" tags */
5805/***************************/
5806
5807node|z17-[fixme]::core_note_fixme,
5808node|z-16[fixme][!setting("hide_icons")]::core_note_fixme,
5809node|z17-[FIXME]::core_note_fixme,
5810node|z-16[FIXME][!setting("hide_icons")]::core_note_fixme {
5811 object-z-index: 10;
5812 icon-image: "presets/misc/fixme_annotation.svg";
5813}
5814node|z17-[note][setting("note_annotation")]::core_note_fixme,
5815node|z-16[note][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5816 object-z-index: 10;
5817 icon-image: "presets/misc/note_annotation.svg";
5818}
5819node|z16-[note][fixme][setting("note_annotation")]::core_note_fixme,
5820node|z-16[note][fixme][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme,
5821node|z17-[note][FIXME][setting("note_annotation")]::core_note_fixme,
5822node|z-16[note][FIXME][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5823 icon-image: "presets/misc/note_fixme_annotation.svg";
5824}
5825
5826/****************************************/
5827/* zoom levels and general node display */
5828/****************************************/
5829
5830/*
5831Summary of different zoom levels:
5832 (any zoom) place=* (except locality and square) and a few natural icons with their text is shown
5833 |z-14 tagged way nodes are hidden completely
5834 |z-15 untagged way nodes are hidden completely
5835 |z15 place=locality icon
5836 |z16- place=locality text
5837 |z17- normal POI icons (without text),
5838 street name along highway=* ways
5839 |z18- text for normal POI icons is shown
5840
5841 * 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
5842 * all these zoom features are modifiable via style settings
5843 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5844
5845*/
5846
5847node|z-16[setting("hide_icons")],
5848node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5849node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5850 symbol-size: 2;
5851 symbol-shape: square;
5852 symbol-stroke-color: node_standard#ffff00;
5853 major-z-index: 4.95; /* put node squares above line text */
5854}
5855way > node|z-15[setting("shrink_nodes")]!:tagged {
5856 symbol-shape: none;
5857}
5858node:connection {
5859 symbol-stroke-color: node_connection#ffff00;
5860}
5861node:tagged {
5862 symbol-stroke-color: none;
5863 symbol-fill-color: node_tagged#00ffff;
5864}
5865node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5866 symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5867}
5868way > 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 */
5869 symbol-shape: none;
5870}
5871
5872way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5873
5874node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5875way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5876node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5877
5878node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5879way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5880node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5881
5882node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5883way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5884node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5885
5886node[!setting("shrink_nodes")] { symbol-size: 4; }
5887way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5888node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5889
5890node:selected {
5891 symbol-shape: square;
5892 symbol-size: 6;
5893 symbol-fill-color: node_selected#ff0000;
5894 symbol-stroke-color: node_selected#ff0000;
5895}
5896
5897node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5898relation|z-16[type=restriction][setting("hide_icons")] {
5899 icon-image: none;
5900}
5901node|z-17[setting("hide_icons")]!.text_z0 {
5902 text: none;
5903}
5904node|z16-17[setting("hide_icons")][place=locality] {
5905 text: auto;
5906}
5907
5908node|z-18,area|z-18 { font-size: 8; }
5909node|z19,area|z19 { font-size: 9; }
5910node|z20-,area|z20- { font-size: 11; }
5911
5912node.place, way.place, area.place { font-size: 11; }
5913
5914
5915/*******************/
5916/* way text labels */
5917/*******************/
5918
5919way|z18-[highway=motorway][setting("highway_labels")],
5920way|z18-[highway=motorway_link][setting("highway_labels")],
5921way|z18-[highway=trunk][setting("highway_labels")],
5922way|z18-[highway=trunk_link][setting("highway_labels")],
5923way|z18-[highway=primary][setting("highway_labels")],
5924way|z18-[highway=primary_link][setting("highway_labels")],
5925way|z18-[highway=secondary][setting("highway_labels")],
5926way|z18-[highway=secondary_link][setting("highway_labels")],
5927way|z18-[highway=tertiary][setting("highway_labels")],
5928way|z18-[highway=tertiary_link][setting("highway_labels")],
5929way|z18-[highway=unclassified][setting("highway_labels")],
5930way|z18-[highway=residential][setting("highway_labels")],
5931way|z18-[highway=living_street][setting("highway_labels")],
5932way|z18-[highway=escape][setting("highway_labels")],
5933way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5934way|z18-[highway=steps][setting("highway_labels")],
5935way|z18-[highway=footway][setting("highway_labels")],
5936way|z18-[highway=path][setting("highway_labels")],
5937way|z18-[highway=service][setting("highway_labels")],
5938way|z18-[highway=track][setting("highway_labels")],
5939way|z18-[highway=cycleway][setting("highway_labels")],
5940way|z18-[highway=bridleway][setting("highway_labels")],
5941way|z18-[highway=bus_guideway][setting("highway_labels")],
5942way|z18-[highway=busway][setting("highway_labels")],
5943way|z18-[highway=raceway][setting("highway_labels")],
5944way|z18-[highway=construction][setting("highway_labels")],
5945way|z18-[highway=road][setting("highway_labels")] {
5946 text: auto;
5947 text-color: black;
5948 font-size: 10;
5949 text-position: line;
5950 text-halo-opacity: 1;
5951 text-halo-radius: 1.5;
5952}
5953way|z18-[highway=motorway][setting("highway_labels")],
5954way|z18-[highway=motorway_link][setting("highway_labels")] {
5955 text-halo-color: motorway#809bc0;
5956}
5957way|z18-[highway=trunk][setting("highway_labels")],
5958way|z18-[highway=trunk_link][setting("highway_labels")] {
5959 text-halo-color: trunk#7fc97f;
5960}
5961way|z18-[highway=primary][setting("highway_labels")],
5962way|z18-[highway=primary_link][setting("highway_labels")] {
5963 text-halo-color: primary#fb805f;
5964}
5965way|z18-[highway=secondary][setting("highway_labels")],
5966way|z18-[highway=secondary_link][setting("highway_labels")] {
5967 text-halo-color: secondary#fdbf6f;
5968}
5969way|z18-[highway=tertiary][setting("highway_labels")],
5970way|z18-[highway=tertiary_link][setting("highway_labels")] {
5971 text-halo-color: tertiary#f7f496;
5972}
5973way|z18-[highway=unclassified][setting("highway_labels")],
5974way|z18-[highway=residential][setting("highway_labels")],
5975way|z18-[highway=living_street][setting("highway_labels")],
5976way|z18-[highway=escape][setting("highway_labels")] {
5977 text-halo-color: street#c0c0c0;
5978}
5979way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5980way|z18-[highway=steps][setting("highway_labels")],
5981way|z18-[highway=footway][setting("highway_labels")],
5982way|z18-[highway=path][setting("highway_labels")] {
5983 text-halo-color: foot#00ff00;
5984}
5985way|z18-[highway=service][setting("highway_labels")] {
5986 text-halo-color: service#809bc0;
5987}
5988way|z18-[highway=track][setting("highway_labels")] {
5989 text-halo-color: highway_track#6e541c;
5990}
5991way|z18-[highway=cycleway][setting("highway_labels")],
5992way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5993 text-halo-color: bicycle#b100ff;
5994}
5995way|z18-[highway=bridleway][setting("highway_labels")] {
5996 text-halo-color: horse#a18559;
5997}
5998way|z18-[highway=bus_guideway][setting("highway_labels")] {
5999 text-halo-color: rail#404040;
6000}
6001way|z18-[highway=busway][setting("highway_labels")] {
6002 text-halo-color: bus#89cbeb;
6003}
6004way|z18-[highway=raceway][setting("highway_labels")] {
6005 text-halo-color: raceway#ff80ff;
6006}
6007way|z18-[highway=construction][setting("highway_labels")] {
6008 text-halo-color: construction#ffff00;
6009}
6010way|z18-[highway=road][setting("highway_labels")] {
6011 text-halo-color: highway_road#770000;
6012}
6013way|z18-[highway][railway=platform][setting("highway_labels")] {
6014 text-halo-color: rail#404040;
6015}
6016way|z18-[highway][public_transport=platform][setting("highway_labels")] {
6017 text-halo-color: service#809bc0;
6018}
6019way|z19[highway][setting("highway_labels")] {
6020 font-size: 11;
6021}
6022way|z20-[highway][setting("highway_labels")] {
6023 font-size: 12;
6024}
6025
6026/*************/
6027/* Area fill */
6028/*************/
6029
6030/* small extent for unclosed area (see below for closed) */
6031area[setting("partial_fill")] {
6032 fill-extent: 15;
6033}
6034
6035/* Turn partial fill off and use plain fill, when the partial fill covers about
6036 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
6037 Switching between full and partial fill while drawing an area might be irritating,
6038 so only do this at low zoom. */
6039area|z-13[setting("partial_fill")] {
6040 fill-extent-threshold: 1.0;
6041}
6042
6043/* Larger extent for closed areas.
6044 Turn partial fill off, when it covers more than about 50% of the area. This avoids
6045 areas with small unfilled patches in the center. */
6046area[setting("partial_fill")]:closed2 {
6047 fill-extent: 25;
6048 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
6049}
6050
Note: See TracBrowser for help on using the repository browser.