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

Last change on this file since 18719 was 18719, checked in by taylor.smock, 2 years ago

Fix #21782: Deprecate vending=parcel_pickup (patch by gaben, modified)

On 2022-01-03, the osmwiki:Proposed_features/amenity=parcel_locker was approved.
It specifically deprecated vending=parcel_pickup and vending_parcel_mail_in.

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