source: josm/trunk/styles/standard/elemstyles.mapcss@ 15930

Last change on this file since 15930 was 15930, checked in by Klumbumbus, 7 years ago

fix #18767 - Add navigationaid=als|papi|vasi combo to aeroway=navigationaid preset, add own icons for papi and vasi, icons self created, PD and CC0 licensed (inspired by https://en.wikipedia.org/wiki/File:Comparison_visual_landing_systems.svg), warn about navigationaid=approach_light and navigationaid="ALS (Approach lighting system)"

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