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

Last change on this file since 17979 was 17979, checked in by Don-vip, 3 years ago

fix #21067 - Render highway=busway (patch by JeroenHoek)

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