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

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