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

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

fix #17704 - draw man_made=cutline below highway=* in own layer. Adapt color and width.

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