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

Last change on this file since 16706 was 16706, checked in by Klumbumbus, 5 years ago

see #10759, see #17818, see #16898 - Add Presets for man_made=mast and man_made=communications_tower, rework preset for man_made=tower, based on patch by skyper, (all icons from https://wiki.openstreetmap.org/, from Geozeisig, all PD and CC0 licensed)

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