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

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