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

Last change on this file since 18588 was 18588, checked in by taylor.smock, 20 months ago

Fix #19826: Fix cycleway rendering in combination with oneway:bicycle=no and for cycleway:both (patch by Emvee)

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