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

Last change on this file since 17069 was 17069, checked in by Klumbumbus, 16 months ago

fix #18336 - Add shop=fishing (icon from https://publicdomainvectors.org/en/free-clipart/US-National-Park-Maps-pictogram-for-an-angling-area-vector-image/15743.html, modified, PD and CC0 licensed)

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