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

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

see #13357 - fix icon and icon paths

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