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

Last change on this file since 16748 was 16748, checked in by Klumbumbus, 4 years ago

fix #9164 - Add more historic presets (patch by hiddewie, modified)

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