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

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

see #13084 - fix preset icon

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