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

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

fix #16177 - add leisure=resort (icon: collage from existing icons, CC0 and PD licensed)

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