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

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

fix #17110 - allow billboards to be on ways (enhanced patch by naoliv)

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