source: josm/trunk/styles/standard/elemstyles.mapcss @ 10706

Last change on this file since 10706 was 10706, checked in by Klumbumbus, 3 years ago

see #13217 - replace about 166 png icons by svg from https://trac.openstreetmap.org/browser/subversion/applications/share/map-icons/svg reworked most of them (white background or halo, resizing, pixel alignement), draw a few new svg icons from png derived; remove duplicate icons; reorder icons; adapt internal preset and mappaint styles

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