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

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

see #17689, see #17690, see #17692 - add rendering for telecom presets

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