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

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

fix #20701 - Add tourism=gallery (icon from https://wiki.openstreetmap.org/wiki/File:Gallery-14.svg, PD and CC0 licensed)

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