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

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

see #17780 - add rendering for amenity=car_pooling and improve icon for 16px size

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