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

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

fix #10618 - add cycleway=asl (icon self created, CC0 and PD licensed)

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