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

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