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

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

Fix #22134: Only show cycle dashes on one side of roundabout

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