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

Last change on this file since 17543 was 17529, checked in by Don-vip, 5 years ago

fix #20447 - add advertising=poster_box

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