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

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