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

Last change on this file since 12446 was 12446, checked in by Klumbumbus, 22 months ago

add man_made=cross (icon self created, CC0 and PD licensed)

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