source: josm/trunk/resources/styles/standard/elemstyles.mapcss

Last change on this file was 19026, checked in by taylor.smock, 3 weeks ago

Fix #23350: Add amenity=bicycle_wash as a preset (patch by mcliquid)

The proposal (osmwiki:Proposal:Bicycle_Wash) was approved on 2023-12-18.

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