Debian Codegraph @

resources/styles/standard/elemstyles.mapcss

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