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

Last change on this file since 15199 was 15199, checked in by Klumbumbus, 6 years ago

fix #17681 - add amenity=money_transfer (icon derived from our atm icon, CC0 and PD licensed), deprecate shop=money_transfer

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