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

Last change on this file since 15434 was 15434, checked in by Klumbumbus, 6 years ago

fix #18154 - add shop=pet_grooming (icon created from internal hairdresser icon and https://publicdomainvectors.org/en/free-clipart/Cat-Line-Art/1269.html, CC0 and PD licensed)

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