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

Last change on this file since 16500 was 16500, checked in by Klumbumbus, 4 years ago

fix #19287 - Add playground=* and warn about playground=yes, new icon for leisure=playground (from https://wiki.openstreetmap.org/wiki/File:Playground-16.svg, modified, playground=* icon derived, both icons PD and CC0 licensed)

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