source: josm/trunk/styles/standard/elemstyles.mapcss@ 15260

Last change on this file since 15260 was 15260, checked in by Klumbumbus, 5 years ago

fix #17947 - add manhole preset and warn about manhole=* without man_made=manhole (icon self created, CC0 and PD licensed)

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