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

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

see #15240 - Change some png icons to svg:

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