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

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

Fix #23184: Add/ignore popular tags

Add

Ignore

  • check_date:?*: Used by surveying applications (fix #23182)
  • boundary=religious_administration: Not well documented

Replace

This additionally fixes an issue discovered by gaben in #23183, whereby
values_from="java.util.Locale#getISOCountries" could have some values
translated. This was fixed by adding a values_context attribute; in this case,
I used "country codes".

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