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

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

add entrance=home

  • 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=gasometer] {
1328    icon-image: "presets/landmark/gasometer.svg";
1329    set icon_z17;
1330}
1331node[man_made=silo] {
1332    icon-image: "presets/landmark/silo.svg";
1333    set icon_z17;
1334}
1335node[man_made=storage_tank] {
1336    icon-image: "presets/landmark/storage_tank.svg";
1337    set icon_z17;
1338}
1339node[man_made=bunker_silo] {
1340    icon-image: "presets/landmark/bunker_silo.svg";
1341    set icon_z17;
1342}
1343area[man_made=groyne]:closed {
1344    fill-color: manmade#d8d8d8;
1345}
1346way[man_made=groyne] {
1347    width: 2;
1348    color: manmade#d8d8d8;
1349}
1350area[man_made=breakwater]:closed {
1351    fill-color: manmade#d8d8d8;
1352}
1353way[man_made=breakwater] {
1354    width: 2;
1355    color: manmade#d8d8d8;
1356}
1357node[man_made=lighthouse] {
1358    icon-image: "presets/landmark/lighthouse.svg";
1359    set icon_z17;
1360}
1361node[man_made=monitoring_station] {
1362    icon-image: "presets/misc/monitoring_station.svg";
1363    set icon_z17;
1364}
1365node[man_made=mineshaft] {
1366    icon-image: "presets/landmark/mine.svg";
1367    set icon_z17;
1368}
1369area[man_made=crane]:closed {
1370    fill-color: manmade#d8d8d8;
1371}
1372way[man_made=crane] {
1373    width: 2;
1374    color: manmade#d8d8d8;
1375}
1376node[man_made=crane] {
1377    icon-image: "presets/landmark/crane.svg";
1378    set icon_z17;
1379}
1380node[man_made=adit] {
1381    icon-image: "presets/landmark/adit.svg";
1382    set icon_z17;
1383}
1384area[man_made=pier]:closed {
1385    fill-color: pier#660000;
1386}
1387way[man_made=pier] {
1388    width: 2;
1389    color: pier#660000;
1390}
1391node[man_made=pier] {
1392    icon-image: "presets/nautical/pier.svg";
1393    set icon_z17;
1394}
1395way[embankment?][!highway][!railway][!waterway],
1396way[man_made=embankment][!highway][!railway][!waterway] {
1397    repeat-image: "presets/misc/embankment-pattern.png";
1398    repeat-image-align: top;
1399    width: 1;
1400    color: embankment#c14d00;
1401}
1402way[embankment?][highway],
1403way[embankment?][railway],
1404way[embankment?][waterway],
1405way[man_made=embankment][highway],
1406way[man_made=embankment][railway],
1407way[man_made=embankment][waterway] {
1408    repeat-image: "presets/misc/embankment-pattern-centered.png";
1409}
1410way[man_made=pipeline] {
1411    width: 2;
1412    color: pipeline#660000;
1413}
1414node[pipeline=marker] {
1415    icon-image: "presets/misc/pipeline_marker.svg";
1416    set icon_z17;
1417}
1418node[pipeline=valve] {
1419    icon-image: "presets/misc/valve.svg";
1420    set icon_z17;
1421}
1422node[man_made=breakwater],
1423node[man_made=groyne],
1424node[man_made=embankment],
1425node[man_made=pipeline] {
1426    icon-image: "presets/misc/deprecated.svg";
1427    set icon_z17;
1428}
1429node[man_made=petroleum_well][!is_prop_set(icon-image)] {
1430    icon-image: "presets/misc/no_icon.svg";
1431    set icon_z17;
1432}
1433area[man_made=reservoir_covered],
1434area[man_made=surveillance],
1435area[man_made=tower],
1436area[man_made=wastewater_plant],
1437area[man_made=watermill],
1438area[man_made=water_tower],
1439area[man_made=water_well],
1440area[man_made=windmill],
1441area[man_made=works],
1442area[man_made=water_works] {
1443    fill-color: manmade#d8d8d8;
1444}
1445node[man_made=reservoir_covered] {
1446    icon-image: "presets/landmark/reservoir_covered.svg";
1447    set icon_z17;
1448}
1449node[man_made=surveillance] {
1450    icon-image: "presets/service/surveillance.svg";
1451    set icon_z17;
1452}
1453node[man_made=survey_point] {
1454    icon-image: "presets/landmark/survey_point.svg";
1455    set icon_z17;
1456}
1457node[man_made=tower] {
1458    icon-image: "presets/landmark/tower.svg";
1459    set icon_z17;
1460}
1461node[man_made=wastewater_plant] {
1462    icon-image: "presets/landmark/wastewater_plant.svg";
1463    set icon_z17;
1464}
1465node[man_made=watermill] {
1466    icon-image: "presets/landmark/watermill.svg";
1467    set icon_z17;
1468}
1469node[man_made=water_tower] {
1470    icon-image: "presets/landmark/water_tower.svg";
1471    set icon_z17;
1472}
1473node[man_made=water_well] {
1474    icon-image: "presets/landmark/water_well.svg";
1475    set icon_z17;
1476}
1477node[man_made=windmill] {
1478    icon-image: "presets/landmark/windmill.svg";
1479    set icon_z17;
1480}
1481node[man_made=works] {
1482    icon-image: "presets/landmark/works.svg";
1483    set icon_z17;
1484}
1485node[man_made=water_works] {
1486    icon-image: "presets/landmark/water_works.svg";
1487    set icon_z17;
1488}
1489way[man_made=cutline] {
1490    width: 2;
1491    color: cutline#99ff55;
1492}
1493node[man_made=cutline] {
1494    icon-image: "presets/misc/deprecated.svg";
1495    set icon_z17;
1496}
1497
1498/***************/
1499/* office tags */
1500/***************/
1501
1502area[office=accountant],
1503area[office=administrative],
1504area[office=advertising_agency],
1505area[office=architect],
1506area[office=association],
1507area[office=company],
1508area[office=educational_institution],
1509area[office=employment_agency],
1510area[office=estate_agent],
1511area[office=foundation],
1512area[office=government],
1513area[office=insurance],
1514area[office=it],
1515area[office=lawyer],
1516area[office=newspaper],
1517area[office=ngo],
1518area[office=notary],
1519area[office=political_party],
1520area[office=religion],
1521area[office=research],
1522area[office=tax_advisor],
1523area[office=telecommunication] {
1524    fill-color: office#de5696;
1525}
1526node[office=accountant] {
1527    icon-image: "presets/office/accountant.svg";
1528    set icon_z17;
1529}
1530node[office=administrative] {
1531    icon-image: "presets/office/administrative.svg";
1532    set icon_z17;
1533}
1534node[office=advertising_agency] {
1535    icon-image: "presets/office/advertising_agency.svg";
1536    set icon_z17;
1537}
1538node[office=architect] {
1539    icon-image: "presets/office/architect.svg";
1540    set icon_z17;
1541}
1542node[office=association] {
1543    icon-image: "presets/office/association.svg";
1544    set icon_z17;
1545}
1546node[office=company] {
1547    icon-image: "presets/office/private_company.svg";
1548    set icon_z17;
1549}
1550node[office=educational_institution] {
1551    icon-image: "presets/office/educational_institution.svg";
1552    set icon_z17;
1553}
1554node[office=employment_agency] {
1555    icon-image: "presets/office/employment_agency.svg";
1556    set icon_z17;
1557}
1558node[office=estate_agent] {
1559    icon-image: "presets/office/real_state.svg";
1560    set icon_z17;
1561}
1562node[office=foundation] {
1563    icon-image: "presets/office/foundation.svg";
1564    set icon_z17;
1565}
1566node[office=insurance] {
1567    icon-image: "presets/office/insurance.svg";
1568    set icon_z17;
1569}
1570node[office=it] {
1571    icon-image: "presets/office/it.svg";
1572    set icon_z17;
1573}
1574node[office=lawyer] {
1575    icon-image: "presets/office/lawyer.svg";
1576    set icon_z17;
1577}
1578node[office=newspaper] {
1579    icon-image: "presets/office/newspaper.svg";
1580    set icon_z17;
1581}
1582node[office=ngo] {
1583    icon-image: "presets/office/ong.svg";
1584    set icon_z17;
1585}
1586node[office=notary] {
1587    icon-image: "presets/office/notary.svg";
1588    set icon_z17;
1589}
1590node[office=political_party] {
1591    icon-image: "presets/office/political_party.svg";
1592    set icon_z17;
1593}
1594node[office=religion] {
1595    icon-image: "presets/office/religion.svg";
1596    set icon_z17;
1597}
1598node[office=research] {
1599    icon-image: "presets/office/research.svg";
1600    set icon_z17;
1601}
1602node[office=tax_advisor] {
1603    icon-image: "presets/office/tax_advisor.svg";
1604    set icon_z17;
1605}
1606node[office=telecommunication] {
1607    icon-image: "presets/office/telecommunication.svg";
1608    set icon_z17;
1609}
1610node[office=government] {
1611    icon-image: "presets/office/government.svg";
1612    set icon_z17;
1613}
1614
1615/****************/
1616/* leisure tags */
1617/****************/
1618
1619area[leisure=sports_centre],
1620area[leisure=fitness_centre],
1621area[leisure=stadium],
1622area[leisure=horse_riding],
1623area[leisure=beach_resort],
1624area[leisure=water_park] {
1625    fill-color: leisure#c7f1a3;
1626}
1627node[leisure=sports_centre] {
1628    icon-image: "presets/sport/sports_centre.svg";
1629    set icon_z17;
1630}
1631node[leisure=fitness_centre] {
1632    icon-image: "presets/sport/fitness_centre.svg";
1633    set icon_z17;
1634}
1635node[leisure=stadium] {
1636    icon-image: "presets/sport/stadium.svg";
1637    set icon_z17;
1638}
1639node[leisure=horse_riding] {
1640    icon-image: "presets/leisure/horse_riding.svg";
1641    set icon_z17;
1642}
1643node[leisure=beach_resort] {
1644    icon-image: "presets/leisure/beach_resort.svg";
1645    set icon_z17;
1646}
1647node[leisure=water_park] {
1648    icon-image: "presets/leisure/water_park.svg";
1649    set icon_z17;
1650}
1651area[leisure=track][!area?!]:closed {
1652    fill-color: leisuretrack#d4f4b9;
1653}
1654way[leisure=track] {
1655    width: 2;
1656    color: leisuretrack#d4f4b9;
1657}
1658node[leisure=track] {
1659    icon-image: "presets/sport/track.svg";
1660    set icon_z17;
1661}
1662area[leisure=pitch] {
1663    fill-color: pitch#baee8d;
1664}
1665node[leisure=pitch] {
1666    icon-image: "presets/sport/pitch.svg";
1667    set icon_z17;
1668}
1669area[leisure=marina] {
1670    fill-color: marina#0070cf;
1671}
1672node[leisure=marina] {
1673    icon-image: "presets/nautical/marina.svg";
1674    set icon_z17;
1675}
1676way[leisure=slipway] {
1677    width: 2;
1678    color: leisure#c7f1a3;
1679}
1680node[leisure=slipway] {
1681    icon-image: "presets/nautical/slipway.svg";
1682    set icon_z17;
1683}
1684area[leisure=fishing],
1685area[leisure=bird_hide],
1686area[leisure=nature_reserve],
1687area[leisure=park],
1688area[leisure=playground],
1689area[leisure=garden],
1690area[leisure=common],
1691area[leisure=firepit] {
1692    fill-color: leisure#c7f1a3;
1693}
1694node[leisure=fishing] {
1695    icon-image: "presets/sport/fishing.svg";
1696    set icon_z17;
1697}
1698node[leisure=bird_hide] {
1699    icon-image: "presets/leisure/bird_hide.svg";
1700    set icon_z17;
1701}
1702node[leisure=nature_reserve] {
1703    icon-image: "presets/leisure/nature_reserve.svg";
1704    set icon_z17;
1705}
1706node[leisure=park] {
1707    icon-image: "presets/misc/deprecated.svg";
1708    set icon_z17;
1709}
1710node[leisure=playground] {
1711    icon-image: "presets/leisure/playground.svg";
1712    set icon_z17;
1713}
1714node[leisure=garden] {
1715    icon-image: "presets/leisure/garden.svg";
1716    set icon_z17;
1717}
1718node[leisure=common] {
1719    icon-image: "presets/leisure/common.svg";
1720    set icon_z17;
1721}
1722node[leisure=firepit] { 
1723    icon-image: "presets/leisure/firepit.svg";
1724    set icon_z17;
1725}
1726node[leisure=picnic_table] {
1727    icon-image: "presets/leisure/picnic.svg";
1728    set icon_z17;
1729}
1730area[leisure=swimming_pool] {
1731    fill-color: swimming_pool#51c4ef;
1732}
1733node[leisure=swimming_pool] {
1734    icon-image: "presets/sport/swimming.svg";
1735    set icon_z17;
1736}
1737area[leisure=fitness_station],
1738area[leisure=miniature_golf],
1739area[leisure=dog_park],
1740area[leisure=ice_rink],
1741area[leisure=sauna] {
1742    fill-color: leisure#c7f1a3;
1743}
1744node[leisure=fitness_station] {
1745    icon-image: "presets/leisure/fitness_station.svg";
1746    set icon_z17;
1747}
1748node[leisure=miniature_golf] {
1749    icon-image: "presets/sport/miniature_golf.svg";
1750    set icon_z17;
1751}
1752node[leisure=dog_park] {
1753    icon-image: "presets/leisure/dogpark.svg";
1754    set icon_z17;
1755}
1756node[leisure=ice_rink] {
1757    icon-image: "presets/sport/ice_hockey.svg";
1758    set icon_z17;
1759}
1760node[leisure=sauna] {
1761    icon-image: "presets/leisure/sauna.svg";
1762    set icon_z17;
1763}
1764area[leisure=golf_course] {
1765    fill-color: leisure#c7f1a3;
1766}
1767node[leisure=golf_course] {
1768    icon-image: "presets/sport/golf/golf.svg";
1769    set icon_z17;
1770}
1771
1772/*************/
1773/* golf tags */
1774/*************/
1775area[golf=tee] {
1776    fill-color: golf#c7f1a3;
1777}
1778node[golf=tee] {
1779    icon-image: "presets/sport/golf/tee.svg";
1780    set icon_z17;
1781}
1782way[golf=hole] {
1783    width: 1;
1784    dashes: 10,10;
1785    color: golf_hole#808080;
1786}
1787node[golf=pin] {
1788    icon-image: "presets/sport/golf/pin.svg";
1789    set icon_z17;
1790}
1791area[golf=bunker] {
1792    fill-color: golf_bunker#ffab00;
1793}
1794area[golf=water_hazard],
1795area[golf=lateral_water_hazard] {
1796    fill-color: golf_water_hazard#0000ff;
1797}
1798area[golf=green] {
1799    fill-color: golf_green#00e700;
1800}
1801area[golf=fairway] {
1802    fill-color: golf_fairway#009a00;
1803}
1804area[golf=rough] {
1805    fill-color: golf_rough#006700;
1806}
1807area[golf=driving_range] {
1808    fill-color: golf_driving_range#c7f1a3;
1809}
1810node[golf=driving_range] {
1811    icon-image: "presets/sport/golf/driving_range.svg";
1812    set icon_z17;
1813}
1814
1815/********************/
1816/* advertising tags */
1817/********************/
1818
1819node[advertising=column] {
1820    icon-image: "presets/leisure/advertising_column.svg";
1821    set icon_z17;
1822}
1823area[advertising=column] {
1824    fill-color: advertising#880000;
1825}
1826node[advertising=billboard] {
1827    icon-image: "presets/leisure/billboard.svg";
1828    set icon_z17;
1829}
1830
1831/*************/
1832/* shop tags */
1833/*************/
1834
1835area[shop=supermarket],
1836area[shop=convenience],
1837area[shop=bakery],
1838area[shop=butcher],
1839area[shop=bicycle],
1840area[shop=doityourself],
1841area[shop=dry_cleaning],
1842area[shop=laundry],
1843area[shop=outdoor],
1844area[shop=kiosk],
1845area[shop=alcohol],
1846area[shop=beverages],
1847area[shop=books],
1848area[shop=boutique],
1849area[shop=car],
1850area[shop=car_repair],
1851area[shop=tyres],
1852area[shop=chemist],
1853area[shop=tobacco],
1854area[shop=clothes],
1855area[shop=computer],
1856area[shop=confectionery],
1857area[shop=pastry],
1858area[shop=copyshop],
1859area[shop=curtain],
1860area[shop=cycle_repair],
1861area[shop=department_store],
1862area[shop=deli],
1863area[shop=electronics],
1864area[shop=erotic],
1865area[shop=furniture],
1866area[shop=fabric],
1867area[shop=florist],
1868area[shop=frame],
1869area[shop=gift],
1870area[shop=greengrocer],
1871area[shop=garden_centre],
1872area[shop=hairdresser],
1873area[shop=hardware],
1874area[shop=hearing_aids],
1875area[shop=hifi],
1876area[shop=houseware],
1877area[shop=jewelry],
1878area[shop=kitchen],
1879area[shop=mall],
1880area[shop=mobile_phone],
1881area[shop=motorcycle],
1882area[shop=musical_instrument],
1883area[shop=newsagent],
1884area[shop=optician],
1885area[shop=medical_supply],
1886area[shop=paint],
1887area[shop=pawnbroker],
1888area[shop=seafood],
1889area[shop=dairy],
1890area[shop=cheese],
1891area[shop=shoes],
1892area[shop=sports],
1893area[shop=stationery],
1894area[shop=tailor],
1895area[shop=travel_agency],
1896area[shop=toys],
1897area[shop=vacuum_cleaner],
1898area[shop=variety_store],
1899area[shop=video],
1900area[shop=bookmaker],
1901area[shop=lottery],
1902area[shop=shopping_centre],
1903area[shop=pet],
1904area[shop=photo],
1905area[shop=ticket],
1906area[shop=interior_decoration],
1907area[shop=car_parts],
1908area[shop=video_games],
1909area[shop=bed],
1910area[shop=beauty],
1911area[shop=cosmetics],
1912area[shop=perfumery],
1913area[shop=tea],
1914area[shop=coffee],
1915area[shop=antiques],
1916area[shop=music],
1917area[shop=funeral_directors],
1918area[shop=wine],
1919area[shop=farm],
1920area[shop=tattoo],
1921area[shop=art],
1922area[shop=bag] {
1923    fill-color: shop#00005f;
1924}
1925node[shop=supermarket] {
1926    icon-image: "presets/shop/supermarket.svg";
1927    set icon_z17;
1928}
1929node[shop=convenience] {
1930    icon-image: "presets/shop/convenience.svg";
1931    set icon_z17;
1932}
1933node[shop=bakery] {
1934    icon-image: "presets/shop/groceries/bakery.svg";
1935    set icon_z17;
1936}
1937node[shop=butcher] {
1938    icon-image: "presets/shop/groceries/butcher.svg";
1939    set icon_z17;
1940}
1941node[shop=bicycle] {
1942    icon-image: "presets/shop/bicycle.svg";
1943    set icon_z17;
1944}
1945node[shop=doityourself] {
1946    icon-image: "presets/shop/diy_store.svg";
1947    set icon_z17;
1948}
1949node[shop=dry_cleaning],
1950node[shop=laundry] {
1951    icon-image: "presets/shop/laundry.svg";
1952    set icon_z17;
1953}
1954node[shop=outdoor] {
1955    icon-image: "presets/shop/outdoor.svg";
1956    set icon_z17;
1957}
1958node[shop=kiosk] {
1959    icon-image: "presets/shop/kiosk.svg";
1960    set icon_z17;
1961}
1962node[shop=beverages] {
1963    icon-image: "presets/shop/beverages.svg";
1964    set icon_z17;
1965}
1966node[shop=alcohol] {
1967    icon-image: "presets/shop/alcohol.svg";
1968    set icon_z17;
1969}
1970node[shop=books] {
1971    icon-image: "presets/shop/book.svg";
1972    set icon_z17;
1973}
1974node[shop=boutique] {
1975    icon-image: "presets/shop/boutique.svg";
1976    set icon_z17;
1977}
1978node[shop=car] {
1979    icon-image: "presets/shop/vehicle.svg";
1980    set icon_z17;
1981}
1982node[shop=car_repair] {
1983    icon-image: "presets/vehicle/repair_shop.svg";
1984    set icon_z17;
1985}
1986node[shop=tyres] {
1987    icon-image: "presets/vehicle/tyres.svg";
1988    set icon_z17;
1989}
1990node[shop=chemist] {
1991    icon-image: "presets/shop/chemist.svg";
1992    set icon_z17;
1993}
1994node[shop=tobacco] {
1995    icon-image: "presets/shop/tobacco.svg";
1996    set icon_z17;
1997}
1998node[shop=clothes] {
1999    icon-image: "presets/shop/clothes.svg";
2000    set icon_z17;
2001}
2002node[shop=computer] {
2003    icon-image: "presets/shop/computer.svg";
2004    set icon_z17;
2005}
2006node[shop=confectionery] {
2007    icon-image: "presets/shop/groceries/confectionery.svg";
2008    set icon_z17;
2009}
2010node[shop=pastry] {
2011    icon-image: "presets/shop/groceries/pastry.svg";
2012    set icon_z17;
2013}
2014node[shop=copyshop] {
2015    icon-image: "presets/shop/copyshop.svg";
2016    set icon_z17;
2017}
2018node[shop=curtain] {
2019    icon-image: "presets/shop/curtain.svg";
2020    set icon_z17;
2021}
2022node[shop=cycle_repair] {
2023    icon-image: "presets/shop/bicycle.svg";
2024    set icon_z17;
2025}
2026node[shop=department_store] {
2027    icon-image: "presets/shop/mall.svg";
2028    set icon_z17;
2029}
2030node[shop=deli] {
2031    icon-image: "presets/shop/groceries/deli.svg";
2032    set icon_z17;
2033}
2034node[shop=electronics] {
2035    icon-image: "presets/shop/electronics.svg";
2036    set icon_z17;
2037}
2038node[shop=erotic] {
2039    icon-image: "presets/shop/erotic.svg";
2040    set icon_z17;
2041}
2042node[shop=furniture] {
2043    icon-image: "presets/shop/furniture.svg";
2044    set icon_z17;
2045}
2046node[shop=fabric] {
2047    icon-image: "presets/shop/fabric.svg";
2048    set icon_z17;
2049}
2050node[shop=florist] {
2051    icon-image: "presets/shop/florist.svg";
2052    set icon_z17;
2053}
2054node[shop=frame] {
2055    icon-image: "presets/shop/frame.svg";
2056    set icon_z17;
2057}
2058node[shop=gift] {
2059    icon-image: "presets/shop/present.svg";
2060    set icon_z17;
2061}
2062node[shop=greengrocer] {
2063    icon-image: "presets/shop/groceries/greengrocer.svg";
2064    set icon_z17;
2065}
2066node[shop=garden_centre] {
2067    icon-image: "presets/shop/garden_centre.svg";
2068    set icon_z17;
2069}
2070node[shop=hairdresser] {
2071    icon-image: "presets/shop/hairdresser.svg";
2072    set icon_z17;
2073}
2074node[shop=hardware] {
2075    icon-image: "presets/shop/hardware.svg";
2076    set icon_z17;
2077}
2078node[shop=hearing_aids] {
2079    icon-image: "presets/shop/hearing_aids.svg";
2080    set icon_z17;
2081}
2082node[shop=hifi] {
2083    icon-image: "presets/shop/hifi.svg";
2084    set icon_z17;
2085}
2086node[shop=houseware] {
2087    icon-image: "presets/shop/houseware.svg";
2088    set icon_z17;
2089}
2090node[shop=jewelry] {
2091    icon-image: "presets/shop/jewelry.svg";
2092    set icon_z17;
2093}
2094node[shop=kitchen] {
2095    icon-image: "presets/shop/kitchen.svg";
2096    set icon_z17;
2097}
2098node[shop=mall] {
2099    icon-image: "presets/shop/mall.svg";
2100    set icon_z17;
2101}
2102node[shop=mobile_phone] {
2103    icon-image: "presets/shop/mobile_phone.svg";
2104    set icon_z17;
2105}
2106node[shop=motorcycle] {
2107    icon-image: "presets/vehicle/motorbike.svg";
2108    set icon_z17;
2109}
2110node[shop=musical_instrument] {
2111    icon-image: "presets/shop/musical_instrument.svg";
2112    set icon_z17;
2113}
2114node[shop=newsagent] {
2115    icon-image: "presets/shop/news.svg";
2116    set icon_z17;
2117}
2118node[shop=optician] {
2119    icon-image: "presets/shop/optician.svg";
2120    set icon_z17;
2121}
2122node[shop=medical_supply] {
2123    icon-image: "presets/shop/medical_supply.svg";
2124    set icon_z17;
2125}
2126node[shop=paint] {
2127    icon-image: "presets/shop/paint.svg";
2128    set icon_z17;
2129}
2130node[shop=pawnbroker] {
2131    icon-image: "presets/shop/pawnbroker.svg";
2132    set icon_z17;
2133}
2134node[shop=seafood] {
2135    icon-image: "presets/shop/groceries/seafood.svg";
2136    set icon_z17;
2137}
2138node[shop=dairy] {
2139    icon-image: "presets/shop/groceries/dairy.svg";
2140    set icon_z17;
2141}
2142node[shop=cheese] {
2143    icon-image: "presets/shop/groceries/cheese.svg";
2144    set icon_z17;
2145}
2146node[shop=shoes] {
2147    icon-image: "presets/shop/shoes.svg";
2148    set icon_z17;
2149}
2150node[shop=sports] {
2151    icon-image: "presets/sport/multi.svg";
2152    set icon_z17;
2153}
2154node[shop=stationery] {
2155    icon-image: "presets/shop/stationery.svg";
2156    set icon_z17;
2157}
2158node[shop=tailor] {
2159    icon-image: "presets/shop/tailor.svg";
2160    set icon_z17;
2161}
2162node[shop=travel_agency] {
2163    icon-image: "presets/shop/travel_agency.svg";
2164    set icon_z17;
2165}
2166node[shop=toys] {
2167    icon-image: "presets/shop/toys.svg";
2168    set icon_z17;
2169}
2170node[shop=vacuum_cleaner] {
2171    icon-image: "presets/shop/vacuum_cleaner.svg";
2172    set icon_z17;
2173}
2174node[shop=variety_store] {
2175    icon-image: "presets/shop/variety_store.svg";
2176    set icon_z17;
2177}
2178node[shop=video] {
2179    icon-image: "presets/shop/video.svg";
2180    set icon_z17;
2181}
2182node[shop=bookmaker] {
2183    icon-image: "presets/shop/lottery.svg";
2184    set icon_z17;
2185}
2186node[shop=lottery] {
2187    icon-image: "presets/shop/lottery.svg";
2188    set icon_z17;
2189}
2190/* duplicate of shopping_centre? */
2191node[shop=shopping_centre] {
2192    icon-image: "presets/shop/mall.svg";
2193    set icon_z17;
2194}
2195node[shop=pet] {
2196    icon-image: "presets/shop/pet.svg";
2197    set icon_z17;
2198}
2199node[shop=photo] {
2200    icon-image: "presets/shop/photo.svg";
2201    set icon_z17;
2202}
2203node[shop=ticket] {
2204    icon-image: "presets/shop/ticket.svg";
2205    set icon_z17;
2206}
2207node[shop=interior_decoration] {
2208    icon-image: "presets/shop/interior_decoration.svg";
2209    set icon_z17;
2210}
2211node[shop=car_parts] {
2212    icon-image: "presets/vehicle/car_parts.svg";
2213    set icon_z17;
2214}
2215node[shop=video_games] {
2216    icon-image: "presets/shop/video_games.svg";
2217    set icon_z17;
2218}
2219node[shop=bed] {
2220    icon-image: "presets/shop/bed.svg";
2221    set icon_z17;
2222}
2223node[shop=beauty] {
2224    icon-image: "presets/shop/beauty.svg";
2225    set icon_z17;
2226}
2227node[shop=cosmetics] {
2228    icon-image: "presets/shop/cosmetics.svg";
2229    set icon_z17;
2230}
2231node[shop=perfumery] {
2232    icon-image: "presets/shop/perfumery.svg";
2233    set icon_z17;
2234}
2235node[shop=tea] {
2236    icon-image: "presets/shop/groceries/tea.svg";
2237    set icon_z17;
2238}
2239node[shop=coffee] {
2240    icon-image: "presets/shop/groceries/coffee.svg";
2241    set icon_z17;
2242}
2243node[shop=antiques] {
2244    icon-image: "presets/shop/antique.svg";
2245    set icon_z17;
2246}
2247node[shop=music] {
2248    icon-image: "presets/shop/music.svg";
2249    set icon_z17;
2250}
2251node[shop=funeral_directors] {
2252    icon-image: "presets/shop/funeral_directors.svg";
2253    set icon_z17;
2254}
2255node[shop=wine] {
2256    icon-image: "presets/shop/wine.svg";
2257    set icon_z17;
2258}
2259node[shop=farm] {
2260    icon-image: "presets/shop/groceries/farm.svg";
2261    set icon_z17;
2262}
2263node[shop=tattoo] {
2264    icon-image: "presets/shop/tattoo.svg";
2265    set icon_z17;
2266}
2267node[shop=art] {
2268    icon-image: "presets/shop/art.svg";
2269    set icon_z17;
2270}
2271node[shop=bag] {
2272    icon-image: "presets/shop/bag.svg";
2273    set icon_z17;
2274}
2275
2276/******************/
2277/* emergency tags */
2278/******************/
2279area[emergency=ambulance_station],
2280area[emergency=water_tank] {
2281    fill-color: emergency#eeeeee;
2282}
2283node[emergency=ambulance_station] {
2284    icon-image: "presets/emergency/ambulance_station.svg";
2285    set icon_z17;
2286}
2287node[emergency=water_tank] {
2288    icon-image: "presets/emergency/water_tank.svg";
2289    set icon_z17;
2290}
2291node[emergency=phone] {
2292    icon-image: "presets/vehicle/emergency_phone.svg";
2293    set icon_z17;
2294}
2295node[emergency=defibrillator] {
2296    icon-image: "presets/emergency/aed.svg";
2297    set icon_z17;
2298}
2299node[emergency=fire_hydrant] {
2300    icon-image: "presets/service/fire_hydrant.svg";
2301    set icon_z17;
2302}
2303node[emergency=fire_extinguisher] {
2304    icon-image: "presets/emergency/fire_extinguisher.svg";
2305    set icon_z17;
2306}
2307node[emergency=fire_hose] {
2308    icon-image: "presets/emergency/fire_hose.svg";
2309    set icon_z17;
2310}
2311node[emergency=assembly_point] {
2312    icon-image: "presets/emergency/assembly_point.svg";
2313    set icon_z17;
2314}
2315node[emergency=siren] {
2316    icon-image: "presets/emergency/siren.svg";
2317    set icon_z17;
2318}
2319
2320/****************/
2321/* amenity tags */
2322/****************/
2323
2324area[amenity=pub],
2325area[amenity=biergarten],
2326area[amenity=nightclub],
2327area[amenity=stripclub],
2328area[amenity=casino],
2329area[amenity=brothel],
2330area[amenity=cafe],
2331area[amenity=restaurant],
2332area[amenity=food_court],
2333area[amenity=fast_food],
2334area[amenity=bar],
2335area[amenity=ice_cream] {
2336    fill-color: amenity#ecba52;
2337}
2338node[amenity=pub] {
2339    icon-image: "presets/food/pub.svg";
2340    set icon_z17;
2341}
2342node[amenity=biergarten] {
2343    icon-image: "presets/food/biergarten.svg";
2344    set icon_z17;
2345}
2346node[amenity=nightclub] {
2347    icon-image: "presets/leisure/nightclub.svg";
2348    set icon_z17;
2349}
2350node[amenity=stripclub] {
2351    icon-image: "presets/leisure/stripclub.svg";
2352    set icon_z17;
2353}
2354node[amenity=casino] {
2355    icon-image: "presets/leisure/casino.svg";
2356    set icon_z17;
2357}
2358node[amenity=brothel] {
2359    icon-image: "presets/leisure/brothel.svg";
2360    set icon_z17;
2361}
2362node[amenity=cafe] {
2363    icon-image: "presets/food/cafe.svg";
2364    set icon_z17;
2365}
2366node[amenity=restaurant] {
2367    icon-image: "presets/food/restaurant.svg";
2368    set icon_z17;
2369}
2370node[amenity=food_court] {
2371    icon-image: "presets/food/food_court.svg";
2372    set icon_z17;
2373}
2374node[amenity=fast_food] {
2375    icon-image: "presets/food/fast_food.svg";
2376    set icon_z17;
2377}
2378node[amenity=bar] {
2379    icon-image: "presets/food/bar.svg";
2380    set icon_z17;
2381}
2382node[amenity=ice_cream] {
2383    icon-image: "presets/food/ice_cream.svg";
2384    set icon_z17;
2385}
2386area[amenity=bicycle_parking]:closed {
2387    fill-color: amenity_traffic#f7efb7;
2388}
2389way[amenity=bicycle_parking] {
2390    width: 2;
2391    color: amenity_traffic#f7efb7;
2392}
2393area[amenity=parking_space],
2394area[amenity=parking],
2395area[amenity=motorcycle_parking],
2396area[amenity=bicycle_rental],
2397area[amenity=bicycle_repair_station],
2398area[amenity=car_rental],
2399area[amenity=car_sharing],
2400area[amenity=car_wash],
2401area[amenity=taxi],
2402area[amenity=fuel] {
2403    fill-color: amenity_traffic#f7efb7;
2404}
2405node[amenity=parking_space] {
2406    icon-image: "presets/vehicle/parking/parking_space.svg";
2407    set icon_z17;
2408}
2409node[amenity=parking] {
2410    icon-image: "presets/vehicle/parking/parking.svg";
2411    set icon_z17;
2412}
2413node[amenity=parking_entrance] {
2414    icon-image: "presets/vehicle/parking/parking.svg";
2415    set icon_z17;
2416}
2417node[amenity=parking_entrance][parking=multi-storey],
2418node[amenity=parking][parking=multi-storey] {
2419    icon-image: "presets/vehicle/parking/multi-storey.svg";
2420    set icon_z17;
2421}
2422node[amenity=parking_entrance][parking=underground],
2423node[amenity=parking][parking=underground] {
2424    icon-image: "presets/vehicle/parking/underground.svg";
2425    set icon_z17;
2426}
2427node[amenity=motorcycle_parking] {
2428    icon-image: "presets/vehicle/parking/motorbike.svg";
2429    set icon_z17;
2430}
2431node[amenity=bicycle_parking] {
2432    icon-image: "presets/vehicle/parking/bicycle.svg";
2433    set icon_z17;
2434}
2435node[park_ride][park_ride!=no] {
2436    icon-image: "presets/vehicle/parking/park_ride.svg";
2437    set icon_z17;
2438}
2439node[amenity=parking_space][wheelchair?] {
2440    icon-image: "presets/vehicle/parking/handicapped.svg";
2441    set icon_z17;
2442}
2443node[amenity=bicycle_rental] {
2444    icon-image: "presets/vehicle/bicycle_rental.svg";
2445    set icon_z17;
2446}
2447node[amenity=bicycle_repair_station] {
2448    icon-image: "presets/vehicle/bicycle_repair_station.svg";
2449    set icon_z17;
2450}
2451node[amenity=car_rental] {
2452    icon-image: "presets/vehicle/car_rental.svg";
2453    set icon_z17;
2454}
2455node[amenity=car_sharing] {
2456    icon-image: "presets/vehicle/car_sharing.svg";
2457    set icon_z17;
2458}
2459node[amenity=car_wash] {
2460    icon-image: "presets/vehicle/car_wash.svg";
2461    set icon_z17;
2462}
2463node[amenity=taxi] {
2464    icon-image: "presets/transport/taxi.svg";
2465    set icon_z17;
2466}
2467node[amenity=fuel] {
2468    icon-image: "presets/vehicle/fuel.svg";
2469    set icon_z17;
2470}
2471node[amenity=charging_station] {
2472    icon-image: "presets/vehicle/charging_station.svg";
2473    set icon_z17;
2474}
2475node[amenity=grit_bin] {
2476    icon-image: "presets/misc/grit_bin.svg";
2477    set icon_z17;
2478}
2479node[amenity=telephone] {
2480    icon-image: "presets/service/telephone.svg";
2481    set icon_z17;
2482}
2483node[amenity=clock] {
2484    icon-image: "presets/service/clock.svg";
2485    set icon_z17;
2486}
2487node[amenity=photo_booth] {
2488    icon-image: "presets/service/photo_booth.svg";
2489    set icon_z17;
2490}
2491area[amenity=toilets],
2492area[amenity=shower],
2493area[amenity=internet_cafe],
2494area[amenity=recycling],
2495area[amenity=sanitary_dump_station] {
2496    fill-color: amenity_light#f7efb7;
2497}
2498node[amenity=toilets] {
2499    icon-image: "presets/service/toilets.svg";
2500    set icon_z17;
2501}
2502node[amenity=shower] { 
2503    icon-image: "presets/service/shower.svg";
2504    set icon_z17;
2505}
2506node[amenity=internet_cafe] { 
2507    icon-image: "presets/service/internet_cafe.svg";
2508    set icon_z17;
2509}
2510node[amenity=recycling] {
2511    icon-image: "presets/service/recycling/recycling.svg";
2512    set icon_z17;
2513}
2514node[amenity=recycling][recycling_type=container] {
2515    icon-image: "presets/service/recycling/recycling_container.svg";
2516}
2517node[amenity=recycling][recycling_type=centre] {
2518    icon-image: "presets/service/recycling/recycling_centre.svg";
2519}
2520node[amenity=waste_basket] {
2521    icon-image: "presets/service/recycling/waste_basket.svg";
2522    set icon_z17;
2523}
2524node[amenity=waste_disposal] {
2525    icon-image: "presets/service/recycling/waste_disposal.svg";
2526    set icon_z17;
2527}
2528node[amenity=sanitary_dump_station] {
2529    icon-image: "presets/service/recycling/sanitary_dump_station.svg";
2530    set icon_z17;
2531}
2532area[amenity=townhall],
2533area[amenity=embassy],
2534area[amenity=community_centre] {
2535    fill-color: amenity_light#f7efb7;
2536}
2537node[amenity=townhall] {
2538    icon-image: "presets/service/townhall.svg";
2539    set icon_z17;
2540}
2541node[amenity=embassy] {
2542    icon-image: "presets/service/embassy.svg";
2543    set icon_z17;
2544}
2545node[amenity=community_centre] {
2546    icon-image: "presets/service/community_centre.svg";
2547    set icon_z17;
2548}
2549area[amenity=water_point],
2550area[amenity=fountain] {
2551    fill-color: light_water#00005f;
2552}
2553node[amenity=drinking_water] {
2554    icon-image: "presets/food/drinking_water.svg";
2555    set icon_z17;
2556}
2557node[amenity=water_point] {
2558    icon-image: "presets/accommodation/water.svg";
2559    set icon_z17;
2560}
2561node[amenity=fountain] {
2562    icon-image: "presets/misc/fountain.svg";
2563    set icon_z17;
2564}
2565area[amenity=place_of_worship],
2566area[amenity=grave_yard],
2567area[amenity=crematorium],
2568area[amenity=post_office],
2569area[amenity=studio],
2570area[amenity=school],
2571area[amenity=university],
2572area[amenity=college],
2573area[amenity=kindergarten],
2574area[amenity=driving_school] {
2575    fill-color: amenity_light#f7efb7;
2576}
2577node[amenity=place_of_worship] {
2578    icon-image: "presets/religion/religion.svg";
2579    set icon_z17;
2580}
2581node[amenity=place_of_worship][religion=bahai] {
2582    icon-image: "presets/religion/bahai.svg";
2583    set icon_z17;
2584}
2585node[amenity=place_of_worship][religion=buddhist] {
2586    icon-image: "presets/religion/buddhism.svg";
2587    set icon_z17;
2588}
2589node[amenity=place_of_worship][religion=christian] {
2590    icon-image: "presets/religion/church.svg";
2591    set icon_z17;
2592}
2593node[amenity=place_of_worship][religion=hindu] {
2594    icon-image: "presets/religion/hinduism.svg";
2595    set icon_z17;
2596}
2597node[amenity=place_of_worship][religion=jain] {
2598    icon-image: "presets/religion/jainism.svg";
2599    set icon_z17;
2600}
2601node[amenity=place_of_worship][religion=jewish] {
2602    icon-image: "presets/religion/jewish.svg";
2603    set icon_z17;
2604}
2605node[amenity=place_of_worship][religion=muslim] {
2606    icon-image: "presets/religion/muslim.svg";
2607    set icon_z17;
2608}
2609node[amenity=place_of_worship][religion=sikh] {
2610    icon-image: "presets/religion/sikhism.svg";
2611    set icon_z17;
2612}
2613node[amenity=place_of_worship][religion=shinto] {
2614    icon-image: "presets/religion/shinto.svg";
2615    set icon_z17;
2616}
2617node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
2618    icon-image: "presets/misc/no_icon.svg";
2619    set icon_z17;
2620}
2621node[amenity=place_of_worship][religion=taoist] {
2622    icon-image: "presets/religion/taoism.svg";
2623    set icon_z17;
2624}
2625node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] {
2626    icon-image: "presets/misc/no_icon.svg";
2627    set icon_z17;
2628}
2629node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
2630    icon-image: "presets/misc/no_icon.svg";
2631    set icon_z17;
2632}
2633node[amenity=grave_yard] {
2634    icon-image: "presets/landuse/graveyard.svg";
2635    set icon_z17;
2636}
2637node[amenity=crematorium][!is_prop_set(icon-image)] {
2638    icon-image: "presets/misc/no_icon.svg";
2639    set icon_z17;
2640}
2641node[amenity=post_office] {
2642    icon-image: "presets/service/post_office.svg";
2643    set icon_z17;
2644}
2645node[amenity=post_box] {
2646    icon-image: "presets/service/post_box.svg";
2647    set icon_z17;
2648}
2649node[amenity=studio] {
2650    icon-image: "presets/service/studio.svg";
2651    set icon_z17;
2652}
2653node[amenity=school] {
2654    icon-image: "presets/education/school.svg";
2655    set icon_z17;
2656}
2657node[amenity=university] {
2658    icon-image: "presets/education/university.svg";
2659    set icon_z17;
2660}
2661node[amenity=college] {
2662    icon-image: "presets/education/college.svg";
2663    set icon_z17;
2664}
2665node[amenity=kindergarten] {
2666    icon-image: "presets/education/kindergarten.svg";
2667    set icon_z17;
2668}
2669node[amenity=driving_school] {
2670    icon-image: "presets/education/driving_school.svg";
2671    set icon_z17;
2672}
2673area[amenity=pharmacy],
2674area[amenity=hospital],
2675area[amenity=clinic],
2676area[amenity=nursing_home],
2677area[amenity=social_facility],
2678area[amenity=baby_hatch],
2679area[amenity=doctors],
2680area[amenity=dentist],
2681area[amenity=veterinary] {
2682    fill-color: health#eeeeee;
2683}
2684node[amenity=pharmacy] {
2685    icon-image: "presets/health/pharmacy.svg";
2686    set icon_z17;
2687}
2688node[amenity=hospital] {
2689    icon-image: "presets/health/hospital.svg";
2690    set icon_z17;
2691}
2692node[amenity=clinic] {
2693    icon-image: "presets/health/clinic.svg";
2694    set icon_z17;
2695}
2696node[amenity=nursing_home] {
2697    icon-image: "presets/social_facility/nursing_home.svg";
2698    set icon_z17;
2699}
2700node[amenity=social_facility][social_facility=group_home] {
2701    icon-image: "presets/social_facility/group_home.svg";
2702    set icon_z17;
2703}
2704node[amenity=social_facility][social_facility=assisted_living] {
2705    icon-image: "presets/social_facility/assisted_living.svg";
2706    set icon_z17;
2707}
2708node[amenity=social_facility][social_facility=outreach] {
2709    icon-image: "presets/social_facility/outreach.svg";
2710    set icon_z17;
2711}
2712node[amenity=social_facility][social_facility=shelter] {
2713    icon-image: "presets/social_facility/shelter.svg";
2714    set icon_z17;
2715}
2716node[amenity=social_facility][social_facility=food_bank] {
2717    icon-image: "presets/social_facility/food_bank.svg";
2718    set icon_z17;
2719}
2720node[amenity=baby_hatch] {
2721    icon-image: "presets/health/baby_hatch.svg";
2722    set icon_z17;
2723}
2724node[amenity=doctors] {
2725    icon-image: "presets/health/doctors.svg";
2726    set icon_z17;
2727}
2728node[amenity=dentist] {
2729    icon-image: "presets/health/dentist.svg";
2730    set icon_z17;
2731}
2732node[amenity=veterinary] {
2733    icon-image: "presets/health/veterinary.svg";
2734    set icon_z17;
2735}
2736area[amenity=library],
2737area[amenity=police],
2738area[amenity=ranger_station],
2739area[amenity=fire_station],
2740area[amenity=bus_station],
2741area[amenity=ferry_terminal],
2742area[amenity=theatre],
2743area[amenity=cinema],
2744area[amenity=arts_centre],
2745area[amenity=courthouse],
2746area[amenity=prison],
2747area[amenity=bank],
2748area[amenity=bureau_de_change],
2749area[amenity=bbq],
2750area[amenity=watering_place] {
2751    fill-color: amenity_light#f7efb7;
2752}
2753node[amenity=library] {
2754    icon-image: "presets/education/library.svg";
2755    set icon_z17;
2756}
2757node[amenity=police] {
2758    icon-image: "presets/service/police.svg";
2759    set icon_z17;
2760}
2761node[amenity=ranger_station] {
2762    icon-image: "presets/service/ranger_station.svg";
2763    set icon_z17;
2764}
2765node[amenity=fire_station] {
2766    icon-image: "presets/service/firebrigade.svg";
2767    set icon_z17;
2768}
2769node[amenity=bus_station] {
2770    icon-image: "presets/transport/bus_old.svg";
2771    set icon_z17;
2772}
2773node[amenity=ferry_terminal] {
2774    icon-image: "presets/nautical/ferry.svg";
2775    set icon_z17;
2776}
2777node[amenity=theatre] {
2778    icon-image: "presets/leisure/theater.svg";
2779    set icon_z17;
2780}
2781node[amenity=cinema] {
2782    icon-image: "presets/leisure/cinema.svg";
2783    set icon_z17;
2784}
2785node[amenity=arts_centre] {
2786    icon-image: "presets/sightseeing/arts_centre.svg";
2787    set icon_z17;
2788}
2789node[amenity=courthouse] {
2790    icon-image: "presets/service/courthouse.svg";
2791    set icon_z17;
2792}
2793node[amenity=prison] {
2794    icon-image: "presets/service/prison.svg";
2795    set icon_z17;
2796}
2797node[amenity=bank] {
2798    icon-image: "presets/money/bank.svg";
2799    set icon_z17;
2800}
2801node[amenity=bureau_de_change] {
2802    icon-image: "presets/money/exchange.svg";
2803    set icon_z17;
2804}
2805node[amenity=atm] {
2806    icon-image: "presets/money/atm.svg";
2807    set icon_z17;
2808}
2809way[amenity=bench] {
2810    width: 2;
2811    color: amenity_light#f7efb7;
2812}
2813node[amenity=bench] {
2814    icon-image: "presets/leisure/bench.svg";
2815    set icon_z17;
2816}
2817node[amenity=bbq] {
2818    icon-image: "presets/leisure/bbq.svg";
2819    set icon_z17;
2820}
2821node[amenity=compressed_air] {
2822    icon-image: "presets/vehicle/compressed_air.svg";
2823    set icon_z17;
2824}
2825node[amenity=watering_place] {
2826    icon-image: "presets/misc/watering_place.svg";
2827    set icon_z17;
2828}
2829area[amenity=shelter],
2830area[amenity=marketplace],
2831area[amenity=wlan] {
2832    fill-color: amenity_light#f7efb7;
2833}
2834node[amenity=shelter] {
2835    icon-image: "presets/accommodation/shelter.svg";
2836    set icon_z17;
2837}
2838node[amenity=shelter][shelter_type=public_transport] {
2839    icon-image: "presets/accommodation/shelter_public_transport.svg";
2840    set icon_z17;
2841}
2842node[amenity=shelter][shelter_type=picnic_shelter] {
2843    icon-image: "presets/accommodation/shelter_picnic.svg";
2844    set icon_z17;
2845}
2846node[amenity=shelter][shelter_type=basic_hut] {
2847    icon-image: "presets/accommodation/basic_hut.svg";
2848    set icon_z17;
2849}
2850node[amenity=shelter][shelter_type=lean_to] {
2851    icon-image: "presets/accommodation/shelter_lean_to.svg";
2852    set icon_z17;
2853}
2854node[amenity=hunting_stand] {
2855    icon-image: "presets/landmark/hunting_stand.svg";
2856    set icon_z17;
2857}
2858node[amenity=marketplace] {
2859    icon-image: "presets/shop/marketplace.svg";
2860    set icon_z17;
2861}
2862node[amenity=wlan] {
2863    icon-image: "presets/misc/wlan.svg";
2864    set icon_z17;
2865}
2866node[amenity=vending_machine] {
2867    icon-image: "presets/transport/ticket-machine.svg";
2868    set icon_z17;
2869}
2870node[vending=excrement_bags] {
2871    icon-image: "presets/service/excrement_bags.svg";
2872    set icon_z17;
2873}
2874
2875/**************/
2876/* craft tags */
2877/**************/
2878
2879area[craft=carpenter],
2880area[craft=shoemaker],
2881area[craft=photographer],
2882area[craft=metal_construction],
2883area[craft=electrician],
2884area[craft=brewery],
2885area[craft=plumber],
2886area[craft=sawmill],
2887area[craft=gardener],
2888area[craft=winery],
2889area[craft=hvac],
2890area[craft=painter],
2891area[craft=stonemason],
2892area[craft=handicraft],
2893area[craft=pottery],
2894area[craft=key_cutter],
2895area[craft=caterer],
2896area[craft=roofer],
2897area[craft=beekeeper],
2898area[craft=blacksmith],
2899area[craft=locksmith],
2900area[craft=window_construction],
2901area[craft=upholsterer],
2902area[craft=tiler] {
2903    fill-color: craft#999900;
2904}
2905node[craft=carpenter][!is_prop_set(icon-image)] {
2906    icon-image: "presets/misc/no_icon.svg";
2907    set icon_z17;
2908}
2909node[craft=shoemaker][!is_prop_set(icon-image)] {
2910    icon-image: "presets/misc/no_icon.svg";
2911    set icon_z17;
2912}
2913node[craft=photographer][!is_prop_set(icon-image)] {
2914    icon-image: "presets/misc/no_icon.svg";
2915    set icon_z17;
2916}
2917node[craft=metal_construction][!is_prop_set(icon-image)] {
2918    icon-image: "presets/misc/no_icon.svg";
2919    set icon_z17;
2920}node[craft=electrician][!is_prop_set(icon-image)] {
2921    icon-image: "presets/misc/no_icon.svg";
2922    set icon_z17;
2923}
2924node[craft=brewery][!is_prop_set(icon-image)] {
2925    icon-image: "presets/misc/no_icon.svg";
2926    set icon_z17;
2927}
2928node[craft=plumber] {
2929    icon-image: "presets/craft/plumber.svg";
2930    set icon_z17;
2931}
2932node[craft=sawmill][!is_prop_set(icon-image)] {
2933    icon-image: "presets/misc/no_icon.svg";
2934    set icon_z17;
2935}
2936node[craft=gardener][!is_prop_set(icon-image)] {
2937    icon-image: "presets/misc/no_icon.svg";
2938    set icon_z17;
2939}
2940node[craft=winery][!is_prop_set(icon-image)] {
2941    icon-image: "presets/misc/no_icon.svg";
2942    set icon_z17;
2943}
2944node[craft=hvac][!is_prop_set(icon-image)] {
2945    icon-image: "presets/misc/no_icon.svg";
2946    set icon_z17;
2947}
2948node[craft=painter] {
2949    icon-image: "presets/craft/painter.svg";
2950    set icon_z17;
2951}
2952node[craft=stonemason][!is_prop_set(icon-image)] {
2953    icon-image: "presets/misc/no_icon.svg";
2954    set icon_z17;
2955}
2956node[craft=handicraft][!is_prop_set(icon-image)] {
2957    icon-image: "presets/misc/no_icon.svg";
2958    set icon_z17;
2959}
2960node[craft=pottery] {
2961    icon-image: "presets/craft/pottery.svg";
2962    set icon_z17;
2963}
2964node[craft=key_cutter][!is_prop_set(icon-image)] {
2965    icon-image: "presets/misc/no_icon.svg";
2966    set icon_z17;
2967}
2968node[craft=caterer][!is_prop_set(icon-image)] {
2969    icon-image: "presets/misc/no_icon.svg";
2970    set icon_z17;
2971}
2972node[craft=roofer] {
2973    icon-image: "presets/craft/roofer.svg";
2974    set icon_z17;
2975}
2976node[craft=beekeeper] {
2977    icon-image: "presets/craft/beekeeper.svg";
2978    set icon_z17;
2979}
2980node[craft=blacksmith][!is_prop_set(icon-image)] {
2981    icon-image: "presets/misc/no_icon.svg";
2982    set icon_z17;
2983}
2984node[craft=locksmith][!is_prop_set(icon-image)] {
2985    icon-image: "presets/misc/no_icon.svg";
2986    set icon_z17;
2987}
2988node[craft=window_construction] {
2989    icon-image: "presets/craft/window_construction.svg";
2990    set icon_z17;
2991}
2992node[craft=upholsterer][!is_prop_set(icon-image)] {
2993    icon-image: "presets/misc/no_icon.svg";
2994    set icon_z17;
2995}
2996node[craft=tiler] {
2997    icon-image: "presets/craft/tiler.svg";
2998    set icon_z17;
2999}
3000
3001/****************/
3002/* tourism tags */
3003/****************/
3004
3005area[tourism=hotel],
3006area[tourism=motel],
3007area[tourism=guest_house],
3008area[tourism=apartment],
3009area[tourism=hostel],
3010area[tourism=chalet],
3011area[tourism=alpine_hut],
3012area[tourism=wilderness_hut],
3013area[tourism=camp_site],
3014area[tourism=caravan_site] {
3015    fill-color: hotel#feced0;
3016}
3017node[tourism=hotel] {
3018    icon-image: "presets/accommodation/hotel.svg";
3019    set icon_z17;
3020}
3021node[tourism=motel] {
3022    icon-image: "presets/accommodation/motel.svg";
3023    set icon_z17;
3024}
3025node[tourism=guest_house] {
3026    icon-image: "presets/accommodation/guest_house.svg";
3027    set icon_z17;
3028}
3029node[tourism=apartment] {
3030    icon-image: "presets/accommodation/apartment.svg";
3031    set icon_z17;
3032}
3033node[tourism=hostel] {
3034    icon-image: "presets/accommodation/hostel.svg";
3035    set icon_z17;
3036}
3037node[tourism=chalet] {
3038    icon-image: "presets/accommodation/chalet.svg";
3039    set icon_z17;
3040}
3041node[tourism=alpine_hut] {
3042    icon-image: "presets/accommodation/alpine_hut.svg";
3043    set icon_z17;
3044}
3045node[tourism=wilderness_hut] {
3046    icon-image: "presets/accommodation/wilderness_hut.svg";
3047    set icon_z17;
3048}
3049node[tourism=camp_site] {
3050    icon-image: "presets/accommodation/camping.svg";
3051    set icon_z17;
3052}
3053node[tourism=caravan_site] {
3054    icon-image: "presets/accommodation/caravan.svg";
3055    set icon_z17;
3056}
3057area[tourism=attraction]:closed {
3058    fill-color: tourism#e180a2;
3059}
3060way[tourism=attraction] {
3061    width: 2;
3062    color: tourism#e180a2;
3063}
3064node[tourism=attraction] {
3065    icon-image: "presets/sightseeing/attraction.svg";
3066    set icon_z17;
3067}
3068area[tourism=picnic_site],
3069area[tourism=viewpoint],
3070area[tourism=theme_park],
3071area[tourism=zoo],
3072area[tourism=museum] {
3073    fill-color: tourism#e180a2;
3074}
3075node[tourism=picnic_site] {
3076    icon-image: "presets/leisure/picnic.svg";
3077    set icon_z17;
3078}
3079node[tourism=viewpoint] {
3080    icon-image: "presets/sightseeing/viewpoint.svg";
3081    set icon_z17;
3082}
3083node[tourism=theme_park] {
3084    icon-image: "presets/leisure/theme_park.svg";
3085    set icon_z17;
3086}
3087node[tourism=zoo] {
3088    icon-image: "presets/leisure/zoo.svg";
3089    set icon_z17;
3090}
3091area[tourism=artwork]:closed {
3092    fill-color: tourism#e180a2;
3093}
3094way[tourism=artwork] {
3095    width: 2;
3096    color: tourism#e180a2;
3097}
3098node[tourism=artwork] {
3099    icon-image: "presets/sightseeing/arts_centre.svg";
3100    set icon_z17;
3101}
3102node[tourism=museum] {
3103    icon-image: "presets/sightseeing/museum.svg";
3104    set icon_z17;
3105}
3106
3107/********************/
3108/* information tags */
3109/********************/
3110
3111area[tourism=information] {
3112    fill-color: tourism#e180a2;
3113}
3114node[tourism=information] {
3115    icon-image: "presets/misc/information/information.svg";
3116    set icon_z17;
3117}
3118node[tourism=information][information=guidepost] {
3119    icon-image: "presets/misc/information/guidepost.svg";
3120    set icon_z17;
3121}
3122area[tourism=information][information=office] {
3123    fill-color: tourism#e180a2;
3124}
3125node[tourism=information][information=office] {
3126    icon-image: "presets/misc/information/informationoffice.svg";
3127    set icon_z17;
3128}
3129node[tourism=information][information=map] {
3130    icon-image: "presets/misc/information/map.svg";
3131    set icon_z17;
3132}
3133node[tourism=information][information=board] {
3134    icon-image: "presets/misc/information/board.svg";
3135    set icon_z17;
3136}
3137
3138/*****************/
3139/* historic tags */
3140/*****************/
3141
3142area[historic=castle],
3143area[historic=monument],
3144area[historic=memorial],
3145area[historic=archaeological_site],
3146area[historic=ruins],
3147area[historic=battlefield],
3148area[geological=palaeontological_site],
3149area[historic=wayside_cross],
3150area[historic=wayside_shrine],
3151area[historic=boundary_stone] {
3152    fill-color: historic#663300;
3153}
3154node[historic=castle] {
3155    icon-image: "presets/sightseeing/castle.svg";
3156    set icon_z17;
3157}
3158node[historic=monument] {
3159    icon-image: "presets/sightseeing/monument.svg";
3160    set icon_z17;
3161}
3162node[historic=memorial] {
3163    icon-image: "presets/sightseeing/memorial.svg";
3164    set icon_z17;
3165}
3166node[historic=archaeological_site] {
3167    icon-image: "presets/sightseeing/archaeological.svg";
3168    set icon_z17;
3169}
3170node[historic=ruins] {
3171    icon-image: "presets/sightseeing/ruins.svg";
3172    set icon_z17;
3173}
3174node[historic=battlefield] {
3175    icon-image: "presets/sightseeing/battlefield.svg";
3176    set icon_z17;
3177}
3178node[geological=palaeontological_site] {
3179    icon-image: "presets/sightseeing/palaeontological_site.svg";
3180    set icon_z17;
3181}
3182node[historic=wayside_cross] {
3183    icon-image: "presets/religion/wayside_cross.svg";
3184    set icon_z17;
3185}
3186node[historic=wayside_shrine] {
3187    icon-image: "presets/religion/wayside_shrine.svg";
3188    set icon_z17;
3189}
3190node[historic=boundary_stone] {
3191    icon-image: "presets/landmark/boundary_stone.svg";
3192    set icon_z17;
3193}
3194
3195/****************/
3196/* landuse tags */
3197/****************/
3198
3199area[landuse],
3200area[leisure],
3201area[amenity],
3202area[place],
3203area[natural],
3204area[man_made] {
3205    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3206}
3207area[landuse=farmland] {
3208    fill-color: farmland#b8e0b1;
3209}
3210area[landuse=meadow] {
3211    fill-color: meadow#b1e0b6;
3212}
3213area[landuse=vineyard],
3214area[landuse=orchard] {
3215    fill-color: green#b1e0c2;
3216}
3217area[landuse=quarry] {
3218    fill-color: quarry#888888;
3219}
3220area[landuse=landfill] {
3221    fill-color: landfill#663300;
3222}
3223area[landuse=basin],
3224area[landuse=reservoir] {
3225    fill-color: basin#0000bf;
3226}
3227area[landuse=forest] {
3228    fill-color: forest#b1efc8;
3229}
3230area[landuse=allotments] {
3231    fill-color: allotments#5dbf80;
3232}
3233area[landuse=greenhouse_horticulture],
3234area[landuse=plant_nursery] {
3235    fill-color: green#b1e0c2;
3236}
3237area[landuse=aquaculture] {
3238    fill-color: aquaculture#189dff;
3239}
3240area[landuse=grass] {
3241    fill-color: grass#97ca96;
3242}
3243area[landuse=residential] {
3244    fill-color: residential#f0f0f0;
3245}
3246area[landuse=garages] {
3247    fill-color: garages#d6c8aa;
3248}
3249area[landuse=farmyard] {
3250    fill-color: farmyard#f0f0f0;
3251}
3252area[landuse=retail],
3253area[landuse=commercial] {
3254    fill-color: retail#ffc4ee;
3255}
3256area[landuse=industrial] {
3257    fill-color: industrial#ecd8ff;
3258}
3259area[landuse=brownfield] {
3260    fill-color: brownfield#ecba32;
3261}
3262area[landuse=greenfield] {
3263    fill-color: greenfield#b1ec5c;
3264}
3265area[landuse=railway] {
3266    fill-color: railland#888888;
3267}
3268area[landuse=construction] {
3269    fill-color: construction#ffff00;
3270}
3271way[landuse=construction] {
3272    width: 1;
3273    color: construction#ffff00;
3274    dashes: 9,9;
3275}
3276area[landuse=military] {
3277    fill-color: military#b62c2c;
3278}
3279area[landuse=religious] {
3280    fill-color: religious#ffd454;
3281}
3282area[landuse=cemetery] {
3283    fill-color: cemetery#b1efc8;
3284}
3285area[landuse=village_green] {
3286    fill-color: green#b1e0c2;
3287}
3288area[landuse=recreation_ground] {
3289    fill-color: green#b1e0c2;
3290}
3291node[landuse] {
3292    icon-image: "presets/misc/deprecated.svg";
3293    set icon_z17;
3294}
3295
3296/*****************/
3297/* military tags */
3298/*****************/
3299
3300area[military=airfield],
3301area[military=bunker],
3302area[military=barracks],
3303area[military=danger_area],
3304area[military=range] {
3305    fill-color: military#b62c2c;
3306}
3307node[military=airfield] {
3308    icon-image: "presets/transport/airport/airfield.svg";
3309    set icon_z17;
3310}
3311node[military=bunker] {
3312    icon-image: "presets/landmark/bunker.svg";
3313    set icon_z17;
3314}
3315node[military=barracks][!is_prop_set(icon-image)] {
3316    icon-image: "presets/misc/no_icon.svg";
3317    set icon_z17;
3318}
3319node[military=danger_area] {
3320    icon-image: "presets/misc/danger.svg";
3321    set icon_z17;
3322}
3323node[military=range] {
3324    icon-image: "presets/sport/range.svg";
3325    set icon_z17;
3326}
3327
3328/****************/
3329/* railway tags */
3330/****************/
3331
3332area[railway=station] {
3333    fill-color: railwaypoint#f7efb7;
3334}
3335node[railway=station] {
3336    icon-image: "presets/transport/railway_station.svg";
3337    set icon_z17;
3338}
3339node[railway=halt] {
3340    icon-image: "presets/transport/railway_halt.svg";
3341    set icon_z17;
3342}
3343node[railway=tram_stop] {
3344    icon-image: "presets/transport/tram.svg";
3345    set icon_z17;
3346}
3347node[railway=subway_entrance] {
3348    icon-image: "presets/transport/underground.svg";
3349    set icon_z17;
3350}
3351node[railway=crossing] {
3352    icon-image: "presets/transport/railway/crossing.svg";
3353    set icon_z17;
3354}
3355node[railway=level_crossing] {
3356    icon-image: "presets/transport/railway/level_crossing.svg";
3357    set icon_z17;
3358}
3359way[railway=rail] {
3360    width: 2;
3361    color: rail#404040;
3362    dashes: 9,9;
3363    dashes-background-color: raildashed#ffffff;
3364}
3365way[railway=rail][service=crossover],
3366way[railway=rail][service=siding] {
3367    width: 1;
3368}
3369way[railway=rail][service=yard],
3370way[railway=rail][service=spur] {
3371    width: 1;
3372    color: railyard#552200;
3373}
3374/* draw tram on top of other way (highway=*) or
3375   as a standalone style */
3376way[highway][railway=tram]::core_railway,
3377way[!highway][railway=tram] {
3378    object-z-index: 1;
3379    modifier: false; /* don't draw default way if there is no line on default layer */
3380    width: 1;
3381    color: railover#202020;
3382    dashes: 9,9;
3383    casing-width: 1;
3384    casing-color: otherrail#808080;
3385    casing-linecap: round;
3386    casing-dashes: 9,9;
3387}
3388way[highway][railway=tram][service=crossover]::core_railway,
3389way[!highway][railway=tram][service=crossover],
3390way[highway][railway=tram][service=siding]::core_railway,
3391way[!highway][railway=tram][service=siding],
3392way[highway][railway=tram][service=yard]::core_railway,
3393way[!highway][railway=tram][service=yard],
3394way[highway][railway=tram][service=spur]::core_railway,
3395way[!highway][railway=tram][service=spur] {
3396    dashes: 6,6;
3397    casing-dashes: 6,6;
3398}
3399
3400way[railway=light_rail] {
3401    width: 2;
3402    color: otherrail#808080;
3403    dashes: 9,9;
3404}
3405way[railway=subway] {
3406    width: 1;
3407    color: subway#606060;
3408    dashes: 9,9;
3409}
3410way[railway=preserved] {
3411    width: 1;
3412    color: oldrail#404040;
3413    dashes: 9,9;
3414}
3415way[railway=light_rail][service=crossover],
3416way[railway=light_rail][service=siding],
3417way[railway=light_rail][service=yard],
3418way[railway=light_rail][service=spur],
3419way[railway=subway][service=crossover],
3420way[railway=subway][service=siding],
3421way[railway=subway][service=yard],
3422way[railway=subway][service=spur],
3423way[railway=preserved][service=crossover],
3424way[railway=preserved][service=siding],
3425way[railway=preserved][service=yard],
3426way[railway=preserved][service=spur] {
3427    dashes: 6,6;
3428}
3429/* disused often appears together with highway=xy */
3430/* -> draw on separate layer with higher z-index, but use */
3431/* modifier: false; to suppress default line when used alone. */
3432/* use default layer when used without highway=* to display bridge correctly */
3433way[railway=disused][highway]::core_railway,
3434way[railway=disused][!highway],
3435way[railway=abandoned][highway]::core_railway,
3436way[railway=abandoned][!highway] {
3437    width: 1;
3438    modifier: false;
3439    z-index: 1;
3440    color: oldrail#404040;
3441    dashes: 9,9;
3442}
3443way[railway=narrow_gauge],
3444way[railway=monorail] {
3445    width: 1;
3446    color: rail#404040;
3447    dashes: 9,9;
3448}
3449way[railway=narrow_gauge][service=crossover],
3450way[railway=narrow_gauge][service=siding],
3451way[railway=narrow_gauge][service=yard],
3452way[railway=narrow_gauge][service=spur],
3453way[railway=monorail][service=crossover],
3454way[railway=monorail][service=siding],
3455way[railway=monorail][service=yard],
3456way[railway=monorail][service=spur] {
3457    dashes: 6,6;
3458}
3459area[railway=turntable] {
3460    fill-color: rail#404040;
3461}
3462node[railway=turntable] {
3463    icon-image: "presets/transport/railway/turntable.svg";
3464    set icon_z17;
3465}
3466node[railway=buffer_stop] {
3467    icon-image: "presets/transport/railway/buffer_stop.svg";
3468    set icon_z17;
3469}
3470area[railway=platform]:closed {
3471    fill-color: rail#404040;
3472}
3473way[railway=platform] {
3474    width: 2;
3475    color: rail#404040;
3476}
3477way[railway=funicular] {
3478    width: 1;
3479    color: rail#404040;
3480    dashes: 9,9;
3481}
3482node[railway=switch] {
3483    icon-image: "presets/transport/railway/switch.svg";
3484    set icon_z17;
3485}
3486node[railway=signal] {
3487    icon-image: "presets/transport/railway/signal.svg";
3488    set icon_z17;
3489}
3490node[railway=milestone] {
3491    icon-image: "presets/transport/railway/milestone.svg";
3492    set icon_z17;
3493}
3494node[railway=rail], node[railway=tram], node[railway=light_rail],
3495node[railway=subway], node[railway=preserved],
3496node[railway=disused], node[railway=abandoned],
3497node[railway=narrow_gauge], node[railway=monorail],
3498node[railway=platform], node[railway=funicular],
3499node[service=yard], node[service=siding], node[service=spur] {
3500    icon-image: "presets/misc/deprecated.svg";
3501    set icon_z17;
3502}
3503way[railway=construction][!highway] {
3504    width: 1;
3505    color: construction#ffff00;
3506    dashes: 9,9;
3507}
3508way[railway=construction][construction=rail] {
3509    width: 2;
3510    color: rail#404040;
3511    dashes: 9,9;
3512    dashes-background-color: construction#ffff00;
3513}
3514way[railway=construction][construction=light_rail] {
3515    width: 2;
3516}
3517way[railway=construction][construction=tram][highway]::core_railway,
3518way[railway=construction][construction=tram][!highway] {
3519    z-index: 1;
3520    width: 1;
3521    color: railover#202020;
3522    dashes: 9,9;
3523    casing-width: 1;
3524    casing-color: construction#ffff00;
3525    casing-linecap: round;
3526    casing-dashes: 9,9;
3527}
3528
3529/****************/
3530/* aeroway tags */
3531/****************/
3532
3533area[aeroway=aerodrome] {
3534    fill-color: aeroway#660000;
3535    width: 2;
3536    dashes: 9,9;
3537}
3538node[aeroway=aerodrome][military!=airfield] {
3539    icon-image: "presets/transport/airport.svg";
3540    set icon_z17;
3541}
3542area[aeroway=terminal] {
3543    fill-color: terminal#bb0000;
3544}
3545node[aeroway=terminal] {
3546    icon-image: "presets/transport/airport/terminal.svg";
3547    set icon_z17;
3548}
3549area[aeroway=helipad] {
3550    fill-color: aeroway_dark#330000;
3551}
3552node[aeroway=helipad] {
3553    icon-image: "presets/transport/airport/helipad.svg";
3554    set icon_z17;
3555}
3556area[aeroway=runway]:closed {
3557    fill-color: aeroway_dark#330000;
3558}
3559way[aeroway=runway] {
3560    width: 3;
3561    color: aeroway_dark#330000;
3562}
3563area[aeroway=taxiway]:closed {
3564    fill-color: aeroway#660000;
3565}
3566way[aeroway=taxiway] {
3567    width: 2;
3568    color: aeroway#660000;
3569}
3570way[aeroway=parking_position] {
3571    width: 1;
3572    color: aeroway#660000;
3573}
3574node[aeroway=parking_position] {
3575    icon-image: "presets/transport/airport/parking_position.svg";
3576    set icon_z17;
3577}
3578area[aeroway=apron],
3579area[aeroway=hangar] {
3580    fill-color: aeroway_light#990000;
3581}
3582node[aeroway=apron],
3583node[aeroway=runway],
3584node[aeroway=taxiway] {
3585    icon-image: "presets/misc/deprecated.svg";
3586    set icon_z17;
3587}
3588node[aeroway=holding_position] {
3589    icon-image: "presets/transport/airport/holding_position.svg";
3590    set icon_z17;
3591}
3592node[aeroway=hangar] {
3593    icon-image: "presets/transport/airport/hangar.svg";
3594    set icon_z17;
3595}
3596node[aeroway=gate] {
3597    icon-image: "presets/transport/airport/gate.svg";
3598    set icon_z17;
3599}
3600node[airmark=beacon] {
3601    icon-image: "presets/transport/airport/airmark_beacon.svg";
3602    set icon_z17;
3603}
3604node[aeroway=navigationaid] {
3605    icon-image: "presets/transport/airport/navigationaid.svg";
3606    set icon_z17;
3607}
3608node[aeroway=windsock] {
3609    icon-image: "presets/transport/airport/windsock.svg";
3610    set icon_z17;
3611}
3612
3613/******************/
3614/* aerialway tags */
3615/******************/
3616
3617way[aerialway=cable_car],
3618way[aerialway=gondola] {
3619    width: 1;
3620    color: aerialway#663300;
3621    dashes: 9,9;
3622}
3623way[aerialway=chair_lift] {
3624    width: 1;
3625    color: aerialway#663300;
3626    dashes: 6,6;
3627}
3628way[aerialway=mixed_lift] {
3629    width: 1;
3630    color: aerialway#663300;
3631    dashes: 6,6,9,6;
3632}
3633way[aerialway=j-bar],
3634way[aerialway=t-bar],
3635way[aerialway=platter],
3636way[aerialway=rope_tow],
3637way[aerialway=drag_lift] {
3638    width: 1;
3639    color: aerialway#663300;
3640    dashes: 3,3;
3641}
3642way[aerialway=magic_carpet] {
3643    width: 1;
3644    color: aerialway#663300;
3645    dashes: 3,3;
3646}
3647way[aerialway=goods] {
3648    width: 1;
3649    color: aerialway#663300;
3650    dashes: 2,2;
3651}
3652area[aerialway=station] {
3653    fill-color: aerialway#663300;
3654}
3655node[aerialway=station] {
3656    icon-image: "presets/transport/aerialway/station.svg";
3657    set icon_z17;
3658}
3659node[aerialway=pylon] {
3660    icon-image: "presets/transport/aerialway/pylon.svg";
3661    set icon_z17;
3662}
3663node[aerialway=cable_car],
3664node[aerialway=gondola],
3665node[aerialway=chair_lift],
3666node[aerialway=mixed_lift],
3667node[aerialway=drag_lift],
3668node[aerialway=t-bar],
3669node[aerialway=j-bar],
3670node[aerialway=platter],
3671node[aerialway=magic_carpet],
3672node[aerialway=rope_tow],
3673node[aerialway=goods] {
3674    icon-image: "presets/misc/deprecated.svg";
3675    set icon_z17;
3676}
3677
3678/*************************/
3679/* public_transport tags */
3680/*************************/
3681
3682node[highway=bus_stop] {
3683    icon-image: "presets/transport/bus_small.svg";
3684    set icon_z17;
3685}
3686node[public_transport=stop_position] {
3687    icon-image: "presets/transport/stop_position.svg";
3688    set icon_z17;
3689}
3690node[public_transport=stop_position][share_taxi=yes] {
3691    icon-image: "presets/transport/share_taxi.svg";
3692    set icon_z17;
3693}
3694node[public_transport=stop_position][bus=yes] {
3695    icon-image: "presets/transport/bus.svg";
3696    set icon_z17;
3697}
3698node[public_transport=stop_position][train=yes] {
3699    icon-image: "presets/transport/train.svg";
3700    set icon_z17;
3701}
3702node[public_transport=stop_position][tram=yes] {
3703    icon-image: "presets/transport/railway/tram.svg";
3704    set icon_z17;
3705}
3706node[public_transport=stop_position][subway=yes] {
3707    icon-image: "presets/transport/railway/subway.svg";
3708    set icon_z17;
3709}
3710node[public_transport=stop_position][monorail=yes] {
3711    icon-image: "presets/transport/railway/monorail.svg";
3712    set icon_z17;
3713}
3714node[public_transport=stop_position][trolleybus=yes] {
3715    icon-image: "presets/transport/trolleybus.svg";
3716    set icon_z17;
3717}
3718node[public_transport=stop_position][funicular=yes] {
3719    icon-image: "presets/transport/railway/funicular.svg";
3720    set icon_z17;
3721}
3722node[public_transport=stop_position][aerialway=yes] {
3723    icon-image: "presets/transport/aerialway/station.svg";
3724    set icon_z17;
3725}
3726node[public_transport=stop_position][ferry=yes] {
3727    icon-image: "presets/nautical/ferry.svg";
3728    set icon_z17;
3729}
3730area[public_transport=platform]:closed {
3731    fill-color: service#809bc0;
3732}
3733way[public_transport=platform]!:closed {
3734    width: 3;
3735    color: service#809bc0;
3736    dashes: 12,3;
3737}
3738node[public_transport=platform] {
3739    icon-image: "presets/transport/platform.svg";
3740    set icon_z17;
3741}
3742area[public_transport=station] {
3743    fill-color: railwaypoint#f7efb7;
3744}
3745node[public_transport=station] {
3746    icon-image: "presets/transport/station.svg";
3747    set icon_z17;
3748}
3749
3750/**************/
3751/* sport tags */
3752/**************/
3753
3754area[sport="9pin"],
3755area[sport="10pin"],
3756area[sport=soccer],
3757area[sport=australian_football],
3758area[sport=american_football],
3759area[sport=canadian_football],
3760area[sport=gaelic_games],
3761area[sport=rugby_league],
3762area[sport=rugby_union] {
3763    fill-color: sport#bde3cb;
3764}
3765node[sport="9pin"] {
3766    icon-image: "presets/sport/9pin.svg";
3767    set icon_z17;
3768}
3769node[sport="10pin"] {
3770    icon-image: "presets/sport/10pin.svg";
3771    set icon_z17;
3772}
3773node[sport=soccer],
3774node[sport=gaelic_games] {
3775    icon-image: "presets/sport/soccer.svg";
3776    set icon_z17;
3777}
3778node[sport=australian_football],
3779node[sport=american_football],
3780node[sport=canadian_football],
3781node[sport=rugby_league],
3782node[sport=rugby_union] {
3783    icon-image: "presets/sport/football.svg";
3784    set icon_z17;
3785}
3786area[sport=baseball],
3787area[sport=basketball],
3788area[sport=boules],
3789area[sport=bowls],
3790area[sport=canoe],
3791area[sport=chess],
3792area[sport=climbing]:closed,
3793area[sport=cricket],
3794area[sport=croquet] {
3795    fill-color: sport#bde3cb;
3796}
3797node[sport=baseball] {
3798    icon-image: "presets/sport/baseball.svg";
3799    set icon_z17;
3800}
3801node[sport=basketball] {
3802    icon-image: "presets/sport/basketball.svg";
3803    set icon_z17;
3804}
3805node[sport=boules] {
3806    icon-image: "presets/sport/boule.svg";
3807    set icon_z17;
3808}
3809node[sport=bowls] {
3810    icon-image: "presets/sport/boule.svg";
3811    set icon_z17;
3812}
3813node[sport=canoe] {
3814    icon-image: "presets/sport/canoe.svg";
3815    set icon_z17;
3816}
3817node[sport=chess] {
3818    icon-image: "presets/sport/chess.svg";
3819    set icon_z17;
3820}
3821node[sport=climbing] {
3822    icon-image: "presets/sport/climbing.svg";
3823    set icon_z17;
3824}
3825node[sport=cricket] {
3826    icon-image: "presets/sport/cricket.svg";
3827    set icon_z17;
3828}
3829node[sport=croquet] {
3830    icon-image: "presets/sport/croquet.svg";
3831    set icon_z17;
3832}
3833area[sport=cycling],
3834area[sport=dog_racing],
3835area[sport=equestrian],
3836area[sport=golf],
3837area[sport=gymnastics],
3838area[sport=field_hockey],
3839area[sport=ice_hockey],
3840area[sport=horse_racing],
3841area[sport=karting][highway!=raceway],
3842area[sport=karting][highway=raceway][area=yes],
3843area[sport=motocross][highway!=raceway],
3844area[sport=motocross][highway=raceway][area=yes],
3845area[sport=motor][highway!=raceway],
3846area[sport=motor][highway=raceway][area=yes] {
3847    fill-color: sport#bde3cb;
3848}
3849node[sport=cycling] {
3850    icon-image: "presets/sport/cycling.svg";
3851    set icon_z17;
3852}
3853node[sport=dog_racing] {
3854    icon-image: "presets/sport/dog_racing.svg";
3855    set icon_z17;
3856}
3857node[sport=equestrian] {
3858    icon-image: "presets/sport/equestrian.svg";
3859    set icon_z17;
3860}
3861node[sport=golf] {
3862    icon-image: "presets/sport/golf.svg";
3863    set icon_z17;
3864}
3865node[sport=gymnastics] {
3866    icon-image: "presets/sport/gymnastics.svg";
3867    set icon_z17;
3868}
3869node[sport=field_hockey] {
3870    icon-image: "presets/sport/field_hockey.svg";
3871    set icon_z17;
3872}
3873node[sport=ice_hockey] {
3874    icon-image: "presets/sport/ice_hockey.svg";
3875    set icon_z17;
3876}
3877node[sport=horse_racing] {
3878    icon-image: "presets/sport/riding.svg";
3879    set icon_z17;
3880}
3881node[sport=karting] {
3882    icon-image: "presets/sport/karting.svg";
3883    set icon_z17;
3884}
3885node[sport=motocross] {
3886    icon-image: "presets/sport/motocross.svg";
3887    set icon_z17;
3888}
3889node[sport=motor] {
3890    icon-image: "presets/sport/motor.svg";
3891    set icon_z17;
3892}
3893area[sport=athletics] {
3894    fill-color: sport_athletics#cfebd7;
3895}
3896node[sport=athletics] {
3897    icon-image: "presets/sport/athletics.svg";
3898    set icon_z17;
3899}
3900area[sport=running] {
3901    fill-color: sport_running#cfebd8;
3902}
3903node[sport=running] {
3904    icon-image: "presets/sport/running.svg";
3905    set icon_z17;
3906}
3907area[sport=multi] {
3908    fill-color: sport_multi#cfebd9;
3909}
3910node[sport=multi] {
3911    icon-image: "presets/sport/multi.svg";
3912    set icon_z17;
3913}
3914area[sport=pelota],
3915area[sport=racquet],
3916area[sport=ice_skating],
3917area[sport=roller_skating],
3918area[sport=skateboard] {
3919    fill-color: sport#bde3cb;
3920}
3921node[sport=pelota] {
3922    icon-image: "presets/sport/pelota.svg";
3923    set icon_z17;
3924}
3925node[sport=racquet] {
3926    icon-image: "presets/sport/racquetball.svg";
3927    set icon_z17;
3928}
3929node[sport=ice_skating] {
3930    icon-image: "presets/sport/ice_skating.svg";
3931    set icon_z17;
3932}
3933node[sport=roller_skating] {
3934    icon-image: "presets/sport/roller_skating.svg";
3935    set icon_z17;
3936}
3937node[sport=skating] {
3938    icon-image: "presets/misc/deprecated.svg";
3939    set icon_z17;
3940}
3941node[sport=skateboard] {
3942    icon-image: "presets/sport/skateboard.svg";
3943    set icon_z17;
3944}
3945area[sport=swimming] {
3946    fill-color: swimming_pool#51c4ef;
3947}
3948node[sport=swimming] {
3949    icon-image: "presets/sport/swimming.svg";
3950    set icon_z17;
3951}
3952area[sport=table_tennis],
3953area[sport=tennis],
3954area[sport=paintball] {
3955    fill-color: sport#bde3cb;
3956}
3957node[sport=table_tennis] {
3958    icon-image: "presets/sport/table_tennis.svg";
3959    set icon_z17;
3960}
3961node[sport=tennis] {
3962    icon-image: "presets/sport/tennis.svg";
3963    set icon_z17;
3964}
3965node[sport=paintball][!is_prop_set(icon-image)] {
3966    icon-image: "presets/misc/no_icon.svg";
3967    set icon_z17;
3968}
3969area[sport=squash],
3970area[sport=shooting],
3971area[sport=volleyball],
3972area[sport=beachvolleyball],
3973area[sport=billiards],
3974area[sport=bowling],
3975area[sport=handball],
3976area[sport=rowing],
3977area[sport=sailing],
3978area[sport=scuba_diving],
3979area[sport=badminton] {
3980    fill-color: sport#bde3cb;
3981}
3982node[sport=squash][!is_prop_set(icon-image)] {
3983    icon-image: "presets/misc/no_icon.svg";
3984    set icon_z17;
3985}
3986node[sport=shooting] {
3987    icon-image: "presets/sport/range.svg";
3988    set icon_z17;
3989}
3990node[sport=volleyball] {
3991    icon-image: "presets/sport/volleyball.svg";
3992    set icon_z17;
3993}
3994node[sport=beachvolleyball] {
3995    icon-image: "presets/sport/beachvolleyball.svg";
3996    set icon_z17;
3997}
3998node[sport=billiards] {
3999    icon-image: "presets/sport/billiards.svg";
4000    set icon_z17;
4001}
4002node[sport=bowling] {
4003    icon-image: "presets/sport/9pin.svg";
4004    set icon_z17;
4005}
4006node[sport=handball] {
4007    icon-image: "presets/sport/handball.svg";
4008    set icon_z17;
4009}
4010node[sport=rowing] {
4011    icon-image: "presets/sport/rowing.svg";
4012    set icon_z17;
4013}
4014node[sport=sailing][!is_prop_set(icon-image)] {
4015    icon-image: "presets/misc/no_icon.svg";
4016    set icon_z17;
4017}
4018node[sport=scuba_diving] {
4019    icon-image: "presets/sport/scuba_diving.svg";
4020    set icon_z17;
4021}
4022node[sport=badminton][!is_prop_set(icon-image)] {
4023    icon-image: "presets/misc/no_icon.svg";
4024    set icon_z17;
4025}
4026area[sport=archery],
4027area[sport=fishing],
4028area[sport=model_aerodrome],
4029area[sport=rc_car] {
4030    fill-color: sport#bde3cb;
4031}
4032node[sport=archery] {
4033    icon-image: "presets/sport/archery.svg";
4034    set icon_z17;
4035}
4036node[sport=fishing] {
4037    icon-image: "presets/sport/fishing.svg";
4038    set icon_z17;
4039}
4040node[sport=model_aerodrome] {
4041    icon-image: "presets/transport/airport.svg";
4042    set icon_z17;
4043}
4044node[sport=rc_car] {
4045    icon-image: "presets/sport/rc_car.svg";
4046    set icon_z17;
4047}
4048
4049/****************/
4050/* natural tags */
4051/****************/
4052
4053area[natural=spring] {
4054    fill-color: light_water#00005f;
4055}
4056node[natural=spring] {
4057    icon-image: "presets/landmark/spring.svg";
4058    set icon_z17;
4059}
4060node[natural=saddle] {
4061    icon-image: "presets/landmark/saddle.svg";
4062    set icon_z0;
4063    set text_z0;
4064}
4065node[natural=peak] {
4066    icon-image: "presets/landmark/peak.svg";
4067    set icon_z0;
4068    set text_z0;
4069}
4070node[natural=peak][tourism=viewpoint] {
4071    icon-image: "presets/sightseeing/peak_viewpoint.svg";
4072    set icon_z0;
4073    set text_z0;
4074}
4075area[natural=glacier] {
4076    fill-color: glacier#ffffff;
4077}
4078node[natural=volcano] {
4079    icon-image: "presets/landmark/volcano.svg";
4080    set icon_z0;
4081    set text_z0;
4082}
4083area[natural=cliff]:closed {
4084    fill-color: natural#002f00;
4085}
4086way[natural=cliff] {
4087    repeat-image: "presets/misc/cliff_pattern.svg";
4088    repeat-image-align: top;
4089    width: 1;
4090    color: #b2b2b2;
4091}
4092node[natural=cliff] {
4093    icon-image: "presets/misc/cliff.svg";
4094    set icon_z17;
4095}
4096way[natural=ridge] {
4097    width: 1;
4098    color: natural#002f00;
4099}
4100way[natural=valley] {
4101    width: 1;
4102    color: natural#002f00;
4103}
4104area[natural=scree] {
4105    fill-color: scree#c3c3c3;
4106}
4107area[natural=shingle] {
4108    fill-color: shingle#c3c3c3;
4109}
4110area[natural=scrub] {
4111    fill-color: scrub#007000;
4112}
4113area[natural=fell] {
4114    fill-color: natural#002f00;
4115}
4116area[natural=heath] {
4117    fill-color: heath#ffffc0;
4118}
4119way[natural=tree_row] {
4120    width: 2;
4121    color: woodarea#008000;
4122}
4123area[natural=wood] {
4124    fill-color: woodarea#008000;
4125}
4126area[natural=grassland] {
4127    fill-color: green#b1e0c2;
4128}
4129area[natural=wetland] {
4130    fill-color: marsh#4f4ff3;
4131}
4132area[natural=water] {
4133    fill-color: water#0000ff;
4134}
4135area[natural=water][intermittent=yes] {
4136    width: 2;
4137    dashes: 15, 5;
4138}
4139way[natural=coastline] {
4140    width: 2;
4141    color: water#0000ff;
4142    right-casing-color: water#0000ff;
4143    right-casing-width: 5;
4144    right-casing-opacity: 0.30;
4145}
4146area[natural=mud] {
4147    fill-color: mud#cba762;
4148}
4149area[natural=beach] {
4150    fill-color: beach#f8dba2;
4151}
4152area[natural=sand] {
4153    fill-color: sand#f8dba2;
4154}
4155area[natural=bare_rock] {
4156    fill-color: bare_rock#f8f8c7;
4157}
4158area[natural=rock] {
4159    fill-color: stone#f8f8c7;
4160}
4161node[natural=rock] {
4162    icon-image: "presets/misc/rock.svg";
4163    set icon_z17;
4164}
4165area[natural=stone] {
4166    fill-color: stone#f8f8c7;
4167}
4168node[natural=stone] {
4169    icon-image: "presets/misc/stone.svg";
4170    set icon_z17;
4171}
4172area[natural=bay],
4173area[natural=cave_entrance] {
4174    fill-color: natural#002f00;
4175}
4176node[natural=bay] {
4177    icon-image: "presets/nautical/bay.svg";
4178    set icon_z17;
4179}
4180area[natural=reef] {
4181    fill-color: reef#80c9ff;
4182}
4183node[natural=reef] {
4184    icon-image: "presets/landmark/reef.svg";
4185    set icon_z17;
4186}
4187node[natural=cave_entrance] {
4188    icon-image: "presets/landmark/cave_entrance.svg";
4189    set icon_z17;
4190}
4191node[natural=tree] {
4192    icon-image: "presets/landmark/trees.svg";
4193    set icon_z17;
4194}
4195node[natural=tree][type=conifer],
4196node[natural=tree][leaf_type=needleleaved] {
4197    icon-image: "presets/landmark/trees_conifer.svg";
4198    set icon_z17;
4199}
4200node[natural=tree][type=broad_leaved],
4201node[natural=tree][leaf_type=broadleaved] {
4202    icon-image: "presets/landmark/trees_broad_leaved.svg";
4203    set icon_z17;
4204}
4205node[natural=glacier],
4206node[natural=scree],
4207node[natural=shingle],
4208node[natural=scrub],
4209node[natural=fell],
4210node[natural=heath],
4211node[natural=tree_row],
4212node[natural=wood],
4213node[natural=grassland],
4214node[natural=wetland],
4215node[natural=water],
4216node[natural=coastline],
4217node[natural=mud],
4218node[natural=beach],
4219node[natural=sand],
4220node[natural=land],
4221node[natural=bare_rock],
4222node[natural=ridge],
4223node[natural=valley] {
4224    icon-image: "presets/misc/deprecated.svg";
4225    set icon_z17;
4226}
4227/*****************/
4228/* waterway tags */
4229/*****************/
4230
4231way[waterway=river] {
4232    width: 2;
4233    color: water#0000ff;
4234}
4235area[waterway=riverbank] {
4236    fill-color: riverbank#0000cf;
4237    width: 1;
4238    color: riverbank#0000cf;
4239}
4240way[waterway=canal] {
4241    width: 2;
4242    color: water#0000ff;
4243}
4244way[waterway=river][lock=yes],
4245way[waterway=canal][lock=yes] {
4246    casing-width: 2;
4247    casing-color: lock#303030;
4248    casing-dashes: 5,20;
4249}
4250way[waterway=stream] {
4251    width: 1;
4252    color: stream#6600cc;
4253}
4254way[waterway=ditch],
4255way[waterway=drain] {
4256    width: 1;
4257    color: water#0000ff;
4258}
4259way[waterway=river][intermittent=yes],
4260area[waterway=riverbank][intermittent=yes],
4261way[waterway=canal][intermittent=yes],
4262way[waterway=stream][intermittent=yes],
4263way[waterway=ditch][intermittent=yes],
4264way[waterway=drain][intermittent=yes] {
4265    dashes: 15, 5;
4266}
4267area[waterway=dock] {
4268    fill-color: dock#0000cf;
4269}
4270node[waterway=dock] {
4271    icon-image: "presets/nautical/boatyard.svg";
4272    set icon_z17;
4273}
4274way[waterway=lock_gate] {
4275    width: 3;
4276    color: lock_gate#303030;
4277}
4278node[waterway=lock_gate] {
4279    icon-image: "presets/nautical/lock_gate.svg";
4280    set icon_z17;
4281}
4282node[waterway=turning_point] {
4283    icon-image: "presets/nautical/turning.svg";
4284    set icon_z17;
4285}
4286area[waterway=boatyard] {
4287    fill-color: manmade#d8d8d8;
4288}
4289node[waterway=boatyard] {
4290    icon-image: "presets/nautical/boatyard.svg";
4291    set icon_z17;
4292}
4293node[waterway=water_point],
4294node[waterway=waste_disposal],
4295node[waterway=mooring] {
4296    icon-image: "presets/misc/deprecated.svg";
4297    set icon_z17;
4298}
4299node[mooring] {
4300    icon-image: "presets/nautical/marina.svg";
4301    set icon_z17;
4302}
4303area[waterway=fuel] {
4304    fill-color: amenity_traffic#f7efb7;
4305}
4306node[waterway=fuel] {
4307    icon-image: "presets/nautical/marine_fuel.svg";
4308    set icon_z17;
4309}
4310way[waterway=weir] {
4311    width: 2;
4312    color: manmade#d8d8d8;
4313}
4314node[waterway=weir] {
4315    icon-image: "presets/nautical/weir.svg";
4316    set icon_z17;
4317}
4318area[waterway=dam]:closed {
4319    fill-color: manmade#d8d8d8;
4320}
4321way[waterway=dam] {
4322    width: 2;
4323    color: manmade#d8d8d8;
4324}
4325node[waterway=dam] {
4326    icon-image: "presets/nautical/dam.svg";
4327    set icon_z17;
4328}
4329/* it's not possible to have both line and area, line seems more likely */
4330way[waterway=waterfall] {
4331    width: 2;
4332    color: manmade#d8d8d8;
4333}
4334node[waterway=waterfall] {
4335    icon-image: "presets/nautical/waterfall.svg";
4336    set icon_z17;
4337}
4338node[waterway=river], node[waterway=riverbank],
4339node[waterway=canal], node[waterway=wadi],
4340node[waterway=stream],
4341node[waterway=ditch], node[waterway=drain] {
4342    icon-image: "presets/misc/deprecated.svg";
4343    set icon_z17;
4344}
4345
4346/**************/
4347/* route tags */
4348/**************/
4349
4350way[route=ferry] {
4351    width: 1;
4352    color: ferry#809bc0;
4353    dashes: 9,9;
4354}
4355node[route=bus],
4356node[route=ferry],
4357node[route=flight],
4358node[route=ncn],
4359node[route=subsea],
4360node[route=ski],
4361node[route=tour],
4362node[route=pub_crawl] {
4363    icon-image: "presets/misc/deprecated.svg";
4364    set icon_z17;
4365}
4366
4367/*******************/
4368/* properties tags */
4369/*******************/
4370
4371node[mountain_pass?] {
4372    icon-image: "presets/landmark/mountain_pass.svg";
4373    set icon_z0;
4374    set text_z0;
4375}
4376
4377/*****************/
4378/* boundary tags */
4379/*****************/
4380
4381way[boundary=protected_area]::core_boundary,
4382way[boundary=administrative]::core_boundary,
4383way[boundary=postal_code]::core_boundary,
4384way[boundary=political]::core_boundary,
4385way[boundary=maritime]::core_boundary,
4386way[boundary=national_park]::core_boundary {
4387    z-index: 2;
4388    modifier: false;
4389    width: 1;
4390    color: boundary#FF6600;
4391    dashes: 9,9;
4392}
4393way[admin_level=9]::core_boundary,
4394relation[admin_level=9] > way::core_boundary,
4395way[admin_level=10]::core_boundary,
4396relation[admin_level=10] > way::core_boundary {
4397    z-index: 2;
4398    modifier: false;
4399    width: 1;
4400    color: boundary#FF6600;
4401    dashes: 9,9;
4402}
4403way[admin_level=7]::core_boundary,
4404relation[admin_level=7] > way::core_boundary,
4405way[admin_level=8]::core_boundary,
4406relation[admin_level=8] > way::core_boundary {
4407    z-index: 2;
4408    modifier: false;
4409    width: 2;
4410    color: boundary#FF6600;
4411    dashes: 9,9;
4412}
4413way[admin_level=5]::core_boundary,
4414relation[admin_level=5] > way::core_boundary,
4415way[admin_level=6]::core_boundary,
4416relation[admin_level=6] > way::core_boundary {
4417    z-index: 2;
4418    modifier: false;
4419    width: 3;
4420    color: boundary#FF6600;
4421    dashes: 9,9;
4422}
4423way[admin_level=3]::core_boundary,
4424relation[admin_level=3] > way::core_boundary,
4425way[admin_level=4]::core_boundary,
4426relation[admin_level=4] > way::core_boundary {
4427    z-index: 2;
4428    modifier: false;
4429    width: 4;
4430    color: boundary#FF6600;
4431    dashes: 9,9;
4432}
4433way[admin_level=1]::core_boundary,
4434relation[admin_level=1] > way::core_boundary,
4435way[admin_level=2]::core_boundary,
4436relation[admin_level=2] > way::core_boundary {
4437    z-index: 2;
4438    modifier: false;
4439    width: 5;
4440    color: boundary#FF6600;
4441    dashes: 9,9;
4442}
4443node[boundary=national],
4444node[boundary=administrative],
4445node[boundary=postal_code],
4446node[boundary=political],
4447node[boundary=national_park] {
4448    icon-image: "presets/misc/deprecated.svg";
4449    set icon_z17;
4450}
4451
4452/******************/
4453/* maxspeed nodes */
4454/******************/
4455node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4456    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
4457    set icon_z17;
4458}
4459node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4460    maxspeedprop: tag(maxspeed);
4461    set maxspeedclass;
4462}
4463node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4464    maxspeedprop: " ?";
4465    set maxspeedclass;
4466}
4467node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4468    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4469    set maxspeedclass;
4470}
4471node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4472    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4473    set maxspeedclass;
4474}
4475node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4476    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4477    set maxspeedclass;
4478}
4479node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4480    /* background (white) */
4481    symbol-shape: circle;
4482    symbol-size: 17;
4483    symbol-fill-color: white;
4484    major-z-index: 4.2;
4485}
4486node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4487node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4488    /* background (black) */
4489    symbol-fill-color: black;
4490}
4491node[prop(maxspeedclass, default)]::core_maxnodefg {
4492    /* foreground (black text and red circle) */
4493    symbol-shape: circle;
4494    symbol-size: 15;
4495    symbol-stroke-color: crimson;
4496    symbol-stroke-width: 2;
4497    text: prop(maxspeedprop, default);
4498    font-size: 8;
4499    font-weight: bold;
4500    text-color: black;
4501    text-anchor-horizontal: center;
4502    text-anchor-vertical: center;
4503    text-offset-x: 0;
4504    text-offset-y: -1;
4505    major-z-index: 4.2;
4506}
4507node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4508node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4509    /* foreground (white text) */
4510    text-color: white;
4511}
4512node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4513    symbol-shape: none;
4514}
4515node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4516    text: none;
4517    symbol-shape: none;
4518}
4519
4520/**************/
4521/* place tags */
4522/**************/
4523
4524area[setting("place_fill_colour")][place=continent],
4525area[setting("place_fill_colour")][place=country],
4526area[setting("place_fill_colour")][place=state],
4527area[setting("place_fill_colour")][place=region],
4528area[setting("place_fill_colour")][place=county],
4529area[setting("place_fill_colour")][place=city],
4530area[setting("place_fill_colour")][place=town],
4531area[setting("place_fill_colour")][place=village],
4532area[setting("place_fill_colour")][place=hamlet],
4533area[setting("place_fill_colour")][place=farm],
4534area[setting("place_fill_colour")][place=isolated_dwelling],
4535area[setting("place_fill_colour")][place=neighbourhood],
4536area[setting("place_fill_colour")][place=suburb],
4537area[setting("place_fill_colour")][place=locality],
4538area[setting("place_fill_colour")][place=island],
4539area[setting("place_fill_colour")][place=islet] {
4540    fill-color: place#8de3cb;
4541    set place;
4542}
4543node[place=continent],
4544node[place=country],
4545node[place=state],
4546node[place=region],
4547node[place=county],
4548node[place=city],
4549node[place=town],
4550node[place=suburb],
4551node[place=village],
4552node[place=neighbourhood],
4553node[place=hamlet],
4554node[place=isolated_dwelling],
4555node[place=farm],
4556node[place=island],
4557node[place=islet] {
4558    set icon_z0;
4559    set text_z0;
4560    font-weight: bold;
4561    text-color:black;
4562    text-halo-color: white;
4563    text-halo-radius: 1;
4564    set place;
4565}
4566
4567node[place=continent],
4568node[place=country],
4569node[place=state],
4570node[place=region],
4571node[place=county] {
4572    icon-image: "presets/place/capital.svg";
4573    z-index: 2.9;
4574}
4575node[place=city] {
4576    icon-image: "presets/place/city.svg";
4577    z-index: 2.8;
4578}
4579node[place=town] {
4580    icon-image: "presets/place/town.svg";
4581    z-index: 2.7;
4582}
4583node[place=suburb] {
4584    icon-image: "presets/place/suburb.svg";
4585    z-index: 2.6;
4586}
4587node[place=village] {
4588    icon-image: "presets/place/village.svg";
4589    z-index: 2.5;
4590}
4591node[place=neighbourhood] {
4592    icon-image: "presets/place/neighbourhood.svg";
4593    z-index: 2.4;
4594}
4595node[place=hamlet] {
4596    icon-image: "presets/place/hamlet.svg";
4597    z-index: 2.3;
4598}
4599node[place=isolated_dwelling] {
4600    icon-image: "presets/place/isolated_dwelling.svg";
4601    z-index: 2.2;
4602}
4603node[place=farm] {
4604    icon-image: "presets/place/farm.svg";
4605    z-index: 2.1;
4606}
4607node|z15-[place=locality],
4608node|z-14[place=locality][!setting("hide_icons")] {
4609    icon-image: "presets/place/locality.svg";
4610    font-weight: bold;
4611    text-color:black;
4612    text-halo-color: white;
4613    text-halo-radius: 1;
4614}
4615node[place=island] {
4616    icon-image: "presets/place/island.svg";
4617}
4618node[place=islet] {
4619    icon-image: "presets/place/islet.svg";
4620}
4621
4622/***************************/
4623/* "work in progress" tags */
4624/***************************/
4625
4626node|z16-[fixme]::core_note_fixme,
4627node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4628node|z16-[FIXME]::core_note_fixme,
4629node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4630    object-z-index: 10;
4631    icon-image: "presets/misc/fixme_annotation.svg";
4632}
4633node|z16-[note]::core_note_fixme,
4634node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4635    object-z-index: 10;
4636    icon-image: "presets/misc/note_annotation.svg";
4637}
4638node|z16-[note][fixme]::core_note_fixme,
4639node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4640node|z16-[note][FIXME]::core_note_fixme,
4641node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4642    icon-image: "presets/misc/note_fixme_annotation.svg";
4643}
4644
4645/****************************************/
4646/* zoom levels and general node display */
4647/****************************************/
4648
4649/*
4650Summary of different zoom levels:
4651  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4652  |z-15         untagged way nodes are hidden completely
4653  |z15          place=locality icon
4654  |z16-         fixme=* and note=* symbols; place=locality text
4655  |z17-         normal POI icons (without text),
4656                street name along highway=* ways
4657  |z18-         text for normal POI icons is shown
4658 
4659 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
4660 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4661
4662*/
4663
4664node|z-16[setting("hide_icons")],
4665node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4666node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4667    symbol-size: 2;
4668    symbol-shape: square;
4669    symbol-stroke-color: node_standard#ffff00;
4670    major-z-index: 4.95; /* put node squares above line text */
4671}
4672way > node|z-15[setting("shrink_nodes")]!:tagged {
4673    symbol-shape: none;
4674}
4675node:connection {
4676    symbol-stroke-color: node_connection#ffff00;
4677}
4678node:tagged {
4679    symbol-stroke-color: none;
4680    symbol-fill-color: node_tagged#00ffff;
4681}
4682
4683way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4684
4685node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4686way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4687node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4688
4689node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4690way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4691node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4692
4693node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4694way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4695node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4696
4697node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4698way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4699node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4700
4701node:selected {
4702    symbol-shape: square;
4703    symbol-size: 6;
4704    symbol-fill-color: node_selected#ff0000;
4705    symbol-stroke-color: node_selected#ff0000;
4706}
4707
4708node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4709relation|z-16[type=restriction][setting("hide_icons")] {
4710    icon-image: none;
4711}
4712node|z-17[setting("hide_icons")]!.text_z0 {
4713    text: none;
4714}
4715node|z16-17[setting("hide_icons")][place=locality] {
4716    text: auto;
4717}
4718
4719node|z-18,area|z-18 { font-size: 8; }
4720node|z19,area|z19   { font-size: 9; }
4721node|z20-,area|z20- { font-size: 11; }
4722
4723node.place, way.place, area.place { font-size: 11; }
4724
4725
4726/*******************/
4727/* way text labels */
4728/*******************/
4729
4730way|z17-[highway^=motorway][setting("highway_labels")],
4731way|z17-[highway^=trunk][setting("highway_labels")],
4732way|z17-[highway^=primary][setting("highway_labels")],
4733way|z17-[highway^=secondary][setting("highway_labels")],
4734way|z17-[highway^=tertiary][setting("highway_labels")],
4735way|z17-[highway=unclassified][setting("highway_labels")],
4736way|z17-[highway=residential][setting("highway_labels")],
4737way|z17-[highway=living_street][setting("highway_labels")],
4738way|z17-[highway=escape][setting("highway_labels")],
4739way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4740way|z17-[highway=steps][setting("highway_labels")],
4741way|z17-[highway=footway][setting("highway_labels")],
4742way|z17-[highway=path][setting("highway_labels")],
4743way|z17-[highway=service][setting("highway_labels")],
4744way|z17-[highway=track][setting("highway_labels")],
4745way|z17-[highway=cycleway][setting("highway_labels")],
4746way|z17-[highway=bridleway][setting("highway_labels")],
4747way|z17-[highway=bus_guideway][setting("highway_labels")],
4748way|z17-[highway=raceway][setting("highway_labels")],
4749way|z17-[highway=construction][setting("highway_labels")],
4750way|z17-[highway=road][setting("highway_labels")] {
4751    text: auto;
4752    text-color: black;
4753    font-size: 9;
4754    text-position: line;
4755    text-halo-opacity: 1;
4756    text-halo-radius: 1.5;
4757}
4758way|z17-[highway^=motorway][setting("highway_labels")] {
4759    text-halo-color: motorway#809bc0;
4760}
4761way|z17-[highway^=trunk][setting("highway_labels")] {
4762    text-halo-color: trunk#7fc97f;
4763}
4764way|z17-[highway^=primary][setting("highway_labels")] {
4765    text-halo-color: primary#fb805f;
4766}
4767way|z17-[highway^=secondary][setting("highway_labels")] {
4768    text-halo-color: secondary#fdbf6f;
4769}
4770way|z17-[highway^=tertiary][setting("highway_labels")] {
4771    text-halo-color: tertiary#f7f496;
4772}
4773way|z17-[highway=unclassified][setting("highway_labels")],
4774way|z17-[highway=residential][setting("highway_labels")],
4775way|z17-[highway=living_street][setting("highway_labels")],
4776way|z17-[highway=escape][setting("highway_labels")] {
4777    text-halo-color: street#c0c0c0;
4778}
4779way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4780way|z17-[highway=steps][setting("highway_labels")],
4781way|z17-[highway=footway][setting("highway_labels")],
4782way|z17-[highway=path][setting("highway_labels")] {
4783    text-halo-color: foot#00ff00;
4784}
4785way|z17-[highway=service][setting("highway_labels")] {
4786    text-halo-color: service#809bc0;
4787}
4788way|z17-[highway=track][setting("highway_labels")] {
4789    text-halo-color: highway_track#6e541c;
4790}
4791way|z17-[highway=cycleway][setting("highway_labels")],
4792way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4793    text-halo-color: bicycle#b100ff;
4794}
4795way|z17-[highway=bridleway][setting("highway_labels")] {
4796    text-halo-color: horse#a18559;
4797}
4798way|z17-[highway=bus_guideway][setting("highway_labels")] {
4799    text-halo-color: rail#404040;
4800}
4801way|z17-[highway=raceway][setting("highway_labels")] {
4802    text-halo-color: raceway#ff80ff;
4803}
4804way|z17-[highway=construction][setting("highway_labels")] {
4805    text-halo-color: construction#ffff00;
4806}
4807way|z17-[highway=road][setting("highway_labels")] {
4808    text-halo-color: highway_road#770000;
4809}
4810way|z17-[highway][railway=platform][setting("highway_labels")] {
4811    text-halo-color: rail#404040;
4812}
4813way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4814    text-halo-color: service#809bc0;
4815}
4816way|z18[highway][setting("highway_labels")] {
4817    font-size: 10;
4818}
4819way|z19[highway][setting("highway_labels")] {
4820    font-size: 11;
4821}
4822way|z20-[highway][setting("highway_labels")] {
4823    font-size: 12;
4824}
4825
4826/*************/
4827/* Area fill */
4828/*************/
4829
4830/* small extent for unclosed area (see below for closed) */
4831area[setting("partial_fill")] {
4832    fill-extent: 15;
4833}
4834
4835/* Turn partial fill off and use plain fill, when the partial fill covers about
4836   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4837   Switching between full and partial fill while drawing an area might be irritating,
4838   so only do this at low zoom. */
4839area|z-13[setting("partial_fill")] {
4840    fill-extent-threshold: 1.0;
4841}
4842
4843/* Larger extent for closed areas.
4844   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4845   areas with small unfilled patches in the center. */
4846area[setting("partial_fill")]:closed2 {
4847    fill-extent: 25;
4848    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4849}
4850
Note: See TracBrowser for help on using the repository browser.