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

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

see #15483 - hide tagged waynodes at low zoom for better view and easier selection of ways. Deactivatable via a new style setting.

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