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

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