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

Last change on this file was 18324, checked in by Klumbumbus, 3 weeks ago

fix #17034 - Add power=connection (partly patch by gaben, icon self created PD and CC0 licensed)

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