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

Last change on this file was 17258, checked in by Klumbumbus, 6 weeks ago

fix #19967 - Add leisure=bleachers and building=grandstand (icon self created, PD and CC0 licensed)

  • Property svn:eol-style set to native
File size: 135.1 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12    icon: "logo_32x32x8.png";
13}
14
15canvas {
16    default-points: false;
17}
18node {
19    text: auto;
20}
21
22/*************************/
23/* create style settings */
24/*************************/
25
26setting::hide_icons {
27  type: boolean;
28  label: tr("Hide icons at low zoom");
29  default: true;
30}
31
32setting::shrink_nodes {
33  type: boolean;
34  label: tr("Less obtrusive node symbols at low zoom");
35  default: true;
36}
37
38setting::hide_tagged_waynodes {
39  type: boolean;
40  label: tr("Hide tagged waynodes at low zoom");
41  default: true;
42}
43
44setting::highway_labels {
45  type: boolean;
46  label: tr("Display street labels (at high zoom)");
47  default: true;
48}
49
50setting::alt_turn_icons {
51  type: boolean;
52  label: tr("Use alternative turn restriction icon set");
53  default: false;
54}
55
56setting::place_fill_colour {
57  type: boolean;
58  label: tr("Display fill colour of areas with place=*");
59  default: false;
60}
61
62setting::partial_fill {
63  type: boolean;
64  label: tr("Areas are drawn with fill only around their inner edges");
65  default: true;
66}
67
68setting::note_annotation {
69  type: boolean;
70  label: tr("Display note=* annotation on nodes");
71  default: false;
72}
73
74/*********************/
75/* turn restrictions */
76/*********************/
77
78relation[restriction=no_left_turn][!setting("alt_turn_icons")] {
79    icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg";
80    set icon_z17;
81    text: auto;
82}
83relation[restriction=no_left_turn][setting("alt_turn_icons")] {
84    icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg";
85    set icon_z17;
86    text: auto;
87}
88relation[restriction=no_right_turn][!setting("alt_turn_icons")] {
89    icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg";
90    set icon_z17;
91    text: auto;
92}
93relation[restriction=no_right_turn][setting("alt_turn_icons")] {
94    icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg";
95    set icon_z17;
96    text: auto;
97}
98relation[restriction=no_straight_on][!setting("alt_turn_icons")] {
99    icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg";
100    set icon_z17;
101    text: auto;
102}
103relation[restriction=no_straight_on][setting("alt_turn_icons")] {
104    icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg";
105    set icon_z17;
106    text: auto;
107}
108relation[restriction=no_u_turn] {
109    icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg";
110    set icon_z17;
111    text: auto;
112}
113relation[restriction=only_left_turn] {
114    icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg";
115    set icon_z17;
116    text: auto;
117}
118relation[restriction=only_right_turn] {
119    icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg";
120    set icon_z17;
121    text: auto;
122}
123relation[restriction=only_straight_on] {
124    icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg";
125    set icon_z17;
126    text: auto;
127}
128node[restriction] {
129    icon-image: "presets/misc/deprecated.svg";
130    set icon_z17;
131    text: auto;
132}
133
134/******************/
135/* bridge, tunnel */
136/******************/
137
138way[bridge=yes]::core_bridge,
139way[bridge=aqueduct]::core_bridge,
140way[bridge=boardwalk]::core_bridge,
141way[bridge=cantilever]::core_bridge,
142way[bridge=covered]::core_bridge,
143way[bridge=low_water_crossing]::core_bridge,
144way[bridge=movable]::core_bridge,
145way[bridge=trestle]::core_bridge,
146way[bridge=viaduct]::core_bridge {
147    major-z-index: 2;
148    object-z-index: -1;
149    width: +4;
150    color: bridge#0000FF;
151    opacity: 0.9;
152}
153way[tunnel=yes]::core_tunnel,
154way[tunnel=culvert]::core_tunnel,
155way[tunnel=flooded]::core_tunnel,
156way[tunnel=building_passage]::core_tunnel,
157way[tunnel=avalanche_protector]::core_tunnel {
158    major-z-index: 2;
159    object-z-index: -1;
160    width: +5;
161    color: tunnel#964B00;
162    opacity: 0.9;
163}
164node[oneway],
165node[bridge],
166node[tunnel?],
167node[tunnel?!],
168node[cutting?!],
169node[embankment?!] {
170    icon-image: "presets/misc/deprecated.svg";
171    set icon_z17;
172}
173
174/****************************/
175/* access restrictions tags */
176/****************************/
177
178way[access?!]::core_access {
179    z-index: -1;
180    width: +2;
181    color: no#ff8080;
182    dashes: 2,2;
183}
184way[access=permissive]::core_access {
185    z-index: -1;
186    width: +2;
187    color: permissive#80ff80;
188    dashes: 2,2;
189}
190way[access=private]::core_access {
191    z-index: -1;
192    width: +2;
193    color: private#ff8080;
194    dashes: 2,2;
195}
196way[access=destination]::core_access {
197    z-index: -1;
198    width: +2;
199    color: destination#8080ff;
200    dashes: 2,2;
201}
202node[traffic_sign][access?!] {
203    icon-image: "presets/vehicle/restriction/restrictions.svg";
204    set icon_z17;
205}
206node[traffic_sign][access=permissive][!is_prop_set(icon-image)],
207node[traffic_sign][access=private][!is_prop_set(icon-image)],
208node[traffic_sign][access=destination][!is_prop_set(icon-image)] {
209    icon-image: "presets/misc/no_icon.svg";
210    set icon_z17;
211}
212node[traffic_sign][bicycle?!] {
213    icon-image: "presets/vehicle/restriction/bicycle.svg";
214    set icon_z17;
215}
216node[traffic_sign][bicycle=designated] {
217    icon-image: "presets/vehicle/restriction/bicycle-designated.svg";
218    set icon_z17;
219}
220node[traffic_sign][foot?!] {
221    icon-image: "presets/vehicle/restriction/foot.svg";
222    set icon_z17;
223}
224node[traffic_sign][foot=designated] {
225    icon-image: "presets/vehicle/restriction/foot-designated.svg";
226    set icon_z17;
227}
228node[traffic_sign][goods?!],
229node[traffic_sign][hgv?!] {
230    icon-image: "presets/vehicle/restriction/goods.svg";
231    set icon_z17;
232}
233node[traffic_sign][horse?!] {
234    icon-image: "presets/vehicle/restriction/horse.svg";
235    set icon_z17;
236}
237node[traffic_sign][horse=designated] {
238    icon-image: "presets/vehicle/restriction/horse-designated.svg";
239    set icon_z17;
240}
241node[traffic_sign][motorcycle?!] {
242    icon-image: "presets/vehicle/restriction/motorbike.svg";
243    set icon_z17;
244}
245node[traffic_sign][motorcar?!] {
246    icon-image: "presets/vehicle/restriction/motorcar.svg";
247    set icon_z17;
248}
249node[traffic_sign][psv?!] {
250    icon-image: "presets/vehicle/restriction/psv.svg";
251    set icon_z17;
252}
253node[traffic_sign][motorboat?!][!is_prop_set(icon-image)],
254node[traffic_sign][boat?!][!is_prop_set(icon-image)] {
255    icon-image: "presets/misc/no_icon.svg";
256    set icon_z17;
257}
258node[noexit=yes] {
259    icon-image: "presets/vehicle/restriction/dead_end.svg";
260    set icon_z17;
261}
262node[traffic_sign][maxweight] {
263    icon-image: "presets/vehicle/restriction/maxweight.svg";
264    set icon_z17;
265}
266node[traffic_sign][maxheight] {
267    icon-image: "presets/vehicle/restriction/maxheight.svg";
268    set icon_z17;
269}
270node[traffic_sign][maxwidth] {
271    icon-image: "presets/vehicle/restriction/maxwidth.svg";
272    set icon_z17;
273}
274node[traffic_sign][maxlength] {
275    icon-image: "presets/vehicle/restriction/maxlength.svg";
276    set icon_z17;
277}
278node[traffic_sign][minspeed] {
279    icon-image: "presets/vehicle/restriction/minspeed.svg";
280    set icon_z17;
281}
282node[traffic_sign][maxstay][!is_prop_set(icon-image)],
283node[traffic_sign][toll][!is_prop_set(icon-image)] {
284    icon-image: "presets/misc/no_icon.svg";
285    set icon_z17;
286}
287
288/*************************************/
289/* low rendering priority properties */
290/*************************************/
291
292area[changing_table=yes],
293area[changing_table=limited] {
294    fill-color: changing_table#f7efb7; /* same as amenity */
295}
296node[changing_table=yes],
297node[changing_table=limited] {
298    icon-image: "presets/service/changing_table.svg";
299    set icon_z17;
300}
301
302/*****************************/
303/* building/entrance/address */
304/*****************************/
305
306node["addr:housenumber"] {
307    icon-image: "presets/misc/housenumber_small.svg";
308    set icon_z17;
309}
310way["addr:interpolation"=odd] {
311    width: 1;
312    color: address#1C86EE;
313    dashes: 15,4;
314}
315way["addr:interpolation"=even] {
316    width: 1;
317    color: address#1C86EE;
318    dashes: 4,4;
319}
320way["addr:interpolation"=all],
321way["addr:interpolation"=alphabetic] {
322    width: 1;
323    color: address#1C86EE;
324    dashes: 2,2;
325}
326area[building][!building?!][building!=y][building!=1] {
327    fill-color: building#cb9999;
328}
329area[building=roof],
330area[building][!building?!][wall?!],
331area[building:part][!building:part?!] {
332    fill-color: buildingpart#dcbbbb;
333}
334node[building][!building?!] {
335    icon-image: "presets/landmark/building.svg";
336    set icon_z17;
337}
338node[building=garage] {
339    icon-image: "presets/landuse/garages.svg";
340    set icon_z17;
341}
342node[building=garages] {
343    icon-image: "presets/landuse/garages.svg";
344    set icon_z17;
345}
346node[building=transformer_tower] {
347    icon-image: "presets/power/transformer_tower.svg";
348    set icon_z17;
349}
350node[entrance=yes],
351node[entrance=home],
352node[entrance=garage],
353node[entrance=staircase] {
354    icon-image: "presets/misc/entrance_yes.svg";
355    set icon_z17;
356}
357node[entrance=main] {
358    icon-image: "presets/misc/entrance_main.svg";
359    set icon_z17;
360}
361node[entrance=service] {
362    icon-image: "presets/misc/entrance_service.svg";
363    set icon_z17;
364}
365node[entrance=exit] {
366    icon-image: "presets/misc/entrance_exit.svg";
367    set icon_z17;
368}
369node[entrance=emergency] {
370    icon-image: "presets/misc/entrance_emergency.svg";
371    set icon_z17;
372}
373node[building=entrance],
374node[building:part] {
375    icon-image: "presets/misc/deprecated.svg";
376    set icon_z17;
377}
378
379/****************/
380/* barrier tags */
381/****************/
382
383way[barrier=bollard] {
384    width: 2;
385    color: barrier#F0F050;
386    dashes: 3,9;
387}
388node[barrier=bollard] {
389    icon-image: "presets/barrier/bollard.svg";
390    set icon_z17;
391}
392node[barrier=gate] {
393    icon-image: "presets/barrier/gate.svg";
394    set icon_z17;
395}
396way[barrier=yes],
397way[barrier=hedge],
398way[barrier=fence],
399way[barrier=handrail],
400way[barrier=wall],
401way[barrier=guard_rail],
402way[barrier=cable_barrier],
403way[barrier=city_wall],
404way[barrier=retaining_wall],
405way[barrier=block],
406way[barrier=chain],
407way[barrier=ditch],
408way[barrier=jersey_barrier],
409way[barrier=kerb] {
410    width: 2;
411    color: barrier#F0F050;
412}
413way[barrier=hedge][area?], relation[type=multipolygon][barrier=hedge],
414way[barrier=wall][area?], relation[type=multipolygon][barrier=wall],
415way[barrier=city_wall][area?], relation[type=multipolygon][barrier=city_wall] {
416    fill-color: barrier#F0F050;
417}
418way[barrier=city_wall][two_sided!=yes] {
419    repeat-image: "presets/barrier/barrier_pattern.svg";
420    repeat-image-align: top;
421    repeat-image-offset: 0.5;
422}
423way[barrier=kerb] {
424    repeat-image: "presets/barrier/kerb_pattern.svg";
425    repeat-image-align: top;
426    repeat-image-offset: 0.5;
427}
428way[barrier=retaining_wall] {
429    repeat-image: "presets/misc/cliff_pattern.svg";
430    repeat-image-align: top;
431    repeat-image-offset: 0.5;
432}
433node[barrier=hedge],
434node[barrier=wall],
435node[barrier=guard_rail],
436node[barrier=cable_barrier],
437node[barrier=city_wall],
438node[barrier=retaining_wall],
439node[barrier=ditch] {
440    icon-image: "presets/misc/deprecated.svg";
441    set icon_z17;
442}
443node[barrier=kerb] {
444    icon-image: "presets/barrier/kerb.svg";
445    set icon_z17;
446}
447node[barrier=block] {
448    icon-image: "presets/barrier/block.svg";
449    set icon_z17;
450}
451node[barrier=chain] {
452    icon-image: "presets/barrier/chain.svg";
453    set icon_z17;
454}
455node[barrier=stile] {
456    icon-image: "presets/barrier/stile.svg";
457    set icon_z17;
458}
459node[barrier=turnstile] {
460    icon-image: "presets/barrier/turnstile.svg";
461    set icon_z17;
462}
463node[barrier=cycle_barrier] {
464    icon-image: "presets/barrier/cycle_barrier.svg";
465    set icon_z17;
466}
467node[barrier=lift_gate] {
468    icon-image: "presets/barrier/lift_gate.svg";
469    set icon_z17;
470}
471node[barrier=swing_gate] {
472    icon-image: "presets/barrier/swing_gate.svg";
473    set icon_z17;
474}
475area[barrier=toll_booth]:closed {
476    fill-color: barrier#F0F050;
477}
478node[barrier=toll_booth] {
479    icon-image: "presets/barrier/toll_station.svg";
480    set icon_z17;
481}
482node[barrier=entrance] {
483    icon-image: "presets/barrier/entrance.svg";
484    set icon_z17;
485}
486node[barrier=cattle_grid] {
487    icon-image: "presets/barrier/cattle_grid.svg";
488    set icon_z17;
489}
490node[barrier=border_control] {
491    icon-image: "presets/barrier/douane.svg";
492    set icon_z17;
493}
494node[barrier=sally_port] {
495    icon-image: "presets/barrier/sally_port.svg";
496    set icon_z17;
497}
498node[barrier=spikes] {
499    icon-image: "presets/barrier/spikes.svg";
500    set icon_z17;
501}
502node[barrier=jersey_barrier] {
503    icon-image: "presets/barrier/jersey_barrier.svg";
504    set icon_z17;
505}
506node[barrier=kissing_gate] {
507    icon-image: "presets/barrier/kissing_gate.svg";
508    set icon_z17;
509}
510node[barrier=bus_trap] {
511    icon-image: "presets/barrier/bus_trap.svg";
512    set icon_z17;
513}
514node[barrier=bump_gate][!is_prop_set(icon-image)],
515node[barrier=hampshire_gate][!is_prop_set(icon-image)] {
516    icon-image: "presets/misc/no_icon.svg";
517    set icon_z17;
518}
519
520/****************/
521/* highway tags */
522/****************/
523
524way[motorroad=yes]::core_motorroad {
525    major-z-index: 2;
526    z-index: -1;
527    width: +4;
528    color: motorroad#3377ff;
529}
530way[highway=motorway] {
531    width: 3;
532    z-index: 0.13; /* #15483 */
533    color: motorway#809bc0;
534}
535way[highway=motorway_link] {
536    width: 3;
537    z-index: 0.12;
538    color: motorway#809bc0;
539}
540way[highway=trunk] {
541    width: 3;
542    z-index: 0.11;
543    color: trunk#7fc97f;
544}
545way[highway=trunk_link] {
546    width: 3;
547    z-index: 0.10;
548    color: trunk#7fc97f;
549}
550way[highway=primary] {
551    width: 3;
552    z-index: 0.09;
553    color: primary#fb805f;
554}
555way[highway=primary_link] {
556    width: 3;
557    z-index: 0.08;
558    color: primary#fb805f;
559}
560way[highway=secondary] {
561    width: 3;
562    z-index: 0.07;
563    color: secondary#fdbf6f;
564}
565way[highway=secondary_link] {
566    width: 3;
567    z-index: 0.06;
568    color: secondary#fdbf6f;
569}
570way[highway=tertiary] {
571    width: 2;
572    z-index: 0.05;
573    color: tertiary#f7f496;
574}
575way[highway=tertiary_link] {
576    width: 2;
577    z-index: 0.04;
578    color: tertiary#f7f496;
579}
580way[highway=unclassified] {
581    width: 2;
582    z-index: 0.03;
583    color: street#c0c0c0;
584}
585way[highway=escape] {
586    width: 3;
587    color: street#c0c0c0;
588    dashes: 3,3;
589}
590way[highway=road] {
591    width: 2;
592    casing-width: 0.5;
593    casing-color: #ff9696;
594    color: highway_road#770000;
595}
596way[highway=track][area?], relation[type=multipolygon][highway=track] {
597    fill-color: highway_track#6e541c;
598}
599way[highway=track] {
600    width: 2;
601    color: highway_track#6e541c;
602}
603way[highway=residential] {
604    width: 2;
605    z-index: 0.02;
606    color: street#c0c0c0;
607}
608way[highway=living_street] {
609    width: 2;
610    z-index: 0.01;
611    dashes: 9,9;
612    dashes-background-color: livingdashed#00ff00;
613    color: street#c0c0c0;
614}
615way[highway=service][area?], relation[type=multipolygon][highway=service] {
616    fill-color: service#809bc0;
617}
618way[highway=service][!area?] {
619    width: 1;
620    color: service#809bc0;
621}
622way[highway=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=bleachers],
1859area[leisure=sports_centre],
1860area[leisure=fitness_centre],
1861area[leisure=stadium],
1862area[leisure=horse_riding],
1863area[leisure=amusement_arcade],
1864area[leisure=adult_gaming_centre],
1865area[leisure=hackerspace],
1866area[leisure=outdoor_seating],
1867area[leisure=resort],
1868area[leisure=beach_resort],
1869area[leisure=water_park] {
1870    fill-color: leisure#c7f1a3;
1871}
1872node[leisure=bandstand] {
1873    icon-image: "presets/leisure/bandstand.svg";
1874    set icon_z17;
1875}
1876node[leisure=bleachers] {
1877    icon-image: "presets/leisure/bleachers.svg";
1878    set icon_z17;
1879}
1880node[leisure=sports_centre] {
1881    icon-image: "presets/sport/sports_centre.svg";
1882    set icon_z17;
1883}
1884node[leisure=fitness_centre] {
1885    icon-image: "presets/sport/fitness_centre.svg";
1886    set icon_z17;
1887}
1888node[leisure=stadium] {
1889    icon-image: "presets/sport/stadium.svg";
1890    set icon_z17;
1891}
1892node[leisure=horse_riding] {
1893    icon-image: "presets/leisure/horse_riding.svg";
1894    set icon_z17;
1895}
1896node[leisure=amusement_arcade] {
1897    icon-image: "presets/leisure/amusement_arcade.svg";
1898    set icon_z17;
1899}
1900node[leisure=adult_gaming_centre] {
1901    icon-image: "presets/leisure/adult_gaming_centre.svg";
1902    set icon_z17;
1903}
1904node[leisure=hackerspace] {
1905    icon-image: "presets/leisure/hackerspace.svg";
1906    set icon_z17;
1907}
1908node[leisure=outdoor_seating] {
1909    icon-image: "presets/leisure/outdoor_seating.svg";
1910    set icon_z17;
1911}
1912node[leisure=resort] {
1913    icon-image: "presets/leisure/resort.svg";
1914    set icon_z17;
1915}
1916node[leisure=beach_resort] {
1917    icon-image: "presets/leisure/beach_resort.svg";
1918    set icon_z17;
1919}
1920node[leisure=water_park] {
1921    icon-image: "presets/leisure/water_park.svg";
1922    set icon_z17;
1923}
1924way[leisure=track] {
1925    width: 2;
1926    color: leisuretrack#d4f4b9;
1927}
1928way[leisure=track][area?],
1929relation[leisure=track][!area?!]:closed {
1930    fill-color: leisuretrack#d4f4b9;
1931}
1932node[leisure=track] {
1933    icon-image: "presets/sport/track.svg";
1934    set icon_z17;
1935}
1936area[leisure=pitch] {
1937    fill-color: pitch#baee8d;
1938}
1939node[leisure=pitch] {
1940    icon-image: "presets/sport/pitch.svg";
1941    set icon_z17;
1942}
1943area[leisure=marina] {
1944    fill-color: marina#0070cf;
1945}
1946node[leisure=marina] {
1947    icon-image: "presets/nautical/marina.svg";
1948    set icon_z17;
1949}
1950way[leisure=slipway] {
1951    width: 2;
1952    color: leisure#c7f1a3;
1953}
1954node[leisure=slipway] {
1955    icon-image: "presets/nautical/slipway.svg";
1956    set icon_z17;
1957}
1958area[leisure=fishing],
1959area[leisure=bird_hide],
1960area[leisure=nature_reserve],
1961area[leisure=park],
1962area[leisure=playground],
1963area[leisure=garden],
1964area[leisure=firepit] {
1965    fill-color: leisure#c7f1a3;
1966}
1967node[leisure=fishing] {
1968    icon-image: "presets/sport/fishing.svg";
1969    set icon_z17;
1970}
1971node[leisure=bird_hide] {
1972    icon-image: "presets/leisure/bird_hide.svg";
1973    set icon_z17;
1974}
1975node[leisure=park] {
1976    icon-image: "presets/misc/deprecated.svg";
1977    set icon_z17;
1978}
1979node[leisure=playground] {
1980    icon-image: "presets/leisure/playground.svg";
1981    set icon_z17;
1982}
1983node[leisure=garden] {
1984    icon-image: "presets/leisure/garden.svg";
1985    set icon_z17;
1986}
1987node[leisure=common] {
1988    icon-image: "presets/misc/deprecated.svg";
1989    set icon_z17;
1990}
1991node[leisure=firepit] { 
1992    icon-image: "presets/leisure/firepit.svg";
1993    set icon_z17;
1994}
1995node[leisure=picnic_table] {
1996    icon-image: "presets/leisure/picnic.svg";
1997    set icon_z17;
1998}
1999area[leisure=swimming_pool] {
2000    fill-color: swimming_pool#51c4ef;
2001}
2002node[leisure=swimming_pool] {
2003    icon-image: "presets/sport/swimming.svg";
2004    set icon_z17;
2005}
2006area[playground]:closed {
2007    fill-color: playground#c7f1a3;
2008}
2009way[playground] {
2010    width: 2;
2011    color: playground#c7f1a3;
2012}
2013node[playground] {
2014    icon-image: "presets/leisure/playground_device.svg";
2015    set icon_z17;
2016}
2017area[leisure=fitness_station],
2018area[leisure=miniature_golf],
2019area[leisure=dog_park],
2020area[leisure=ice_rink],
2021area[leisure=sauna] {
2022    fill-color: leisure#c7f1a3;
2023}
2024node[leisure=fitness_station] {
2025    icon-image: "presets/leisure/fitness_station.svg";
2026    set icon_z17;
2027}
2028node[leisure=miniature_golf] {
2029    icon-image: "presets/sport/miniature_golf.svg";
2030    set icon_z17;
2031}
2032node[leisure=dog_park] {
2033    icon-image: "presets/leisure/dogpark.svg";
2034    set icon_z17;
2035}
2036node[leisure=ice_rink] {
2037    icon-image: "presets/sport/ice_hockey.svg";
2038    set icon_z17;
2039}
2040node[leisure=sauna] {
2041    icon-image: "presets/leisure/sauna.svg";
2042    set icon_z17;
2043}
2044area[leisure=golf_course] {
2045    fill-color: leisure#c7f1a3;
2046}
2047node[leisure=golf_course] {
2048    icon-image: "presets/sport/golf/golf.svg";
2049    set icon_z17;
2050}
2051
2052/*************/
2053/* golf tags */
2054/*************/
2055area[golf=tee] {
2056    fill-color: golf#c7f1a3;
2057}
2058node[golf=tee] {
2059    icon-image: "presets/sport/golf/tee.svg";
2060    set icon_z17;
2061}
2062way[golf=hole] {
2063    width: 1;
2064    dashes: 10,10;
2065    color: golf_hole#808080;
2066}
2067node[golf=pin] {
2068    icon-image: "presets/sport/golf/pin.svg";
2069    set icon_z17;
2070}
2071area[golf=bunker] {
2072    fill-color: golf_bunker#ffab00;
2073}
2074area[golf=water_hazard],
2075area[golf=lateral_water_hazard] {
2076    fill-color: golf_water_hazard#0000ff;
2077}
2078area[golf=green] {
2079    fill-color: golf_green#00e700;
2080}
2081area[golf=fairway] {
2082    fill-color: golf_fairway#009a00;
2083}
2084area[golf=rough] {
2085    fill-color: golf_rough#006700;
2086}
2087area[golf=driving_range] {
2088    fill-color: golf_driving_range#c7f1a3;
2089}
2090node[golf=driving_range] {
2091    icon-image: "presets/sport/golf/driving_range.svg";
2092    set icon_z17;
2093}
2094
2095/********************/
2096/* advertising tags */
2097/********************/
2098
2099node[advertising=column] {
2100    icon-image: "presets/leisure/advertising_column.svg";
2101    set icon_z17;
2102}
2103area[advertising=column] {
2104    fill-color: advertising#880000;
2105}
2106node[advertising=billboard] {
2107    icon-image: "presets/leisure/billboard.svg";
2108    set icon_z17;
2109}
2110way[advertising=billboard] {
2111    width: 2;
2112    color: advertising#880000;
2113}
2114
2115/*************/
2116/* shop tags */
2117/*************/
2118
2119area[shop=supermarket],
2120area[shop=convenience],
2121area[shop=bakery],
2122area[shop=butcher],
2123area[shop=bicycle],
2124area[shop=doityourself],
2125area[shop=dry_cleaning],
2126area[shop=laundry],
2127area[shop=outdoor],
2128area[shop=kiosk],
2129area[shop=alcohol],
2130area[shop=beverages],
2131area[shop=books],
2132area[shop=boutique],
2133area[shop=car],
2134area[shop=car_repair],
2135area[shop=tyres],
2136area[shop=chemist],
2137area[shop=tobacco],
2138area[shop=e-cigarette],
2139area[shop=clothes],
2140area[shop=computer],
2141area[shop=confectionery],
2142area[shop=chocolate],
2143area[shop=pastry],
2144area[shop=copyshop],
2145area[shop=curtain],
2146area[shop=cycle_repair],
2147area[shop=department_store],
2148area[shop=deli],
2149area[shop=doors],
2150area[shop=electronics],
2151area[shop=erotic],
2152area[shop=furniture],
2153area[shop=fabric],
2154area[shop=florist],
2155area[shop=frame],
2156area[shop=gas],
2157area[shop=gift],
2158area[shop=greengrocer],
2159area[shop=garden_centre],
2160area[shop=hairdresser],
2161area[shop=hardware],
2162area[shop=hearing_aids],
2163area[shop=hifi],
2164area[shop=houseware],
2165area[shop=pottery],
2166area[shop=jewelry],
2167area[shop=kitchen],
2168area[shop=mall],
2169area[shop=massage],
2170area[shop=mobile_phone],
2171area[shop=watches],
2172area[shop=motorcycle],
2173area[shop=musical_instrument],
2174area[shop=newsagent],
2175area[shop=optician],
2176area[shop=medical_supply],
2177area[shop=paint],
2178area[shop=party],
2179area[shop=pawnbroker],
2180area[shop=seafood],
2181area[shop=dairy],
2182area[shop=cheese],
2183area[shop=shoes],
2184area[shop=sports],
2185area[shop=stationery],
2186area[shop=tailor],
2187area[shop=travel_agency],
2188area[shop=scuba_diving],
2189area[shop=fishing],
2190area[shop=toys],
2191area[shop=vacuum_cleaner],
2192area[shop=variety_store],
2193area[shop=charity],
2194area[shop=second_hand],
2195area[shop=video],
2196area[shop=bookmaker],
2197area[shop=lottery],
2198area[shop=pet],
2199area[shop=pet_grooming],
2200area[shop=photo],
2201area[shop=ticket],
2202area[shop=carpet],
2203area[shop=interior_decoration],
2204area[shop=car_parts],
2205area[shop=video_games],
2206area[shop=bed],
2207area[shop=beauty],
2208area[shop=cosmetics],
2209area[shop=perfumery],
2210area[shop=herbalist],
2211area[shop=tea],
2212area[shop=coffee],
2213area[shop=frozen_food],
2214area[shop=antiques],
2215area[shop=swimming_pool],
2216area[shop=storage_rental],
2217area[shop=music],
2218area[shop=weapons],
2219area[shop=funeral_directors],
2220area[shop=wine],
2221area[shop=farm],
2222area[shop=tattoo],
2223area[shop=art],
2224area[shop=lighting],
2225area[shop=security],
2226area[shop=wholesale],
2227area[shop=trade],
2228area[shop=bag] {
2229    fill-color: shop#00005f;
2230}
2231node[shop=supermarket] {
2232    icon-image: "presets/shop/supermarket.svg";
2233    set icon_z17;
2234}
2235node[shop=convenience] {
2236    icon-image: "presets/shop/convenience.svg";
2237    set icon_z17;
2238}
2239node[shop=bakery] {
2240    icon-image: "presets/shop/groceries/bakery.svg";
2241    set icon_z17;
2242}
2243node[shop=butcher] {
2244    icon-image: "presets/shop/groceries/butcher.svg";
2245    set icon_z17;
2246}
2247node[shop=bicycle] {
2248    icon-image: "presets/shop/bicycle.svg";
2249    set icon_z17;
2250}
2251node[shop=doityourself] {
2252    icon-image: "presets/shop/diy_store.svg";
2253    set icon_z17;
2254}
2255node[shop=dry_cleaning],
2256node[shop=laundry] {
2257    icon-image: "presets/shop/laundry.svg";
2258    set icon_z17;
2259}
2260node[shop=outdoor] {
2261    icon-image: "presets/shop/outdoor.svg";
2262    set icon_z17;
2263}
2264node[shop=kiosk] {
2265    icon-image: "presets/shop/kiosk.svg";
2266    set icon_z17;
2267}
2268node[shop=beverages] {
2269    icon-image: "presets/shop/beverages.svg";
2270    set icon_z17;
2271}
2272node[shop=alcohol] {
2273    icon-image: "presets/shop/alcohol.svg";
2274    set icon_z17;
2275}
2276node[shop=books] {
2277    icon-image: "presets/shop/book.svg";
2278    set icon_z17;
2279}
2280node[shop=boutique] {
2281    icon-image: "presets/shop/boutique.svg";
2282    set icon_z17;
2283}
2284node[shop=car] {
2285    icon-image: "presets/shop/vehicle.svg";
2286    set icon_z17;
2287}
2288node[shop=car_repair] {
2289    icon-image: "presets/vehicle/repair_shop.svg";
2290    set icon_z17;
2291}
2292node[shop=tyres] {
2293    icon-image: "presets/vehicle/tyres.svg";
2294    set icon_z17;
2295}
2296node[shop=chemist] {
2297    icon-image: "presets/shop/chemist.svg";
2298    set icon_z17;
2299}
2300node[shop=tobacco] {
2301    icon-image: "presets/shop/tobacco.svg";
2302    set icon_z17;
2303}
2304node[shop=e-cigarette] {
2305    icon-image: "presets/shop/e-cigarette.svg";
2306    set icon_z17;
2307}
2308node[shop=clothes] {
2309    icon-image: "presets/shop/clothes.svg";
2310    set icon_z17;
2311}
2312node[shop=computer] {
2313    icon-image: "presets/shop/computer.svg";
2314    set icon_z17;
2315}
2316node[shop=confectionery] {
2317    icon-image: "presets/shop/groceries/confectionery.svg";
2318    set icon_z17;
2319}
2320node[shop=chocolate] {
2321    icon-image: "presets/shop/groceries/chocolate.svg";
2322    set icon_z17;
2323}
2324node[shop=pastry] {
2325    icon-image: "presets/shop/groceries/pastry.svg";
2326    set icon_z17;
2327}
2328node[shop=copyshop] {
2329    icon-image: "presets/shop/copyshop.svg";
2330    set icon_z17;
2331}
2332node[shop=curtain] {
2333    icon-image: "presets/shop/curtain.svg";
2334    set icon_z17;
2335}
2336node[shop=cycle_repair] {
2337    icon-image: "presets/shop/bicycle.svg";
2338    set icon_z17;
2339}
2340node[shop=department_store] {
2341    icon-image: "presets/shop/mall.svg";
2342    set icon_z17;
2343}
2344node[shop=deli] {
2345    icon-image: "presets/shop/groceries/deli.svg";
2346    set icon_z17;
2347}
2348node[shop=doors] {
2349    icon-image: "presets/shop/doors.svg";
2350    set icon_z17;
2351}
2352node[shop=electronics] {
2353    icon-image: "presets/shop/electronics.svg";
2354    set icon_z17;
2355}
2356node[shop=erotic] {
2357    icon-image: "presets/shop/erotic.svg";
2358    set icon_z17;
2359}
2360node[shop=furniture] {
2361    icon-image: "presets/shop/furniture.svg";
2362    set icon_z17;
2363}
2364node[shop=fabric] {
2365    icon-image: "presets/shop/fabric.svg";
2366    set icon_z17;
2367}
2368node[shop=florist] {
2369    icon-image: "presets/shop/florist.svg";
2370    set icon_z17;
2371}
2372node[shop=frame] {
2373    icon-image: "presets/shop/frame.svg";
2374    set icon_z17;
2375}
2376node[shop=gas] {
2377    icon-image: "presets/shop/gas.svg";
2378    set icon_z17;
2379}
2380node[shop=gift] {
2381    icon-image: "presets/shop/present.svg";
2382    set icon_z17;
2383}
2384node[shop=greengrocer] {
2385    icon-image: "presets/shop/groceries/greengrocer.svg";
2386    set icon_z17;
2387}
2388node[shop=garden_centre] {
2389    icon-image: "presets/shop/garden_centre.svg";
2390    set icon_z17;
2391}
2392node[shop=hairdresser] {
2393    icon-image: "presets/shop/hairdresser.svg";
2394    set icon_z17;
2395}
2396node[shop=hardware] {
2397    icon-image: "presets/shop/hardware.svg";
2398    set icon_z17;
2399}
2400node[shop=hearing_aids] {
2401    icon-image: "presets/shop/hearing_aids.svg";
2402    set icon_z17;
2403}
2404node[shop=hifi] {
2405    icon-image: "presets/shop/hifi.svg";
2406    set icon_z17;
2407}
2408node[shop=houseware] {
2409    icon-image: "presets/shop/houseware.svg";
2410    set icon_z17;
2411}
2412node[shop=pottery] {
2413    icon-image: "presets/shop/pottery.svg";
2414    set icon_z17;
2415}
2416node[shop=jewelry] {
2417    icon-image: "presets/shop/jewelry.svg";
2418    set icon_z17;
2419}
2420node[shop=kitchen] {
2421    icon-image: "presets/shop/kitchen.svg";
2422    set icon_z17;
2423}
2424node[shop=mall] {
2425    icon-image: "presets/shop/mall.svg";
2426    set icon_z17;
2427}
2428node[shop=massage] {
2429    icon-image: "presets/shop/massage.svg";
2430    set icon_z17;
2431}
2432node[shop=mobile_phone] {
2433    icon-image: "presets/shop/mobile_phone.svg";
2434    set icon_z17;
2435}
2436node[shop=watches] {
2437    icon-image: "presets/shop/watches.svg";
2438    set icon_z17;
2439}
2440node[shop=motorcycle] {
2441    icon-image: "presets/vehicle/motorbike.svg";
2442    set icon_z17;
2443}
2444node[shop=musical_instrument] {
2445    icon-image: "presets/shop/musical_instrument.svg";
2446    set icon_z17;
2447}
2448node[shop=newsagent] {
2449    icon-image: "presets/shop/news.svg";
2450    set icon_z17;
2451}
2452node[shop=optician] {
2453    icon-image: "presets/shop/optician.svg";
2454    set icon_z17;
2455}
2456node[shop=medical_supply] {
2457    icon-image: "presets/shop/medical_supply.svg";
2458    set icon_z17;
2459}
2460node[shop=paint] {
2461    icon-image: "presets/shop/paint.svg";
2462    set icon_z17;
2463}
2464node[shop=party] {
2465    icon-image: "presets/shop/party.svg";
2466    set icon_z17;
2467}
2468node[shop=pawnbroker] {
2469    icon-image: "presets/shop/pawnbroker.svg";
2470    set icon_z17;
2471}
2472node[shop=seafood] {
2473    icon-image: "presets/shop/groceries/seafood.svg";
2474    set icon_z17;
2475}
2476node[shop=dairy] {
2477    icon-image: "presets/shop/groceries/dairy.svg";
2478    set icon_z17;
2479}
2480node[shop=cheese] {
2481    icon-image: "presets/shop/groceries/cheese.svg";
2482    set icon_z17;
2483}
2484node[shop=shoes] {
2485    icon-image: "presets/shop/shoes.svg";
2486    set icon_z17;
2487}
2488node[shop=sports] {
2489    icon-image: "presets/sport/multi.svg";
2490    set icon_z17;
2491}
2492node[shop=stationery] {
2493    icon-image: "presets/shop/stationery.svg";
2494    set icon_z17;
2495}
2496node[shop=tailor] {
2497    icon-image: "presets/shop/tailor.svg";
2498    set icon_z17;
2499}
2500node[shop=travel_agency] {
2501    icon-image: "presets/shop/travel_agency.svg";
2502    set icon_z17;
2503}
2504node[shop=scuba_diving] {
2505    icon-image: "presets/shop/scuba_diving.svg";
2506    set icon_z17;
2507}
2508node[shop=fishing] {
2509    icon-image: "presets/shop/fishing.svg";
2510    set icon_z17;
2511}
2512node[shop=toys] {
2513    icon-image: "presets/shop/toys.svg";
2514    set icon_z17;
2515}
2516node[shop=vacuum_cleaner] {
2517    icon-image: "presets/shop/vacuum_cleaner.svg";
2518    set icon_z17;
2519}
2520node[shop=variety_store] {
2521    icon-image: "presets/shop/variety_store.svg";
2522    set icon_z17;
2523}
2524node[shop=charity] {
2525    icon-image: "presets/shop/charity.svg";
2526    set icon_z17;
2527}
2528node[shop=second_hand] {
2529    icon-image: "presets/shop/second_hand.svg";
2530    set icon_z17;
2531}
2532node[shop=video] {
2533    icon-image: "presets/shop/video.svg";
2534    set icon_z17;
2535}
2536node[shop=bookmaker] {
2537    icon-image: "presets/shop/lottery.svg";
2538    set icon_z17;
2539}
2540node[shop=lottery] {
2541    icon-image: "presets/shop/lottery.svg";
2542    set icon_z17;
2543}
2544node[shop=pet] {
2545    icon-image: "presets/shop/pet.svg";
2546    set icon_z17;
2547}
2548node[shop=pet_grooming] {
2549    icon-image: "presets/shop/pet_grooming.svg";
2550    set icon_z17;
2551}
2552node[shop=photo] {
2553    icon-image: "presets/shop/photo.svg";
2554    set icon_z17;
2555}
2556node[shop=ticket] {
2557    icon-image: "presets/shop/ticket.svg";
2558    set icon_z17;
2559}
2560node[shop=carpet] {
2561    icon-image: "presets/shop/carpet.svg";
2562    set icon_z17;
2563}
2564node[shop=interior_decoration] {
2565    icon-image: "presets/shop/interior_decoration.svg";
2566    set icon_z17;
2567}
2568node[shop=car_parts] {
2569    icon-image: "presets/vehicle/car_parts.svg";
2570    set icon_z17;
2571}
2572node[shop=video_games] {
2573    icon-image: "presets/shop/video_games.svg";
2574    set icon_z17;
2575}
2576node[shop=bed] {
2577    icon-image: "presets/shop/bed.svg";
2578    set icon_z17;
2579}
2580node[shop=beauty] {
2581    icon-image: "presets/shop/beauty.svg";
2582    set icon_z17;
2583}
2584node[shop=cosmetics] {
2585    icon-image: "presets/shop/cosmetics.svg";
2586    set icon_z17;
2587}
2588node[shop=perfumery] {
2589    icon-image: "presets/shop/perfumery.svg";
2590    set icon_z17;
2591}
2592node[shop=herbalist] {
2593    icon-image: "presets/shop/groceries/herbalist.svg";
2594    set icon_z17;
2595}
2596node[shop=tea] {
2597    icon-image: "presets/shop/groceries/tea.svg";
2598    set icon_z17;
2599}
2600node[shop=coffee] {
2601    icon-image: "presets/shop/groceries/coffee.svg";
2602    set icon_z17;
2603}
2604node[shop=frozen_food] {
2605    icon-image: "presets/shop/groceries/frozen_food.svg";
2606    set icon_z17;
2607}
2608node[shop=antiques] {
2609    icon-image: "presets/shop/antique.svg";
2610    set icon_z17;
2611}
2612node[shop=swimming_pool] {
2613    icon-image: "presets/shop/swimming_pool.svg";
2614    set icon_z17;
2615}
2616node[shop=storage_rental] {
2617    icon-image: "presets/shop/storage_rental.svg";
2618    set icon_z17;
2619}
2620node[shop=music] {
2621    icon-image: "presets/shop/music.svg";
2622    set icon_z17;
2623}
2624node[shop=weapons] {
2625    icon-image: "presets/shop/weapons.svg";
2626    set icon_z17;
2627}
2628node[shop=funeral_directors] {
2629    icon-image: "presets/shop/funeral_directors.svg";
2630    set icon_z17;
2631}
2632node[shop=wine] {
2633    icon-image: "presets/shop/wine.svg";
2634    set icon_z17;
2635}
2636node[shop=farm] {
2637    icon-image: "presets/shop/groceries/farm.svg";
2638    set icon_z17;
2639}
2640node[shop=tattoo] {
2641    icon-image: "presets/shop/tattoo.svg";
2642    set icon_z17;
2643}
2644node[shop=art] {
2645    icon-image: "presets/shop/art.svg";
2646    set icon_z17;
2647}
2648node[shop=lighting] {
2649    icon-image: "presets/shop/lighting.svg";
2650    set icon_z17;
2651}
2652node[shop=security] {
2653    icon-image: "presets/shop/security.svg";
2654    set icon_z17;
2655}
2656node[shop=wholesale] {
2657    icon-image: "presets/shop/wholesale.svg";
2658    set icon_z17;
2659}
2660node[shop=trade] {
2661    icon-image: "presets/shop/trade.svg";
2662    set icon_z17;
2663}
2664node[shop=bag] {
2665    icon-image: "presets/shop/bag.svg";
2666    set icon_z17;
2667}
2668
2669/******************/
2670/* emergency tags */
2671/******************/
2672area[emergency=ambulance_station],
2673area[emergency=water_tank] {
2674    fill-color: emergency#eeeeee;
2675}
2676node[emergency=ambulance_station] {
2677    icon-image: "presets/emergency/ambulance_station.svg";
2678    set icon_z17;
2679}
2680node[emergency=water_tank] {
2681    icon-image: "presets/emergency/water_tank.svg";
2682    set icon_z17;
2683}
2684node[emergency=suction_point] {
2685    icon-image: "presets/emergency/suction_point.svg";
2686    set icon_z17;
2687}
2688node[emergency=emergency_ward_entrance] {
2689    icon-image: "presets/emergency/emergency_ward_entrance.svg";
2690    set icon_z17;
2691}
2692node[emergency=phone] {
2693    icon-image: "presets/vehicle/emergency_phone.svg";
2694    set icon_z17;
2695}
2696node[emergency=defibrillator] {
2697    icon-image: "presets/emergency/aed.svg";
2698    set icon_z17;
2699}
2700node[emergency=fire_hydrant] {
2701    icon-image: "presets/service/fire_hydrant.svg";
2702    set icon_z17;
2703}
2704node[emergency=fire_extinguisher] {
2705    icon-image: "presets/emergency/fire_extinguisher.svg";
2706    set icon_z17;
2707}
2708node[emergency=fire_hose] {
2709    icon-image: "presets/emergency/fire_hose.svg";
2710    set icon_z17;
2711}
2712node[emergency=assembly_point] {
2713    icon-image: "presets/emergency/assembly_point.svg";
2714    set icon_z17;
2715}
2716node[emergency=siren] {
2717    icon-image: "presets/emergency/siren.svg";
2718    set icon_z17;
2719}
2720
2721/****************/
2722/* police tags */
2723/****************/
2724
2725area[police=barracks],
2726area[police=car_pound],
2727area[police=checkpoint],
2728area[police=detention],
2729area[police=naval_base],
2730area[police=offices],
2731area[police=range],
2732area[police=storage],
2733area[police=training_area],
2734area[police=yes] {
2735    fill-color: police#ecba52;
2736}
2737node[police=barracks],
2738node[police=car_pound],
2739node[police=checkpoint],
2740node[police=detention],
2741node[police=naval_base],
2742node[police=offices],
2743node[police=range],
2744node[police=storage],
2745node[police=training_node],
2746node[police=yes] {
2747    icon-image: "presets/service/police_non_public.svg";
2748    set icon_z17;
2749}
2750
2751/*******************/
2752/* healthcare tags */
2753/*******************/
2754
2755area[healthcare=laboratory] {
2756    fill-color: healthcare#3771c8;
2757}
2758node[healthcare=laboratory] {
2759    icon-image: "presets/health/laboratory.svg";
2760    set icon_z17;
2761}
2762
2763/****************/
2764/* amenity tags */
2765/****************/
2766
2767area[amenity=pub],
2768area[amenity=biergarten],
2769area[amenity=nightclub],
2770area[amenity=gambling],
2771area[amenity=stripclub],
2772area[amenity=casino],
2773area[amenity=brothel],
2774area[amenity=cafe],
2775area[amenity=restaurant],
2776area[amenity=food_court],
2777area[amenity=fast_food],
2778area[amenity=bar],
2779area[amenity=ice_cream] {
2780    fill-color: amenity#ecba52;
2781}
2782node[amenity=pub] {
2783    icon-image: "presets/food/pub.svg";
2784    set icon_z17;
2785}
2786node[amenity=biergarten] {
2787    icon-image: "presets/food/biergarten.svg";
2788    set icon_z17;
2789}
2790node[amenity=nightclub] {
2791    icon-image: "presets/leisure/nightclub.svg";
2792    set icon_z17;
2793}
2794node[amenity=gambling] {
2795    icon-image: "presets/leisure/gambling.svg";
2796    set icon_z17;
2797}
2798node[amenity=stripclub] {
2799    icon-image: "presets/leisure/stripclub.svg";
2800    set icon_z17;
2801}
2802node[amenity=casino] {
2803    icon-image: "presets/leisure/casino.svg";
2804    set icon_z17;
2805}
2806node[amenity=brothel] {
2807    icon-image: "presets/leisure/brothel.svg";
2808    set icon_z17;
2809}
2810node[amenity=cafe] {
2811    icon-image: "presets/food/cafe.svg";
2812    set icon_z17;
2813}
2814node[amenity=restaurant] {
2815    icon-image: "presets/food/restaurant.svg";
2816    set icon_z17;
2817}
2818node[amenity=food_court] {
2819    icon-image: "presets/food/food_court.svg";
2820    set icon_z17;
2821}
2822node[amenity=fast_food] {
2823    icon-image: "presets/food/fast_food.svg";
2824    set icon_z17;
2825}
2826node[amenity=bar] {
2827    icon-image: "presets/food/bar.svg";
2828    set icon_z17;
2829}
2830node[amenity=ice_cream] {
2831    icon-image: "presets/food/ice_cream.svg";
2832    set icon_z17;
2833}
2834area[amenity=bicycle_parking]:closed {
2835    fill-color: amenity_traffic#f7efb7;
2836}
2837way[amenity=bicycle_parking] {
2838    width: 2;
2839    color: amenity_traffic#f7efb7;
2840}
2841area[amenity=parking_space] {
2842    fill-color: parking_space#f7efb8;
2843}
2844area[amenity=parking],
2845area[amenity=motorcycle_parking],
2846area[amenity=bicycle_rental],
2847area[amenity=bicycle_repair_station],
2848area[amenity=car_rental],
2849area[amenity=car_pooling],
2850area[amenity=car_sharing],
2851area[amenity=car_wash],
2852area[amenity=taxi],
2853area[amenity=fuel] {
2854    fill-color: amenity_traffic#f7efb7;
2855}
2856node[amenity=parking_space] {
2857    icon-image: "presets/vehicle/parking/parking_space.svg";
2858    set icon_z17;
2859}
2860node[amenity=parking] {
2861    icon-image: "presets/vehicle/parking/parking.svg";
2862    set icon_z17;
2863}
2864node[amenity=parking_entrance] {
2865    icon-image: "presets/vehicle/parking/parking.svg";
2866    set icon_z17;
2867}
2868node[amenity=parking_entrance][parking=multi-storey],
2869node[amenity=parking][parking=multi-storey] {
2870    icon-image: "presets/vehicle/parking/multi-storey.svg";
2871    set icon_z17;
2872}
2873node[amenity=parking_entrance][parking=underground],
2874node[amenity=parking][parking=underground] {
2875    icon-image: "presets/vehicle/parking/underground.svg";
2876    set icon_z17;
2877}
2878node[amenity=motorcycle_parking] {
2879    icon-image: "presets/vehicle/parking/motorbike.svg";
2880    set icon_z17;
2881}
2882node[amenity=bicycle_parking] {
2883    icon-image: "presets/vehicle/parking/bicycle.svg";
2884    set icon_z17;
2885}
2886node[park_ride][park_ride!=no] {
2887    icon-image: "presets/vehicle/parking/park_ride.svg";
2888    set icon_z17;
2889}
2890node[amenity=parking_space][wheelchair?] {
2891    icon-image: "presets/vehicle/parking/handicapped.svg";
2892    set icon_z17;
2893}
2894node[amenity=bicycle_rental] {
2895    icon-image: "presets/vehicle/bicycle_rental.svg";
2896    set icon_z17;
2897}
2898node[amenity=bicycle_repair_station] {
2899    icon-image: "presets/vehicle/bicycle_repair_station.svg";
2900    set icon_z17;
2901}
2902node[amenity=car_rental] {
2903    icon-image: "presets/vehicle/car_rental.svg";
2904    set icon_z17;
2905}
2906node[amenity=car_pooling] {
2907    icon-image: "presets/vehicle/car_pooling.svg";
2908    set icon_z17;
2909}
2910node[amenity=car_sharing] {
2911    icon-image: "presets/vehicle/car_sharing.svg";
2912    set icon_z17;
2913}
2914node[amenity=car_wash] {
2915    icon-image: "presets/vehicle/car_wash.svg";
2916    set icon_z17;
2917}
2918node[amenity=taxi] {
2919    icon-image: "presets/transport/taxi.svg";
2920    set icon_z17;
2921}
2922node[amenity=fuel] {
2923    icon-image: "presets/vehicle/fuel.svg";
2924    set icon_z17;
2925}
2926node[amenity=charging_station] {
2927    icon-image: "presets/vehicle/charging_station.svg";
2928    set icon_z17;
2929}
2930node[amenity=grit_bin] {
2931    icon-image: "presets/misc/grit_bin.svg";
2932    set icon_z17;
2933}
2934node[amenity=telephone] {
2935    icon-image: "presets/service/telephone.svg";
2936    set icon_z17;
2937}
2938node[amenity=clock] {
2939    icon-image: "presets/service/clock.svg";
2940    set icon_z17;
2941}
2942node[amenity=photo_booth] {
2943    icon-image: "presets/service/photo_booth.svg";
2944    set icon_z17;
2945}
2946area[amenity=toilets],
2947area[amenity=shower],
2948area[amenity=internet_cafe],
2949area[amenity=recycling],
2950area[amenity=sanitary_dump_station] {
2951    fill-color: amenity_light#f7efb7;
2952}
2953node[amenity=toilets] {
2954    icon-image: "presets/service/toilets.svg";
2955    set icon_z17;
2956}
2957node[amenity=shower] { 
2958    icon-image: "presets/service/shower.svg";
2959    set icon_z17;
2960}
2961node[amenity=internet_cafe] { 
2962    icon-image: "presets/service/internet_cafe.svg";
2963    set icon_z17;
2964}
2965node[amenity=recycling] {
2966    icon-image: "presets/service/recycling/recycling.svg";
2967    set icon_z17;
2968}
2969node[amenity=recycling][recycling_type=container] {
2970    icon-image: "presets/service/recycling/recycling_container.svg";
2971}
2972node[amenity=recycling][recycling_type=centre] {
2973    icon-image: "presets/service/recycling/recycling_centre.svg";
2974}
2975node[amenity=waste_basket] {
2976    icon-image: "presets/service/recycling/waste_basket.svg";
2977    set icon_z17;
2978}
2979node[amenity=waste_disposal] {
2980    icon-image: "presets/service/recycling/waste_disposal.svg";
2981    set icon_z17;
2982}
2983node[amenity=sanitary_dump_station] {
2984    icon-image: "presets/service/recycling/sanitary_dump_station.svg";
2985    set icon_z17;
2986}
2987area[amenity=townhall],
2988area[amenity=embassy],
2989area[amenity=community_centre] {
2990    fill-color: amenity_light#f7efb7;
2991}
2992node[amenity=townhall] {
2993    icon-image: "presets/service/townhall.svg";
2994    set icon_z17;
2995}
2996node[amenity=embassy] {
2997    icon-image: "presets/service/embassy.svg";
2998    set icon_z17;
2999}
3000node[amenity=community_centre] {
3001    icon-image: "presets/service/community_centre.svg";
3002    set icon_z17;
3003}
3004area[amenity=water_point],
3005area[amenity=fountain] {
3006    fill-color: light_water#00005f;
3007}
3008node[amenity=drinking_water] {
3009    icon-image: "presets/food/drinking_water.svg";
3010    set icon_z17;
3011}
3012node[amenity=water_point] {
3013    icon-image: "presets/accommodation/water.svg";
3014    set icon_z17;
3015}
3016node[amenity=fountain] {
3017    icon-image: "presets/misc/fountain.svg";
3018    set icon_z17;
3019}
3020area[amenity=animal_boarding],
3021area[amenity=place_of_worship],
3022area[amenity=monastery],
3023area[amenity=grave_yard],
3024area[amenity=crematorium],
3025area[amenity=post_office],
3026area[amenity=studio],
3027area[landuse=school],
3028area[amenity=school],
3029area[amenity=university],
3030area[amenity=college],
3031area[amenity=kindergarten],
3032area[amenity=language_school],
3033area[amenity=driving_school] {
3034    fill-color: amenity_light#f7efb7;
3035}
3036node[amenity=animal_boarding] {
3037    icon-image: "presets/accommodation/animal_boarding.svg";
3038    set icon_z17;
3039}
3040node[amenity=place_of_worship] {
3041    icon-image: "presets/religion/religion.svg";
3042    set icon_z17;
3043}
3044node[amenity=place_of_worship][religion=bahai] {
3045    icon-image: "presets/religion/bahai.svg";
3046    set icon_z17;
3047}
3048node[amenity=place_of_worship][religion=buddhist] {
3049    icon-image: "presets/religion/buddhism.svg";
3050    set icon_z17;
3051}
3052node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
3053    icon-image: "presets/misc/no_icon.svg";
3054    set icon_z17;
3055}
3056node[amenity=place_of_worship][religion=christian] {
3057    icon-image: "presets/religion/church.svg";
3058    set icon_z17;
3059}
3060node[amenity=place_of_worship][religion=confucian] {
3061    icon-image: "presets/religion/confucian.svg";
3062    set icon_z17;
3063}
3064node[amenity=place_of_worship][religion=hindu] {
3065    icon-image: "presets/religion/hinduism.svg";
3066    set icon_z17;
3067}
3068node[amenity=place_of_worship][religion=jain] {
3069    icon-image: "presets/religion/jainism.svg";
3070    set icon_z17;
3071}
3072node[amenity=place_of_worship][religion=jewish] {
3073    icon-image: "presets/religion/jewish.svg";
3074    set icon_z17;
3075}
3076node[amenity=place_of_worship][religion=muslim] {
3077    icon-image: "presets/religion/muslim.svg";
3078    set icon_z17;
3079}
3080node[amenity=place_of_worship][religion=shinto] {
3081    icon-image: "presets/religion/shinto.svg";
3082    set icon_z17;
3083}
3084node[amenity=place_of_worship][religion=sikh] {
3085    icon-image: "presets/religion/sikhism.svg";
3086    set icon_z17;
3087}
3088node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
3089    icon-image: "presets/misc/no_icon.svg";
3090    set icon_z17;
3091}
3092node[amenity=place_of_worship][religion=taoist] {
3093    icon-image: "presets/religion/taoism.svg";
3094    set icon_z17;
3095}
3096node[amenity=place_of_worship][religion=tenrikyo] {
3097    icon-image: "presets/religion/tenrikyo.svg";
3098    set icon_z17;
3099}
3100node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
3101    icon-image: "presets/misc/no_icon.svg";
3102    set icon_z17;
3103}
3104node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
3105    icon-image: "presets/misc/no_icon.svg";
3106    set icon_z17;
3107}
3108node[amenity=monastery] {
3109    icon-image: "presets/religion/monastery.svg";
3110    set icon_z17;
3111}
3112node[amenity=grave_yard] {
3113    icon-image: "presets/landuse/graveyard.svg";
3114    set icon_z17;
3115}
3116node[amenity=crematorium][!is_prop_set(icon-image)] {
3117    icon-image: "presets/misc/no_icon.svg";
3118    set icon_z17;
3119}
3120node[amenity=post_office] {
3121    icon-image: "presets/service/post_office.svg";
3122    set icon_z17;
3123}
3124node[amenity=post_box] {
3125    icon-image: "presets/service/post_box.svg";
3126    set icon_z17;
3127}
3128node[amenity=studio] {
3129    icon-image: "presets/service/studio.svg";
3130    set icon_z17;
3131}
3132node[amenity=school] {
3133    icon-image: "presets/education/school.svg";
3134    set icon_z17;
3135}
3136node[amenity=university] {
3137    icon-image: "presets/education/university.svg";
3138    set icon_z17;
3139}
3140node[amenity=college] {
3141    icon-image: "presets/education/college.svg";
3142    set icon_z17;
3143}
3144node[amenity=kindergarten] {
3145    icon-image: "presets/education/kindergarten.svg";
3146    set icon_z17;
3147}
3148node[amenity=language_school] {
3149    icon-image: "presets/education/language_school.svg";
3150    set icon_z17;
3151}
3152node[amenity=driving_school] {
3153    icon-image: "presets/education/driving_school.svg";
3154    set icon_z17;
3155}
3156area[amenity=pharmacy],
3157area[amenity=hospital],
3158area[amenity=clinic],
3159area[amenity=nursing_home],
3160area[amenity=social_facility],
3161area[amenity=baby_hatch],
3162area[amenity=doctors],
3163area[amenity=dentist],
3164area[amenity=animal_shelter],
3165area[amenity=veterinary] {
3166    fill-color: health#eeeeee;
3167}
3168node[amenity=pharmacy] {
3169    icon-image: "presets/health/pharmacy.svg";
3170    set icon_z17;
3171}
3172node[amenity=hospital] {
3173    icon-image: "presets/health/hospital.svg";
3174    set icon_z17;
3175}
3176node[amenity=clinic] {
3177    icon-image: "presets/health/clinic.svg";
3178    set icon_z17;
3179}
3180node[amenity=social_facility][social_facility=nursing_home],
3181node[amenity=nursing_home] {
3182    icon-image: "presets/social_facility/nursing_home.svg";
3183    set icon_z17;
3184}
3185node[amenity=social_facility][social_facility=group_home] {
3186    icon-image: "presets/social_facility/group_home.svg";
3187    set icon_z17;
3188}
3189node[amenity=social_facility][social_facility=assisted_living] {
3190    icon-image: "presets/social_facility/assisted_living.svg";
3191    set icon_z17;
3192}
3193node[amenity=social_facility][social_facility=outreach] {
3194    icon-image: "presets/social_facility/outreach.svg";
3195    set icon_z17;
3196}
3197node[amenity=social_facility][social_facility=shelter] {
3198    icon-image: "presets/social_facility/shelter.svg";
3199    set icon_z17;
3200}
3201node[amenity=social_facility][social_facility=food_bank] {
3202    icon-image: "presets/social_facility/food_bank.svg";
3203    set icon_z17;
3204}
3205node[amenity=baby_hatch] {
3206    icon-image: "presets/health/baby_hatch.svg";
3207    set icon_z17;
3208}
3209node[amenity=doctors] {
3210    icon-image: "presets/health/doctors.svg";
3211    set icon_z17;
3212}
3213node[amenity=dentist] {
3214    icon-image: "presets/health/dentist.svg";
3215    set icon_z17;
3216}
3217node[amenity=animal_shelter] {
3218    icon-image: "presets/health/animal_shelter.svg";
3219    set icon_z17;
3220}
3221node[amenity=veterinary] {
3222    icon-image: "presets/health/veterinary.svg";
3223    set icon_z17;
3224}
3225area[amenity=library],
3226area[amenity=public_bookcase],
3227area[amenity=police],
3228area[amenity=ranger_station],
3229area[amenity=fire_station],
3230area[amenity=bus_station],
3231area[amenity=ferry_terminal],
3232area[amenity=theatre],
3233area[amenity=cinema],
3234area[amenity=dive_centre],
3235area[amenity=public_bath],
3236area[amenity=arts_centre],
3237area[amenity=courthouse],
3238area[amenity=prison],
3239area[amenity=bank],
3240area[amenity=bureau_de_change],
3241area[amenity=money_transfer],
3242area[amenity=bbq],
3243area[amenity=watering_place] {
3244    fill-color: amenity_light#f7efb7;
3245}
3246node[amenity=library] {
3247    icon-image: "presets/education/library.svg";
3248    set icon_z17;
3249}
3250node[amenity=public_bookcase] {
3251    icon-image: "presets/education/public_bookcase.svg";
3252    set icon_z17;
3253}
3254node[amenity=police] {
3255    icon-image: "presets/service/police.svg";
3256    set icon_z17;
3257}
3258node[amenity=ranger_station] {
3259    icon-image: "presets/service/ranger_station.svg";
3260    set icon_z17;
3261}
3262node[amenity=fire_station] {
3263    icon-image: "presets/service/firebrigade.svg";
3264    set icon_z17;
3265}
3266node[amenity=bus_station] {
3267    icon-image: "presets/transport/bus_old.svg";
3268    set icon_z17;
3269}
3270node[amenity=ferry_terminal] {
3271    icon-image: "presets/nautical/ferry.svg";
3272    set icon_z17;
3273}
3274node[amenity=theatre] {
3275    icon-image: "presets/leisure/theater.svg";
3276    set icon_z17;
3277}
3278node[amenity=cinema] {
3279    icon-image: "presets/leisure/cinema.svg";
3280    set icon_z17;
3281}
3282node[amenity=dive_centre] {
3283    icon-image: "presets/leisure/dive_centre.svg";
3284    set icon_z17;
3285}
3286node[amenity=public_bath] {
3287    icon-image: "presets/leisure/public_bath.svg";
3288    set icon_z17;
3289}
3290node[amenity=arts_centre] {
3291    icon-image: "presets/sightseeing/arts_centre.svg";
3292    set icon_z17;
3293}
3294node[amenity=courthouse] {
3295    icon-image: "presets/service/courthouse.svg";
3296    set icon_z17;
3297}
3298node[amenity=prison] {
3299    icon-image: "presets/service/prison.svg";
3300    set icon_z17;
3301}
3302node[amenity=bank] {
3303    icon-image: "presets/money/bank.svg";
3304    set icon_z17;
3305}
3306node[amenity=bureau_de_change] {
3307    icon-image: "presets/money/exchange.svg";
3308    set icon_z17;
3309}
3310node[amenity=money_transfer] {
3311    icon-image: "presets/money/money_transfer.svg";
3312    set icon_z17;
3313}
3314node[amenity=atm] {
3315    icon-image: "presets/money/atm.svg";
3316    set icon_z17;
3317}
3318way[amenity=bench] {
3319    width: 2;
3320    color: amenity_light#f7efb7;
3321}
3322node[amenity=bench] {
3323    icon-image: "presets/leisure/bench.svg";
3324    set icon_z17;
3325}
3326node[amenity=bbq] {
3327    icon-image: "presets/leisure/bbq.svg";
3328    set icon_z17;
3329}
3330node[amenity=compressed_air] {
3331    icon-image: "presets/vehicle/compressed_air.svg";
3332    set icon_z17;
3333}
3334node[amenity=watering_place] {
3335    icon-image: "presets/misc/watering_place.svg";
3336    set icon_z17;
3337}
3338area[amenity=shelter],
3339area[amenity=marketplace],
3340area[amenity=wlan] {
3341    fill-color: amenity_light#f7efb7;
3342}
3343node[amenity=shelter] {
3344    icon-image: "presets/accommodation/shelter.svg";
3345    set icon_z17;
3346}
3347node[amenity=shelter][shelter_type=public_transport] {
3348    icon-image: "presets/accommodation/shelter_public_transport.svg";
3349    set icon_z17;
3350}
3351node[amenity=shelter][shelter_type=picnic_shelter] {
3352    icon-image: "presets/accommodation/shelter_picnic.svg";
3353    set icon_z17;
3354}
3355node[amenity=shelter][shelter_type=basic_hut] {
3356    icon-image: "presets/accommodation/basic_hut.svg";
3357    set icon_z17;
3358}
3359node[amenity=shelter][shelter_type=lean_to] {
3360    icon-image: "presets/accommodation/shelter_lean_to.svg";
3361    set icon_z17;
3362}
3363node[amenity=hunting_stand] {
3364    icon-image: "presets/landmark/hunting_stand.svg";
3365    set icon_z17;
3366}
3367node[amenity=marketplace] {
3368    icon-image: "presets/shop/marketplace.svg";
3369    set icon_z17;
3370}
3371node[amenity=vending_machine] {
3372    icon-image: "presets/transport/ticket-machine.svg";
3373    set icon_z17;
3374}
3375node[vending=excrement_bags] {
3376    icon-image: "presets/service/excrement_bags.svg";
3377    set icon_z17;
3378}
3379
3380/**************/
3381/* craft tags */
3382/**************/
3383
3384area[craft=carpenter],
3385area[craft=shoemaker],
3386area[craft=photographer],
3387area[craft=metal_construction],
3388area[craft=electrician],
3389area[craft=brewery],
3390area[craft=plumber],
3391area[craft=sawmill],
3392area[craft=gardener],
3393area[craft=winery],
3394area[craft=hvac],
3395area[craft=painter],
3396area[craft=stonemason],
3397area[craft=handicraft],
3398area[craft=pottery],
3399area[craft=key_cutter],
3400area[craft=caterer],
3401area[craft=roofer],
3402area[craft=beekeeper],
3403area[craft=blacksmith],
3404area[craft=locksmith],
3405area[craft=window_construction],
3406area[craft=upholsterer],
3407area[craft=tiler] {
3408    fill-color: craft#999900;
3409}
3410node[craft=carpenter] {
3411    icon-image: "presets/craft/carpenter.svg";
3412    set icon_z17;
3413}
3414node[craft=shoemaker] {
3415    icon-image: "presets/craft/shoemaker.svg";
3416    set icon_z17;
3417}
3418node[craft=photographer] {
3419    icon-image: "presets/craft/photographer.svg";
3420    set icon_z17;
3421}
3422node[craft=metal_construction] {
3423    icon-image: "presets/craft/metal_construction.svg";
3424    set icon_z17;
3425}node[craft=electrician] {
3426    icon-image: "presets/craft/electrician.svg";
3427    set icon_z17;
3428}
3429node[craft=brewery] {
3430    icon-image: "presets/craft/brewery.svg";
3431    set icon_z17;
3432}
3433node[craft=plumber] {
3434    icon-image: "presets/craft/plumber.svg";
3435    set icon_z17;
3436}
3437node[craft=sawmill] {
3438    icon-image: "presets/craft/sawmill.svg";
3439    set icon_z17;
3440}
3441node[craft=gardener] {
3442    icon-image: "presets/craft/gardener.svg";
3443    set icon_z17;
3444}
3445node[craft=winery] {
3446    icon-image: "presets/craft/winery.svg";
3447    set icon_z17;
3448}
3449node[craft=hvac] {
3450    icon-image: "presets/craft/hvac.svg";
3451    set icon_z17;
3452}
3453node[craft=painter] {
3454    icon-image: "presets/craft/painter.svg";
3455    set icon_z17;
3456}
3457node[craft=stonemason] {
3458    icon-image: "presets/craft/stonemason.svg";
3459    set icon_z17;
3460}
3461node[craft=handicraft] {
3462    icon-image: "presets/craft/handicraft.svg";
3463    set icon_z17;
3464}
3465node[craft=pottery] {
3466    icon-image: "presets/craft/pottery.svg";
3467    set icon_z17;
3468}
3469node[craft=key_cutter] {
3470    icon-image: "presets/craft/key_cutter.svg";
3471    set icon_z17;
3472}
3473node[craft=caterer] {
3474    icon-image: "presets/craft/caterer.svg";
3475    set icon_z17;
3476}
3477node[craft=roofer] {
3478    icon-image: "presets/craft/roofer.svg";
3479    set icon_z17;
3480}
3481node[craft=beekeeper] {
3482    icon-image: "presets/craft/beekeeper.svg";
3483    set icon_z17;
3484}
3485node[craft=blacksmith] {
3486    icon-image: "presets/craft/blacksmith.svg";
3487    set icon_z17;
3488}
3489node[craft=locksmith] {
3490    icon-image: "presets/craft/locksmith.svg";
3491    set icon_z17;
3492}
3493node[craft=window_construction] {
3494    icon-image: "presets/craft/window_construction.svg";
3495    set icon_z17;
3496}
3497node[craft=upholsterer] {
3498    icon-image: "presets/craft/upholsterer.svg";
3499    set icon_z17;
3500}
3501node[craft=tiler] {
3502    icon-image: "presets/craft/tiler.svg";
3503    set icon_z17;
3504}
3505
3506/****************/
3507/* tourism tags */
3508/****************/
3509
3510area[tourism=hotel],
3511area[tourism=motel],
3512area[tourism=guest_house],
3513area[tourism=apartment],
3514area[tourism=hostel],
3515area[tourism=chalet],
3516area[tourism=alpine_hut],
3517area[tourism=wilderness_hut],
3518area[tourism=camp_site],
3519area[tourism=camp_pitch],
3520area[tourism=caravan_site] {
3521    fill-color: hotel#feced0;
3522}
3523node[tourism=hotel] {
3524    icon-image: "presets/accommodation/hotel.svg";
3525    set icon_z17;
3526}
3527node[tourism=motel] {
3528    icon-image: "presets/accommodation/motel.svg";
3529    set icon_z17;
3530}
3531node[tourism=guest_house] {
3532    icon-image: "presets/accommodation/guest_house.svg";
3533    set icon_z17;
3534}
3535node[tourism=apartment] {
3536    icon-image: "presets/accommodation/apartment.svg";
3537    set icon_z17;
3538}
3539node[tourism=hostel] {
3540    icon-image: "presets/accommodation/hostel.svg";
3541    set icon_z17;
3542}
3543node[tourism=chalet] {
3544    icon-image: "presets/accommodation/chalet.svg";
3545    set icon_z17;
3546}
3547node[tourism=alpine_hut] {
3548    icon-image: "presets/accommodation/alpine_hut.svg";
3549    set icon_z17;
3550}
3551node[tourism=wilderness_hut] {
3552    icon-image: "presets/accommodation/wilderness_hut.svg";
3553    set icon_z17;
3554}
3555node[tourism=camp_site] {
3556    icon-image: "presets/accommodation/camping.svg";
3557    set icon_z17;
3558}
3559node[tourism=camp_pitch] {
3560    icon-image: "presets/accommodation/camp_pitch.svg";
3561    set icon_z17;
3562}
3563node[tourism=caravan_site] {
3564    icon-image: "presets/accommodation/caravan.svg";
3565    set icon_z17;
3566}
3567area[tourism=attraction]:closed {
3568    fill-color: tourism#e180a2;
3569}
3570way[tourism=attraction] {
3571    width: 2;
3572    color: tourism#e180a2;
3573}
3574node[tourism=attraction] {
3575    icon-image: "presets/sightseeing/attraction.svg";
3576    set icon_z17;
3577}
3578area[tourism=picnic_site],
3579area[tourism=viewpoint],
3580area[tourism=theme_park],
3581area[tourism=zoo],
3582area[tourism=museum] {
3583    fill-color: tourism#e180a2;
3584}
3585node[tourism=picnic_site] {
3586    icon-image: "presets/leisure/picnic.svg";
3587    set icon_z17;
3588}
3589node[tourism=viewpoint] {
3590    icon-image: "presets/sightseeing/viewpoint.svg";
3591    set icon_z17;
3592}
3593node[tourism=theme_park] {
3594    icon-image: "presets/leisure/theme_park.svg";
3595    set icon_z17;
3596}
3597node[tourism=zoo] {
3598    icon-image: "presets/leisure/zoo.svg";
3599    set icon_z17;
3600}
3601area[tourism=artwork]:closed {
3602    fill-color: tourism#e180a2;
3603}
3604way[tourism=artwork] {
3605    width: 2;
3606    color: tourism#e180a2;
3607}
3608node[tourism=artwork] {
3609    icon-image: "presets/sightseeing/arts_centre.svg";
3610    set icon_z17;
3611}
3612node[tourism=museum] {
3613    icon-image: "presets/sightseeing/museum.svg";
3614    set icon_z17;
3615}
3616
3617/********************/
3618/* attraction tags */
3619/********************/
3620
3621area[attraction=animal] {
3622    fill-color: attraction#ffbfd3;
3623    color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
3624}
3625node[attraction=animal] {
3626    icon-image: "presets/attraction/animal.svg";
3627    set icon_z17;
3628}
3629
3630/********************/
3631/* information tags */
3632/********************/
3633
3634area[tourism=information] {
3635    fill-color: tourism#e180a2;
3636}
3637node[tourism=information] {
3638    icon-image: "presets/misc/information/information.svg";
3639    set icon_z17;
3640}
3641node[tourism=information][information=guidepost] {
3642    icon-image: "presets/misc/information/guidepost.svg";
3643    set icon_z17;
3644}
3645node[tourism=information][information=route_marker] {
3646    icon-image: "presets/misc/information/route_marker.svg";
3647    set icon_z17;
3648}
3649node[tourism=information][information=audioguide] {
3650    icon-image: "presets/misc/information/audioguide.svg";
3651    set icon_z17;
3652}
3653area[tourism=information][information=office] {
3654    fill-color: tourism#e180a2;
3655}
3656node[tourism=information][information=office] {
3657    icon-image: "presets/misc/information/informationoffice.svg";
3658    set icon_z17;
3659}
3660node[tourism=information][information=map] {
3661    icon-image: "presets/misc/information/map.svg";
3662    set icon_z17;
3663}
3664node[tourism=information][information=board] {
3665    icon-image: "presets/misc/information/board.svg";
3666    set icon_z17;
3667}
3668
3669/*****************/
3670/* historic tags */
3671/*****************/
3672
3673area[historic=castle],
3674area[historic=fort],
3675area[historic=monument],
3676area[historic=memorial],
3677area[historic=tomb],
3678area[historic=archaeological_site],
3679area[historic=ruins],
3680area[historic=battlefield],
3681area[geological=palaeontological_site],
3682area[historic=city_gate],
3683area[historic=manor],
3684area[historic=church],
3685area[historic=monastery],
3686area[historic=charcoal_pile],
3687area[historic=mine],
3688area[historic=mine_shaft],
3689area[historic=shieling],
3690area[historic=wayside_cross],
3691area[historic=wayside_shrine],
3692area[historic=boundary_stone],
3693area[historic=milestone] {
3694    fill-color: historic#663300;
3695}
3696node[historic=fort] {
3697    icon-image: "presets/sightseeing/fort.svg";
3698    set icon_z17;
3699}
3700node[historic=castle] {
3701    icon-image: "presets/sightseeing/castle.svg";
3702    set icon_z17;
3703}
3704node[historic=monument] {
3705    icon-image: "presets/sightseeing/monument.svg";
3706    set icon_z17;
3707}
3708node[historic=memorial] {
3709    icon-image: "presets/sightseeing/memorial.svg";
3710    set icon_z17;
3711}
3712node[historic=archaeological_site] {
3713    icon-image: "presets/sightseeing/archaeological.svg";
3714    set icon_z17;
3715}
3716node[historic=ruins] {
3717    icon-image: "presets/sightseeing/ruins.svg";
3718    set icon_z17;
3719}
3720node[historic=battlefield] {
3721    icon-image: "presets/sightseeing/battlefield.svg";
3722    set icon_z17;
3723}
3724node[geological=palaeontological_site] {
3725    icon-image: "presets/sightseeing/palaeontological_site.svg";
3726    set icon_z17;
3727}
3728area[historic=citywalls]:closed {
3729    fill-color: historic#663300;
3730}
3731way[historic=citywalls] {
3732    width: 2;
3733    color: historic#663300;
3734}
3735node[historic=city_gate] {
3736    icon-image: "presets/sightseeing/city_gate.svg";
3737    set icon_z17;
3738}
3739node[historic=manor] {
3740    icon-image: "presets/sightseeing/manor.svg";
3741    set icon_z17;
3742}
3743node[historic=church] {
3744    icon-image: "presets/religion/historic_church.svg";
3745    set icon_z17;
3746}
3747node[historic=monastery] {
3748    icon-image: "presets/sightseeing/monastery.svg";
3749    set icon_z17;
3750}
3751node[historic=charcoal_pile] {
3752    icon-image: "presets/misc/charcoal_pile.svg";
3753    set icon_z17;
3754}
3755node[historic=mine],
3756node[historic=mine_shaft] {
3757    icon-image: "presets/landmark/historic_mine.svg";
3758    set icon_z17;
3759}
3760node[historic=shieling] {
3761    icon-image: "presets/landmark/shieling.svg";
3762    set icon_z17;
3763}
3764node[historic=wayside_cross] {
3765    icon-image: "presets/religion/wayside_cross.svg";
3766    set icon_z17;
3767}
3768node[historic=wayside_shrine] {
3769    icon-image: "presets/religion/wayside_shrine.svg";
3770    set icon_z17;
3771}
3772node[historic=boundary_stone] {
3773    icon-image: "presets/landmark/boundary_stone.svg";
3774    set icon_z17;
3775}
3776node[historic=milestone] {
3777    icon-image: "presets/landmark/milestone.svg";
3778    set icon_z17;
3779}
3780area[cemetery=grave] {
3781    fill-color: grave#663300;
3782}
3783node[cemetery=grave] {
3784    icon-image: "presets/misc/grave.svg";
3785    set icon_z17;
3786}
3787area[cemetery=sector] {
3788    fill-color: cemetery_sector#dbf8e6;
3789}
3790node[cemetery=sector] {
3791    icon-image: "presets/misc/cemetery_sector.svg";
3792    set icon_z17;
3793}
3794node[historic=tomb] {
3795    icon-image: "presets/misc/tomb.svg";
3796    set icon_z17;
3797}
3798
3799/****************/
3800/* landuse tags */
3801/****************/
3802
3803area[landuse],
3804area[leisure],
3805area[amenity],
3806area[place],
3807area[natural],
3808area[man_made] {
3809    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3810}
3811area[landuse=farmland] {
3812    fill-color: farmland#b8e0b1;
3813}
3814area[landuse=meadow] {
3815    fill-color: meadow#b1e0b6;
3816}
3817area[landuse=vineyard],
3818area[landuse=orchard] {
3819    fill-color: green#b1e0c2;
3820}
3821area[landuse=quarry] {
3822    fill-color: quarry#888888;
3823}
3824area[landuse=landfill] {
3825    fill-color: landfill#663300;
3826}
3827area[landuse=basin],
3828area[landuse=reservoir] {
3829    fill-color: basin#0000bf;
3830}
3831area[landuse=forest] {
3832    fill-color: forest#b1efc8;
3833}
3834area[landuse=allotments] {
3835    fill-color: allotments#5dbf80;
3836}
3837area[landuse=greenhouse_horticulture],
3838area[landuse=plant_nursery] {
3839    fill-color: green#b1e0c2;
3840}
3841area[landuse=salt_pond] {
3842    fill-color: salt_pond#eeeeee;
3843}
3844area[landuse=aquaculture] {
3845    fill-color: aquaculture#189dff;
3846}
3847area[landuse=flowerbed] {
3848    fill-color: flowerbed#91c956;
3849}
3850area[landuse=grass] {
3851    fill-color: grass#97ca96;
3852}
3853area[landuse=residential] {
3854    fill-color: residential#f0f0f0;
3855}
3856area[landuse=garages] {
3857    fill-color: garages#d6c8aa;
3858}
3859area[landuse=farmyard] {
3860    fill-color: farmyard#f0f0f0;
3861}
3862area[landuse=retail],
3863area[landuse=commercial] {
3864    fill-color: retail#ffc4ee;
3865}
3866area[landuse=industrial] {
3867    fill-color: industrial#ecd8ff;
3868}
3869area[landuse=brownfield] {
3870    fill-color: brownfield#ecba32;
3871}
3872area[landuse=greenfield] {
3873    fill-color: greenfield#b1ec5c;
3874}
3875area[landuse=railway] {
3876    fill-color: railland#888888;
3877}
3878area[landuse=construction] {
3879    fill-color: construction#ffff00;
3880    width: 1;
3881    dashes: 9,9;
3882}
3883area[landuse=military] {
3884    fill-color: military#b62c2c;
3885}
3886area[landuse=religious] {
3887    fill-color: religious#ffd454;
3888}
3889area[landuse=cemetery] {
3890    fill-color: cemetery#b1efc8;
3891}
3892area[landuse=village_green] {
3893    fill-color: green#b1e0c2;
3894}
3895area[landuse=recreation_ground] {
3896    fill-color: green#b1e0c2;
3897}
3898node[landuse] {
3899    icon-image: "presets/misc/deprecated.svg";
3900    set icon_z17;
3901}
3902
3903/*****************/
3904/* military tags */
3905/*****************/
3906
3907area[military=airfield],
3908area[military=bunker],
3909area[military=barracks],
3910area[military=danger_area],
3911area[military=range] {
3912    fill-color: military#b62c2c;
3913}
3914node[military=airfield] {
3915    icon-image: "presets/transport/airport/airfield.svg";
3916    set icon_z17;
3917}
3918node[military=bunker] {
3919    icon-image: "presets/landmark/bunker.svg";
3920    set icon_z17;
3921}
3922node[military=barracks][!is_prop_set(icon-image)] {
3923    icon-image: "presets/misc/no_icon.svg";
3924    set icon_z17;
3925}
3926node[military=danger_area] {
3927    icon-image: "presets/misc/danger.svg";
3928    set icon_z17;
3929}
3930node[military=range] {
3931    icon-image: "presets/sport/range.svg";
3932    set icon_z17;
3933}
3934
3935/****************/
3936/* railway tags */
3937/****************/
3938
3939area[railway=station] {
3940    fill-color: railwaypoint#f7efb7;
3941}
3942node[railway=station] {
3943    icon-image: "presets/transport/railway_station.svg";
3944    set icon_z17;
3945}
3946node[railway=halt] {
3947    icon-image: "presets/transport/railway_halt.svg";
3948    set icon_z17;
3949}
3950node[railway=tram_stop] {
3951    icon-image: "presets/transport/tram.svg";
3952    set icon_z17;
3953}
3954node[railway=subway_entrance] {
3955    icon-image: "presets/transport/underground.svg";
3956    set icon_z17;
3957}
3958node[railway=crossing] {
3959    icon-image: "presets/transport/railway/crossing.svg";
3960    set icon_z17;
3961}
3962node[railway=level_crossing] {
3963    icon-image: "presets/transport/railway/level_crossing.svg";
3964    set icon_z17;
3965}
3966way[railway=rail] {
3967    width: 2;
3968    color: rail#404040;
3969    dashes: 9,9;
3970    dashes-background-color: raildashed#ffffff;
3971}
3972way[railway=rail][service=crossover],
3973way[railway=rail][service=siding] {
3974    width: 1;
3975}
3976way[railway=rail][service=yard],
3977way[railway=rail][service=spur] {
3978    width: 1;
3979    color: railyard#552200;
3980}
3981/* draw tram and light_rail on top of other way (highway=*) or
3982   as a standalone style */
3983way[highway][railway=tram]::core_railway,
3984way[!highway][railway=tram] {
3985    z-index: 1;
3986    modifier: false; /* don't draw default way if there is no line on default layer */
3987    width: 1;
3988    color: railover#202020;
3989    dashes: 9,9;
3990    casing-width: 1;
3991    casing-color: otherrail#808080;
3992    casing-linecap: round;
3993    casing-dashes: 9,9;
3994}
3995way[highway][railway=tram][service=crossover]::core_railway,
3996way[!highway][railway=tram][service=crossover],
3997way[highway][railway=tram][service=siding]::core_railway,
3998way[!highway][railway=tram][service=siding],
3999way[highway][railway=tram][service=yard]::core_railway,
4000way[!highway][railway=tram][service=yard],
4001way[highway][railway=tram][service=spur]::core_railway,
4002way[!highway][railway=tram][service=spur] {
4003    dashes: 6,6;
4004    casing-dashes: 6,6;
4005}
4006
4007way[highway][railway=light_rail]::core_railway,
4008way[!highway][railway=light_rail] {
4009    z-index: 1;
4010    modifier: false; /* don't draw default way if there is no line on default layer */
4011    width: 2;
4012    color: otherrail#808080;
4013    dashes: 9,9;
4014}
4015way[railway=subway] {
4016    width: 1;
4017    color: subway#606060;
4018    dashes: 9,9;
4019}
4020way[railway=preserved] {
4021    width: 1;
4022    color: oldrail#404040;
4023    dashes: 9,9;
4024}
4025way[railway=light_rail][service=crossover],
4026way[railway=light_rail][service=siding],
4027way[railway=light_rail][service=yard],
4028way[railway=light_rail][service=spur],
4029way[railway=subway][service=crossover],
4030way[railway=subway][service=siding],
4031way[railway=subway][service=yard],
4032way[railway=subway][service=spur],
4033way[railway=preserved][service=crossover],
4034way[railway=preserved][service=siding],
4035way[railway=preserved][service=yard],
4036way[railway=preserved][service=spur] {
4037    dashes: 6,6;
4038}
4039/* disused often appears together with highway=xy */
4040/* -> draw on separate layer with higher z-index, but use */
4041/* modifier: false; to suppress default line when used alone. */
4042/* use default layer when used without highway=* to display bridge correctly */
4043way[railway=disused][highway]::core_railway,
4044way[railway=disused][!highway],
4045way[railway=abandoned][highway]::core_railway,
4046way[railway=abandoned][!highway] {
4047    width: 1;
4048    modifier: false;
4049    z-index: 1;
4050    color: oldrail#404040;
4051    dashes: 9,9;
4052}
4053way[railway=narrow_gauge],
4054way[railway=monorail] {
4055    width: 1;
4056    color: rail#404040;
4057    dashes: 9,9;
4058}
4059way[railway=narrow_gauge][service=crossover],
4060way[railway=narrow_gauge][service=siding],
4061way[railway=narrow_gauge][service=yard],
4062way[railway=narrow_gauge][service=spur],
4063way[railway=monorail][service=crossover],
4064way[railway=monorail][service=siding],
4065way[railway=monorail][service=yard],
4066way[railway=monorail][service=spur] {
4067    dashes: 6,6;
4068}
4069area[railway=turntable] {
4070    fill-color: rail#404040;
4071}
4072node[railway=turntable] {
4073    icon-image: "presets/transport/railway/turntable.svg";
4074    set icon_z17;
4075}
4076node[railway=buffer_stop] {
4077    icon-image: "presets/transport/railway/buffer_stop.svg";
4078    set icon_z17;
4079}
4080area[railway=platform]:closed {
4081    fill-color: rail#404040;
4082}
4083way[railway=platform] {
4084    width: 2;
4085    color: rail#404040;
4086}
4087way[railway=funicular] {
4088    width: 1;
4089    color: rail#404040;
4090    dashes: 9,9;
4091}
4092node[railway=switch] {
4093    icon-image: "presets/transport/railway/switch.svg";
4094    set icon_z17;
4095}
4096node[railway=railway_crossing] {
4097    icon-image: "presets/transport/railway/railway_crossing.svg";
4098    set icon_z17;
4099}
4100node[railway=signal] {
4101    icon-image: "presets/transport/railway/signal.svg";
4102    set icon_z17;
4103}
4104node[railway=milestone] {
4105    icon-image: "presets/transport/railway/milestone.svg";
4106    set icon_z17;
4107}
4108node[railway=rail], node[railway=tram], node[railway=light_rail],
4109node[railway=subway], node[railway=preserved],
4110node[railway=disused], node[railway=abandoned],
4111node[railway=narrow_gauge], node[railway=monorail],
4112node[railway=platform], node[railway=funicular],
4113node[service=yard], node[service=siding], node[service=spur] {
4114    icon-image: "presets/misc/deprecated.svg";
4115    set icon_z17;
4116}
4117way[railway=construction][!highway] {
4118    width: 1;
4119    color: construction#ffff00;
4120    dashes: 9,9;
4121}
4122way[railway=construction][construction=rail] {
4123    width: 2;
4124    color: rail#404040;
4125    dashes: 9,9;
4126    dashes-background-color: construction#ffff00;
4127}
4128way[railway=construction][construction=light_rail][highway]::core_railway,
4129way[railway=construction][construction=light_rail][!highway] {
4130    z-index: 1;
4131    width: 2;
4132    dashes: 9,9;
4133    color: construction#ffff00;
4134}
4135way[railway=construction][construction=tram][highway]::core_railway,
4136way[railway=construction][construction=tram][!highway] {
4137    z-index: 1;
4138    width: 1;
4139    color: railover#202020;
4140    dashes: 9,9;
4141    casing-width: 1;
4142    casing-color: construction#ffff00;
4143    casing-linecap: round;
4144    casing-dashes: 9,9;
4145}
4146
4147/****************/
4148/* aeroway tags */
4149/****************/
4150
4151area[aeroway=aerodrome] {
4152    fill-color: aeroway#660000;
4153    width: 2;
4154    dashes: 9,9;
4155}
4156node[aeroway=aerodrome][military!=airfield] {
4157    icon-image: "presets/transport/airport.svg";
4158    set icon_z17;
4159}
4160area[aeroway=terminal] {
4161    fill-color: terminal#bb0000;
4162}
4163node[aeroway=terminal] {
4164    icon-image: "presets/transport/airport/terminal.svg";
4165    set icon_z17;
4166}
4167area[aeroway=helipad] {
4168    fill-color: aeroway_dark#330000;
4169}
4170node[aeroway=helipad] {
4171    icon-image: "presets/transport/airport/helipad.svg";
4172    set icon_z17;
4173}
4174area[aeroway=runway]:closed {
4175    fill-color: aeroway_dark#330000;
4176}
4177way[aeroway=runway] {
4178    width: 3;
4179    color: aeroway_dark#330000;
4180}
4181area[aeroway=taxiway]:closed {
4182    fill-color: aeroway#660000;
4183}
4184way[aeroway=taxiway] {
4185    width: 2;
4186    color: aeroway#660000;
4187}
4188way[aeroway=parking_position] {
4189    width: 1;
4190    color: aeroway#660000;
4191}
4192node[aeroway=parking_position] {
4193    icon-image: "presets/transport/airport/parking_position.svg";
4194    set icon_z17;
4195}
4196area[aeroway=apron],
4197area[aeroway=hangar] {
4198    fill-color: aeroway_light#990000;
4199}
4200node[aeroway=apron],
4201node[aeroway=runway],
4202node[aeroway=taxiway] {
4203    icon-image: "presets/misc/deprecated.svg";
4204    set icon_z17;
4205}
4206node[aeroway=holding_position] {
4207    icon-image: "presets/transport/airport/holding_position.svg";
4208    set icon_z17;
4209}
4210node[aeroway=hangar] {
4211    icon-image: "presets/transport/airport/hangar.svg";
4212    set icon_z17;
4213}
4214node[aeroway=gate] {
4215    icon-image: "presets/transport/airport/gate.svg";
4216    set icon_z17;
4217}
4218node[airmark=beacon] {
4219    icon-image: "presets/transport/airport/airmark_beacon.svg";
4220    set icon_z17;
4221}
4222node[aeroway=navigationaid] {
4223    icon-image: "presets/transport/airport/navigationaid.svg";
4224    set icon_z17;
4225}
4226node[aeroway=navigationaid][navigationaid=papi] {
4227    icon-image: "presets/transport/airport/papi.svg";
4228    set icon_z17;
4229}
4230node[aeroway=navigationaid][navigationaid=vasi] {
4231    icon-image: "presets/transport/airport/vasi.svg";
4232    set icon_z17;
4233}
4234node[aeroway=windsock] {
4235    icon-image: "presets/transport/airport/windsock.svg";
4236    set icon_z17;
4237}
4238
4239/******************/
4240/* aerialway tags */
4241/******************/
4242
4243way[aerialway=cable_car],
4244way[aerialway=gondola] {
4245    width: 1;
4246    color: aerialway#663300;
4247    dashes: 9,9;
4248}
4249way[aerialway=chair_lift] {
4250    width: 1;
4251    color: aerialway#663300;
4252    dashes: 6,6;
4253}
4254way[aerialway=mixed_lift] {
4255    width: 1;
4256    color: aerialway#663300;
4257    dashes: 6,6,9,6;
4258}
4259way[aerialway=j-bar],
4260way[aerialway=t-bar],
4261way[aerialway=platter],
4262way[aerialway=rope_tow],
4263way[aerialway=drag_lift] {
4264    width: 1;
4265    color: aerialway#663300;
4266    dashes: 3,3;
4267}
4268way[aerialway=magic_carpet] {
4269    width: 1;
4270    color: aerialway#663300;
4271    dashes: 3,3;
4272}
4273way[aerialway=goods] {
4274    width: 1;
4275    color: aerialway#663300;
4276    dashes: 2,2;
4277}
4278way[aerialway=zip_line] {
4279    width: 1;
4280    color: aerialway#663300;
4281    dashes: 3,3;
4282}
4283area[aerialway=station] {
4284    fill-color: aerialway#663300;
4285}
4286node[aerialway=station] {
4287    icon-image: "presets/transport/aerialway/station.svg";
4288    set icon_z17;
4289}
4290node[aerialway=pylon] {
4291    icon-image: "presets/transport/aerialway/pylon.svg";
4292    set icon_z17;
4293}
4294node[aerialway=cable_car],
4295node[aerialway=gondola],
4296node[aerialway=chair_lift],
4297node[aerialway=mixed_lift],
4298node[aerialway=drag_lift],
4299node[aerialway=t-bar],
4300node[aerialway=j-bar],
4301node[aerialway=platter],
4302node[aerialway=magic_carpet],
4303node[aerialway=rope_tow],
4304node[aerialway=goods],
4305node[aerialway=zip_line] {
4306    icon-image: "presets/misc/deprecated.svg";
4307    set icon_z17;
4308}
4309
4310/*************************/
4311/* public_transport tags */
4312/*************************/
4313
4314node[highway=bus_stop] {
4315    icon-image: "presets/transport/bus_small.svg";
4316    set icon_z17;
4317}
4318node[public_transport=stop_position] {
4319    icon-image: "presets/transport/stop_position.svg";
4320    set icon_z17;
4321}
4322node[public_transport=stop_position][share_taxi=yes] {
4323    icon-image: "presets/transport/share_taxi.svg";
4324    set icon_z17;
4325}
4326node[public_transport=stop_position][bus=yes] {
4327    icon-image: "presets/transport/bus.svg";
4328    set icon_z17;
4329}
4330node[public_transport=stop_position][train=yes] {
4331    icon-image: "presets/transport/train.svg";
4332    set icon_z17;
4333}
4334node[public_transport=stop_position][light_rail=yes] {
4335    icon-image: "presets/transport/railway/light_rail.svg";
4336    set icon_z17;
4337}
4338node[public_transport=stop_position][tram=yes] {
4339    icon-image: "presets/transport/railway/tram.svg";
4340    set icon_z17;
4341}
4342node[public_transport=stop_position][subway=yes] {
4343    icon-image: "presets/transport/railway/subway.svg";
4344    set icon_z17;
4345}
4346node[public_transport=stop_position][monorail=yes] {
4347    icon-image: "presets/transport/railway/monorail.svg";
4348    set icon_z17;
4349}
4350node[public_transport=stop_position][trolleybus=yes] {
4351    icon-image: "presets/transport/trolleybus.svg";
4352    set icon_z17;
4353}
4354node[public_transport=stop_position][funicular=yes] {
4355    icon-image: "presets/transport/railway/funicular.svg";
4356    set icon_z17;
4357}
4358node[public_transport=stop_position][aerialway=yes] {
4359    icon-image: "presets/transport/aerialway/station.svg";
4360    set icon_z17;
4361}
4362node[public_transport=stop_position][ferry=yes] {
4363    icon-image: "presets/nautical/ferry.svg";
4364    set icon_z17;
4365}
4366area[public_transport=platform]:closed {
4367    fill-color: service#809bc0;
4368}
4369way[public_transport=platform]!:closed {
4370    width: 3;
4371    color: service#809bc0;
4372    dashes: 12,3;
4373}
4374node[public_transport=platform] {
4375    icon-image: "presets/transport/platform.svg";
4376    set icon_z17;
4377}
4378area[public_transport=station] {
4379    fill-color: railwaypoint#f7efb7;
4380}
4381node[public_transport=station] {
4382    icon-image: "presets/transport/station.svg";
4383    set icon_z17;
4384}
4385
4386/**************/
4387/* sport tags */
4388/**************/
4389
4390area[sport="9pin"],
4391area[sport="10pin"],
4392area[sport=soccer],
4393area[sport=australian_football],
4394area[sport=american_football],
4395area[sport=canadian_football],
4396area[sport=gaelic_games],
4397area[sport=rugby_league],
4398area[sport=rugby_union] {
4399    fill-color: sport#bde3cb;
4400}
4401node[sport="9pin"] {
4402    icon-image: "presets/sport/9pin.svg";
4403    set icon_z17;
4404}
4405node[sport="10pin"] {
4406    icon-image: "presets/sport/10pin.svg";
4407    set icon_z17;
4408}
4409node[sport=soccer],
4410node[sport=gaelic_games] {
4411    icon-image: "presets/sport/soccer.svg";
4412    set icon_z17;
4413}
4414node[sport=australian_football],
4415node[sport=american_football],
4416node[sport=canadian_football],
4417node[sport=rugby_league],
4418node[sport=rugby_union] {
4419    icon-image: "presets/sport/football.svg";
4420    set icon_z17;
4421}
4422area[sport=baseball],
4423area[sport=basketball],
4424area[sport=boules],
4425area[sport=bowls],
4426area[sport=canoe],
4427area[sport=chess],
4428area[sport=climbing]:closed,
4429area[sport=cricket],
4430area[sport=croquet] {
4431    fill-color: sport#bde3cb;
4432}
4433node[sport=baseball] {
4434    icon-image: "presets/sport/baseball.svg";
4435    set icon_z17;
4436}
4437node[sport=basketball] {
4438    icon-image: "presets/sport/basketball.svg";
4439    set icon_z17;
4440}
4441node[sport=boules] {
4442    icon-image: "presets/sport/boule.svg";
4443    set icon_z17;
4444}
4445node[sport=bowls] {
4446    icon-image: "presets/sport/boule.svg";
4447    set icon_z17;
4448}
4449node[sport=canoe] {
4450    icon-image: "presets/sport/canoe.svg";
4451    set icon_z17;
4452}
4453node[sport=chess] {
4454    icon-image: "presets/sport/chess.svg";
4455    set icon_z17;
4456}
4457node[sport=climbing] {
4458    icon-image: "presets/sport/climbing.svg";
4459    set icon_z17;
4460}
4461node[sport=cricket] {
4462    icon-image: "presets/sport/cricket.svg";
4463    set icon_z17;
4464}
4465node[sport=croquet] {
4466    icon-image: "presets/sport/croquet.svg";
4467    set icon_z17;
4468}
4469area[sport=cycling],
4470area[sport=dog_racing],
4471area[sport=equestrian],
4472area[sport=golf],
4473area[sport=gymnastics],
4474area[sport=field_hockey],
4475area[sport=ice_hockey],
4476area[sport=curling],
4477area[sport=horse_racing],
4478area[sport=karting][highway!=raceway],
4479area[sport=karting][highway=raceway][area=yes],
4480area[sport=motocross][highway!=raceway],
4481area[sport=motocross][highway=raceway][area=yes],
4482area[sport=motor][highway!=raceway],
4483area[sport=motor][highway=raceway][area=yes] {
4484    fill-color: sport#bde3cb;
4485}
4486node[sport=cycling] {
4487    icon-image: "presets/sport/cycling.svg";
4488    set icon_z17;
4489}
4490node[sport=dog_racing] {
4491    icon-image: "presets/sport/dog_racing.svg";
4492    set icon_z17;
4493}
4494node[sport=equestrian] {
4495    icon-image: "presets/sport/equestrian.svg";
4496    set icon_z17;
4497}
4498node[sport=golf] {
4499    icon-image: "presets/sport/golf.svg";
4500    set icon_z17;
4501}
4502node[sport=gymnastics] {
4503    icon-image: "presets/sport/gymnastics.svg";
4504    set icon_z17;
4505}
4506node[sport=field_hockey] {
4507    icon-image: "presets/sport/field_hockey.svg";
4508    set icon_z17;
4509}
4510node[sport=ice_hockey] {
4511    icon-image: "presets/sport/ice_hockey.svg";
4512    set icon_z17;
4513}
4514node[sport=curling] {
4515    icon-image: "presets/sport/curling.svg";
4516    set icon_z17;
4517}
4518node[sport=horse_racing] {
4519    icon-image: "presets/sport/riding.svg";
4520    set icon_z17;
4521}
4522node[sport=karting] {
4523    icon-image: "presets/sport/karting.svg";
4524    set icon_z17;
4525}
4526node[sport=motocross] {
4527    icon-image: "presets/sport/motocross.svg";
4528    set icon_z17;
4529}
4530node[sport=motor] {
4531    icon-image: "presets/sport/motor.svg";
4532    set icon_z17;
4533}
4534area[sport=athletics] {
4535    fill-color: sport_athletics#cfebd7;
4536}
4537node[sport=athletics] {
4538    icon-image: "presets/sport/athletics.svg";
4539    set icon_z17;
4540}
4541area[sport=running] {
4542    fill-color: sport_running#cfebd8;
4543}
4544node[sport=running] {
4545    icon-image: "presets/sport/running.svg";
4546    set icon_z17;
4547}
4548area[sport=multi] {
4549    fill-color: sport_multi#cfebd9;
4550}
4551node[sport=multi] {
4552    icon-image: "presets/sport/multi.svg";
4553    set icon_z17;
4554}
4555area[sport=pelota],
4556area[sport=racquet],
4557area[sport=ice_skating],
4558area[sport=roller_skating],
4559area[sport=skateboard] {
4560    fill-color: sport#bde3cb;
4561}
4562node[sport=pelota] {
4563    icon-image: "presets/sport/pelota.svg";
4564    set icon_z17;
4565}
4566node[sport=racquet] {
4567    icon-image: "presets/sport/racquetball.svg";
4568    set icon_z17;
4569}
4570node[sport=ice_skating] {
4571    icon-image: "presets/sport/ice_skating.svg";
4572    set icon_z17;
4573}
4574node[sport=roller_skating] {
4575    icon-image: "presets/sport/roller_skating.svg";
4576    set icon_z17;
4577}
4578node[sport=skating] {
4579    icon-image: "presets/misc/deprecated.svg";
4580    set icon_z17;
4581}
4582node[sport=skateboard] {
4583    icon-image: "presets/sport/skateboard.svg";
4584    set icon_z17;
4585}
4586area[sport=swimming] {
4587    fill-color: swimming_pool#51c4ef;
4588}
4589node[sport=swimming] {
4590    icon-image: "presets/sport/swimming.svg";
4591    set icon_z17;
4592}
4593area[sport=table_tennis],
4594area[sport=tennis],
4595area[sport=paintball] {
4596    fill-color: sport#bde3cb;
4597}
4598node[sport=table_tennis] {
4599    icon-image: "presets/sport/table_tennis.svg";
4600    set icon_z17;
4601}
4602node[sport=tennis] {
4603    icon-image: "presets/sport/tennis.svg";
4604    set icon_z17;
4605}
4606node[sport=paintball][!is_prop_set(icon-image)] {
4607    icon-image: "presets/misc/no_icon.svg";
4608    set icon_z17;
4609}
4610area[sport=squash],
4611area[sport=shooting],
4612area[sport=volleyball],
4613area[sport=beachvolleyball],
4614area[sport=billiards],
4615area[sport=bowling],
4616area[sport=handball],
4617area[sport=rowing],
4618area[sport=sailing],
4619area[sport=scuba_diving],
4620area[sport=badminton] {
4621    fill-color: sport#bde3cb;
4622}
4623node[sport=squash][!is_prop_set(icon-image)] {
4624    icon-image: "presets/misc/no_icon.svg";
4625    set icon_z17;
4626}
4627node[sport=shooting] {
4628    icon-image: "presets/sport/range.svg";
4629    set icon_z17;
4630}
4631node[sport=volleyball] {
4632    icon-image: "presets/sport/volleyball.svg";
4633    set icon_z17;
4634}
4635node[sport=beachvolleyball] {
4636    icon-image: "presets/sport/beachvolleyball.svg";
4637    set icon_z17;
4638}
4639node[sport=billiards] {
4640    icon-image: "presets/sport/billiards.svg";
4641    set icon_z17;
4642}
4643node[sport=bowling] {
4644    icon-image: "presets/sport/9pin.svg";
4645    set icon_z17;
4646}
4647node[sport=handball] {
4648    icon-image: "presets/sport/handball.svg";
4649    set icon_z17;
4650}
4651node[sport=rowing] {
4652    icon-image: "presets/sport/rowing.svg";
4653    set icon_z17;
4654}
4655node[sport=sailing][!is_prop_set(icon-image)] {
4656    icon-image: "presets/misc/no_icon.svg";
4657    set icon_z17;
4658}
4659node[sport=scuba_diving] {
4660    icon-image: "presets/sport/scuba_diving.svg";
4661    set icon_z17;
4662}
4663node[sport=badminton][!is_prop_set(icon-image)] {
4664    icon-image: "presets/misc/no_icon.svg";
4665    set icon_z17;
4666}
4667area[sport=archery],
4668area[sport=fishing],
4669area[sport=model_aerodrome],
4670area[sport=rc_car] {
4671    fill-color: sport#bde3cb;
4672}
4673node[sport=archery] {
4674    icon-image: "presets/sport/archery.svg";
4675    set icon_z17;
4676}
4677node[sport=fishing] {
4678    icon-image: "presets/sport/fishing.svg";
4679    set icon_z17;
4680}
4681node[sport=model_aerodrome] {
4682    icon-image: "presets/transport/airport.svg";
4683    set icon_z17;
4684}
4685node[sport=rc_car] {
4686    icon-image: "presets/sport/rc_car.svg";
4687    set icon_z17;
4688}
4689
4690/****************/
4691/* natural tags */
4692/****************/
4693
4694area[natural=spring] {
4695    fill-color: light_water#00005f;
4696}
4697node[natural=spring] {
4698    icon-image: "presets/landmark/spring.svg";
4699    set icon_z17;
4700}
4701node[natural=saddle] {
4702    icon-image: "presets/landmark/saddle.svg";
4703    set icon_z0;
4704    set text_z0;
4705}
4706node[natural=peak] {
4707    icon-image: "presets/landmark/peak.svg";
4708    set icon_z0;
4709    set text_z0;
4710}
4711node[natural=peak][tourism=viewpoint] {
4712    icon-image: "presets/sightseeing/peak_viewpoint.svg";
4713    set icon_z0;
4714    set text_z0;
4715}
4716area[natural=glacier] {
4717    fill-color: glacier#ffffff;
4718}
4719node[natural=volcano] {
4720    icon-image: "presets/landmark/volcano.svg";
4721    set icon_z0;
4722    set text_z0;
4723}
4724area[natural=cliff]:closed {
4725    fill-color: natural#002f00;
4726}
4727way[natural=cliff] {
4728    repeat-image: "presets/misc/cliff_pattern.svg";
4729    repeat-image-align: top;
4730    repeat-image-offset: 0.5;
4731    width: 1;
4732    color: #b2b2b2;
4733}
4734node[natural=cliff] {
4735    icon-image: "presets/misc/cliff.svg";
4736    set icon_z17;
4737}
4738way[natural=ridge] {
4739    width: 1;
4740    color: natural#002f00;
4741}
4742way[natural=valley] {
4743    width: 1;
4744    color: natural#002f00;
4745}
4746area[natural=scree] {
4747    fill-color: scree#c3c3c3;
4748}
4749area[natural=shingle] {
4750    fill-color: shingle#c3c3c3;
4751}
4752area[natural=scrub] {
4753    fill-color: scrub#007000;
4754}
4755area[natural=fell] {
4756    fill-color: natural#002f00;
4757}
4758area[natural=heath] {
4759    fill-color: heath#ffffc0;
4760}
4761way[natural=tree_row] {
4762    width: 2;
4763    color: woodarea#008000;
4764}
4765area[natural=wood] {
4766    fill-color: woodarea#008000;
4767}
4768area[natural=grassland] {
4769    fill-color: green#b1e0c2;
4770}
4771area[natural=wetland] {
4772    fill-color: marsh#4f4ff3;
4773}
4774area[natural=water] {
4775    fill-color: water#0000ff;
4776}
4777area[natural=water][intermittent=yes] {
4778    width: 2;
4779    dashes: 15, 5;
4780}
4781way[natural=coastline] {
4782    width: 2;
4783    color: water#0000ff;
4784    right-casing-color: water#0000ff;
4785    right-casing-width: 8;
4786    right-casing-opacity: 0.35;
4787}
4788area[natural=mud] {
4789    fill-color: mud#cba762;
4790}
4791area[natural=beach] {
4792    fill-color: beach#f8dba2;
4793}
4794area[natural=sand] {
4795    fill-color: sand#f8dba2;
4796}
4797area[natural=bare_rock] {
4798    fill-color: bare_rock#f8f8c7;
4799}
4800area[natural=rock] {
4801    fill-color: stone#f8f8c7;
4802}
4803node[natural=rock] {
4804    icon-image: "presets/misc/rock.svg";
4805    set icon_z17;
4806}
4807area[natural=stone] {
4808    fill-color: stone#f8f8c7;
4809}
4810node[natural=stone] {
4811    icon-image: "presets/misc/stone.svg";
4812    set icon_z17;
4813}
4814area[natural=bay]:closed {
4815    fill-color: natural#002f00;
4816}
4817way[natural=bay] {
4818    width: 2;
4819    color: natural#002f00;
4820}
4821node[natural=bay] {
4822    icon-image: "presets/nautical/bay.svg";
4823    set icon_z17;
4824}
4825area[natural=strait]:closed {
4826    fill-color: natural#002f00;
4827}
4828way[natural=strait] {
4829    width: 2;
4830    color: natural#002f00;
4831}
4832node[natural=strait] {
4833    icon-image: "presets/nautical/strait.svg";
4834    set icon_z17;
4835}
4836area[natural=cape],
4837area[natural=sinkhole],
4838area[natural=cave_entrance] {
4839    fill-color: natural#002f00;
4840}
4841node[natural=cape] {
4842    icon-image: "presets/nautical/cape.svg";
4843    set icon_z17;
4844}
4845node[natural=sinkhole] {
4846    icon-image: "presets/landmark/sinkhole.svg";
4847    set icon_z17;
4848}
4849node[natural=sinkhole][sinkhole=bluehole] {
4850    icon-image: "presets/landmark/bluehole.svg";
4851    set icon_z17;
4852}
4853node[natural=sinkhole][sinkhole=doline] {
4854    icon-image: "presets/landmark/doline.svg";
4855    set icon_z17;
4856}
4857node[natural=sinkhole][sinkhole=estavelle] {
4858    icon-image: "presets/landmark/estavelle.svg";
4859    set icon_z17;
4860}
4861node[natural=sinkhole][sinkhole=pit] {
4862    icon-image: "presets/landmark/pit.svg";
4863    set icon_z17;
4864}
4865node[natural=sinkhole][sinkhole=ponor] {
4866    icon-image: "presets/landmark/ponor.svg";
4867    set icon_z17;
4868}
4869node[natural=cave_entrance] {
4870    icon-image: "presets/landmark/cave_entrance.svg";
4871    set icon_z17;
4872}
4873area[natural=reef] {
4874    fill-color: reef#80c9ff;
4875}
4876node[natural=reef] {
4877    icon-image: "presets/landmark/reef.svg";
4878    set icon_z17;
4879}
4880node[natural=tree] {
4881    icon-image: "presets/landmark/trees.svg";
4882    set icon_z17;
4883}
4884node[natural=tree][leaf_type=needleleaved] {
4885    icon-image: "presets/landmark/trees_conifer.svg";
4886    set icon_z17;
4887}
4888node[natural=tree][leaf_type=broadleaved] {
4889    icon-image: "presets/landmark/trees_broad_leaved.svg";
4890    set icon_z17;
4891}
4892node[natural=glacier],
4893node[natural=scree],
4894node[natural=shingle],
4895node[natural=scrub],
4896node[natural=fell],
4897node[natural=heath],
4898node[natural=tree_row],
4899node[natural=wood],
4900node[natural=grassland],
4901node[natural=wetland],
4902node[natural=water],
4903node[natural=coastline],
4904node[natural=mud],
4905node[natural=beach],
4906node[natural=sand],
4907node[natural=land],
4908node[natural=bare_rock],
4909node[natural=ridge],
4910node[natural=valley] {
4911    icon-image: "presets/misc/deprecated.svg";
4912    set icon_z17;
4913}
4914/*****************/
4915/* waterway tags */
4916/*****************/
4917
4918way[waterway=river] {
4919    width: 2;
4920    color: water#0000ff;
4921}
4922area[waterway=riverbank] {
4923    fill-color: riverbank#0000cf;
4924    width: 1;
4925    color: riverbank#0000cf;
4926}
4927way[waterway=pressurised],
4928way[waterway=canal] {
4929    width: 2;
4930    color: water#0000ff;
4931}
4932way[waterway=river][lock=yes],
4933way[waterway=canal][lock=yes] {
4934    casing-width: 2;
4935    casing-color: lock#303030;
4936    casing-dashes: 5,20;
4937}
4938way[waterway=pressurised][tunnel] {
4939    casing-width: 1;
4940    casing-color: tunnel#964B00;
4941}
4942way[waterway=pressurised][man_made=pipeline] {
4943    casing-width: 1;
4944    casing-color: pipeline#660000;
4945}
4946way[waterway=stream] {
4947    width: 1;
4948    color: stream#6600cc;
4949}
4950way[waterway=ditch],
4951way[waterway=drain] {
4952    width: 1;
4953    color: water#0000ff;
4954}
4955way[waterway=tidal_channel] {
4956    width: 1;
4957    color: tidal_channel#0000ff;
4958}
4959way[waterway=river][intermittent=yes],
4960area[waterway=riverbank][intermittent=yes],
4961way[waterway=canal][intermittent=yes],
4962way[waterway=stream][intermittent=yes],
4963way[waterway=ditch][intermittent=yes],
4964way[waterway=drain][intermittent=yes],
4965way[waterway=tidal_channel][intermittent=yes] {
4966    dashes: 15, 5;
4967}
4968area[waterway=dock] {
4969    fill-color: dock#0000cf;
4970}
4971node[waterway=dock] {
4972    icon-image: "presets/nautical/boatyard.svg";
4973    set icon_z17;
4974}
4975way[waterway=lock_gate] {
4976    width: 3;
4977    color: lock_gate#303030;
4978}
4979node[waterway=lock_gate] {
4980    icon-image: "presets/nautical/lock_gate.svg";
4981    set icon_z17;
4982}
4983node[waterway=turning_point] {
4984    icon-image: "presets/nautical/turning.svg";
4985    set icon_z17;
4986}
4987area[waterway=boatyard] {
4988    fill-color: manmade#d8d8d8;
4989}
4990node[waterway=boatyard] {
4991    icon-image: "presets/nautical/boatyard.svg";
4992    set icon_z17;
4993}
4994node[waterway=water_point],
4995node[waterway=waste_disposal],
4996node[waterway=mooring] {
4997    icon-image: "presets/misc/deprecated.svg";
4998    set icon_z17;
4999}
5000node[mooring] {
5001    icon-image: "presets/nautical/marina.svg";
5002    set icon_z17;
5003}
5004area[waterway=fuel] {
5005    fill-color: amenity_traffic#f7efb7;
5006}
5007node[waterway=fuel] {
5008    icon-image: "presets/nautical/marine_fuel.svg";
5009    set icon_z17;
5010}
5011way[waterway=weir] {
5012    width: 2;
5013    color: manmade#d8d8d8;
5014}
5015node[waterway=weir] {
5016    icon-image: "presets/nautical/weir.svg";
5017    set icon_z17;
5018}
5019area[waterway=dam]:closed {
5020    fill-color: manmade#d8d8d8;
5021}
5022way[waterway=dam] {
5023    width: 2;
5024    color: manmade#d8d8d8;
5025}
5026node[waterway=dam] {
5027    icon-image: "presets/nautical/dam.svg";
5028    set icon_z17;
5029}
5030/* it's not possible to have both line and area, line seems more likely */
5031way[waterway=waterfall] {
5032    width: 2;
5033    color: manmade#d8d8d8;
5034}
5035node[waterway=waterfall] {
5036    icon-image: "presets/nautical/waterfall.svg";
5037    set icon_z17;
5038}
5039node[waterway=river], node[waterway=riverbank],
5040node[waterway=canal], node[waterway=wadi],
5041node[waterway=stream],
5042node[waterway=ditch], node[waterway=drain] {
5043    icon-image: "presets/misc/deprecated.svg";
5044    set icon_z17;
5045}
5046
5047/**************/
5048/* route tags */
5049/**************/
5050
5051way[route=ferry] {
5052    width: 1;
5053    color: ferry#809bc0;
5054    dashes: 9,9;
5055}
5056node[route=bus],
5057node[route=ferry],
5058node[route=flight],
5059node[route=ncn],
5060node[route=subsea],
5061node[route=ski],
5062node[route=tour],
5063node[route=pub_crawl] {
5064    icon-image: "presets/misc/deprecated.svg";
5065    set icon_z17;
5066}
5067
5068/*******************/
5069/* properties tags */
5070/*******************/
5071
5072node[mountain_pass?] {
5073    icon-image: "presets/landmark/mountain_pass.svg";
5074    set icon_z0;
5075    set text_z0;
5076}
5077
5078/*****************/
5079/* boundary tags */
5080/*****************/
5081
5082relation[boundary=protected_area] > way::core_boundary,
5083relation[boundary=administrative] > way::core_boundary,
5084relation[boundary=postal_code] > way::core_boundary,
5085relation[boundary=political] > way::core_boundary,
5086relation[boundary=maritime] > way::core_boundary,
5087relation[boundary=national_park] > way::core_boundary,
5088way[boundary=protected_area]::core_boundary,
5089way[boundary=administrative]::core_boundary,
5090way[boundary=postal_code]::core_boundary,
5091way[boundary=political]::core_boundary,
5092way[boundary=maritime]::core_boundary,
5093way[boundary=national_park]::core_boundary {
5094    z-index: 2;
5095    modifier: false;
5096    width: 1;
5097    color: boundary#FF6600;
5098    dashes: 9,9;
5099}
5100/* admin_level >=9 use the default width of 1 defined above */
5101way[boundary=administrative][admin_level=7]::core_boundary,
5102relation[boundary=administrative][admin_level=7] > way::core_boundary,
5103way[boundary=administrative][admin_level=8]::core_boundary,
5104relation[boundary=administrative][admin_level=8] > way::core_boundary {
5105    width: 2;
5106}
5107way[boundary=administrative][admin_level=5]::core_boundary,
5108relation[boundary=administrative][admin_level=5] > way::core_boundary,
5109way[boundary=administrative][admin_level=6]::core_boundary,
5110relation[boundary=administrative][admin_level=6] > way::core_boundary {
5111    width: 3;
5112}
5113way[boundary=administrative][admin_level=3]::core_boundary,
5114relation[boundary=administrative][admin_level=3] > way::core_boundary,
5115way[boundary=administrative][admin_level=4]::core_boundary,
5116relation[boundary=administrative][admin_level=4] > way::core_boundary {
5117    width: 4;
5118}
5119way[boundary=administrative][admin_level=1]::core_boundary,
5120relation[boundary=administrative][admin_level=1] > way::core_boundary,
5121way[boundary=administrative][admin_level=2]::core_boundary,
5122relation[boundary=administrative][admin_level=2] > way::core_boundary {
5123    width: 5;
5124}
5125node[boundary=national],
5126node[boundary=administrative],
5127node[boundary=postal_code],
5128node[boundary=political],
5129node[boundary=national_park] {
5130    icon-image: "presets/misc/deprecated.svg";
5131    set icon_z17;
5132}
5133
5134/******************/
5135/* maxspeed nodes */
5136/******************/
5137node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
5138    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
5139    set icon_z17;
5140}
5141node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
5142    maxspeedprop: tag(maxspeed);
5143    set maxspeedclass;
5144}
5145node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
5146    maxspeedprop: " ?";
5147    set maxspeedclass;
5148}
5149node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
5150    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
5151    set maxspeedclass;
5152}
5153node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
5154    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
5155    set maxspeedclass;
5156}
5157node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
5158    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
5159    set maxspeedclass;
5160}
5161node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
5162    /* background (white) */
5163    symbol-shape: circle;
5164    symbol-size: 17;
5165    symbol-fill-color: white;
5166    major-z-index: 4.2;
5167}
5168node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
5169node[traffic_sign][maxspeed=signals]::core_maxnodebg {
5170    /* background (black) */
5171    symbol-fill-color: black;
5172}
5173node[prop(maxspeedclass, default)]::core_maxnodefg {
5174    /* foreground (black text and red circle) */
5175    symbol-shape: circle;
5176    symbol-size: 15;
5177    symbol-stroke-color: crimson;
5178    symbol-stroke-width: 2;
5179    text: prop(maxspeedprop, default);
5180    font-size: 8;
5181    font-weight: bold;
5182    text-color: black;
5183    text-anchor-horizontal: center;
5184    text-anchor-vertical: center;
5185    text-offset-x: 0;
5186    text-offset-y: -1;
5187    major-z-index: 4.2;
5188}
5189node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
5190node[traffic_sign][maxspeed=signals]::core_maxnodefg {
5191    /* foreground (white text) */
5192    text-color: white;
5193}
5194node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
5195    symbol-shape: none;
5196}
5197node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
5198    text: none;
5199    symbol-shape: none;
5200}
5201
5202/**************/
5203/* place tags */
5204/**************/
5205
5206area[setting("place_fill_colour")][place=continent],
5207area[setting("place_fill_colour")][place=country],
5208area[setting("place_fill_colour")][place=state],
5209area[setting("place_fill_colour")][place=region],
5210area[setting("place_fill_colour")][place=county],
5211area[setting("place_fill_colour")][place=city],
5212area[setting("place_fill_colour")][place=town],
5213area[setting("place_fill_colour")][place=village],
5214area[setting("place_fill_colour")][place=hamlet],
5215area[setting("place_fill_colour")][place=farm],
5216area[setting("place_fill_colour")][place=isolated_dwelling],
5217area[setting("place_fill_colour")][place=neighbourhood],
5218area[setting("place_fill_colour")][place=suburb],
5219area[setting("place_fill_colour")][place=locality],
5220area[place=island],
5221area[place=islet] {
5222    fill-color: place#8de3cb;
5223    set place;
5224}
5225node[place=continent],
5226node[place=country],
5227node[place=state],
5228node[place=region],
5229node[place=county],
5230node[place=city],
5231node[place=town],
5232node[place=suburb],
5233node[place=village],
5234node[place=quarter],
5235node[place=neighbourhood],
5236node[place=hamlet],
5237node[place=isolated_dwelling],
5238node[place=farm],
5239node[place=island],
5240node[place=islet] {
5241    set icon_z0;
5242    set text_z0;
5243    font-weight: bold;
5244    text-color:black;
5245    text-halo-color: white;
5246    text-halo-radius: 1;
5247    set place;
5248}
5249
5250node[place=continent],
5251node[place=country],
5252node[place=state],
5253node[place=region],
5254node[place=county] {
5255    icon-image: "presets/place/capital.svg";
5256    z-index: 2.9;
5257}
5258node[place=city] {
5259    icon-image: "presets/place/city.svg";
5260    z-index: 2.8;
5261}
5262node[place=town] {
5263    icon-image: "presets/place/town.svg";
5264    z-index: 2.7;
5265}
5266node[place=suburb] {
5267    icon-image: "presets/place/suburb.svg";
5268    z-index: 2.6;
5269}
5270node[place=village] {
5271    icon-image: "presets/place/village.svg";
5272    z-index: 2.5;
5273}
5274node[place=quarter] {
5275    icon-image: "presets/place/quarter.svg";
5276    z-index: 2.5;
5277}
5278node[place=neighbourhood] {
5279    icon-image: "presets/place/neighbourhood.svg";
5280    z-index: 2.4;
5281}
5282node[place=hamlet] {
5283    icon-image: "presets/place/hamlet.svg";
5284    z-index: 2.3;
5285}
5286node[place=isolated_dwelling] {
5287    icon-image: "presets/place/isolated_dwelling.svg";
5288    z-index: 2.2;
5289}
5290node[place=farm] {
5291    icon-image: "presets/place/farm.svg";
5292    z-index: 2.1;
5293}
5294node|z15-[place=locality],
5295node|z-14[place=locality][!setting("hide_icons")] {
5296    icon-image: "presets/place/locality.svg";
5297    font-weight: bold;
5298    text-color: black;
5299    text-halo-color: white;
5300    text-halo-radius: 1;
5301}
5302node[place=island] {
5303    icon-image: "presets/place/island.svg";
5304}
5305node[place=islet] {
5306    icon-image: "presets/place/islet.svg";
5307}
5308
5309area[place=square] {
5310    fill-color: place#8de3cb;
5311}
5312node[place=square] {
5313    icon-image: "presets/place/square.svg";
5314    set icon_z17;
5315}
5316
5317/***************************/
5318/* "work in progress" tags */
5319/***************************/
5320
5321node|z17-[fixme]::core_note_fixme,
5322node|z-16[fixme][!setting("hide_icons")]::core_note_fixme,
5323node|z17-[FIXME]::core_note_fixme,
5324node|z-16[FIXME][!setting("hide_icons")]::core_note_fixme {
5325    object-z-index: 10;
5326    icon-image: "presets/misc/fixme_annotation.svg";
5327}
5328node|z17-[note][setting("note_annotation")]::core_note_fixme,
5329node|z-16[note][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5330    object-z-index: 10;
5331    icon-image: "presets/misc/note_annotation.svg";
5332}
5333node|z16-[note][fixme][setting("note_annotation")]::core_note_fixme,
5334node|z-16[note][fixme][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme,
5335node|z17-[note][FIXME][setting("note_annotation")]::core_note_fixme,
5336node|z-16[note][FIXME][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5337    icon-image: "presets/misc/note_fixme_annotation.svg";
5338}
5339
5340/****************************************/
5341/* zoom levels and general node display */
5342/****************************************/
5343
5344/*
5345Summary of different zoom levels:
5346  (any zoom)    place=* (except locality and square) and a few natural icons with their text is shown
5347  |z-14         tagged way nodes are hidden completely
5348  |z-15         untagged way nodes are hidden completely
5349  |z15          place=locality icon
5350  |z16-         place=locality text
5351  |z17-         normal POI icons (without text),
5352                street name along highway=* ways
5353  |z18-         text for normal POI icons is shown
5354 
5355 * 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
5356 * all these zoom features are modifiable via style settings
5357 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5358
5359*/
5360
5361node|z-16[setting("hide_icons")],
5362node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5363node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5364    symbol-size: 2;
5365    symbol-shape: square;
5366    symbol-stroke-color: node_standard#ffff00;
5367    major-z-index: 4.95; /* put node squares above line text */
5368}
5369way > node|z-15[setting("shrink_nodes")]!:tagged {
5370    symbol-shape: none;
5371}
5372node:connection {
5373    symbol-stroke-color: node_connection#ffff00;
5374}
5375node:tagged {
5376    symbol-stroke-color: none;
5377    symbol-fill-color: node_tagged#00ffff;
5378}
5379node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5380    symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5381}
5382way > 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 */
5383    symbol-shape: none;
5384}
5385
5386way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5387
5388node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
5389way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
5390node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
5391
5392node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
5393way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
5394node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
5395
5396node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
5397way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
5398node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
5399
5400node[!setting("shrink_nodes")]                  { symbol-size: 4; }
5401way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
5402node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
5403
5404node:selected {
5405    symbol-shape: square;
5406    symbol-size: 6;
5407    symbol-fill-color: node_selected#ff0000;
5408    symbol-stroke-color: node_selected#ff0000;
5409}
5410
5411node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5412relation|z-16[type=restriction][setting("hide_icons")] {
5413    icon-image: none;
5414}
5415node|z-17[setting("hide_icons")]!.text_z0 {
5416    text: none;
5417}
5418node|z16-17[setting("hide_icons")][place=locality] {
5419    text: auto;
5420}
5421
5422node|z-18,area|z-18 { font-size: 8; }
5423node|z19,area|z19   { font-size: 9; }
5424node|z20-,area|z20- { font-size: 11; }
5425
5426node.place, way.place, area.place { font-size: 11; }
5427
5428
5429/*******************/
5430/* way text labels */
5431/*******************/
5432
5433way|z18-[highway=motorway][setting("highway_labels")],
5434way|z18-[highway=motorway_link][setting("highway_labels")],
5435way|z18-[highway=trunk][setting("highway_labels")],
5436way|z18-[highway=trunk_link][setting("highway_labels")],
5437way|z18-[highway=primary][setting("highway_labels")],
5438way|z18-[highway=primary_link][setting("highway_labels")],
5439way|z18-[highway=secondary][setting("highway_labels")],
5440way|z18-[highway=secondary_link][setting("highway_labels")],
5441way|z18-[highway=tertiary][setting("highway_labels")],
5442way|z18-[highway=tertiary_link][setting("highway_labels")],
5443way|z18-[highway=unclassified][setting("highway_labels")],
5444way|z18-[highway=residential][setting("highway_labels")],
5445way|z18-[highway=living_street][setting("highway_labels")],
5446way|z18-[highway=escape][setting("highway_labels")],
5447way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5448way|z18-[highway=steps][setting("highway_labels")],
5449way|z18-[highway=footway][setting("highway_labels")],
5450way|z18-[highway=path][setting("highway_labels")],
5451way|z18-[highway=service][setting("highway_labels")],
5452way|z18-[highway=track][setting("highway_labels")],
5453way|z18-[highway=cycleway][setting("highway_labels")],
5454way|z18-[highway=bridleway][setting("highway_labels")],
5455way|z18-[highway=bus_guideway][setting("highway_labels")],
5456way|z18-[highway=raceway][setting("highway_labels")],
5457way|z18-[highway=construction][setting("highway_labels")],
5458way|z18-[highway=road][setting("highway_labels")] {
5459    text: auto;
5460    text-color: black;
5461    font-size: 10;
5462    text-position: line;
5463    text-halo-opacity: 1;
5464    text-halo-radius: 1.5;
5465}
5466way|z18-[highway=motorway][setting("highway_labels")],
5467way|z18-[highway=motorway_link][setting("highway_labels")] {
5468    text-halo-color: motorway#809bc0;
5469}
5470way|z18-[highway=trunk][setting("highway_labels")],
5471way|z18-[highway=trunk_link][setting("highway_labels")] {
5472    text-halo-color: trunk#7fc97f;
5473}
5474way|z18-[highway=primary][setting("highway_labels")],
5475way|z18-[highway=primary_link][setting("highway_labels")] {
5476    text-halo-color: primary#fb805f;
5477}
5478way|z18-[highway=secondary][setting("highway_labels")],
5479way|z18-[highway=secondary_link][setting("highway_labels")] {
5480    text-halo-color: secondary#fdbf6f;
5481}
5482way|z18-[highway=tertiary][setting("highway_labels")],
5483way|z18-[highway=tertiary_link][setting("highway_labels")] {
5484    text-halo-color: tertiary#f7f496;
5485}
5486way|z18-[highway=unclassified][setting("highway_labels")],
5487way|z18-[highway=residential][setting("highway_labels")],
5488way|z18-[highway=living_street][setting("highway_labels")],
5489way|z18-[highway=escape][setting("highway_labels")] {
5490    text-halo-color: street#c0c0c0;
5491}
5492way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5493way|z18-[highway=steps][setting("highway_labels")],
5494way|z18-[highway=footway][setting("highway_labels")],
5495way|z18-[highway=path][setting("highway_labels")] {
5496    text-halo-color: foot#00ff00;
5497}
5498way|z18-[highway=service][setting("highway_labels")] {
5499    text-halo-color: service#809bc0;
5500}
5501way|z18-[highway=track][setting("highway_labels")] {
5502    text-halo-color: highway_track#6e541c;
5503}
5504way|z18-[highway=cycleway][setting("highway_labels")],
5505way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5506    text-halo-color: bicycle#b100ff;
5507}
5508way|z18-[highway=bridleway][setting("highway_labels")] {
5509    text-halo-color: horse#a18559;
5510}
5511way|z18-[highway=bus_guideway][setting("highway_labels")] {
5512    text-halo-color: rail#404040;
5513}
5514way|z18-[highway=raceway][setting("highway_labels")] {
5515    text-halo-color: raceway#ff80ff;
5516}
5517way|z18-[highway=construction][setting("highway_labels")] {
5518    text-halo-color: construction#ffff00;
5519}
5520way|z18-[highway=road][setting("highway_labels")] {
5521    text-halo-color: highway_road#770000;
5522}
5523way|z18-[highway][railway=platform][setting("highway_labels")] {
5524    text-halo-color: rail#404040;
5525}
5526way|z18-[highway][public_transport=platform][setting("highway_labels")] {
5527    text-halo-color: service#809bc0;
5528}
5529way|z19[highway][setting("highway_labels")] {
5530    font-size: 11;
5531}
5532way|z20-[highway][setting("highway_labels")] {
5533    font-size: 12;
5534}
5535
5536/*************/
5537/* Area fill */
5538/*************/
5539
5540/* small extent for unclosed area (see below for closed) */
5541area[setting("partial_fill")] {
5542    fill-extent: 15;
5543}
5544
5545/* Turn partial fill off and use plain fill, when the partial fill covers about
5546   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5547   Switching between full and partial fill while drawing an area might be irritating,
5548   so only do this at low zoom. */
5549area|z-13[setting("partial_fill")] {
5550    fill-extent-threshold: 1.0;
5551}
5552
5553/* Larger extent for closed areas.
5554   Turn partial fill off, when it covers more than about 50% of the area. This avoids
5555   areas with small unfilled patches in the center. */
5556area[setting("partial_fill")]:closed2 {
5557    fill-extent: 25;
5558    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5559}
5560
Note: See TracBrowser for help on using the repository browser.