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

Last change on this file since 14239 was 14181, checked in by Klumbumbus, 7 years ago

see #16658 - add attraction=animal "Animal enclosure" (icon from https://openclipart.org/detail/260871/zoo15, resized, background added, CC0 and PD licensed)

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