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

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

see #12575 - Add icon for craft=brewery, craft=winery and craft=handicraft (handicraft icon from https://publicdomainvectors.org/en/free-clipart/Ceramic-pottery/62367.html, resized, the others self created, all PD and CC0 licensed)

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