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

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

fix #17804 - Add cemetery=sector and warn about cemetery=sector together with landuse=cemetery, icon self created, CC0 and PD licensed, little reorder in preset menu

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