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

Last change on this file since 16250 was 16250, checked in by Klumbumbus, 4 years ago
  • Property svn:eol-style set to native
File size: 127.3 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] {
1258 fill-color: power#eeeeee;
1259}
1260node[man_made=street_cabinet] {
1261 icon-image: "presets/misc/street_cabinet.svg";
1262 set icon_z17;
1263}
1264node[man_made=street_cabinet][street_cabinet=power] {
1265 icon-image: "presets/power/cable_distribution_cabinet.svg";
1266 set icon_z17;
1267}
1268node[power=generator] {
1269 icon-image: "presets/power/generator.svg";
1270 set icon_z17;
1271}
1272node[power=substation] {
1273 icon-image: "presets/power/substation.svg";
1274 set icon_z17;
1275}
1276node[power=transformer] {
1277 icon-image: "presets/power/transformer.svg";
1278 set icon_z17;
1279}
1280node[power=terminal] {
1281 icon-image: "presets/power/terminal.svg";
1282 set icon_z17;
1283}
1284node[power=switch] {
1285 icon-image: "presets/power/switch.svg";
1286 set icon_z17;
1287}
1288node[power=converter] {
1289 icon-image: "presets/power/converter.svg";
1290 set icon_z17;
1291}
1292node[power=compensator] {
1293 icon-image: "presets/power/compensator.svg";
1294 set icon_z17;
1295}
1296
1297
1298/*************************/
1299/* generator:source tags */
1300/*************************/
1301
1302area[generator:source=nuclear],
1303area[generator:source=wind],
1304area[generator:source=hydro],
1305area[generator:source=tidal],
1306area[generator:source=wave],
1307area[generator:source=osmotic],
1308area[generator:source=geothermal],
1309area[generator:source=solar],
1310area[generator:source=coal],
1311area[generator:source=gas],
1312area[generator:source=biomass],
1313area[generator:source=biofuel],
1314area[generator:source=biogas],
1315area[generator:source=oil],
1316area[generator:source=diesel],
1317area[generator:source=gasoline],
1318area[generator:source=waste] {
1319 fill-color: power#eeeeee;
1320}
1321node[generator:source=nuclear] {
1322 icon-image: "presets/power/power_source-nuclear.svg";
1323 set icon_z17;
1324}
1325node[generator:source=wind] {
1326 icon-image: "presets/power/power_source-wind.svg";
1327 set icon_z17;
1328}
1329node[generator:source=hydro],
1330node[generator:source=tidal],
1331node[generator:source=wave],
1332node[generator:source=osmotic] {
1333 icon-image: "presets/power/power_source-water.svg";
1334 set icon_z17;
1335}
1336node[generator:source=geothermal] {
1337 icon-image: "presets/power/power_source-geothermal.svg";
1338 set icon_z17;
1339}
1340node[generator:source=solar] {
1341 icon-image: "presets/power/power_source-sun.svg";
1342 set icon_z17;
1343}
1344node[generator:source=coal] {
1345 icon-image: "presets/power/power_source-coal.svg";
1346 set icon_z17;
1347}
1348node[generator:source=gas] {
1349 icon-image: "presets/power/power_source-gas.svg";
1350 set icon_z17;
1351}
1352node[generator:source=biomass],
1353node[generator:source=biofuel],
1354node[generator:source=biogas] {
1355 icon-image: "presets/power/power_source-biofuel.svg";
1356 set icon_z17;
1357}
1358node[generator:source=oil],
1359node[generator:source=diesel],
1360node[generator:source=gasoline] {
1361 icon-image: "presets/power/power_source-oil.svg";
1362 set icon_z17;
1363}
1364node[generator:source=waste] {
1365 icon-image: "presets/power/power_source-waste.svg";
1366 set icon_z17;
1367}
1368node[power_source] {
1369 icon-image: "presets/misc/deprecated.svg";
1370 set icon_z17;
1371}
1372/*****************/
1373/* man_made tags */
1374/*****************/
1375
1376area[man_made=beacon],
1377area[man_made=bridge],
1378area[bridge:support],
1379area[man_made=chimney],
1380area[man_made=kiln],
1381area[man_made=gasometer],
1382area[man_made=silo],
1383area[man_made=storage_tank],
1384area[man_made=bunker_silo],
1385area[man_made=lighthouse],
1386area[man_made=monitoring_station],
1387area[man_made=mineshaft] {
1388 fill-color: manmade#d8d8d8;
1389}
1390node[man_made=beacon] {
1391 icon-image: "presets/landmark/beacon.svg";
1392 set icon_z17;
1393}
1394node[man_made=bridge] {
1395 icon-image: "presets/misc/deprecated.svg";
1396 set icon_z17;
1397}
1398node[bridge:support] {
1399 icon-image: "presets/transport/bridge/bridge_support.svg";
1400 set icon_z17;
1401}
1402node[man_made=chimney] {
1403 icon-image: "presets/landmark/chimney.svg";
1404 set icon_z17;
1405}
1406node[man_made=kiln] {
1407 icon-image: "presets/misc/kiln.svg";
1408 set icon_z17;
1409}
1410node[man_made=flagpole] {
1411 icon-image: "presets/misc/flag.svg";
1412 set icon_z17;
1413}
1414node[man_made=cross] {
1415 icon-image: "presets/landmark/cross.svg";
1416 set icon_z17;
1417}
1418node[man_made=gasometer] {
1419 icon-image: "presets/landmark/gasometer.svg";
1420 set icon_z17;
1421}
1422node[man_made=silo] {
1423 icon-image: "presets/landmark/silo.svg";
1424 set icon_z17;
1425}
1426node[man_made=storage_tank] {
1427 icon-image: "presets/landmark/storage_tank.svg";
1428 set icon_z17;
1429}
1430node[man_made=bunker_silo] {
1431 icon-image: "presets/landmark/bunker_silo.svg";
1432 set icon_z17;
1433}
1434area[man_made=groyne]:closed {
1435 fill-color: manmade#d8d8d8;
1436}
1437way[man_made=groyne] {
1438 width: 2;
1439 color: manmade#d8d8d8;
1440}
1441area[man_made=breakwater]:closed {
1442 fill-color: manmade#d8d8d8;
1443}
1444way[man_made=breakwater] {
1445 width: 2;
1446 color: manmade#d8d8d8;
1447}
1448way[man_made=dyke]::man_made_dyke {
1449 width: 4;
1450 color: dyke#0aa846;
1451 z-index: -2;
1452 object-z-index: -1; /* below highway=* */
1453 modifier: false; /* don't draw default way if there is no line on default layer */
1454}
1455node[man_made=lighthouse] {
1456 icon-image: "presets/landmark/lighthouse.svg";
1457 set icon_z17;
1458}
1459node[man_made=monitoring_station] {
1460 icon-image: "presets/misc/monitoring_station.svg";
1461 set icon_z17;
1462}
1463node[man_made=mineshaft] {
1464 icon-image: "presets/landmark/mine.svg";
1465 set icon_z17;
1466}
1467area[man_made=crane]:closed {
1468 fill-color: manmade#d8d8d8;
1469}
1470way[man_made=crane] {
1471 width: 2;
1472 color: manmade#d8d8d8;
1473}
1474node[man_made=crane] {
1475 icon-image: "presets/landmark/crane.svg";
1476 set icon_z17;
1477}
1478node[man_made=adit] {
1479 icon-image: "presets/landmark/adit.svg";
1480 set icon_z17;
1481}
1482area[man_made=pier]:closed {
1483 fill-color: pier#660000;
1484}
1485way[man_made=pier] {
1486 width: 2;
1487 color: pier#660000;
1488}
1489node[man_made=pier] {
1490 icon-image: "presets/nautical/pier.svg";
1491 set icon_z17;
1492}
1493way[embankment?][!highway][!railway][!waterway],
1494way[man_made=embankment][!highway][!railway][!waterway] {
1495 repeat-image: "presets/misc/embankment-pattern.png";
1496 repeat-image-align: top;
1497 width: 1;
1498 color: embankment#c14d00;
1499}
1500way[embankment?][highway],
1501way[embankment?][railway],
1502way[embankment?][waterway] {
1503 repeat-image: "presets/misc/embankment-pattern-centered.png";
1504}
1505way[man_made=embankment][highway],
1506way[man_made=embankment][railway],
1507way[man_made=embankment][waterway] {
1508 repeat-image: "presets/misc/embankment-pattern.png";
1509 repeat-image-align: top;
1510 repeat-image-offset: -1;
1511}
1512way[man_made=pipeline][!waterway] {
1513 width: 2;
1514 color: pipeline#660000;
1515}
1516node[marker] {
1517 icon-image: "presets/misc/pipeline_marker.svg";
1518 set icon_z17;
1519}
1520node[pipeline=valve] {
1521 icon-image: "presets/misc/valve.svg";
1522 set icon_z17;
1523}
1524node[man_made=manhole] {
1525 icon-image: "presets/misc/manhole.svg";
1526 set icon_z17;
1527}
1528node[man_made=breakwater],
1529node[man_made=groyne],
1530node[man_made=embankment],
1531node[man_made=pipeline] {
1532 icon-image: "presets/misc/deprecated.svg";
1533 set icon_z17;
1534}
1535node[man_made=petroleum_well][!is_prop_set(icon-image)] {
1536 icon-image: "presets/misc/no_icon.svg";
1537 set icon_z17;
1538}
1539area[man_made=reservoir_covered],
1540area[man_made=tower],
1541area[man_made=wastewater_plant],
1542area[man_made=watermill],
1543area[man_made=water_tower],
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=tower] {
1563 icon-image: "presets/landmark/tower.svg";
1564 set icon_z17;
1565}
1566node[man_made=wastewater_plant] {
1567 icon-image: "presets/landmark/wastewater_plant.svg";
1568 set icon_z17;
1569}
1570node[man_made=watermill] {
1571 icon-image: "presets/landmark/watermill.svg";
1572 set icon_z17;
1573}
1574node[man_made=water_tower] {
1575 icon-image: "presets/landmark/water_tower.svg";
1576 set icon_z17;
1577}
1578node[man_made=water_well] {
1579 icon-image: "presets/landmark/water_well.svg";
1580 set icon_z17;
1581}
1582node[man_made=windmill] {
1583 icon-image: "presets/landmark/windmill.svg";
1584 set icon_z17;
1585}
1586node[man_made=works] {
1587 icon-image: "presets/landmark/works.svg";
1588 set icon_z17;
1589}
1590node[man_made=water_works] {
1591 icon-image: "presets/landmark/water_works.svg";
1592 set icon_z17;
1593}
1594way[man_made=cutline]::man_made_cutline {
1595 width: 4;
1596 color: cutline#bbff7c;
1597 z-index: -2;
1598 object-z-index: -1; /* below highway=* */
1599 modifier: false; /* don't draw default way if there is no line on default layer */
1600}
1601node[man_made=cutline] {
1602 icon-image: "presets/misc/deprecated.svg";
1603 set icon_z17;
1604}
1605
1606/****************/
1607/* telecom tags */
1608/****************/
1609
1610area[telecom=exchange],
1611area[telecom=connection_point],
1612area[telecom=service_device] {
1613 fill-color: telecom#d8d8d8; /* same as man_made */
1614}
1615node[telecom=exchange] {
1616 icon-image: "presets/telecom/exchange.svg";
1617 set icon_z17;
1618}
1619node[telecom=connection_point] {
1620 icon-image: "presets/telecom/connection_point.svg";
1621 set icon_z17;
1622}
1623node[telecom=service_device] {
1624 icon-image: "presets/telecom/service_device.svg";
1625 set icon_z17;
1626}
1627node[man_made=street_cabinet][street_cabinet=telecom] {
1628 icon-image: "presets/telecom/telecom_cabinet.svg";
1629 set icon_z17;
1630}
1631
1632/***************/
1633/* office tags */
1634/***************/
1635
1636area[office=accountant],
1637area[office=advertising_agency],
1638area[office=architect],
1639area[office=association],
1640area[office=company],
1641area[office=educational_institution],
1642area[office=employment_agency],
1643area[office=estate_agent],
1644area[office=foundation],
1645area[office=government],
1646area[office=insurance],
1647area[office=it],
1648area[office=lawyer],
1649area[office=newspaper],
1650area[office=ngo],
1651area[office=notary],
1652area[office=political_party],
1653area[office=religion],
1654area[office=research],
1655area[office=tax_advisor],
1656area[office=telecommunication] {
1657 fill-color: office#de5696;
1658}
1659node[office=accountant] {
1660 icon-image: "presets/office/accountant.svg";
1661 set icon_z17;
1662}
1663node[office=advertising_agency] {
1664 icon-image: "presets/office/advertising_agency.svg";
1665 set icon_z17;
1666}
1667node[office=architect] {
1668 icon-image: "presets/office/architect.svg";
1669 set icon_z17;
1670}
1671node[office=association] {
1672 icon-image: "presets/office/association.svg";
1673 set icon_z17;
1674}
1675node[office=company] {
1676 icon-image: "presets/office/private_company.svg";
1677 set icon_z17;
1678}
1679node[office=educational_institution] {
1680 icon-image: "presets/office/educational_institution.svg";
1681 set icon_z17;
1682}
1683node[office=employment_agency] {
1684 icon-image: "presets/office/employment_agency.svg";
1685 set icon_z17;
1686}
1687node[office=estate_agent] {
1688 icon-image: "presets/office/real_state.svg";
1689 set icon_z17;
1690}
1691node[office=foundation] {
1692 icon-image: "presets/office/foundation.svg";
1693 set icon_z17;
1694}
1695node[office=insurance] {
1696 icon-image: "presets/office/insurance.svg";
1697 set icon_z17;
1698}
1699node[office=it] {
1700 icon-image: "presets/office/it.svg";
1701 set icon_z17;
1702}
1703node[office=lawyer] {
1704 icon-image: "presets/office/lawyer.svg";
1705 set icon_z17;
1706}
1707node[office=newspaper] {
1708 icon-image: "presets/office/newspaper.svg";
1709 set icon_z17;
1710}
1711node[office=ngo] {
1712 icon-image: "presets/office/ong.svg";
1713 set icon_z17;
1714}
1715node[office=notary] {
1716 icon-image: "presets/office/notary.svg";
1717 set icon_z17;
1718}
1719node[office=political_party] {
1720 icon-image: "presets/office/political_party.svg";
1721 set icon_z17;
1722}
1723node[office=religion] {
1724 icon-image: "presets/office/religion.svg";
1725 set icon_z17;
1726}
1727node[office=research] {
1728 icon-image: "presets/office/research.svg";
1729 set icon_z17;
1730}
1731node[office=tax_advisor] {
1732 icon-image: "presets/office/tax_advisor.svg";
1733 set icon_z17;
1734}
1735node[office=telecommunication] {
1736 icon-image: "presets/office/telecommunication.svg";
1737 set icon_z17;
1738}
1739node[office=government] {
1740 icon-image: "presets/office/government.svg";
1741 set icon_z17;
1742}
1743
1744/****************/
1745/* leisure tags */
1746/****************/
1747
1748area[leisure=bandstand],
1749area[leisure=sports_centre],
1750area[leisure=fitness_centre],
1751area[leisure=stadium],
1752area[leisure=horse_riding],
1753area[leisure=hackerspace],
1754area[leisure=outdoor_seating],
1755area[leisure=resort],
1756area[leisure=beach_resort],
1757area[leisure=water_park] {
1758 fill-color: leisure#c7f1a3;
1759}
1760node[leisure=bandstand] {
1761 icon-image: "presets/leisure/bandstand.svg";
1762 set icon_z17;
1763}
1764node[leisure=sports_centre] {
1765 icon-image: "presets/sport/sports_centre.svg";
1766 set icon_z17;
1767}
1768node[leisure=fitness_centre] {
1769 icon-image: "presets/sport/fitness_centre.svg";
1770 set icon_z17;
1771}
1772node[leisure=stadium] {
1773 icon-image: "presets/sport/stadium.svg";
1774 set icon_z17;
1775}
1776node[leisure=horse_riding] {
1777 icon-image: "presets/leisure/horse_riding.svg";
1778 set icon_z17;
1779}
1780node[leisure=hackerspace] {
1781 icon-image: "presets/leisure/hackerspace.svg";
1782 set icon_z17;
1783}
1784node[leisure=outdoor_seating] {
1785 icon-image: "presets/leisure/outdoor_seating.svg";
1786 set icon_z17;
1787}
1788node[leisure=resort] {
1789 icon-image: "presets/leisure/resort.svg";
1790 set icon_z17;
1791}
1792node[leisure=beach_resort] {
1793 icon-image: "presets/leisure/beach_resort.svg";
1794 set icon_z17;
1795}
1796node[leisure=water_park] {
1797 icon-image: "presets/leisure/water_park.svg";
1798 set icon_z17;
1799}
1800way[leisure=track] {
1801 width: 2;
1802 color: leisuretrack#d4f4b9;
1803}
1804way[leisure=track][area?],
1805relation[leisure=track][!area?!]:closed {
1806 fill-color: leisuretrack#d4f4b9;
1807}
1808node[leisure=track] {
1809 icon-image: "presets/sport/track.svg";
1810 set icon_z17;
1811}
1812area[leisure=pitch] {
1813 fill-color: pitch#baee8d;
1814}
1815node[leisure=pitch] {
1816 icon-image: "presets/sport/pitch.svg";
1817 set icon_z17;
1818}
1819area[leisure=marina] {
1820 fill-color: marina#0070cf;
1821}
1822node[leisure=marina] {
1823 icon-image: "presets/nautical/marina.svg";
1824 set icon_z17;
1825}
1826way[leisure=slipway] {
1827 width: 2;
1828 color: leisure#c7f1a3;
1829}
1830node[leisure=slipway] {
1831 icon-image: "presets/nautical/slipway.svg";
1832 set icon_z17;
1833}
1834area[leisure=fishing],
1835area[leisure=bird_hide],
1836area[leisure=nature_reserve],
1837area[leisure=park],
1838area[leisure=playground],
1839area[leisure=garden],
1840area[leisure=firepit] {
1841 fill-color: leisure#c7f1a3;
1842}
1843node[leisure=fishing] {
1844 icon-image: "presets/sport/fishing.svg";
1845 set icon_z17;
1846}
1847node[leisure=bird_hide] {
1848 icon-image: "presets/leisure/bird_hide.svg";
1849 set icon_z17;
1850}
1851node[leisure=park] {
1852 icon-image: "presets/misc/deprecated.svg";
1853 set icon_z17;
1854}
1855node[leisure=playground] {
1856 icon-image: "presets/leisure/playground.svg";
1857 set icon_z17;
1858}
1859node[leisure=garden] {
1860 icon-image: "presets/leisure/garden.svg";
1861 set icon_z17;
1862}
1863node[leisure=common] {
1864 icon-image: "presets/misc/deprecated.svg";
1865 set icon_z17;
1866}
1867node[leisure=firepit] {
1868 icon-image: "presets/leisure/firepit.svg";
1869 set icon_z17;
1870}
1871node[leisure=picnic_table] {
1872 icon-image: "presets/leisure/picnic.svg";
1873 set icon_z17;
1874}
1875area[leisure=swimming_pool] {
1876 fill-color: swimming_pool#51c4ef;
1877}
1878node[leisure=swimming_pool] {
1879 icon-image: "presets/sport/swimming.svg";
1880 set icon_z17;
1881}
1882area[leisure=fitness_station],
1883area[leisure=miniature_golf],
1884area[leisure=dog_park],
1885area[leisure=ice_rink],
1886area[leisure=sauna] {
1887 fill-color: leisure#c7f1a3;
1888}
1889node[leisure=fitness_station] {
1890 icon-image: "presets/leisure/fitness_station.svg";
1891 set icon_z17;
1892}
1893node[leisure=miniature_golf] {
1894 icon-image: "presets/sport/miniature_golf.svg";
1895 set icon_z17;
1896}
1897node[leisure=dog_park] {
1898 icon-image: "presets/leisure/dogpark.svg";
1899 set icon_z17;
1900}
1901node[leisure=ice_rink] {
1902 icon-image: "presets/sport/ice_hockey.svg";
1903 set icon_z17;
1904}
1905node[leisure=sauna] {
1906 icon-image: "presets/leisure/sauna.svg";
1907 set icon_z17;
1908}
1909area[leisure=golf_course] {
1910 fill-color: leisure#c7f1a3;
1911}
1912node[leisure=golf_course] {
1913 icon-image: "presets/sport/golf/golf.svg";
1914 set icon_z17;
1915}
1916
1917/*************/
1918/* golf tags */
1919/*************/
1920area[golf=tee] {
1921 fill-color: golf#c7f1a3;
1922}
1923node[golf=tee] {
1924 icon-image: "presets/sport/golf/tee.svg";
1925 set icon_z17;
1926}
1927way[golf=hole] {
1928 width: 1;
1929 dashes: 10,10;
1930 color: golf_hole#808080;
1931}
1932node[golf=pin] {
1933 icon-image: "presets/sport/golf/pin.svg";
1934 set icon_z17;
1935}
1936area[golf=bunker] {
1937 fill-color: golf_bunker#ffab00;
1938}
1939area[golf=water_hazard],
1940area[golf=lateral_water_hazard] {
1941 fill-color: golf_water_hazard#0000ff;
1942}
1943area[golf=green] {
1944 fill-color: golf_green#00e700;
1945}
1946area[golf=fairway] {
1947 fill-color: golf_fairway#009a00;
1948}
1949area[golf=rough] {
1950 fill-color: golf_rough#006700;
1951}
1952area[golf=driving_range] {
1953 fill-color: golf_driving_range#c7f1a3;
1954}
1955node[golf=driving_range] {
1956 icon-image: "presets/sport/golf/driving_range.svg";
1957 set icon_z17;
1958}
1959
1960/********************/
1961/* advertising tags */
1962/********************/
1963
1964node[advertising=column] {
1965 icon-image: "presets/leisure/advertising_column.svg";
1966 set icon_z17;
1967}
1968area[advertising=column] {
1969 fill-color: advertising#880000;
1970}
1971node[advertising=billboard] {
1972 icon-image: "presets/leisure/billboard.svg";
1973 set icon_z17;
1974}
1975way[advertising=billboard] {
1976 width: 2;
1977 color: advertising#880000;
1978}
1979
1980/*************/
1981/* shop tags */
1982/*************/
1983
1984area[shop=supermarket],
1985area[shop=convenience],
1986area[shop=bakery],
1987area[shop=butcher],
1988area[shop=bicycle],
1989area[shop=doityourself],
1990area[shop=dry_cleaning],
1991area[shop=laundry],
1992area[shop=outdoor],
1993area[shop=kiosk],
1994area[shop=alcohol],
1995area[shop=beverages],
1996area[shop=books],
1997area[shop=boutique],
1998area[shop=car],
1999area[shop=car_repair],
2000area[shop=tyres],
2001area[shop=chemist],
2002area[shop=tobacco],
2003area[shop=e-cigarette],
2004area[shop=clothes],
2005area[shop=computer],
2006area[shop=confectionery],
2007area[shop=pastry],
2008area[shop=copyshop],
2009area[shop=curtain],
2010area[shop=cycle_repair],
2011area[shop=department_store],
2012area[shop=deli],
2013area[shop=doors],
2014area[shop=electronics],
2015area[shop=erotic],
2016area[shop=furniture],
2017area[shop=fabric],
2018area[shop=florist],
2019area[shop=frame],
2020area[shop=gas],
2021area[shop=gift],
2022area[shop=greengrocer],
2023area[shop=garden_centre],
2024area[shop=hairdresser],
2025area[shop=hardware],
2026area[shop=hearing_aids],
2027area[shop=hifi],
2028area[shop=houseware],
2029area[shop=jewelry],
2030area[shop=kitchen],
2031area[shop=mall],
2032area[shop=massage],
2033area[shop=mobile_phone],
2034area[shop=watches],
2035area[shop=motorcycle],
2036area[shop=musical_instrument],
2037area[shop=newsagent],
2038area[shop=optician],
2039area[shop=medical_supply],
2040area[shop=paint],
2041area[shop=party],
2042area[shop=pawnbroker],
2043area[shop=seafood],
2044area[shop=dairy],
2045area[shop=cheese],
2046area[shop=shoes],
2047area[shop=sports],
2048area[shop=stationery],
2049area[shop=tailor],
2050area[shop=travel_agency],
2051area[shop=scuba_diving],
2052area[shop=toys],
2053area[shop=vacuum_cleaner],
2054area[shop=variety_store],
2055area[shop=charity],
2056area[shop=video],
2057area[shop=bookmaker],
2058area[shop=lottery],
2059area[shop=pet],
2060area[shop=pet_grooming],
2061area[shop=photo],
2062area[shop=ticket],
2063area[shop=carpet],
2064area[shop=interior_decoration],
2065area[shop=car_parts],
2066area[shop=video_games],
2067area[shop=bed],
2068area[shop=beauty],
2069area[shop=cosmetics],
2070area[shop=perfumery],
2071area[shop=tea],
2072area[shop=coffee],
2073area[shop=antiques],
2074area[shop=music],
2075area[shop=weapons],
2076area[shop=funeral_directors],
2077area[shop=wine],
2078area[shop=farm],
2079area[shop=tattoo],
2080area[shop=art],
2081area[shop=bag] {
2082 fill-color: shop#00005f;
2083}
2084node[shop=supermarket] {
2085 icon-image: "presets/shop/supermarket.svg";
2086 set icon_z17;
2087}
2088node[shop=convenience] {
2089 icon-image: "presets/shop/convenience.svg";
2090 set icon_z17;
2091}
2092node[shop=bakery] {
2093 icon-image: "presets/shop/groceries/bakery.svg";
2094 set icon_z17;
2095}
2096node[shop=butcher] {
2097 icon-image: "presets/shop/groceries/butcher.svg";
2098 set icon_z17;
2099}
2100node[shop=bicycle] {
2101 icon-image: "presets/shop/bicycle.svg";
2102 set icon_z17;
2103}
2104node[shop=doityourself] {
2105 icon-image: "presets/shop/diy_store.svg";
2106 set icon_z17;
2107}
2108node[shop=dry_cleaning],
2109node[shop=laundry] {
2110 icon-image: "presets/shop/laundry.svg";
2111 set icon_z17;
2112}
2113node[shop=outdoor] {
2114 icon-image: "presets/shop/outdoor.svg";
2115 set icon_z17;
2116}
2117node[shop=kiosk] {
2118 icon-image: "presets/shop/kiosk.svg";
2119 set icon_z17;
2120}
2121node[shop=beverages] {
2122 icon-image: "presets/shop/beverages.svg";
2123 set icon_z17;
2124}
2125node[shop=alcohol] {
2126 icon-image: "presets/shop/alcohol.svg";
2127 set icon_z17;
2128}
2129node[shop=books] {
2130 icon-image: "presets/shop/book.svg";
2131 set icon_z17;
2132}
2133node[shop=boutique] {
2134 icon-image: "presets/shop/boutique.svg";
2135 set icon_z17;
2136}
2137node[shop=car] {
2138 icon-image: "presets/shop/vehicle.svg";
2139 set icon_z17;
2140}
2141node[shop=car_repair] {
2142 icon-image: "presets/vehicle/repair_shop.svg";
2143 set icon_z17;
2144}
2145node[shop=tyres] {
2146 icon-image: "presets/vehicle/tyres.svg";
2147 set icon_z17;
2148}
2149node[shop=chemist] {
2150 icon-image: "presets/shop/chemist.svg";
2151 set icon_z17;
2152}
2153node[shop=tobacco] {
2154 icon-image: "presets/shop/tobacco.svg";
2155 set icon_z17;
2156}
2157node[shop=e-cigarette] {
2158 icon-image: "presets/shop/e-cigarette.svg";
2159 set icon_z17;
2160}
2161node[shop=clothes] {
2162 icon-image: "presets/shop/clothes.svg";
2163 set icon_z17;
2164}
2165node[shop=computer] {
2166 icon-image: "presets/shop/computer.svg";
2167 set icon_z17;
2168}
2169node[shop=confectionery] {
2170 icon-image: "presets/shop/groceries/confectionery.svg";
2171 set icon_z17;
2172}
2173node[shop=pastry] {
2174 icon-image: "presets/shop/groceries/pastry.svg";
2175 set icon_z17;
2176}
2177node[shop=copyshop] {
2178 icon-image: "presets/shop/copyshop.svg";
2179 set icon_z17;
2180}
2181node[shop=curtain] {
2182 icon-image: "presets/shop/curtain.svg";
2183 set icon_z17;
2184}
2185node[shop=cycle_repair] {
2186 icon-image: "presets/shop/bicycle.svg";
2187 set icon_z17;
2188}
2189node[shop=department_store] {
2190 icon-image: "presets/shop/mall.svg";
2191 set icon_z17;
2192}
2193node[shop=deli] {
2194 icon-image: "presets/shop/groceries/deli.svg";
2195 set icon_z17;
2196}
2197node[shop=doors] {
2198 icon-image: "presets/shop/doors.svg";
2199 set icon_z17;
2200}
2201node[shop=electronics] {
2202 icon-image: "presets/shop/electronics.svg";
2203 set icon_z17;
2204}
2205node[shop=erotic] {
2206 icon-image: "presets/shop/erotic.svg";
2207 set icon_z17;
2208}
2209node[shop=furniture] {
2210 icon-image: "presets/shop/furniture.svg";
2211 set icon_z17;
2212}
2213node[shop=fabric] {
2214 icon-image: "presets/shop/fabric.svg";
2215 set icon_z17;
2216}
2217node[shop=florist] {
2218 icon-image: "presets/shop/florist.svg";
2219 set icon_z17;
2220}
2221node[shop=frame] {
2222 icon-image: "presets/shop/frame.svg";
2223 set icon_z17;
2224}
2225node[shop=gas] {
2226 icon-image: "presets/shop/gas.svg";
2227 set icon_z17;
2228}
2229node[shop=gift] {
2230 icon-image: "presets/shop/present.svg";
2231 set icon_z17;
2232}
2233node[shop=greengrocer] {
2234 icon-image: "presets/shop/groceries/greengrocer.svg";
2235 set icon_z17;
2236}
2237node[shop=garden_centre] {
2238 icon-image: "presets/shop/garden_centre.svg";
2239 set icon_z17;
2240}
2241node[shop=hairdresser] {
2242 icon-image: "presets/shop/hairdresser.svg";
2243 set icon_z17;
2244}
2245node[shop=hardware] {
2246 icon-image: "presets/shop/hardware.svg";
2247 set icon_z17;
2248}
2249node[shop=hearing_aids] {
2250 icon-image: "presets/shop/hearing_aids.svg";
2251 set icon_z17;
2252}
2253node[shop=hifi] {
2254 icon-image: "presets/shop/hifi.svg";
2255 set icon_z17;
2256}
2257node[shop=houseware] {
2258 icon-image: "presets/shop/houseware.svg";
2259 set icon_z17;
2260}
2261node[shop=jewelry] {
2262 icon-image: "presets/shop/jewelry.svg";
2263 set icon_z17;
2264}
2265node[shop=kitchen] {
2266 icon-image: "presets/shop/kitchen.svg";
2267 set icon_z17;
2268}
2269node[shop=mall] {
2270 icon-image: "presets/shop/mall.svg";
2271 set icon_z17;
2272}
2273node[shop=massage] {
2274 icon-image: "presets/shop/massage.svg";
2275 set icon_z17;
2276}
2277node[shop=mobile_phone] {
2278 icon-image: "presets/shop/mobile_phone.svg";
2279 set icon_z17;
2280}
2281node[shop=watches] {
2282 icon-image: "presets/shop/watches.svg";
2283 set icon_z17;
2284}
2285node[shop=motorcycle] {
2286 icon-image: "presets/vehicle/motorbike.svg";
2287 set icon_z17;
2288}
2289node[shop=musical_instrument] {
2290 icon-image: "presets/shop/musical_instrument.svg";
2291 set icon_z17;
2292}
2293node[shop=newsagent] {
2294 icon-image: "presets/shop/news.svg";
2295 set icon_z17;
2296}
2297node[shop=optician] {
2298 icon-image: "presets/shop/optician.svg";
2299 set icon_z17;
2300}
2301node[shop=medical_supply] {
2302 icon-image: "presets/shop/medical_supply.svg";
2303 set icon_z17;
2304}
2305node[shop=paint] {
2306 icon-image: "presets/shop/paint.svg";
2307 set icon_z17;
2308}
2309node[shop=party] {
2310 icon-image: "presets/shop/party.svg";
2311 set icon_z17;
2312}
2313node[shop=pawnbroker] {
2314 icon-image: "presets/shop/pawnbroker.svg";
2315 set icon_z17;
2316}
2317node[shop=seafood] {
2318 icon-image: "presets/shop/groceries/seafood.svg";
2319 set icon_z17;
2320}
2321node[shop=dairy] {
2322 icon-image: "presets/shop/groceries/dairy.svg";
2323 set icon_z17;
2324}
2325node[shop=cheese] {
2326 icon-image: "presets/shop/groceries/cheese.svg";
2327 set icon_z17;
2328}
2329node[shop=shoes] {
2330 icon-image: "presets/shop/shoes.svg";
2331 set icon_z17;
2332}
2333node[shop=sports] {
2334 icon-image: "presets/sport/multi.svg";
2335 set icon_z17;
2336}
2337node[shop=stationery] {
2338 icon-image: "presets/shop/stationery.svg";
2339 set icon_z17;
2340}
2341node[shop=tailor] {
2342 icon-image: "presets/shop/tailor.svg";
2343 set icon_z17;
2344}
2345node[shop=travel_agency] {
2346 icon-image: "presets/shop/travel_agency.svg";
2347 set icon_z17;
2348}
2349node[shop=scuba_diving] {
2350 icon-image: "presets/shop/scuba_diving.svg";
2351 set icon_z17;
2352}
2353node[shop=toys] {
2354 icon-image: "presets/shop/toys.svg";
2355 set icon_z17;
2356}
2357node[shop=vacuum_cleaner] {
2358 icon-image: "presets/shop/vacuum_cleaner.svg";
2359 set icon_z17;
2360}
2361node[shop=variety_store] {
2362 icon-image: "presets/shop/variety_store.svg";
2363 set icon_z17;
2364}
2365node[shop=charity] {
2366 icon-image: "presets/shop/charity.svg";
2367 set icon_z17;
2368}
2369node[shop=video] {
2370 icon-image: "presets/shop/video.svg";
2371 set icon_z17;
2372}
2373node[shop=bookmaker] {
2374 icon-image: "presets/shop/lottery.svg";
2375 set icon_z17;
2376}
2377node[shop=lottery] {
2378 icon-image: "presets/shop/lottery.svg";
2379 set icon_z17;
2380}
2381node[shop=pet] {
2382 icon-image: "presets/shop/pet.svg";
2383 set icon_z17;
2384}
2385node[shop=pet_grooming] {
2386 icon-image: "presets/shop/pet_grooming.svg";
2387 set icon_z17;
2388}
2389node[shop=photo] {
2390 icon-image: "presets/shop/photo.svg";
2391 set icon_z17;
2392}
2393node[shop=ticket] {
2394 icon-image: "presets/shop/ticket.svg";
2395 set icon_z17;
2396}
2397node[shop=carpet] {
2398 icon-image: "presets/shop/carpet.svg";
2399 set icon_z17;
2400}
2401node[shop=interior_decoration] {
2402 icon-image: "presets/shop/interior_decoration.svg";
2403 set icon_z17;
2404}
2405node[shop=car_parts] {
2406 icon-image: "presets/vehicle/car_parts.svg";
2407 set icon_z17;
2408}
2409node[shop=video_games] {
2410 icon-image: "presets/shop/video_games.svg";
2411 set icon_z17;
2412}
2413node[shop=bed] {
2414 icon-image: "presets/shop/bed.svg";
2415 set icon_z17;
2416}
2417node[shop=beauty] {
2418 icon-image: "presets/shop/beauty.svg";
2419 set icon_z17;
2420}
2421node[shop=cosmetics] {
2422 icon-image: "presets/shop/cosmetics.svg";
2423 set icon_z17;
2424}
2425node[shop=perfumery] {
2426 icon-image: "presets/shop/perfumery.svg";
2427 set icon_z17;
2428}
2429node[shop=tea] {
2430 icon-image: "presets/shop/groceries/tea.svg";
2431 set icon_z17;
2432}
2433node[shop=coffee] {
2434 icon-image: "presets/shop/groceries/coffee.svg";
2435 set icon_z17;
2436}
2437node[shop=antiques] {
2438 icon-image: "presets/shop/antique.svg";
2439 set icon_z17;
2440}
2441node[shop=music] {
2442 icon-image: "presets/shop/music.svg";
2443 set icon_z17;
2444}
2445node[shop=weapons] {
2446 icon-image: "presets/shop/weapons.svg";
2447 set icon_z17;
2448}
2449node[shop=funeral_directors] {
2450 icon-image: "presets/shop/funeral_directors.svg";
2451 set icon_z17;
2452}
2453node[shop=wine] {
2454 icon-image: "presets/shop/wine.svg";
2455 set icon_z17;
2456}
2457node[shop=farm] {
2458 icon-image: "presets/shop/groceries/farm.svg";
2459 set icon_z17;
2460}
2461node[shop=tattoo] {
2462 icon-image: "presets/shop/tattoo.svg";
2463 set icon_z17;
2464}
2465node[shop=art] {
2466 icon-image: "presets/shop/art.svg";
2467 set icon_z17;
2468}
2469node[shop=bag] {
2470 icon-image: "presets/shop/bag.svg";
2471 set icon_z17;
2472}
2473
2474/******************/
2475/* emergency tags */
2476/******************/
2477area[emergency=ambulance_station],
2478area[emergency=water_tank] {
2479 fill-color: emergency#eeeeee;
2480}
2481node[emergency=ambulance_station] {
2482 icon-image: "presets/emergency/ambulance_station.svg";
2483 set icon_z17;
2484}
2485node[emergency=water_tank] {
2486 icon-image: "presets/emergency/water_tank.svg";
2487 set icon_z17;
2488}
2489node[emergency=emergency_ward_entrance] {
2490 icon-image: "presets/emergency/emergency_ward_entrance.svg";
2491 set icon_z17;
2492}
2493node[emergency=phone] {
2494 icon-image: "presets/vehicle/emergency_phone.svg";
2495 set icon_z17;
2496}
2497node[emergency=defibrillator] {
2498 icon-image: "presets/emergency/aed.svg";
2499 set icon_z17;
2500}
2501node[emergency=fire_hydrant] {
2502 icon-image: "presets/service/fire_hydrant.svg";
2503 set icon_z17;
2504}
2505node[emergency=fire_extinguisher] {
2506 icon-image: "presets/emergency/fire_extinguisher.svg";
2507 set icon_z17;
2508}
2509node[emergency=fire_hose] {
2510 icon-image: "presets/emergency/fire_hose.svg";
2511 set icon_z17;
2512}
2513node[emergency=assembly_point] {
2514 icon-image: "presets/emergency/assembly_point.svg";
2515 set icon_z17;
2516}
2517node[emergency=siren] {
2518 icon-image: "presets/emergency/siren.svg";
2519 set icon_z17;
2520}
2521
2522/****************/
2523/* police tags */
2524/****************/
2525
2526area[police=barracks],
2527area[police=car_pound],
2528area[police=checkpoint],
2529area[police=detention],
2530area[police=naval_base],
2531area[police=offices],
2532area[police=range],
2533area[police=storage],
2534area[police=training_area],
2535area[police=yes] {
2536 fill-color: police#ecba52;
2537}
2538node[police=barracks],
2539node[police=car_pound],
2540node[police=checkpoint],
2541node[police=detention],
2542node[police=naval_base],
2543node[police=offices],
2544node[police=range],
2545node[police=storage],
2546node[police=training_node],
2547node[police=yes] {
2548 icon-image: "presets/service/police_non_public.svg";
2549 set icon_z17;
2550}
2551
2552/****************/
2553/* amenity tags */
2554/****************/
2555
2556area[amenity=pub],
2557area[amenity=biergarten],
2558area[amenity=nightclub],
2559area[amenity=stripclub],
2560area[amenity=casino],
2561area[amenity=brothel],
2562area[amenity=cafe],
2563area[amenity=restaurant],
2564area[amenity=food_court],
2565area[amenity=fast_food],
2566area[amenity=bar],
2567area[amenity=ice_cream] {
2568 fill-color: amenity#ecba52;
2569}
2570node[amenity=pub] {
2571 icon-image: "presets/food/pub.svg";
2572 set icon_z17;
2573}
2574node[amenity=biergarten] {
2575 icon-image: "presets/food/biergarten.svg";
2576 set icon_z17;
2577}
2578node[amenity=nightclub] {
2579 icon-image: "presets/leisure/nightclub.svg";
2580 set icon_z17;
2581}
2582node[amenity=stripclub] {
2583 icon-image: "presets/leisure/stripclub.svg";
2584 set icon_z17;
2585}
2586node[amenity=casino] {
2587 icon-image: "presets/leisure/casino.svg";
2588 set icon_z17;
2589}
2590node[amenity=brothel] {
2591 icon-image: "presets/leisure/brothel.svg";
2592 set icon_z17;
2593}
2594node[amenity=cafe] {
2595 icon-image: "presets/food/cafe.svg";
2596 set icon_z17;
2597}
2598node[amenity=restaurant] {
2599 icon-image: "presets/food/restaurant.svg";
2600 set icon_z17;
2601}
2602node[amenity=food_court] {
2603 icon-image: "presets/food/food_court.svg";
2604 set icon_z17;
2605}
2606node[amenity=fast_food] {
2607 icon-image: "presets/food/fast_food.svg";
2608 set icon_z17;
2609}
2610node[amenity=bar] {
2611 icon-image: "presets/food/bar.svg";
2612 set icon_z17;
2613}
2614node[amenity=ice_cream] {
2615 icon-image: "presets/food/ice_cream.svg";
2616 set icon_z17;
2617}
2618area[amenity=bicycle_parking]:closed {
2619 fill-color: amenity_traffic#f7efb7;
2620}
2621way[amenity=bicycle_parking] {
2622 width: 2;
2623 color: amenity_traffic#f7efb7;
2624}
2625area[amenity=parking_space] {
2626 fill-color: parking_space#f7efb8;
2627}
2628area[amenity=parking],
2629area[amenity=motorcycle_parking],
2630area[amenity=bicycle_rental],
2631area[amenity=bicycle_repair_station],
2632area[amenity=car_rental],
2633area[amenity=car_pooling],
2634area[amenity=car_sharing],
2635area[amenity=car_wash],
2636area[amenity=taxi],
2637area[amenity=fuel] {
2638 fill-color: amenity_traffic#f7efb7;
2639}
2640node[amenity=parking_space] {
2641 icon-image: "presets/vehicle/parking/parking_space.svg";
2642 set icon_z17;
2643}
2644node[amenity=parking] {
2645 icon-image: "presets/vehicle/parking/parking.svg";
2646 set icon_z17;
2647}
2648node[amenity=parking_entrance] {
2649 icon-image: "presets/vehicle/parking/parking.svg";
2650 set icon_z17;
2651}
2652node[amenity=parking_entrance][parking=multi-storey],
2653node[amenity=parking][parking=multi-storey] {
2654 icon-image: "presets/vehicle/parking/multi-storey.svg";
2655 set icon_z17;
2656}
2657node[amenity=parking_entrance][parking=underground],
2658node[amenity=parking][parking=underground] {
2659 icon-image: "presets/vehicle/parking/underground.svg";
2660 set icon_z17;
2661}
2662node[amenity=motorcycle_parking] {
2663 icon-image: "presets/vehicle/parking/motorbike.svg";
2664 set icon_z17;
2665}
2666node[amenity=bicycle_parking] {
2667 icon-image: "presets/vehicle/parking/bicycle.svg";
2668 set icon_z17;
2669}
2670node[park_ride][park_ride!=no] {
2671 icon-image: "presets/vehicle/parking/park_ride.svg";
2672 set icon_z17;
2673}
2674node[amenity=parking_space][wheelchair?] {
2675 icon-image: "presets/vehicle/parking/handicapped.svg";
2676 set icon_z17;
2677}
2678node[amenity=bicycle_rental] {
2679 icon-image: "presets/vehicle/bicycle_rental.svg";
2680 set icon_z17;
2681}
2682node[amenity=bicycle_repair_station] {
2683 icon-image: "presets/vehicle/bicycle_repair_station.svg";
2684 set icon_z17;
2685}
2686node[amenity=car_rental] {
2687 icon-image: "presets/vehicle/car_rental.svg";
2688 set icon_z17;
2689}
2690node[amenity=car_pooling] {
2691 icon-image: "presets/vehicle/car_pooling.svg";
2692 set icon_z17;
2693}
2694node[amenity=car_sharing] {
2695 icon-image: "presets/vehicle/car_sharing.svg";
2696 set icon_z17;
2697}
2698node[amenity=car_wash] {
2699 icon-image: "presets/vehicle/car_wash.svg";
2700 set icon_z17;
2701}
2702node[amenity=taxi] {
2703 icon-image: "presets/transport/taxi.svg";
2704 set icon_z17;
2705}
2706node[amenity=fuel] {
2707 icon-image: "presets/vehicle/fuel.svg";
2708 set icon_z17;
2709}
2710node[amenity=charging_station] {
2711 icon-image: "presets/vehicle/charging_station.svg";
2712 set icon_z17;
2713}
2714node[amenity=grit_bin] {
2715 icon-image: "presets/misc/grit_bin.svg";
2716 set icon_z17;
2717}
2718node[amenity=telephone] {
2719 icon-image: "presets/service/telephone.svg";
2720 set icon_z17;
2721}
2722node[amenity=clock] {
2723 icon-image: "presets/service/clock.svg";
2724 set icon_z17;
2725}
2726node[amenity=photo_booth] {
2727 icon-image: "presets/service/photo_booth.svg";
2728 set icon_z17;
2729}
2730area[amenity=toilets],
2731area[amenity=shower],
2732area[amenity=internet_cafe],
2733area[amenity=recycling],
2734area[amenity=sanitary_dump_station] {
2735 fill-color: amenity_light#f7efb7;
2736}
2737node[amenity=toilets] {
2738 icon-image: "presets/service/toilets.svg";
2739 set icon_z17;
2740}
2741node[amenity=shower] {
2742 icon-image: "presets/service/shower.svg";
2743 set icon_z17;
2744}
2745node[amenity=internet_cafe] {
2746 icon-image: "presets/service/internet_cafe.svg";
2747 set icon_z17;
2748}
2749node[amenity=recycling] {
2750 icon-image: "presets/service/recycling/recycling.svg";
2751 set icon_z17;
2752}
2753node[amenity=recycling][recycling_type=container] {
2754 icon-image: "presets/service/recycling/recycling_container.svg";
2755}
2756node[amenity=recycling][recycling_type=centre] {
2757 icon-image: "presets/service/recycling/recycling_centre.svg";
2758}
2759node[amenity=waste_basket] {
2760 icon-image: "presets/service/recycling/waste_basket.svg";
2761 set icon_z17;
2762}
2763node[amenity=waste_disposal] {
2764 icon-image: "presets/service/recycling/waste_disposal.svg";
2765 set icon_z17;
2766}
2767node[amenity=sanitary_dump_station] {
2768 icon-image: "presets/service/recycling/sanitary_dump_station.svg";
2769 set icon_z17;
2770}
2771area[amenity=townhall],
2772area[amenity=embassy],
2773area[amenity=community_centre] {
2774 fill-color: amenity_light#f7efb7;
2775}
2776node[amenity=townhall] {
2777 icon-image: "presets/service/townhall.svg";
2778 set icon_z17;
2779}
2780node[amenity=embassy] {
2781 icon-image: "presets/service/embassy.svg";
2782 set icon_z17;
2783}
2784node[amenity=community_centre] {
2785 icon-image: "presets/service/community_centre.svg";
2786 set icon_z17;
2787}
2788area[amenity=water_point],
2789area[amenity=fountain] {
2790 fill-color: light_water#00005f;
2791}
2792node[amenity=drinking_water] {
2793 icon-image: "presets/food/drinking_water.svg";
2794 set icon_z17;
2795}
2796node[amenity=water_point] {
2797 icon-image: "presets/accommodation/water.svg";
2798 set icon_z17;
2799}
2800node[amenity=fountain] {
2801 icon-image: "presets/misc/fountain.svg";
2802 set icon_z17;
2803}
2804area[amenity=place_of_worship],
2805area[amenity=grave_yard],
2806area[amenity=crematorium],
2807area[amenity=post_office],
2808area[amenity=studio],
2809area[landuse=school],
2810area[amenity=school],
2811area[amenity=university],
2812area[amenity=college],
2813area[amenity=kindergarten],
2814area[amenity=driving_school] {
2815 fill-color: amenity_light#f7efb7;
2816}
2817node[amenity=place_of_worship] {
2818 icon-image: "presets/religion/religion.svg";
2819 set icon_z17;
2820}
2821node[amenity=place_of_worship][religion=bahai] {
2822 icon-image: "presets/religion/bahai.svg";
2823 set icon_z17;
2824}
2825node[amenity=place_of_worship][religion=buddhist] {
2826 icon-image: "presets/religion/buddhism.svg";
2827 set icon_z17;
2828}
2829node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
2830 icon-image: "presets/misc/no_icon.svg";
2831 set icon_z17;
2832}
2833node[amenity=place_of_worship][religion=christian] {
2834 icon-image: "presets/religion/church.svg";
2835 set icon_z17;
2836}
2837node[amenity=place_of_worship][religion=confucian] {
2838 icon-image: "presets/religion/confucian.svg";
2839 set icon_z17;
2840}
2841node[amenity=place_of_worship][religion=hindu] {
2842 icon-image: "presets/religion/hinduism.svg";
2843 set icon_z17;
2844}
2845node[amenity=place_of_worship][religion=jain] {
2846 icon-image: "presets/religion/jainism.svg";
2847 set icon_z17;
2848}
2849node[amenity=place_of_worship][religion=jewish] {
2850 icon-image: "presets/religion/jewish.svg";
2851 set icon_z17;
2852}
2853node[amenity=place_of_worship][religion=muslim] {
2854 icon-image: "presets/religion/muslim.svg";
2855 set icon_z17;
2856}
2857node[amenity=place_of_worship][religion=shinto] {
2858 icon-image: "presets/religion/shinto.svg";
2859 set icon_z17;
2860}
2861node[amenity=place_of_worship][religion=sikh] {
2862 icon-image: "presets/religion/sikhism.svg";
2863 set icon_z17;
2864}
2865node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
2866 icon-image: "presets/misc/no_icon.svg";
2867 set icon_z17;
2868}
2869node[amenity=place_of_worship][religion=taoist] {
2870 icon-image: "presets/religion/taoism.svg";
2871 set icon_z17;
2872}
2873node[amenity=place_of_worship][religion=tenrikyo] {
2874 icon-image: "presets/religion/tenrikyo.svg";
2875 set icon_z17;
2876}
2877node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
2878 icon-image: "presets/misc/no_icon.svg";
2879 set icon_z17;
2880}
2881node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
2882 icon-image: "presets/misc/no_icon.svg";
2883 set icon_z17;
2884}
2885node[amenity=grave_yard] {
2886 icon-image: "presets/landuse/graveyard.svg";
2887 set icon_z17;
2888}
2889node[amenity=crematorium][!is_prop_set(icon-image)] {
2890 icon-image: "presets/misc/no_icon.svg";
2891 set icon_z17;
2892}
2893node[amenity=post_office] {
2894 icon-image: "presets/service/post_office.svg";
2895 set icon_z17;
2896}
2897node[amenity=post_box] {
2898 icon-image: "presets/service/post_box.svg";
2899 set icon_z17;
2900}
2901node[amenity=studio] {
2902 icon-image: "presets/service/studio.svg";
2903 set icon_z17;
2904}
2905node[amenity=school] {
2906 icon-image: "presets/education/school.svg";
2907 set icon_z17;
2908}
2909node[amenity=university] {
2910 icon-image: "presets/education/university.svg";
2911 set icon_z17;
2912}
2913node[amenity=college] {
2914 icon-image: "presets/education/college.svg";
2915 set icon_z17;
2916}
2917node[amenity=kindergarten] {
2918 icon-image: "presets/education/kindergarten.svg";
2919 set icon_z17;
2920}
2921node[amenity=driving_school] {
2922 icon-image: "presets/education/driving_school.svg";
2923 set icon_z17;
2924}
2925area[amenity=pharmacy],
2926area[amenity=hospital],
2927area[amenity=clinic],
2928area[amenity=nursing_home],
2929area[amenity=social_facility],
2930area[amenity=baby_hatch],
2931area[amenity=doctors],
2932area[amenity=dentist],
2933area[amenity=veterinary] {
2934 fill-color: health#eeeeee;
2935}
2936node[amenity=pharmacy] {
2937 icon-image: "presets/health/pharmacy.svg";
2938 set icon_z17;
2939}
2940node[amenity=hospital] {
2941 icon-image: "presets/health/hospital.svg";
2942 set icon_z17;
2943}
2944node[amenity=clinic] {
2945 icon-image: "presets/health/clinic.svg";
2946 set icon_z17;
2947}
2948node[amenity=social_facility][social_facility=nursing_home],
2949node[amenity=nursing_home] {
2950 icon-image: "presets/social_facility/nursing_home.svg";
2951 set icon_z17;
2952}
2953node[amenity=social_facility][social_facility=group_home] {
2954 icon-image: "presets/social_facility/group_home.svg";
2955 set icon_z17;
2956}
2957node[amenity=social_facility][social_facility=assisted_living] {
2958 icon-image: "presets/social_facility/assisted_living.svg";
2959 set icon_z17;
2960}
2961node[amenity=social_facility][social_facility=outreach] {
2962 icon-image: "presets/social_facility/outreach.svg";
2963 set icon_z17;
2964}
2965node[amenity=social_facility][social_facility=shelter] {
2966 icon-image: "presets/social_facility/shelter.svg";
2967 set icon_z17;
2968}
2969node[amenity=social_facility][social_facility=food_bank] {
2970 icon-image: "presets/social_facility/food_bank.svg";
2971 set icon_z17;
2972}
2973node[amenity=baby_hatch] {
2974 icon-image: "presets/health/baby_hatch.svg";
2975 set icon_z17;
2976}
2977node[amenity=doctors] {
2978 icon-image: "presets/health/doctors.svg";
2979 set icon_z17;
2980}
2981node[amenity=dentist] {
2982 icon-image: "presets/health/dentist.svg";
2983 set icon_z17;
2984}
2985node[amenity=veterinary] {
2986 icon-image: "presets/health/veterinary.svg";
2987 set icon_z17;
2988}
2989area[amenity=library],
2990area[amenity=police],
2991area[amenity=ranger_station],
2992area[amenity=fire_station],
2993area[amenity=bus_station],
2994area[amenity=ferry_terminal],
2995area[amenity=theatre],
2996area[amenity=cinema],
2997area[amenity=dive_centre],
2998area[amenity=arts_centre],
2999area[amenity=courthouse],
3000area[amenity=prison],
3001area[amenity=bank],
3002area[amenity=bureau_de_change],
3003area[amenity=money_transfer],
3004area[amenity=bbq],
3005area[amenity=watering_place] {
3006 fill-color: amenity_light#f7efb7;
3007}
3008node[amenity=library] {
3009 icon-image: "presets/education/library.svg";
3010 set icon_z17;
3011}
3012node[amenity=police] {
3013 icon-image: "presets/service/police.svg";
3014 set icon_z17;
3015}
3016node[amenity=ranger_station] {
3017 icon-image: "presets/service/ranger_station.svg";
3018 set icon_z17;
3019}
3020node[amenity=fire_station] {
3021 icon-image: "presets/service/firebrigade.svg";
3022 set icon_z17;
3023}
3024node[amenity=bus_station] {
3025 icon-image: "presets/transport/bus_old.svg";
3026 set icon_z17;
3027}
3028node[amenity=ferry_terminal] {
3029 icon-image: "presets/nautical/ferry.svg";
3030 set icon_z17;
3031}
3032node[amenity=theatre] {
3033 icon-image: "presets/leisure/theater.svg";
3034 set icon_z17;
3035}
3036node[amenity=cinema] {
3037 icon-image: "presets/leisure/cinema.svg";
3038 set icon_z17;
3039}
3040node[amenity=dive_centre] {
3041 icon-image: "presets/leisure/dive_centre.svg";
3042 set icon_z17;
3043}
3044node[amenity=arts_centre] {
3045 icon-image: "presets/sightseeing/arts_centre.svg";
3046 set icon_z17;
3047}
3048node[amenity=courthouse] {
3049 icon-image: "presets/service/courthouse.svg";
3050 set icon_z17;
3051}
3052node[amenity=prison] {
3053 icon-image: "presets/service/prison.svg";
3054 set icon_z17;
3055}
3056node[amenity=bank] {
3057 icon-image: "presets/money/bank.svg";
3058 set icon_z17;
3059}
3060node[amenity=bureau_de_change] {
3061 icon-image: "presets/money/exchange.svg";
3062 set icon_z17;
3063}
3064node[amenity=money_transfer] {
3065 icon-image: "presets/money/money_transfer.svg";
3066 set icon_z17;
3067}
3068node[amenity=atm] {
3069 icon-image: "presets/money/atm.svg";
3070 set icon_z17;
3071}
3072way[amenity=bench] {
3073 width: 2;
3074 color: amenity_light#f7efb7;
3075}
3076node[amenity=bench] {
3077 icon-image: "presets/leisure/bench.svg";
3078 set icon_z17;
3079}
3080node[amenity=bbq] {
3081 icon-image: "presets/leisure/bbq.svg";
3082 set icon_z17;
3083}
3084node[amenity=compressed_air] {
3085 icon-image: "presets/vehicle/compressed_air.svg";
3086 set icon_z17;
3087}
3088node[amenity=watering_place] {
3089 icon-image: "presets/misc/watering_place.svg";
3090 set icon_z17;
3091}
3092area[amenity=shelter],
3093area[amenity=marketplace],
3094area[amenity=wlan] {
3095 fill-color: amenity_light#f7efb7;
3096}
3097node[amenity=shelter] {
3098 icon-image: "presets/accommodation/shelter.svg";
3099 set icon_z17;
3100}
3101node[amenity=shelter][shelter_type=public_transport] {
3102 icon-image: "presets/accommodation/shelter_public_transport.svg";
3103 set icon_z17;
3104}
3105node[amenity=shelter][shelter_type=picnic_shelter] {
3106 icon-image: "presets/accommodation/shelter_picnic.svg";
3107 set icon_z17;
3108}
3109node[amenity=shelter][shelter_type=basic_hut] {
3110 icon-image: "presets/accommodation/basic_hut.svg";
3111 set icon_z17;
3112}
3113node[amenity=shelter][shelter_type=lean_to] {
3114 icon-image: "presets/accommodation/shelter_lean_to.svg";
3115 set icon_z17;
3116}
3117node[amenity=hunting_stand] {
3118 icon-image: "presets/landmark/hunting_stand.svg";
3119 set icon_z17;
3120}
3121node[amenity=marketplace] {
3122 icon-image: "presets/shop/marketplace.svg";
3123 set icon_z17;
3124}
3125node[amenity=vending_machine] {
3126 icon-image: "presets/transport/ticket-machine.svg";
3127 set icon_z17;
3128}
3129node[vending=excrement_bags] {
3130 icon-image: "presets/service/excrement_bags.svg";
3131 set icon_z17;
3132}
3133
3134/**************/
3135/* craft tags */
3136/**************/
3137
3138area[craft=carpenter],
3139area[craft=shoemaker],
3140area[craft=photographer],
3141area[craft=metal_construction],
3142area[craft=electrician],
3143area[craft=brewery],
3144area[craft=plumber],
3145area[craft=sawmill],
3146area[craft=gardener],
3147area[craft=winery],
3148area[craft=hvac],
3149area[craft=painter],
3150area[craft=stonemason],
3151area[craft=handicraft],
3152area[craft=pottery],
3153area[craft=key_cutter],
3154area[craft=caterer],
3155area[craft=roofer],
3156area[craft=beekeeper],
3157area[craft=blacksmith],
3158area[craft=locksmith],
3159area[craft=window_construction],
3160area[craft=upholsterer],
3161area[craft=tiler] {
3162 fill-color: craft#999900;
3163}
3164node[craft=carpenter] {
3165 icon-image: "presets/craft/carpenter.svg";
3166 set icon_z17;
3167}
3168node[craft=shoemaker] {
3169 icon-image: "presets/craft/shoemaker.svg";
3170 set icon_z17;
3171}
3172node[craft=photographer] {
3173 icon-image: "presets/craft/photographer.svg";
3174 set icon_z17;
3175}
3176node[craft=metal_construction] {
3177 icon-image: "presets/craft/metal_construction.svg";
3178 set icon_z17;
3179}node[craft=electrician] {
3180 icon-image: "presets/craft/electrician.svg";
3181 set icon_z17;
3182}
3183node[craft=brewery][!is_prop_set(icon-image)] {
3184 icon-image: "presets/misc/no_icon.svg";
3185 set icon_z17;
3186}
3187node[craft=plumber] {
3188 icon-image: "presets/craft/plumber.svg";
3189 set icon_z17;
3190}
3191node[craft=sawmill] {
3192 icon-image: "presets/craft/sawmill.svg";
3193 set icon_z17;
3194}
3195node[craft=gardener] {
3196 icon-image: "presets/craft/gardener.svg";
3197 set icon_z17;
3198}
3199node[craft=winery][!is_prop_set(icon-image)] {
3200 icon-image: "presets/misc/no_icon.svg";
3201 set icon_z17;
3202}
3203node[craft=hvac] {
3204 icon-image: "presets/craft/hvac.svg";
3205 set icon_z17;
3206}
3207node[craft=painter] {
3208 icon-image: "presets/craft/painter.svg";
3209 set icon_z17;
3210}
3211node[craft=stonemason] {
3212 icon-image: "presets/craft/stonemason.svg";
3213 set icon_z17;
3214}
3215node[craft=handicraft][!is_prop_set(icon-image)] {
3216 icon-image: "presets/misc/no_icon.svg";
3217 set icon_z17;
3218}
3219node[craft=pottery] {
3220 icon-image: "presets/craft/pottery.svg";
3221 set icon_z17;
3222}
3223node[craft=key_cutter] {
3224 icon-image: "presets/craft/key_cutter.svg";
3225 set icon_z17;
3226}
3227node[craft=caterer][!is_prop_set(icon-image)] {
3228 icon-image: "presets/misc/no_icon.svg";
3229 set icon_z17;
3230}
3231node[craft=roofer] {
3232 icon-image: "presets/craft/roofer.svg";
3233 set icon_z17;
3234}
3235node[craft=beekeeper] {
3236 icon-image: "presets/craft/beekeeper.svg";
3237 set icon_z17;
3238}
3239node[craft=blacksmith] {
3240 icon-image: "presets/craft/blacksmith.svg";
3241 set icon_z17;
3242}
3243node[craft=locksmith] {
3244 icon-image: "presets/craft/locksmith.svg";
3245 set icon_z17;
3246}
3247node[craft=window_construction] {
3248 icon-image: "presets/craft/window_construction.svg";
3249 set icon_z17;
3250}
3251node[craft=upholsterer] {
3252 icon-image: "presets/craft/upholsterer.svg";
3253 set icon_z17;
3254}
3255node[craft=tiler] {
3256 icon-image: "presets/craft/tiler.svg";
3257 set icon_z17;
3258}
3259
3260/****************/
3261/* tourism tags */
3262/****************/
3263
3264area[tourism=hotel],
3265area[tourism=motel],
3266area[tourism=guest_house],
3267area[tourism=apartment],
3268area[tourism=hostel],
3269area[tourism=chalet],
3270area[tourism=alpine_hut],
3271area[tourism=wilderness_hut],
3272area[tourism=camp_site],
3273area[tourism=camp_pitch],
3274area[tourism=caravan_site] {
3275 fill-color: hotel#feced0;
3276}
3277node[tourism=hotel] {
3278 icon-image: "presets/accommodation/hotel.svg";
3279 set icon_z17;
3280}
3281node[tourism=motel] {
3282 icon-image: "presets/accommodation/motel.svg";
3283 set icon_z17;
3284}
3285node[tourism=guest_house] {
3286 icon-image: "presets/accommodation/guest_house.svg";
3287 set icon_z17;
3288}
3289node[tourism=apartment] {
3290 icon-image: "presets/accommodation/apartment.svg";
3291 set icon_z17;
3292}
3293node[tourism=hostel] {
3294 icon-image: "presets/accommodation/hostel.svg";
3295 set icon_z17;
3296}
3297node[tourism=chalet] {
3298 icon-image: "presets/accommodation/chalet.svg";
3299 set icon_z17;
3300}
3301node[tourism=alpine_hut] {
3302 icon-image: "presets/accommodation/alpine_hut.svg";
3303 set icon_z17;
3304}
3305node[tourism=wilderness_hut] {
3306 icon-image: "presets/accommodation/wilderness_hut.svg";
3307 set icon_z17;
3308}
3309node[tourism=camp_site] {
3310 icon-image: "presets/accommodation/camping.svg";
3311 set icon_z17;
3312}
3313node[tourism=camp_pitch] {
3314 icon-image: "presets/accommodation/camp_pitch.svg";
3315 set icon_z17;
3316}
3317node[tourism=caravan_site] {
3318 icon-image: "presets/accommodation/caravan.svg";
3319 set icon_z17;
3320}
3321area[tourism=attraction]:closed {
3322 fill-color: tourism#e180a2;
3323}
3324way[tourism=attraction] {
3325 width: 2;
3326 color: tourism#e180a2;
3327}
3328node[tourism=attraction] {
3329 icon-image: "presets/sightseeing/attraction.svg";
3330 set icon_z17;
3331}
3332area[tourism=picnic_site],
3333area[tourism=viewpoint],
3334area[tourism=theme_park],
3335area[tourism=zoo],
3336area[tourism=museum] {
3337 fill-color: tourism#e180a2;
3338}
3339node[tourism=picnic_site] {
3340 icon-image: "presets/leisure/picnic.svg";
3341 set icon_z17;
3342}
3343node[tourism=viewpoint] {
3344 icon-image: "presets/sightseeing/viewpoint.svg";
3345 set icon_z17;
3346}
3347node[tourism=theme_park] {
3348 icon-image: "presets/leisure/theme_park.svg";
3349 set icon_z17;
3350}
3351node[tourism=zoo] {
3352 icon-image: "presets/leisure/zoo.svg";
3353 set icon_z17;
3354}
3355area[tourism=artwork]:closed {
3356 fill-color: tourism#e180a2;
3357}
3358way[tourism=artwork] {
3359 width: 2;
3360 color: tourism#e180a2;
3361}
3362node[tourism=artwork] {
3363 icon-image: "presets/sightseeing/arts_centre.svg";
3364 set icon_z17;
3365}
3366node[tourism=museum] {
3367 icon-image: "presets/sightseeing/museum.svg";
3368 set icon_z17;
3369}
3370
3371/********************/
3372/* attraction tags */
3373/********************/
3374
3375area[attraction=animal] {
3376 fill-color: attraction#ffbfd3;
3377 color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
3378}
3379node[attraction=animal] {
3380 icon-image: "presets/attraction/animal.svg";
3381 set icon_z17;
3382}
3383
3384/********************/
3385/* information tags */
3386/********************/
3387
3388area[tourism=information] {
3389 fill-color: tourism#e180a2;
3390}
3391node[tourism=information] {
3392 icon-image: "presets/misc/information/information.svg";
3393 set icon_z17;
3394}
3395node[tourism=information][information=guidepost] {
3396 icon-image: "presets/misc/information/guidepost.svg";
3397 set icon_z17;
3398}
3399node[tourism=information][information=route_marker] {
3400 icon-image: "presets/misc/information/route_marker.svg";
3401 set icon_z17;
3402}
3403node[tourism=information][information=audioguide] {
3404 icon-image: "presets/misc/information/audioguide.svg";
3405 set icon_z17;
3406}
3407area[tourism=information][information=office] {
3408 fill-color: tourism#e180a2;
3409}
3410node[tourism=information][information=office] {
3411 icon-image: "presets/misc/information/informationoffice.svg";
3412 set icon_z17;
3413}
3414node[tourism=information][information=map] {
3415 icon-image: "presets/misc/information/map.svg";
3416 set icon_z17;
3417}
3418node[tourism=information][information=board] {
3419 icon-image: "presets/misc/information/board.svg";
3420 set icon_z17;
3421}
3422
3423/*****************/
3424/* historic tags */
3425/*****************/
3426
3427area[historic=castle],
3428area[historic=fort],
3429area[historic=monument],
3430area[historic=memorial],
3431area[historic=tomb],
3432area[historic=archaeological_site],
3433area[historic=ruins],
3434area[historic=battlefield],
3435area[geological=palaeontological_site],
3436area[historic=wayside_cross],
3437area[historic=wayside_shrine],
3438area[historic=boundary_stone] {
3439 fill-color: historic#663300;
3440}
3441node[historic=fort] {
3442 icon-image: "presets/sightseeing/fort.svg";
3443 set icon_z17;
3444}
3445node[historic=castle] {
3446 icon-image: "presets/sightseeing/castle.svg";
3447 set icon_z17;
3448}
3449node[historic=monument] {
3450 icon-image: "presets/sightseeing/monument.svg";
3451 set icon_z17;
3452}
3453node[historic=memorial] {
3454 icon-image: "presets/sightseeing/memorial.svg";
3455 set icon_z17;
3456}
3457node[historic=archaeological_site] {
3458 icon-image: "presets/sightseeing/archaeological.svg";
3459 set icon_z17;
3460}
3461node[historic=ruins] {
3462 icon-image: "presets/sightseeing/ruins.svg";
3463 set icon_z17;
3464}
3465node[historic=battlefield] {
3466 icon-image: "presets/sightseeing/battlefield.svg";
3467 set icon_z17;
3468}
3469node[geological=palaeontological_site] {
3470 icon-image: "presets/sightseeing/palaeontological_site.svg";
3471 set icon_z17;
3472}
3473node[historic=wayside_cross] {
3474 icon-image: "presets/religion/wayside_cross.svg";
3475 set icon_z17;
3476}
3477node[historic=wayside_shrine] {
3478 icon-image: "presets/religion/wayside_shrine.svg";
3479 set icon_z17;
3480}
3481node[historic=boundary_stone] {
3482 icon-image: "presets/landmark/boundary_stone.svg";
3483 set icon_z17;
3484}
3485area[cemetery=grave] {
3486 fill-color: grave#663300;
3487}
3488node[cemetery=grave] {
3489 icon-image: "presets/misc/grave.svg";
3490 set icon_z17;
3491}
3492area[cemetery=sector] {
3493 fill-color: cemetery_sector#dbf8e6;
3494}
3495node[cemetery=sector] {
3496 icon-image: "presets/misc/cemetery_sector.svg";
3497 set icon_z17;
3498}
3499node[historic=tomb] {
3500 icon-image: "presets/misc/tomb.svg";
3501 set icon_z17;
3502}
3503
3504/****************/
3505/* landuse tags */
3506/****************/
3507
3508area[landuse],
3509area[leisure],
3510area[amenity],
3511area[place],
3512area[natural],
3513area[man_made] {
3514 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3515}
3516area[landuse=farmland] {
3517 fill-color: farmland#b8e0b1;
3518}
3519area[landuse=meadow] {
3520 fill-color: meadow#b1e0b6;
3521}
3522area[landuse=vineyard],
3523area[landuse=orchard] {
3524 fill-color: green#b1e0c2;
3525}
3526area[landuse=quarry] {
3527 fill-color: quarry#888888;
3528}
3529area[landuse=landfill] {
3530 fill-color: landfill#663300;
3531}
3532area[landuse=basin],
3533area[landuse=reservoir] {
3534 fill-color: basin#0000bf;
3535}
3536area[landuse=forest] {
3537 fill-color: forest#b1efc8;
3538}
3539area[landuse=allotments] {
3540 fill-color: allotments#5dbf80;
3541}
3542area[landuse=greenhouse_horticulture],
3543area[landuse=plant_nursery] {
3544 fill-color: green#b1e0c2;
3545}
3546area[landuse=salt_pond] {
3547 fill-color: salt_pond#eeeeee;
3548}
3549area[landuse=aquaculture] {
3550 fill-color: aquaculture#189dff;
3551}
3552area[landuse=flowerbed] {
3553 fill-color: flowerbed#91c956;
3554}
3555area[landuse=grass] {
3556 fill-color: grass#97ca96;
3557}
3558area[landuse=residential] {
3559 fill-color: residential#f0f0f0;
3560}
3561area[landuse=garages] {
3562 fill-color: garages#d6c8aa;
3563}
3564area[landuse=farmyard] {
3565 fill-color: farmyard#f0f0f0;
3566}
3567area[landuse=retail],
3568area[landuse=commercial] {
3569 fill-color: retail#ffc4ee;
3570}
3571area[landuse=industrial] {
3572 fill-color: industrial#ecd8ff;
3573}
3574area[landuse=brownfield] {
3575 fill-color: brownfield#ecba32;
3576}
3577area[landuse=greenfield] {
3578 fill-color: greenfield#b1ec5c;
3579}
3580area[landuse=railway] {
3581 fill-color: railland#888888;
3582}
3583area[landuse=construction] {
3584 fill-color: construction#ffff00;
3585}
3586way[landuse=construction] {
3587 width: 1;
3588 color: construction#ffff00;
3589 dashes: 9,9;
3590}
3591area[landuse=military] {
3592 fill-color: military#b62c2c;
3593}
3594area[landuse=religious] {
3595 fill-color: religious#ffd454;
3596}
3597area[landuse=cemetery] {
3598 fill-color: cemetery#b1efc8;
3599}
3600area[landuse=village_green] {
3601 fill-color: green#b1e0c2;
3602}
3603area[landuse=recreation_ground] {
3604 fill-color: green#b1e0c2;
3605}
3606node[landuse] {
3607 icon-image: "presets/misc/deprecated.svg";
3608 set icon_z17;
3609}
3610
3611/*****************/
3612/* military tags */
3613/*****************/
3614
3615area[military=airfield],
3616area[military=bunker],
3617area[military=barracks],
3618area[military=danger_area],
3619area[military=range] {
3620 fill-color: military#b62c2c;
3621}
3622node[military=airfield] {
3623 icon-image: "presets/transport/airport/airfield.svg";
3624 set icon_z17;
3625}
3626node[military=bunker] {
3627 icon-image: "presets/landmark/bunker.svg";
3628 set icon_z17;
3629}
3630node[military=barracks][!is_prop_set(icon-image)] {
3631 icon-image: "presets/misc/no_icon.svg";
3632 set icon_z17;
3633}
3634node[military=danger_area] {
3635 icon-image: "presets/misc/danger.svg";
3636 set icon_z17;
3637}
3638node[military=range] {
3639 icon-image: "presets/sport/range.svg";
3640 set icon_z17;
3641}
3642
3643/****************/
3644/* railway tags */
3645/****************/
3646
3647area[railway=station] {
3648 fill-color: railwaypoint#f7efb7;
3649}
3650node[railway=station] {
3651 icon-image: "presets/transport/railway_station.svg";
3652 set icon_z17;
3653}
3654node[railway=halt] {
3655 icon-image: "presets/transport/railway_halt.svg";
3656 set icon_z17;
3657}
3658node[railway=tram_stop] {
3659 icon-image: "presets/transport/tram.svg";
3660 set icon_z17;
3661}
3662node[railway=subway_entrance] {
3663 icon-image: "presets/transport/underground.svg";
3664 set icon_z17;
3665}
3666node[railway=crossing] {
3667 icon-image: "presets/transport/railway/crossing.svg";
3668 set icon_z17;
3669}
3670node[railway=level_crossing] {
3671 icon-image: "presets/transport/railway/level_crossing.svg";
3672 set icon_z17;
3673}
3674way[railway=rail] {
3675 width: 2;
3676 color: rail#404040;
3677 dashes: 9,9;
3678 dashes-background-color: raildashed#ffffff;
3679}
3680way[railway=rail][service=crossover],
3681way[railway=rail][service=siding] {
3682 width: 1;
3683}
3684way[railway=rail][service=yard],
3685way[railway=rail][service=spur] {
3686 width: 1;
3687 color: railyard#552200;
3688}
3689/* draw tram and light_rail on top of other way (highway=*) or
3690 as a standalone style */
3691way[highway][railway=tram]::core_railway,
3692way[!highway][railway=tram] {
3693 z-index: 1;
3694 modifier: false; /* don't draw default way if there is no line on default layer */
3695 width: 1;
3696 color: railover#202020;
3697 dashes: 9,9;
3698 casing-width: 1;
3699 casing-color: otherrail#808080;
3700 casing-linecap: round;
3701 casing-dashes: 9,9;
3702}
3703way[highway][railway=tram][service=crossover]::core_railway,
3704way[!highway][railway=tram][service=crossover],
3705way[highway][railway=tram][service=siding]::core_railway,
3706way[!highway][railway=tram][service=siding],
3707way[highway][railway=tram][service=yard]::core_railway,
3708way[!highway][railway=tram][service=yard],
3709way[highway][railway=tram][service=spur]::core_railway,
3710way[!highway][railway=tram][service=spur] {
3711 dashes: 6,6;
3712 casing-dashes: 6,6;
3713}
3714
3715way[highway][railway=light_rail]::core_railway,
3716way[!highway][railway=light_rail] {
3717 z-index: 1;
3718 modifier: false; /* don't draw default way if there is no line on default layer */
3719 width: 2;
3720 color: otherrail#808080;
3721 dashes: 9,9;
3722}
3723way[railway=subway] {
3724 width: 1;
3725 color: subway#606060;
3726 dashes: 9,9;
3727}
3728way[railway=preserved] {
3729 width: 1;
3730 color: oldrail#404040;
3731 dashes: 9,9;
3732}
3733way[railway=light_rail][service=crossover],
3734way[railway=light_rail][service=siding],
3735way[railway=light_rail][service=yard],
3736way[railway=light_rail][service=spur],
3737way[railway=subway][service=crossover],
3738way[railway=subway][service=siding],
3739way[railway=subway][service=yard],
3740way[railway=subway][service=spur],
3741way[railway=preserved][service=crossover],
3742way[railway=preserved][service=siding],
3743way[railway=preserved][service=yard],
3744way[railway=preserved][service=spur] {
3745 dashes: 6,6;
3746}
3747/* disused often appears together with highway=xy */
3748/* -> draw on separate layer with higher z-index, but use */
3749/* modifier: false; to suppress default line when used alone. */
3750/* use default layer when used without highway=* to display bridge correctly */
3751way[railway=disused][highway]::core_railway,
3752way[railway=disused][!highway],
3753way[railway=abandoned][highway]::core_railway,
3754way[railway=abandoned][!highway] {
3755 width: 1;
3756 modifier: false;
3757 z-index: 1;
3758 color: oldrail#404040;
3759 dashes: 9,9;
3760}
3761way[railway=narrow_gauge],
3762way[railway=monorail] {
3763 width: 1;
3764 color: rail#404040;
3765 dashes: 9,9;
3766}
3767way[railway=narrow_gauge][service=crossover],
3768way[railway=narrow_gauge][service=siding],
3769way[railway=narrow_gauge][service=yard],
3770way[railway=narrow_gauge][service=spur],
3771way[railway=monorail][service=crossover],
3772way[railway=monorail][service=siding],
3773way[railway=monorail][service=yard],
3774way[railway=monorail][service=spur] {
3775 dashes: 6,6;
3776}
3777area[railway=turntable] {
3778 fill-color: rail#404040;
3779}
3780node[railway=turntable] {
3781 icon-image: "presets/transport/railway/turntable.svg";
3782 set icon_z17;
3783}
3784node[railway=buffer_stop] {
3785 icon-image: "presets/transport/railway/buffer_stop.svg";
3786 set icon_z17;
3787}
3788area[railway=platform]:closed {
3789 fill-color: rail#404040;
3790}
3791way[railway=platform] {
3792 width: 2;
3793 color: rail#404040;
3794}
3795way[railway=funicular] {
3796 width: 1;
3797 color: rail#404040;
3798 dashes: 9,9;
3799}
3800node[railway=switch] {
3801 icon-image: "presets/transport/railway/switch.svg";
3802 set icon_z17;
3803}
3804node[railway=railway_crossing] {
3805 icon-image: "presets/transport/railway/railway_crossing.svg";
3806 set icon_z17;
3807}
3808node[railway=signal] {
3809 icon-image: "presets/transport/railway/signal.svg";
3810 set icon_z17;
3811}
3812node[railway=milestone] {
3813 icon-image: "presets/transport/railway/milestone.svg";
3814 set icon_z17;
3815}
3816node[railway=rail], node[railway=tram], node[railway=light_rail],
3817node[railway=subway], node[railway=preserved],
3818node[railway=disused], node[railway=abandoned],
3819node[railway=narrow_gauge], node[railway=monorail],
3820node[railway=platform], node[railway=funicular],
3821node[service=yard], node[service=siding], node[service=spur] {
3822 icon-image: "presets/misc/deprecated.svg";
3823 set icon_z17;
3824}
3825way[railway=construction][!highway] {
3826 width: 1;
3827 color: construction#ffff00;
3828 dashes: 9,9;
3829}
3830way[railway=construction][construction=rail] {
3831 width: 2;
3832 color: rail#404040;
3833 dashes: 9,9;
3834 dashes-background-color: construction#ffff00;
3835}
3836way[railway=construction][construction=light_rail][highway]::core_railway,
3837way[railway=construction][construction=light_rail][!highway] {
3838 z-index: 1;
3839 width: 2;
3840 dashes: 9,9;
3841 color: construction#ffff00;
3842}
3843way[railway=construction][construction=tram][highway]::core_railway,
3844way[railway=construction][construction=tram][!highway] {
3845 z-index: 1;
3846 width: 1;
3847 color: railover#202020;
3848 dashes: 9,9;
3849 casing-width: 1;
3850 casing-color: construction#ffff00;
3851 casing-linecap: round;
3852 casing-dashes: 9,9;
3853}
3854
3855/****************/
3856/* aeroway tags */
3857/****************/
3858
3859area[aeroway=aerodrome] {
3860 fill-color: aeroway#660000;
3861 width: 2;
3862 dashes: 9,9;
3863}
3864node[aeroway=aerodrome][military!=airfield] {
3865 icon-image: "presets/transport/airport.svg";
3866 set icon_z17;
3867}
3868area[aeroway=terminal] {
3869 fill-color: terminal#bb0000;
3870}
3871node[aeroway=terminal] {
3872 icon-image: "presets/transport/airport/terminal.svg";
3873 set icon_z17;
3874}
3875area[aeroway=helipad] {
3876 fill-color: aeroway_dark#330000;
3877}
3878node[aeroway=helipad] {
3879 icon-image: "presets/transport/airport/helipad.svg";
3880 set icon_z17;
3881}
3882area[aeroway=runway]:closed {
3883 fill-color: aeroway_dark#330000;
3884}
3885way[aeroway=runway] {
3886 width: 3;
3887 color: aeroway_dark#330000;
3888}
3889area[aeroway=taxiway]:closed {
3890 fill-color: aeroway#660000;
3891}
3892way[aeroway=taxiway] {
3893 width: 2;
3894 color: aeroway#660000;
3895}
3896way[aeroway=parking_position] {
3897 width: 1;
3898 color: aeroway#660000;
3899}
3900node[aeroway=parking_position] {
3901 icon-image: "presets/transport/airport/parking_position.svg";
3902 set icon_z17;
3903}
3904area[aeroway=apron],
3905area[aeroway=hangar] {
3906 fill-color: aeroway_light#990000;
3907}
3908node[aeroway=apron],
3909node[aeroway=runway],
3910node[aeroway=taxiway] {
3911 icon-image: "presets/misc/deprecated.svg";
3912 set icon_z17;
3913}
3914node[aeroway=holding_position] {
3915 icon-image: "presets/transport/airport/holding_position.svg";
3916 set icon_z17;
3917}
3918node[aeroway=hangar] {
3919 icon-image: "presets/transport/airport/hangar.svg";
3920 set icon_z17;
3921}
3922node[aeroway=gate] {
3923 icon-image: "presets/transport/airport/gate.svg";
3924 set icon_z17;
3925}
3926node[airmark=beacon] {
3927 icon-image: "presets/transport/airport/airmark_beacon.svg";
3928 set icon_z17;
3929}
3930node[aeroway=navigationaid] {
3931 icon-image: "presets/transport/airport/navigationaid.svg";
3932 set icon_z17;
3933}
3934node[aeroway=navigationaid][navigationaid=papi] {
3935 icon-image: "presets/transport/airport/papi.svg";
3936 set icon_z17;
3937}
3938node[aeroway=navigationaid][navigationaid=vasi] {
3939 icon-image: "presets/transport/airport/vasi.svg";
3940 set icon_z17;
3941}
3942node[aeroway=windsock] {
3943 icon-image: "presets/transport/airport/windsock.svg";
3944 set icon_z17;
3945}
3946
3947/******************/
3948/* aerialway tags */
3949/******************/
3950
3951way[aerialway=cable_car],
3952way[aerialway=gondola] {
3953 width: 1;
3954 color: aerialway#663300;
3955 dashes: 9,9;
3956}
3957way[aerialway=chair_lift] {
3958 width: 1;
3959 color: aerialway#663300;
3960 dashes: 6,6;
3961}
3962way[aerialway=mixed_lift] {
3963 width: 1;
3964 color: aerialway#663300;
3965 dashes: 6,6,9,6;
3966}
3967way[aerialway=j-bar],
3968way[aerialway=t-bar],
3969way[aerialway=platter],
3970way[aerialway=rope_tow],
3971way[aerialway=drag_lift] {
3972 width: 1;
3973 color: aerialway#663300;
3974 dashes: 3,3;
3975}
3976way[aerialway=magic_carpet] {
3977 width: 1;
3978 color: aerialway#663300;
3979 dashes: 3,3;
3980}
3981way[aerialway=goods] {
3982 width: 1;
3983 color: aerialway#663300;
3984 dashes: 2,2;
3985}
3986way[aerialway=zip_line] {
3987 width: 1;
3988 color: aerialway#663300;
3989 dashes: 3,3;
3990}
3991area[aerialway=station] {
3992 fill-color: aerialway#663300;
3993}
3994node[aerialway=station] {
3995 icon-image: "presets/transport/aerialway/station.svg";
3996 set icon_z17;
3997}
3998node[aerialway=pylon] {
3999 icon-image: "presets/transport/aerialway/pylon.svg";
4000 set icon_z17;
4001}
4002node[aerialway=cable_car],
4003node[aerialway=gondola],
4004node[aerialway=chair_lift],
4005node[aerialway=mixed_lift],
4006node[aerialway=drag_lift],
4007node[aerialway=t-bar],
4008node[aerialway=j-bar],
4009node[aerialway=platter],
4010node[aerialway=magic_carpet],
4011node[aerialway=rope_tow],
4012node[aerialway=goods],
4013node[aerialway=zip_line] {
4014 icon-image: "presets/misc/deprecated.svg";
4015 set icon_z17;
4016}
4017
4018/*************************/
4019/* public_transport tags */
4020/*************************/
4021
4022node[highway=bus_stop] {
4023 icon-image: "presets/transport/bus_small.svg";
4024 set icon_z17;
4025}
4026node[public_transport=stop_position] {
4027 icon-image: "presets/transport/stop_position.svg";
4028 set icon_z17;
4029}
4030node[public_transport=stop_position][share_taxi=yes] {
4031 icon-image: "presets/transport/share_taxi.svg";
4032 set icon_z17;
4033}
4034node[public_transport=stop_position][bus=yes] {
4035 icon-image: "presets/transport/bus.svg";
4036 set icon_z17;
4037}
4038node[public_transport=stop_position][train=yes] {
4039 icon-image: "presets/transport/train.svg";
4040 set icon_z17;
4041}
4042node[public_transport=stop_position][light_rail=yes] {
4043 icon-image: "presets/transport/railway/light_rail.svg";
4044 set icon_z17;
4045}
4046node[public_transport=stop_position][tram=yes] {
4047 icon-image: "presets/transport/railway/tram.svg";
4048 set icon_z17;
4049}
4050node[public_transport=stop_position][subway=yes] {
4051 icon-image: "presets/transport/railway/subway.svg";
4052 set icon_z17;
4053}
4054node[public_transport=stop_position][monorail=yes] {
4055 icon-image: "presets/transport/railway/monorail.svg";
4056 set icon_z17;
4057}
4058node[public_transport=stop_position][trolleybus=yes] {
4059 icon-image: "presets/transport/trolleybus.svg";
4060 set icon_z17;
4061}
4062node[public_transport=stop_position][funicular=yes] {
4063 icon-image: "presets/transport/railway/funicular.svg";
4064 set icon_z17;
4065}
4066node[public_transport=stop_position][aerialway=yes] {
4067 icon-image: "presets/transport/aerialway/station.svg";
4068 set icon_z17;
4069}
4070node[public_transport=stop_position][ferry=yes] {
4071 icon-image: "presets/nautical/ferry.svg";
4072 set icon_z17;
4073}
4074area[public_transport=platform]:closed {
4075 fill-color: service#809bc0;
4076}
4077way[public_transport=platform]!:closed {
4078 width: 3;
4079 color: service#809bc0;
4080 dashes: 12,3;
4081}
4082node[public_transport=platform] {
4083 icon-image: "presets/transport/platform.svg";
4084 set icon_z17;
4085}
4086area[public_transport=station] {
4087 fill-color: railwaypoint#f7efb7;
4088}
4089node[public_transport=station] {
4090 icon-image: "presets/transport/station.svg";
4091 set icon_z17;
4092}
4093
4094/**************/
4095/* sport tags */
4096/**************/
4097
4098area[sport="9pin"],
4099area[sport="10pin"],
4100area[sport=soccer],
4101area[sport=australian_football],
4102area[sport=american_football],
4103area[sport=canadian_football],
4104area[sport=gaelic_games],
4105area[sport=rugby_league],
4106area[sport=rugby_union] {
4107 fill-color: sport#bde3cb;
4108}
4109node[sport="9pin"] {
4110 icon-image: "presets/sport/9pin.svg";
4111 set icon_z17;
4112}
4113node[sport="10pin"] {
4114 icon-image: "presets/sport/10pin.svg";
4115 set icon_z17;
4116}
4117node[sport=soccer],
4118node[sport=gaelic_games] {
4119 icon-image: "presets/sport/soccer.svg";
4120 set icon_z17;
4121}
4122node[sport=australian_football],
4123node[sport=american_football],
4124node[sport=canadian_football],
4125node[sport=rugby_league],
4126node[sport=rugby_union] {
4127 icon-image: "presets/sport/football.svg";
4128 set icon_z17;
4129}
4130area[sport=baseball],
4131area[sport=basketball],
4132area[sport=boules],
4133area[sport=bowls],
4134area[sport=canoe],
4135area[sport=chess],
4136area[sport=climbing]:closed,
4137area[sport=cricket],
4138area[sport=croquet] {
4139 fill-color: sport#bde3cb;
4140}
4141node[sport=baseball] {
4142 icon-image: "presets/sport/baseball.svg";
4143 set icon_z17;
4144}
4145node[sport=basketball] {
4146 icon-image: "presets/sport/basketball.svg";
4147 set icon_z17;
4148}
4149node[sport=boules] {
4150 icon-image: "presets/sport/boule.svg";
4151 set icon_z17;
4152}
4153node[sport=bowls] {
4154 icon-image: "presets/sport/boule.svg";
4155 set icon_z17;
4156}
4157node[sport=canoe] {
4158 icon-image: "presets/sport/canoe.svg";
4159 set icon_z17;
4160}
4161node[sport=chess] {
4162 icon-image: "presets/sport/chess.svg";
4163 set icon_z17;
4164}
4165node[sport=climbing] {
4166 icon-image: "presets/sport/climbing.svg";
4167 set icon_z17;
4168}
4169node[sport=cricket] {
4170 icon-image: "presets/sport/cricket.svg";
4171 set icon_z17;
4172}
4173node[sport=croquet] {
4174 icon-image: "presets/sport/croquet.svg";
4175 set icon_z17;
4176}
4177area[sport=cycling],
4178area[sport=dog_racing],
4179area[sport=equestrian],
4180area[sport=golf],
4181area[sport=gymnastics],
4182area[sport=field_hockey],
4183area[sport=ice_hockey],
4184area[sport=horse_racing],
4185area[sport=karting][highway!=raceway],
4186area[sport=karting][highway=raceway][area=yes],
4187area[sport=motocross][highway!=raceway],
4188area[sport=motocross][highway=raceway][area=yes],
4189area[sport=motor][highway!=raceway],
4190area[sport=motor][highway=raceway][area=yes] {
4191 fill-color: sport#bde3cb;
4192}
4193node[sport=cycling] {
4194 icon-image: "presets/sport/cycling.svg";
4195 set icon_z17;
4196}
4197node[sport=dog_racing] {
4198 icon-image: "presets/sport/dog_racing.svg";
4199 set icon_z17;
4200}
4201node[sport=equestrian] {
4202 icon-image: "presets/sport/equestrian.svg";
4203 set icon_z17;
4204}
4205node[sport=golf] {
4206 icon-image: "presets/sport/golf.svg";
4207 set icon_z17;
4208}
4209node[sport=gymnastics] {
4210 icon-image: "presets/sport/gymnastics.svg";
4211 set icon_z17;
4212}
4213node[sport=field_hockey] {
4214 icon-image: "presets/sport/field_hockey.svg";
4215 set icon_z17;
4216}
4217node[sport=ice_hockey] {
4218 icon-image: "presets/sport/ice_hockey.svg";
4219 set icon_z17;
4220}
4221node[sport=horse_racing] {
4222 icon-image: "presets/sport/riding.svg";
4223 set icon_z17;
4224}
4225node[sport=karting] {
4226 icon-image: "presets/sport/karting.svg";
4227 set icon_z17;
4228}
4229node[sport=motocross] {
4230 icon-image: "presets/sport/motocross.svg";
4231 set icon_z17;
4232}
4233node[sport=motor] {
4234 icon-image: "presets/sport/motor.svg";
4235 set icon_z17;
4236}
4237area[sport=athletics] {
4238 fill-color: sport_athletics#cfebd7;
4239}
4240node[sport=athletics] {
4241 icon-image: "presets/sport/athletics.svg";
4242 set icon_z17;
4243}
4244area[sport=running] {
4245 fill-color: sport_running#cfebd8;
4246}
4247node[sport=running] {
4248 icon-image: "presets/sport/running.svg";
4249 set icon_z17;
4250}
4251area[sport=multi] {
4252 fill-color: sport_multi#cfebd9;
4253}
4254node[sport=multi] {
4255 icon-image: "presets/sport/multi.svg";
4256 set icon_z17;
4257}
4258area[sport=pelota],
4259area[sport=racquet],
4260area[sport=ice_skating],
4261area[sport=roller_skating],
4262area[sport=skateboard] {
4263 fill-color: sport#bde3cb;
4264}
4265node[sport=pelota] {
4266 icon-image: "presets/sport/pelota.svg";
4267 set icon_z17;
4268}
4269node[sport=racquet] {
4270 icon-image: "presets/sport/racquetball.svg";
4271 set icon_z17;
4272}
4273node[sport=ice_skating] {
4274 icon-image: "presets/sport/ice_skating.svg";
4275 set icon_z17;
4276}
4277node[sport=roller_skating] {
4278 icon-image: "presets/sport/roller_skating.svg";
4279 set icon_z17;
4280}
4281node[sport=skating] {
4282 icon-image: "presets/misc/deprecated.svg";
4283 set icon_z17;
4284}
4285node[sport=skateboard] {
4286 icon-image: "presets/sport/skateboard.svg";
4287 set icon_z17;
4288}
4289area[sport=swimming] {
4290 fill-color: swimming_pool#51c4ef;
4291}
4292node[sport=swimming] {
4293 icon-image: "presets/sport/swimming.svg";
4294 set icon_z17;
4295}
4296area[sport=table_tennis],
4297area[sport=tennis],
4298area[sport=paintball] {
4299 fill-color: sport#bde3cb;
4300}
4301node[sport=table_tennis] {
4302 icon-image: "presets/sport/table_tennis.svg";
4303 set icon_z17;
4304}
4305node[sport=tennis] {
4306 icon-image: "presets/sport/tennis.svg";
4307 set icon_z17;
4308}
4309node[sport=paintball][!is_prop_set(icon-image)] {
4310 icon-image: "presets/misc/no_icon.svg";
4311 set icon_z17;
4312}
4313area[sport=squash],
4314area[sport=shooting],
4315area[sport=volleyball],
4316area[sport=beachvolleyball],
4317area[sport=billiards],
4318area[sport=bowling],
4319area[sport=handball],
4320area[sport=rowing],
4321area[sport=sailing],
4322area[sport=scuba_diving],
4323area[sport=badminton] {
4324 fill-color: sport#bde3cb;
4325}
4326node[sport=squash][!is_prop_set(icon-image)] {
4327 icon-image: "presets/misc/no_icon.svg";
4328 set icon_z17;
4329}
4330node[sport=shooting] {
4331 icon-image: "presets/sport/range.svg";
4332 set icon_z17;
4333}
4334node[sport=volleyball] {
4335 icon-image: "presets/sport/volleyball.svg";
4336 set icon_z17;
4337}
4338node[sport=beachvolleyball] {
4339 icon-image: "presets/sport/beachvolleyball.svg";
4340 set icon_z17;
4341}
4342node[sport=billiards] {
4343 icon-image: "presets/sport/billiards.svg";
4344 set icon_z17;
4345}
4346node[sport=bowling] {
4347 icon-image: "presets/sport/9pin.svg";
4348 set icon_z17;
4349}
4350node[sport=handball] {
4351 icon-image: "presets/sport/handball.svg";
4352 set icon_z17;
4353}
4354node[sport=rowing] {
4355 icon-image: "presets/sport/rowing.svg";
4356 set icon_z17;
4357}
4358node[sport=sailing][!is_prop_set(icon-image)] {
4359 icon-image: "presets/misc/no_icon.svg";
4360 set icon_z17;
4361}
4362node[sport=scuba_diving] {
4363 icon-image: "presets/sport/scuba_diving.svg";
4364 set icon_z17;
4365}
4366node[sport=badminton][!is_prop_set(icon-image)] {
4367 icon-image: "presets/misc/no_icon.svg";
4368 set icon_z17;
4369}
4370area[sport=archery],
4371area[sport=fishing],
4372area[sport=model_aerodrome],
4373area[sport=rc_car] {
4374 fill-color: sport#bde3cb;
4375}
4376node[sport=archery] {
4377 icon-image: "presets/sport/archery.svg";
4378 set icon_z17;
4379}
4380node[sport=fishing] {
4381 icon-image: "presets/sport/fishing.svg";
4382 set icon_z17;
4383}
4384node[sport=model_aerodrome] {
4385 icon-image: "presets/transport/airport.svg";
4386 set icon_z17;
4387}
4388node[sport=rc_car] {
4389 icon-image: "presets/sport/rc_car.svg";
4390 set icon_z17;
4391}
4392
4393/****************/
4394/* natural tags */
4395/****************/
4396
4397area[natural=spring] {
4398 fill-color: light_water#00005f;
4399}
4400node[natural=spring] {
4401 icon-image: "presets/landmark/spring.svg";
4402 set icon_z17;
4403}
4404node[natural=saddle] {
4405 icon-image: "presets/landmark/saddle.svg";
4406 set icon_z0;
4407 set text_z0;
4408}
4409node[natural=peak] {
4410 icon-image: "presets/landmark/peak.svg";
4411 set icon_z0;
4412 set text_z0;
4413}
4414node[natural=peak][tourism=viewpoint] {
4415 icon-image: "presets/sightseeing/peak_viewpoint.svg";
4416 set icon_z0;
4417 set text_z0;
4418}
4419area[natural=glacier] {
4420 fill-color: glacier#ffffff;
4421}
4422node[natural=volcano] {
4423 icon-image: "presets/landmark/volcano.svg";
4424 set icon_z0;
4425 set text_z0;
4426}
4427area[natural=cliff]:closed {
4428 fill-color: natural#002f00;
4429}
4430way[natural=cliff] {
4431 repeat-image: "presets/misc/cliff_pattern.svg";
4432 repeat-image-align: top;
4433 width: 1;
4434 color: #b2b2b2;
4435}
4436node[natural=cliff] {
4437 icon-image: "presets/misc/cliff.svg";
4438 set icon_z17;
4439}
4440way[natural=ridge] {
4441 width: 1;
4442 color: natural#002f00;
4443}
4444way[natural=valley] {
4445 width: 1;
4446 color: natural#002f00;
4447}
4448area[natural=scree] {
4449 fill-color: scree#c3c3c3;
4450}
4451area[natural=shingle] {
4452 fill-color: shingle#c3c3c3;
4453}
4454area[natural=scrub] {
4455 fill-color: scrub#007000;
4456}
4457area[natural=fell] {
4458 fill-color: natural#002f00;
4459}
4460area[natural=heath] {
4461 fill-color: heath#ffffc0;
4462}
4463way[natural=tree_row] {
4464 width: 2;
4465 color: woodarea#008000;
4466}
4467area[natural=wood] {
4468 fill-color: woodarea#008000;
4469}
4470area[natural=grassland] {
4471 fill-color: green#b1e0c2;
4472}
4473area[natural=wetland] {
4474 fill-color: marsh#4f4ff3;
4475}
4476area[natural=water] {
4477 fill-color: water#0000ff;
4478}
4479area[natural=water][intermittent=yes] {
4480 width: 2;
4481 dashes: 15, 5;
4482}
4483way[natural=coastline] {
4484 width: 2;
4485 color: water#0000ff;
4486 right-casing-color: water#0000ff;
4487 right-casing-width: 8;
4488 right-casing-opacity: 0.35;
4489}
4490area[natural=mud] {
4491 fill-color: mud#cba762;
4492}
4493area[natural=beach] {
4494 fill-color: beach#f8dba2;
4495}
4496area[natural=sand] {
4497 fill-color: sand#f8dba2;
4498}
4499area[natural=bare_rock] {
4500 fill-color: bare_rock#f8f8c7;
4501}
4502area[natural=rock] {
4503 fill-color: stone#f8f8c7;
4504}
4505node[natural=rock] {
4506 icon-image: "presets/misc/rock.svg";
4507 set icon_z17;
4508}
4509area[natural=stone] {
4510 fill-color: stone#f8f8c7;
4511}
4512node[natural=stone] {
4513 icon-image: "presets/misc/stone.svg";
4514 set icon_z17;
4515}
4516area[natural=bay]:closed {
4517 fill-color: natural#002f00;
4518}
4519way[natural=bay] {
4520 width: 2;
4521 color: natural#002f00;
4522}
4523node[natural=bay] {
4524 icon-image: "presets/nautical/bay.svg";
4525 set icon_z17;
4526}
4527area[natural=strait]:closed {
4528 fill-color: natural#002f00;
4529}
4530way[natural=strait] {
4531 width: 2;
4532 color: natural#002f00;
4533}
4534node[natural=strait] {
4535 icon-image: "presets/nautical/strait.svg";
4536 set icon_z17;
4537}
4538area[natural=cape],
4539area[natural=cave_entrance] {
4540 fill-color: natural#002f00;
4541}
4542node[natural=cape] {
4543 icon-image: "presets/nautical/cape.svg";
4544 set icon_z17;
4545}
4546node[natural=cave_entrance] {
4547 icon-image: "presets/landmark/cave_entrance.svg";
4548 set icon_z17;
4549}
4550area[natural=reef] {
4551 fill-color: reef#80c9ff;
4552}
4553node[natural=reef] {
4554 icon-image: "presets/landmark/reef.svg";
4555 set icon_z17;
4556}
4557node[natural=tree] {
4558 icon-image: "presets/landmark/trees.svg";
4559 set icon_z17;
4560}
4561node[natural=tree][leaf_type=needleleaved] {
4562 icon-image: "presets/landmark/trees_conifer.svg";
4563 set icon_z17;
4564}
4565node[natural=tree][leaf_type=broadleaved] {
4566 icon-image: "presets/landmark/trees_broad_leaved.svg";
4567 set icon_z17;
4568}
4569node[natural=glacier],
4570node[natural=scree],
4571node[natural=shingle],
4572node[natural=scrub],
4573node[natural=fell],
4574node[natural=heath],
4575node[natural=tree_row],
4576node[natural=wood],
4577node[natural=grassland],
4578node[natural=wetland],
4579node[natural=water],
4580node[natural=coastline],
4581node[natural=mud],
4582node[natural=beach],
4583node[natural=sand],
4584node[natural=land],
4585node[natural=bare_rock],
4586node[natural=ridge],
4587node[natural=valley] {
4588 icon-image: "presets/misc/deprecated.svg";
4589 set icon_z17;
4590}
4591/*****************/
4592/* waterway tags */
4593/*****************/
4594
4595way[waterway=river] {
4596 width: 2;
4597 color: water#0000ff;
4598}
4599area[waterway=riverbank] {
4600 fill-color: riverbank#0000cf;
4601 width: 1;
4602 color: riverbank#0000cf;
4603}
4604way[waterway=pressurised],
4605way[waterway=canal] {
4606 width: 2;
4607 color: water#0000ff;
4608}
4609way[waterway=river][lock=yes],
4610way[waterway=canal][lock=yes] {
4611 casing-width: 2;
4612 casing-color: lock#303030;
4613 casing-dashes: 5,20;
4614}
4615way[waterway=pressurised][tunnel] {
4616 casing-width: 1;
4617 casing-color: tunnel#964B00;
4618}
4619way[waterway=pressurised][man_made=pipeline] {
4620 casing-width: 1;
4621 casing-color: pipeline#660000;
4622}
4623way[waterway=stream] {
4624 width: 1;
4625 color: stream#6600cc;
4626}
4627way[waterway=ditch],
4628way[waterway=drain] {
4629 width: 1;
4630 color: water#0000ff;
4631}
4632way[waterway=tidal_channel] {
4633 width: 1;
4634 color: tidal_channel#0000ff;
4635}
4636way[waterway=river][intermittent=yes],
4637area[waterway=riverbank][intermittent=yes],
4638way[waterway=canal][intermittent=yes],
4639way[waterway=stream][intermittent=yes],
4640way[waterway=ditch][intermittent=yes],
4641way[waterway=drain][intermittent=yes],
4642way[waterway=tidal_channel][intermittent=yes] {
4643 dashes: 15, 5;
4644}
4645area[waterway=dock] {
4646 fill-color: dock#0000cf;
4647}
4648node[waterway=dock] {
4649 icon-image: "presets/nautical/boatyard.svg";
4650 set icon_z17;
4651}
4652way[waterway=lock_gate] {
4653 width: 3;
4654 color: lock_gate#303030;
4655}
4656node[waterway=lock_gate] {
4657 icon-image: "presets/nautical/lock_gate.svg";
4658 set icon_z17;
4659}
4660node[waterway=turning_point] {
4661 icon-image: "presets/nautical/turning.svg";
4662 set icon_z17;
4663}
4664area[waterway=boatyard] {
4665 fill-color: manmade#d8d8d8;
4666}
4667node[waterway=boatyard] {
4668 icon-image: "presets/nautical/boatyard.svg";
4669 set icon_z17;
4670}
4671node[waterway=water_point],
4672node[waterway=waste_disposal],
4673node[waterway=mooring] {
4674 icon-image: "presets/misc/deprecated.svg";
4675 set icon_z17;
4676}
4677node[mooring] {
4678 icon-image: "presets/nautical/marina.svg";
4679 set icon_z17;
4680}
4681area[waterway=fuel] {
4682 fill-color: amenity_traffic#f7efb7;
4683}
4684node[waterway=fuel] {
4685 icon-image: "presets/nautical/marine_fuel.svg";
4686 set icon_z17;
4687}
4688way[waterway=weir] {
4689 width: 2;
4690 color: manmade#d8d8d8;
4691}
4692node[waterway=weir] {
4693 icon-image: "presets/nautical/weir.svg";
4694 set icon_z17;
4695}
4696area[waterway=dam]:closed {
4697 fill-color: manmade#d8d8d8;
4698}
4699way[waterway=dam] {
4700 width: 2;
4701 color: manmade#d8d8d8;
4702}
4703node[waterway=dam] {
4704 icon-image: "presets/nautical/dam.svg";
4705 set icon_z17;
4706}
4707/* it's not possible to have both line and area, line seems more likely */
4708way[waterway=waterfall] {
4709 width: 2;
4710 color: manmade#d8d8d8;
4711}
4712node[waterway=waterfall] {
4713 icon-image: "presets/nautical/waterfall.svg";
4714 set icon_z17;
4715}
4716node[waterway=river], node[waterway=riverbank],
4717node[waterway=canal], node[waterway=wadi],
4718node[waterway=stream],
4719node[waterway=ditch], node[waterway=drain] {
4720 icon-image: "presets/misc/deprecated.svg";
4721 set icon_z17;
4722}
4723
4724/**************/
4725/* route tags */
4726/**************/
4727
4728way[route=ferry] {
4729 width: 1;
4730 color: ferry#809bc0;
4731 dashes: 9,9;
4732}
4733node[route=bus],
4734node[route=ferry],
4735node[route=flight],
4736node[route=ncn],
4737node[route=subsea],
4738node[route=ski],
4739node[route=tour],
4740node[route=pub_crawl] {
4741 icon-image: "presets/misc/deprecated.svg";
4742 set icon_z17;
4743}
4744
4745/*******************/
4746/* properties tags */
4747/*******************/
4748
4749node[mountain_pass?] {
4750 icon-image: "presets/landmark/mountain_pass.svg";
4751 set icon_z0;
4752 set text_z0;
4753}
4754
4755/*****************/
4756/* boundary tags */
4757/*****************/
4758
4759relation[boundary=protected_area] > way::core_boundary,
4760relation[boundary=administrative] > way::core_boundary,
4761relation[boundary=postal_code] > way::core_boundary,
4762relation[boundary=political] > way::core_boundary,
4763relation[boundary=maritime] > way::core_boundary,
4764relation[boundary=national_park] > way::core_boundary,
4765way[boundary=protected_area]::core_boundary,
4766way[boundary=administrative]::core_boundary,
4767way[boundary=postal_code]::core_boundary,
4768way[boundary=political]::core_boundary,
4769way[boundary=maritime]::core_boundary,
4770way[boundary=national_park]::core_boundary {
4771 z-index: 2;
4772 modifier: false;
4773 width: 1;
4774 color: boundary#FF6600;
4775 dashes: 9,9;
4776}
4777/* admin_level >=9 use the default width of 1 defined above */
4778way[boundary=administrative][admin_level=7]::core_boundary,
4779relation[boundary=administrative][admin_level=7] > way::core_boundary,
4780way[boundary=administrative][admin_level=8]::core_boundary,
4781relation[boundary=administrative][admin_level=8] > way::core_boundary {
4782 width: 2;
4783}
4784way[boundary=administrative][admin_level=5]::core_boundary,
4785relation[boundary=administrative][admin_level=5] > way::core_boundary,
4786way[boundary=administrative][admin_level=6]::core_boundary,
4787relation[boundary=administrative][admin_level=6] > way::core_boundary {
4788 width: 3;
4789}
4790way[boundary=administrative][admin_level=3]::core_boundary,
4791relation[boundary=administrative][admin_level=3] > way::core_boundary,
4792way[boundary=administrative][admin_level=4]::core_boundary,
4793relation[boundary=administrative][admin_level=4] > way::core_boundary {
4794 width: 4;
4795}
4796way[boundary=administrative][admin_level=1]::core_boundary,
4797relation[boundary=administrative][admin_level=1] > way::core_boundary,
4798way[boundary=administrative][admin_level=2]::core_boundary,
4799relation[boundary=administrative][admin_level=2] > way::core_boundary {
4800 width: 5;
4801}
4802node[boundary=national],
4803node[boundary=administrative],
4804node[boundary=postal_code],
4805node[boundary=political],
4806node[boundary=national_park] {
4807 icon-image: "presets/misc/deprecated.svg";
4808 set icon_z17;
4809}
4810
4811/******************/
4812/* maxspeed nodes */
4813/******************/
4814node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4815 icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
4816 set icon_z17;
4817}
4818node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4819 maxspeedprop: tag(maxspeed);
4820 set maxspeedclass;
4821}
4822node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4823 maxspeedprop: " ?";
4824 set maxspeedclass;
4825}
4826node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4827 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4828 set maxspeedclass;
4829}
4830node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4831 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4832 set maxspeedclass;
4833}
4834node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4835 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4836 set maxspeedclass;
4837}
4838node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4839 /* background (white) */
4840 symbol-shape: circle;
4841 symbol-size: 17;
4842 symbol-fill-color: white;
4843 major-z-index: 4.2;
4844}
4845node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4846node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4847 /* background (black) */
4848 symbol-fill-color: black;
4849}
4850node[prop(maxspeedclass, default)]::core_maxnodefg {
4851 /* foreground (black text and red circle) */
4852 symbol-shape: circle;
4853 symbol-size: 15;
4854 symbol-stroke-color: crimson;
4855 symbol-stroke-width: 2;
4856 text: prop(maxspeedprop, default);
4857 font-size: 8;
4858 font-weight: bold;
4859 text-color: black;
4860 text-anchor-horizontal: center;
4861 text-anchor-vertical: center;
4862 text-offset-x: 0;
4863 text-offset-y: -1;
4864 major-z-index: 4.2;
4865}
4866node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4867node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4868 /* foreground (white text) */
4869 text-color: white;
4870}
4871node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4872 symbol-shape: none;
4873}
4874node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4875 text: none;
4876 symbol-shape: none;
4877}
4878
4879/**************/
4880/* place tags */
4881/**************/
4882
4883area[setting("place_fill_colour")][place=continent],
4884area[setting("place_fill_colour")][place=country],
4885area[setting("place_fill_colour")][place=state],
4886area[setting("place_fill_colour")][place=region],
4887area[setting("place_fill_colour")][place=county],
4888area[setting("place_fill_colour")][place=city],
4889area[setting("place_fill_colour")][place=town],
4890area[setting("place_fill_colour")][place=village],
4891area[setting("place_fill_colour")][place=hamlet],
4892area[setting("place_fill_colour")][place=farm],
4893area[setting("place_fill_colour")][place=isolated_dwelling],
4894area[setting("place_fill_colour")][place=neighbourhood],
4895area[setting("place_fill_colour")][place=suburb],
4896area[setting("place_fill_colour")][place=locality],
4897area[place=island],
4898area[place=islet] {
4899 fill-color: place#8de3cb;
4900 set place;
4901}
4902node[place=continent],
4903node[place=country],
4904node[place=state],
4905node[place=region],
4906node[place=county],
4907node[place=city],
4908node[place=town],
4909node[place=suburb],
4910node[place=village],
4911node[place=quarter],
4912node[place=neighbourhood],
4913node[place=hamlet],
4914node[place=isolated_dwelling],
4915node[place=farm],
4916node[place=island],
4917node[place=islet] {
4918 set icon_z0;
4919 set text_z0;
4920 font-weight: bold;
4921 text-color:black;
4922 text-halo-color: white;
4923 text-halo-radius: 1;
4924 set place;
4925}
4926
4927node[place=continent],
4928node[place=country],
4929node[place=state],
4930node[place=region],
4931node[place=county] {
4932 icon-image: "presets/place/capital.svg";
4933 z-index: 2.9;
4934}
4935node[place=city] {
4936 icon-image: "presets/place/city.svg";
4937 z-index: 2.8;
4938}
4939node[place=town] {
4940 icon-image: "presets/place/town.svg";
4941 z-index: 2.7;
4942}
4943node[place=suburb] {
4944 icon-image: "presets/place/suburb.svg";
4945 z-index: 2.6;
4946}
4947node[place=village] {
4948 icon-image: "presets/place/village.svg";
4949 z-index: 2.5;
4950}
4951node[place=quarter] {
4952 icon-image: "presets/place/quarter.svg";
4953 z-index: 2.5;
4954}
4955node[place=neighbourhood] {
4956 icon-image: "presets/place/neighbourhood.svg";
4957 z-index: 2.4;
4958}
4959node[place=hamlet] {
4960 icon-image: "presets/place/hamlet.svg";
4961 z-index: 2.3;
4962}
4963node[place=isolated_dwelling] {
4964 icon-image: "presets/place/isolated_dwelling.svg";
4965 z-index: 2.2;
4966}
4967node[place=farm] {
4968 icon-image: "presets/place/farm.svg";
4969 z-index: 2.1;
4970}
4971node|z15-[place=locality],
4972node|z-14[place=locality][!setting("hide_icons")] {
4973 icon-image: "presets/place/locality.svg";
4974 font-weight: bold;
4975 text-color: black;
4976 text-halo-color: white;
4977 text-halo-radius: 1;
4978}
4979node[place=island] {
4980 icon-image: "presets/place/island.svg";
4981}
4982node[place=islet] {
4983 icon-image: "presets/place/islet.svg";
4984}
4985
4986area[place=square] {
4987 fill-color: place#8de3cb;
4988}
4989node[place=square] {
4990 icon-image: "presets/place/square.svg";
4991 set icon_z17;
4992}
4993
4994/***************************/
4995/* "work in progress" tags */
4996/***************************/
4997
4998node|z16-[fixme]::core_note_fixme,
4999node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
5000node|z16-[FIXME]::core_note_fixme,
5001node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
5002 object-z-index: 10;
5003 icon-image: "presets/misc/fixme_annotation.svg";
5004}
5005node|z16-[note]::core_note_fixme,
5006node|z-15[note][!setting("hide_icons")]::core_note_fixme {
5007 object-z-index: 10;
5008 icon-image: "presets/misc/note_annotation.svg";
5009}
5010node|z16-[note][fixme]::core_note_fixme,
5011node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
5012node|z16-[note][FIXME]::core_note_fixme,
5013node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
5014 icon-image: "presets/misc/note_fixme_annotation.svg";
5015}
5016
5017/****************************************/
5018/* zoom levels and general node display */
5019/****************************************/
5020
5021/*
5022Summary of different zoom levels:
5023 (any zoom) place=* (except locality and square) and a few natural icons with their text is shown
5024 |z-14 tagged way nodes are hidden completely
5025 |z-15 untagged way nodes are hidden completely
5026 |z15 place=locality icon
5027 |z16- fixme=* and note=* symbols; place=locality text
5028 |z17- normal POI icons (without text),
5029 street name along highway=* ways
5030 |z18- text for normal POI icons is shown
5031
5032 * 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
5033 * all these zoom features are modifiable via style settings
5034 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5035
5036*/
5037
5038node|z-16[setting("hide_icons")],
5039node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5040node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5041 symbol-size: 2;
5042 symbol-shape: square;
5043 symbol-stroke-color: node_standard#ffff00;
5044 major-z-index: 4.95; /* put node squares above line text */
5045}
5046way > node|z-15[setting("shrink_nodes")]!:tagged {
5047 symbol-shape: none;
5048}
5049node:connection {
5050 symbol-stroke-color: node_connection#ffff00;
5051}
5052node:tagged {
5053 symbol-stroke-color: none;
5054 symbol-fill-color: node_tagged#00ffff;
5055}
5056node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5057 symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5058}
5059way > 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 */
5060 symbol-shape: none;
5061}
5062
5063way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5064
5065node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5066way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5067node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5068
5069node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5070way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5071node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5072
5073node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5074way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5075node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5076
5077node[!setting("shrink_nodes")] { symbol-size: 4; }
5078way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5079node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5080
5081node:selected {
5082 symbol-shape: square;
5083 symbol-size: 6;
5084 symbol-fill-color: node_selected#ff0000;
5085 symbol-stroke-color: node_selected#ff0000;
5086}
5087
5088node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5089relation|z-16[type=restriction][setting("hide_icons")] {
5090 icon-image: none;
5091}
5092node|z-17[setting("hide_icons")]!.text_z0 {
5093 text: none;
5094}
5095node|z16-17[setting("hide_icons")][place=locality] {
5096 text: auto;
5097}
5098
5099node|z-18,area|z-18 { font-size: 8; }
5100node|z19,area|z19 { font-size: 9; }
5101node|z20-,area|z20- { font-size: 11; }
5102
5103node.place, way.place, area.place { font-size: 11; }
5104
5105
5106/*******************/
5107/* way text labels */
5108/*******************/
5109
5110way|z18-[highway=motorway][setting("highway_labels")],
5111way|z18-[highway=motorway_link][setting("highway_labels")],
5112way|z18-[highway=trunk][setting("highway_labels")],
5113way|z18-[highway=trunk_link][setting("highway_labels")],
5114way|z18-[highway=primary][setting("highway_labels")],
5115way|z18-[highway=primary_link][setting("highway_labels")],
5116way|z18-[highway=secondary][setting("highway_labels")],
5117way|z18-[highway=secondary_link][setting("highway_labels")],
5118way|z18-[highway=tertiary][setting("highway_labels")],
5119way|z18-[highway=tertiary_link][setting("highway_labels")],
5120way|z18-[highway=unclassified][setting("highway_labels")],
5121way|z18-[highway=residential][setting("highway_labels")],
5122way|z18-[highway=living_street][setting("highway_labels")],
5123way|z18-[highway=escape][setting("highway_labels")],
5124way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5125way|z18-[highway=steps][setting("highway_labels")],
5126way|z18-[highway=footway][setting("highway_labels")],
5127way|z18-[highway=path][setting("highway_labels")],
5128way|z18-[highway=service][setting("highway_labels")],
5129way|z18-[highway=track][setting("highway_labels")],
5130way|z18-[highway=cycleway][setting("highway_labels")],
5131way|z18-[highway=bridleway][setting("highway_labels")],
5132way|z18-[highway=bus_guideway][setting("highway_labels")],
5133way|z18-[highway=raceway][setting("highway_labels")],
5134way|z18-[highway=construction][setting("highway_labels")],
5135way|z18-[highway=road][setting("highway_labels")] {
5136 text: auto;
5137 text-color: black;
5138 font-size: 10;
5139 text-position: line;
5140 text-halo-opacity: 1;
5141 text-halo-radius: 1.5;
5142}
5143way|z18-[highway=motorway][setting("highway_labels")],
5144way|z18-[highway=motorway_link][setting("highway_labels")] {
5145 text-halo-color: motorway#809bc0;
5146}
5147way|z18-[highway=trunk][setting("highway_labels")],
5148way|z18-[highway=trunk_link][setting("highway_labels")] {
5149 text-halo-color: trunk#7fc97f;
5150}
5151way|z18-[highway=primary][setting("highway_labels")],
5152way|z18-[highway=primary_link][setting("highway_labels")] {
5153 text-halo-color: primary#fb805f;
5154}
5155way|z18-[highway=secondary][setting("highway_labels")],
5156way|z18-[highway=secondary_link][setting("highway_labels")] {
5157 text-halo-color: secondary#fdbf6f;
5158}
5159way|z18-[highway=tertiary][setting("highway_labels")],
5160way|z18-[highway=tertiary_link][setting("highway_labels")] {
5161 text-halo-color: tertiary#f7f496;
5162}
5163way|z18-[highway=unclassified][setting("highway_labels")],
5164way|z18-[highway=residential][setting("highway_labels")],
5165way|z18-[highway=living_street][setting("highway_labels")],
5166way|z18-[highway=escape][setting("highway_labels")] {
5167 text-halo-color: street#c0c0c0;
5168}
5169way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5170way|z18-[highway=steps][setting("highway_labels")],
5171way|z18-[highway=footway][setting("highway_labels")],
5172way|z18-[highway=path][setting("highway_labels")] {
5173 text-halo-color: foot#00ff00;
5174}
5175way|z18-[highway=service][setting("highway_labels")] {
5176 text-halo-color: service#809bc0;
5177}
5178way|z18-[highway=track][setting("highway_labels")] {
5179 text-halo-color: highway_track#6e541c;
5180}
5181way|z18-[highway=cycleway][setting("highway_labels")],
5182way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5183 text-halo-color: bicycle#b100ff;
5184}
5185way|z18-[highway=bridleway][setting("highway_labels")] {
5186 text-halo-color: horse#a18559;
5187}
5188way|z18-[highway=bus_guideway][setting("highway_labels")] {
5189 text-halo-color: rail#404040;
5190}
5191way|z18-[highway=raceway][setting("highway_labels")] {
5192 text-halo-color: raceway#ff80ff;
5193}
5194way|z18-[highway=construction][setting("highway_labels")] {
5195 text-halo-color: construction#ffff00;
5196}
5197way|z18-[highway=road][setting("highway_labels")] {
5198 text-halo-color: highway_road#770000;
5199}
5200way|z18-[highway][railway=platform][setting("highway_labels")] {
5201 text-halo-color: rail#404040;
5202}
5203way|z18-[highway][public_transport=platform][setting("highway_labels")] {
5204 text-halo-color: service#809bc0;
5205}
5206way|z19[highway][setting("highway_labels")] {
5207 font-size: 11;
5208}
5209way|z20-[highway][setting("highway_labels")] {
5210 font-size: 12;
5211}
5212
5213/*************/
5214/* Area fill */
5215/*************/
5216
5217/* small extent for unclosed area (see below for closed) */
5218area[setting("partial_fill")] {
5219 fill-extent: 15;
5220}
5221
5222/* Turn partial fill off and use plain fill, when the partial fill covers about
5223 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5224 Switching between full and partial fill while drawing an area might be irritating,
5225 so only do this at low zoom. */
5226area|z-13[setting("partial_fill")] {
5227 fill-extent-threshold: 1.0;
5228}
5229
5230/* Larger extent for closed areas.
5231 Turn partial fill off, when it covers more than about 50% of the area. This avoids
5232 areas with small unfilled patches in the center. */
5233area[setting("partial_fill")]:closed2 {
5234 fill-extent: 25;
5235 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5236}
5237
Note: See TracBrowser for help on using the repository browser.