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

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

fix #17556 - deprecate leisure=common

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