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

Last change on this file since 10814 was 10814, checked in by Klumbumbus, 7 years ago

Replace remaining 3 preset png icons by svg; all icons are licensed PD and CC0; sources see #13357

  • 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.svg";
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.svg";
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.svg";
3127    set icon_z17;
3128}
3129node[historic=wayside_cross] {
3130    icon-image: "presets/religion/wayside_cross.svg";
3131    set icon_z17;
3132}
3133node[historic=wayside_shrine] {
3134    icon-image: "presets/religion/wayside_shrine.svg";
3135    set icon_z17;
3136}
3137node[historic=boundary_stone] {
3138    icon-image: "presets/landmark/boundary_stone.svg";
3139    set icon_z17;
3140}
3141
3142/****************/
3143/* landuse tags */
3144/****************/
3145
3146area[landuse],
3147area[leisure],
3148area[amenity],
3149area[place],
3150area[natural],
3151area[man_made] {
3152    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3153}
3154area[landuse=farmland] {
3155    fill-color: farmland#b8e0b1;
3156}
3157area[landuse=meadow] {
3158    fill-color: meadow#b1e0b6;
3159}
3160area[landuse=vineyard],
3161area[landuse=orchard] {
3162    fill-color: green#b1e0c2;
3163}
3164area[landuse=quarry] {
3165    fill-color: quarry#888888;
3166}
3167area[landuse=landfill] {
3168    fill-color: landfill#663300;
3169}
3170area[landuse=basin],
3171area[landuse=reservoir] {
3172    fill-color: basin#0000bf;
3173}
3174area[landuse=forest] {
3175    fill-color: forest#b1efc8;
3176}
3177area[landuse=allotments] {
3178    fill-color: allotments#5dbf80;
3179}
3180area[landuse=greenhouse_horticulture],
3181area[landuse=plant_nursery] {
3182    fill-color: green#b1e0c2;
3183}
3184area[landuse=aquaculture] {
3185    fill-color: aquaculture#189dff;
3186}
3187area[landuse=grass] {
3188    fill-color: grass#97ca96;
3189}
3190area[landuse=residential] {
3191    fill-color: residential#f0f0f0;
3192}
3193area[landuse=garages] {
3194    fill-color: garages#d6c8aa;
3195}
3196area[landuse=farmyard] {
3197    fill-color: farmyard#f0f0f0;
3198}
3199area[landuse=retail],
3200area[landuse=commercial] {
3201    fill-color: retail#ffc4ee;
3202}
3203area[landuse=industrial] {
3204    fill-color: industrial#ecd8ff;
3205}
3206area[landuse=brownfield] {
3207    fill-color: brownfield#ecba32;
3208}
3209area[landuse=greenfield] {
3210    fill-color: greenfield#b1ec5c;
3211}
3212area[landuse=railway] {
3213    fill-color: railland#888888;
3214}
3215area[landuse=construction] {
3216    fill-color: construction#ffff00;
3217}
3218way[landuse=construction] {
3219    width: 1;
3220    color: construction#ffff00;
3221    dashes: 9,9;
3222}
3223area[landuse=military] {
3224    fill-color: military#b62c2c;
3225}
3226area[landuse=religious] {
3227    fill-color: religious#ffd454;
3228}
3229area[landuse=cemetery] {
3230    fill-color: cemetery#b1efc8;
3231}
3232area[landuse=village_green] {
3233    fill-color: green#b1e0c2;
3234}
3235area[landuse=recreation_ground] {
3236    fill-color: green#b1e0c2;
3237}
3238node[landuse] {
3239    icon-image: "presets/misc/deprecated.svg";
3240    set icon_z17;
3241}
3242
3243/*****************/
3244/* military tags */
3245/*****************/
3246
3247area[military=airfield],
3248area[military=bunker],
3249area[military=barracks],
3250area[military=danger_area],
3251area[military=range] {
3252    fill-color: military#b62c2c;
3253}
3254node[military=airfield] {
3255    icon-image: "presets/transport/airport/airfield.svg";
3256    set icon_z17;
3257}
3258node[military=bunker] {
3259    icon-image: "presets/landmark/bunker.svg";
3260    set icon_z17;
3261}
3262node[military=barracks][!is_prop_set(icon-image)] {
3263    icon-image: "presets/misc/no_icon.svg";
3264    set icon_z17;
3265}
3266node[military=danger_area] {
3267    icon-image: "presets/misc/danger.svg";
3268    set icon_z17;
3269}
3270node[military=range] {
3271    icon-image: "presets/sport/range.svg";
3272    set icon_z17;
3273}
3274
3275/****************/
3276/* railway tags */
3277/****************/
3278
3279area[railway=station] {
3280    fill-color: railwaypoint#f7efb7;
3281}
3282node[railway=station] {
3283    icon-image: "presets/transport/railway_station.svg";
3284    set icon_z17;
3285}
3286node[railway=halt] {
3287    icon-image: "presets/transport/railway_halt.svg";
3288    set icon_z17;
3289}
3290node[railway=tram_stop] {
3291    icon-image: "presets/transport/tram.svg";
3292    set icon_z17;
3293}
3294node[railway=subway_entrance] {
3295    icon-image: "presets/transport/underground.svg";
3296    set icon_z17;
3297}
3298node[railway=crossing] {
3299    icon-image: "presets/transport/railway/crossing.svg";
3300    set icon_z17;
3301}
3302node[railway=level_crossing] {
3303    icon-image: "presets/transport/railway/level_crossing.svg";
3304    set icon_z17;
3305}
3306way[railway=rail] {
3307    width: 2;
3308    color: rail#404040;
3309    dashes: 9,9;
3310    dashes-background-color: raildashed#ffffff;
3311}
3312way[railway=rail][service=crossover],
3313way[railway=rail][service=siding] {
3314    width: 1;
3315}
3316way[railway=rail][service=yard],
3317way[railway=rail][service=spur] {
3318    width: 1;
3319    color: railyard#552200;
3320}
3321/* draw tram on top of other way (highway=*) or
3322   as a standalone style */
3323way[highway][railway=tram]::core_railway,
3324way[!highway][railway=tram] {
3325    object-z-index: 1;
3326    modifier: false; /* don't draw default way if there is no line on default layer */
3327    width: 1;
3328    color: railover#202020;
3329    dashes: 9,9;
3330    casing-width: 1;
3331    casing-color: otherrail#808080;
3332    casing-linecap: round;
3333    casing-dashes: 9,9;
3334}
3335way[highway][railway=tram][service=crossover]::core_railway,
3336way[!highway][railway=tram][service=crossover],
3337way[highway][railway=tram][service=siding]::core_railway,
3338way[!highway][railway=tram][service=siding],
3339way[highway][railway=tram][service=yard]::core_railway,
3340way[!highway][railway=tram][service=yard],
3341way[highway][railway=tram][service=spur]::core_railway,
3342way[!highway][railway=tram][service=spur] {
3343    dashes: 6,6;
3344    casing-dashes: 6,6;
3345}
3346
3347way[railway=light_rail] {
3348    width: 2;
3349    color: otherrail#808080;
3350    dashes: 9,9;
3351}
3352way[railway=subway] {
3353    width: 1;
3354    color: subway#606060;
3355    dashes: 9,9;
3356}
3357way[railway=preserved] {
3358    width: 1;
3359    color: oldrail#404040;
3360    dashes: 9,9;
3361}
3362way[railway=light_rail][service=crossover],
3363way[railway=light_rail][service=siding],
3364way[railway=light_rail][service=yard],
3365way[railway=light_rail][service=spur],
3366way[railway=subway][service=crossover],
3367way[railway=subway][service=siding],
3368way[railway=subway][service=yard],
3369way[railway=subway][service=spur],
3370way[railway=preserved][service=crossover],
3371way[railway=preserved][service=siding],
3372way[railway=preserved][service=yard],
3373way[railway=preserved][service=spur] {
3374    dashes: 6,6;
3375}
3376/* disused often appears together with highway=xy */
3377/* -> draw on separate layer with higher z-index, but use */
3378/* modifier: false; to suppress default line when used alone. */
3379/* use default layer when used without highway=* to display bridge correctly */
3380way[railway=disused][highway]::core_railway,
3381way[railway=disused][!highway],
3382way[railway=abandoned][highway]::core_railway,
3383way[railway=abandoned][!highway] {
3384    width: 1;
3385    modifier: false;
3386    z-index: 1;
3387    color: oldrail#404040;
3388    dashes: 9,9;
3389}
3390way[railway=narrow_gauge],
3391way[railway=monorail] {
3392    width: 1;
3393    color: rail#404040;
3394    dashes: 9,9;
3395}
3396way[railway=narrow_gauge][service=crossover],
3397way[railway=narrow_gauge][service=siding],
3398way[railway=narrow_gauge][service=yard],
3399way[railway=narrow_gauge][service=spur],
3400way[railway=monorail][service=crossover],
3401way[railway=monorail][service=siding],
3402way[railway=monorail][service=yard],
3403way[railway=monorail][service=spur] {
3404    dashes: 6,6;
3405}
3406area[railway=turntable] {
3407    fill-color: rail#404040;
3408}
3409node[railway=turntable] {
3410    icon-image: "presets/transport/railway/turntable.svg";
3411    set icon_z17;
3412}
3413node[railway=buffer_stop] {
3414    icon-image: "presets/transport/railway/buffer_stop.svg";
3415    set icon_z17;
3416}
3417area[railway=platform]:closed {
3418    fill-color: rail#404040;
3419}
3420way[railway=platform] {
3421    width: 2;
3422    color: rail#404040;
3423}
3424way[railway=funicular] {
3425    width: 1;
3426    color: rail#404040;
3427    dashes: 9,9;
3428}
3429node[railway=switch] {
3430    icon-image: "presets/transport/railway/switch.svg";
3431    set icon_z17;
3432}
3433node[railway=signal] {
3434    icon-image: "presets/transport/railway/signal.svg";
3435    set icon_z17;
3436}
3437node[railway=milestone] {
3438    icon-image: "presets/transport/railway/milestone.svg";
3439    set icon_z17;
3440}
3441node[railway=rail], node[railway=tram], node[railway=light_rail],
3442node[railway=subway], node[railway=preserved],
3443node[railway=disused], node[railway=abandoned],
3444node[railway=narrow_gauge], node[railway=monorail],
3445node[railway=platform], node[railway=funicular],
3446node[service=yard], node[service=siding], node[service=spur] {
3447    icon-image: "presets/misc/deprecated.svg";
3448    set icon_z17;
3449}
3450way[railway=construction][!highway] {
3451    width: 1;
3452    color: construction#ffff00;
3453    dashes: 9,9;
3454}
3455way[railway=construction][construction=rail] {
3456    width: 2;
3457    color: rail#404040;
3458    dashes: 9,9;
3459    dashes-background-color: construction#ffff00;
3460}
3461way[railway=construction][construction=light_rail] {
3462    width: 2;
3463}
3464way[railway=construction][construction=tram][highway]::core_railway,
3465way[railway=construction][construction=tram][!highway] {
3466    z-index: 1;
3467    width: 1;
3468    color: railover#202020;
3469    dashes: 9,9;
3470    casing-width: 1;
3471    casing-color: construction#ffff00;
3472    casing-linecap: round;
3473    casing-dashes: 9,9;
3474}
3475
3476/****************/
3477/* aeroway tags */
3478/****************/
3479
3480area[aeroway=aerodrome] {
3481    fill-color: aeroway#660000;
3482    width: 2;
3483    dashes: 9,9;
3484}
3485node[aeroway=aerodrome][military!=airfield] {
3486    icon-image: "presets/transport/airport.svg";
3487    set icon_z17;
3488}
3489area[aeroway=terminal] {
3490    fill-color: terminal#bb0000;
3491}
3492node[aeroway=terminal] {
3493    icon-image: "presets/transport/airport/terminal.svg";
3494    set icon_z17;
3495}
3496area[aeroway=helipad] {
3497    fill-color: aeroway_dark#330000;
3498}
3499node[aeroway=helipad] {
3500    icon-image: "presets/transport/airport/helipad.svg";
3501    set icon_z17;
3502}
3503area[aeroway=runway]:closed {
3504    fill-color: aeroway_dark#330000;
3505}
3506way[aeroway=runway] {
3507    width: 3;
3508    color: aeroway_dark#330000;
3509}
3510area[aeroway=taxiway]:closed {
3511    fill-color: aeroway#660000;
3512}
3513way[aeroway=taxiway] {
3514    width: 2;
3515    color: aeroway#660000;
3516}
3517way[aeroway=parking_position] {
3518    width: 1;
3519    color: aeroway#660000;
3520}
3521node[aeroway=parking_position] {
3522    icon-image: "presets/transport/airport/parking_position.svg";
3523    set icon_z17;
3524}
3525area[aeroway=apron],
3526area[aeroway=hangar] {
3527    fill-color: aeroway_light#990000;
3528}
3529node[aeroway=apron],
3530node[aeroway=runway],
3531node[aeroway=taxiway] {
3532    icon-image: "presets/misc/deprecated.svg";
3533    set icon_z17;
3534}
3535node[aeroway=hangar] {
3536    icon-image: "presets/transport/airport/hangar.svg";
3537    set icon_z17;
3538}
3539node[aeroway=gate] {
3540    icon-image: "presets/transport/airport/gate.svg";
3541    set icon_z17;
3542}
3543node[aeroway=windsock] {
3544    icon-image: "presets/transport/airport/windsock.svg";
3545    set icon_z17;
3546}
3547
3548/******************/
3549/* aerialway tags */
3550/******************/
3551
3552way[aerialway=cable_car],
3553way[aerialway=gondola] {
3554    width: 1;
3555    color: aerialway#663300;
3556    dashes: 9,9;
3557}
3558way[aerialway=chair_lift] {
3559    width: 1;
3560    color: aerialway#663300;
3561    dashes: 6,6;
3562}
3563way[aerialway=mixed_lift] {
3564    width: 1;
3565    color: aerialway#663300;
3566    dashes: 6,6,9,6;
3567}
3568way[aerialway=j-bar],
3569way[aerialway=t-bar],
3570way[aerialway=platter],
3571way[aerialway=rope_tow],
3572way[aerialway=drag_lift] {
3573    width: 1;
3574    color: aerialway#663300;
3575    dashes: 3,3;
3576}
3577way[aerialway=magic_carpet] {
3578    width: 1;
3579    color: aerialway#663300;
3580    dashes: 3,3;
3581}
3582way[aerialway=goods] {
3583    width: 1;
3584    color: aerialway#663300;
3585    dashes: 2,2;
3586}
3587area[aerialway=station] {
3588    fill-color: aerialway#663300;
3589}
3590node[aerialway=station] {
3591    icon-image: "presets/transport/aerialway/station.svg";
3592    set icon_z17;
3593}
3594node[aerialway=pylon] {
3595    icon-image: "presets/transport/aerialway/pylon.svg";
3596    set icon_z17;
3597}
3598node[aerialway=cable_car],
3599node[aerialway=gondola],
3600node[aerialway=chair_lift],
3601node[aerialway=mixed_lift],
3602node[aerialway=drag_lift],
3603node[aerialway=t-bar],
3604node[aerialway=j-bar],
3605node[aerialway=platter],
3606node[aerialway=magic_carpet],
3607node[aerialway=rope_tow],
3608node[aerialway=goods] {
3609    icon-image: "presets/misc/deprecated.svg";
3610    set icon_z17;
3611}
3612
3613/*************************/
3614/* public_transport tags */
3615/*************************/
3616
3617node[highway=bus_stop] {
3618    icon-image: "presets/transport/bus_small.svg";
3619    set icon_z17;
3620}
3621node[public_transport=stop_position] {
3622    icon-image: "presets/transport/stop_position.svg";
3623    set icon_z17;
3624}
3625node[public_transport=stop_position][share_taxi=yes] {
3626    icon-image: "presets/transport/share_taxi.svg";
3627    set icon_z17;
3628}
3629node[public_transport=stop_position][bus=yes] {
3630    icon-image: "presets/transport/bus.svg";
3631    set icon_z17;
3632}
3633node[public_transport=stop_position][train=yes] {
3634    icon-image: "presets/transport/train.svg";
3635    set icon_z17;
3636}
3637node[public_transport=stop_position][tram=yes] {
3638    icon-image: "presets/transport/railway/tram.svg";
3639    set icon_z17;
3640}
3641node[public_transport=stop_position][subway=yes] {
3642    icon-image: "presets/transport/railway/subway.svg";
3643    set icon_z17;
3644}
3645node[public_transport=stop_position][monorail=yes] {
3646    icon-image: "presets/transport/railway/monorail.svg";
3647    set icon_z17;
3648}
3649node[public_transport=stop_position][trolleybus=yes] {
3650    icon-image: "presets/transport/trolleybus.svg";
3651    set icon_z17;
3652}
3653node[public_transport=stop_position][funicular=yes] {
3654    icon-image: "presets/transport/railway/funicular.svg";
3655    set icon_z17;
3656}
3657node[public_transport=stop_position][aerialway=yes] {
3658    icon-image: "presets/transport/aerialway/station.svg";
3659    set icon_z17;
3660}
3661node[public_transport=stop_position][ferry=yes] {
3662    icon-image: "presets/nautical/ferry.svg";
3663    set icon_z17;
3664}
3665area[public_transport=platform]:closed {
3666    fill-color: service#809bc0;
3667}
3668way[public_transport=platform]!:closed {
3669    width: 3;
3670    color: service#809bc0;
3671    dashes: 12,3;
3672}
3673node[public_transport=platform] {
3674    icon-image: "presets/transport/platform.svg";
3675    set icon_z17;
3676}
3677area[public_transport=station] {
3678    fill-color: railwaypoint#f7efb7;
3679}
3680node[public_transport=station] {
3681    icon-image: "presets/transport/station.svg";
3682    set icon_z17;
3683}
3684
3685/**************/
3686/* sport tags */
3687/**************/
3688
3689area[sport="9pin"],
3690area[sport="10pin"],
3691area[sport=athletics],
3692area[sport=running],
3693area[sport=soccer],
3694area[sport=australian_football],
3695area[sport=american_football],
3696area[sport=canadian_football],
3697area[sport=gaelic_games],
3698area[sport=rugby_league],
3699area[sport=rugby_union] {
3700    fill-color: sport#bde3cb;
3701}
3702node[sport="9pin"] {
3703    icon-image: "presets/sport/9pin.svg";
3704    set icon_z17;
3705}
3706node[sport="10pin"] {
3707    icon-image: "presets/sport/10pin.svg";
3708    set icon_z17;
3709}
3710node[sport=athletics] {
3711    icon-image: "presets/sport/athletics.svg";
3712    set icon_z17;
3713}
3714node[sport=running] {
3715    icon-image: "presets/sport/running.svg";
3716    set icon_z17;
3717}
3718node[sport=soccer],
3719node[sport=gaelic_games] {
3720    icon-image: "presets/sport/soccer.svg";
3721    set icon_z17;
3722}
3723node[sport=australian_football],
3724node[sport=american_football],
3725node[sport=canadian_football],
3726node[sport=rugby_league],
3727node[sport=rugby_union] {
3728    icon-image: "presets/sport/football.svg";
3729    set icon_z17;
3730}
3731area[sport=baseball],
3732area[sport=basketball],
3733area[sport=boules],
3734area[sport=bowls],
3735area[sport=canoe],
3736area[sport=chess],
3737area[sport=climbing]:closed,
3738area[sport=cricket],
3739area[sport=croquet] {
3740    fill-color: sport#bde3cb;
3741}
3742node[sport=baseball] {
3743    icon-image: "presets/sport/baseball.svg";
3744    set icon_z17;
3745}
3746node[sport=basketball] {
3747    icon-image: "presets/sport/basketball.svg";
3748    set icon_z17;
3749}
3750node[sport=boules] {
3751    icon-image: "presets/sport/boule.svg";
3752    set icon_z17;
3753}
3754node[sport=bowls] {
3755    icon-image: "presets/sport/boule.svg";
3756    set icon_z17;
3757}
3758node[sport=canoe] {
3759    icon-image: "presets/sport/canoe.svg";
3760    set icon_z17;
3761}
3762node[sport=chess] {
3763    icon-image: "presets/sport/chess.svg";
3764    set icon_z17;
3765}
3766node[sport=climbing] {
3767    icon-image: "presets/sport/climbing.svg";
3768    set icon_z17;
3769}
3770node[sport=cricket] {
3771    icon-image: "presets/sport/cricket.svg";
3772    set icon_z17;
3773}
3774node[sport=croquet] {
3775    icon-image: "presets/sport/croquet.svg";
3776    set icon_z17;
3777}
3778area[sport=cycling],
3779area[sport=dog_racing],
3780area[sport=equestrian],
3781area[sport=golf],
3782area[sport=gymnastics],
3783area[sport=field_hockey],
3784area[sport=ice_hockey],
3785area[sport=horse_racing],
3786area[sport=karting][highway!=raceway],
3787area[sport=karting][highway=raceway][area=yes],
3788area[sport=motocross][highway!=raceway],
3789area[sport=motocross][highway=raceway][area=yes],
3790area[sport=motor][highway!=raceway],
3791area[sport=motor][highway=raceway][area=yes] {
3792    fill-color: sport#bde3cb;
3793}
3794node[sport=cycling] {
3795    icon-image: "presets/sport/cycling.svg";
3796    set icon_z17;
3797}
3798node[sport=dog_racing] {
3799    icon-image: "presets/sport/dog_racing.svg";
3800    set icon_z17;
3801}
3802node[sport=equestrian] {
3803    icon-image: "presets/sport/equestrian.svg";
3804    set icon_z17;
3805}
3806node[sport=golf] {
3807    icon-image: "presets/sport/golf.svg";
3808    set icon_z17;
3809}
3810node[sport=gymnastics] {
3811    icon-image: "presets/sport/gymnastics.svg";
3812    set icon_z17;
3813}
3814node[sport=field_hockey] {
3815    icon-image: "presets/sport/field_hockey.svg";
3816    set icon_z17;
3817}
3818node[sport=ice_hockey] {
3819    icon-image: "presets/sport/ice_hockey.svg";
3820    set icon_z17;
3821}
3822node[sport=horse_racing] {
3823    icon-image: "presets/sport/riding.svg";
3824    set icon_z17;
3825}
3826node[sport=karting] {
3827    icon-image: "presets/sport/karting.svg";
3828    set icon_z17;
3829}
3830node[sport=motocross] {
3831    icon-image: "presets/sport/motocross.svg";
3832    set icon_z17;
3833}
3834node[sport=motor] {
3835    icon-image: "presets/sport/motor.svg";
3836    set icon_z17;
3837}
3838area[sport=multi],
3839area[sport=pelota],
3840area[sport=racquet],
3841area[sport=ice_skating],
3842area[sport=roller_skating],
3843area[sport=skateboard] {
3844    fill-color: sport#bde3cb;
3845}
3846node[sport=multi] {
3847    icon-image: "presets/sport/multi.svg";
3848    set icon_z17;
3849}
3850node[sport=pelota] {
3851    icon-image: "presets/sport/pelota.svg";
3852    set icon_z17;
3853}
3854node[sport=racquet] {
3855    icon-image: "presets/sport/racquetball.svg";
3856    set icon_z17;
3857}
3858node[sport=ice_skating] {
3859    icon-image: "presets/sport/ice_skating.svg";
3860    set icon_z17;
3861}
3862node[sport=roller_skating] {
3863    icon-image: "presets/sport/roller_skating.svg";
3864    set icon_z17;
3865}
3866node[sport=skating] {
3867    icon-image: "presets/misc/deprecated.svg";
3868    set icon_z17;
3869}
3870node[sport=skateboard] {
3871    icon-image: "presets/sport/skateboard.svg";
3872    set icon_z17;
3873}
3874area[sport=swimming] {
3875    fill-color: swimming_pool#51c4ef;
3876}
3877node[sport=swimming] {
3878    icon-image: "presets/sport/swimming.svg";
3879    set icon_z17;
3880}
3881area[sport=table_tennis],
3882area[sport=tennis],
3883area[sport=paintball] {
3884    fill-color: sport#bde3cb;
3885}
3886node[sport=table_tennis] {
3887    icon-image: "presets/sport/table_tennis.svg";
3888    set icon_z17;
3889}
3890node[sport=tennis] {
3891    icon-image: "presets/sport/tennis.svg";
3892    set icon_z17;
3893}
3894node[sport=paintball][!is_prop_set(icon-image)] {
3895    icon-image: "presets/misc/no_icon.svg";
3896    set icon_z17;
3897}
3898area[sport=squash],
3899area[sport=shooting],
3900area[sport=volleyball],
3901area[sport=beachvolleyball],
3902area[sport=billiards],
3903area[sport=bowling],
3904area[sport=handball],
3905area[sport=rowing],
3906area[sport=sailing],
3907area[sport=scuba_diving],
3908area[sport=badminton] {
3909    fill-color: sport#bde3cb;
3910}
3911node[sport=squash][!is_prop_set(icon-image)] {
3912    icon-image: "presets/misc/no_icon.svg";
3913    set icon_z17;
3914}
3915node[sport=shooting] {
3916    icon-image: "presets/sport/range.svg";
3917    set icon_z17;
3918}
3919node[sport=volleyball] {
3920    icon-image: "presets/sport/volleyball.svg";
3921    set icon_z17;
3922}
3923node[sport=beachvolleyball] {
3924    icon-image: "presets/sport/beachvolleyball.svg";
3925    set icon_z17;
3926}
3927node[sport=billiards] {
3928    icon-image: "presets/sport/billiards.svg";
3929    set icon_z17;
3930}
3931node[sport=bowling] {
3932    icon-image: "presets/sport/9pin.svg";
3933    set icon_z17;
3934}
3935node[sport=handball] {
3936    icon-image: "presets/sport/handball.svg";
3937    set icon_z17;
3938}
3939node[sport=rowing] {
3940    icon-image: "presets/sport/rowing.svg";
3941    set icon_z17;
3942}
3943node[sport=sailing][!is_prop_set(icon-image)] {
3944    icon-image: "presets/misc/no_icon.svg";
3945    set icon_z17;
3946}
3947node[sport=scuba_diving] {
3948    icon-image: "presets/sport/scuba_diving.svg";
3949    set icon_z17;
3950}
3951node[sport=badminton][!is_prop_set(icon-image)] {
3952    icon-image: "presets/misc/no_icon.svg";
3953    set icon_z17;
3954}
3955area[sport=archery],
3956area[sport=fishing],
3957area[sport=model_aerodrome],
3958area[sport=rc_car] {
3959    fill-color: sport#bde3cb;
3960}
3961node[sport=archery] {
3962    icon-image: "presets/sport/archery.svg";
3963    set icon_z17;
3964}
3965node[sport=fishing] {
3966    icon-image: "presets/sport/fishing.svg";
3967    set icon_z17;
3968}
3969node[sport=model_aerodrome] {
3970    icon-image: "presets/transport/airport.svg";
3971    set icon_z17;
3972}
3973node[sport=rc_car] {
3974    icon-image: "presets/sport/rc_car.svg";
3975    set icon_z17;
3976}
3977
3978/****************/
3979/* natural tags */
3980/****************/
3981
3982area[natural=spring] {
3983    fill-color: light_water#00005f;
3984}
3985node[natural=spring] {
3986    icon-image: "presets/landmark/spring.svg";
3987    set icon_z17;
3988}
3989node[natural=saddle] {
3990    icon-image: "presets/landmark/saddle.svg";
3991    set icon_z0;
3992    set text_z0;
3993}
3994node[natural=peak] {
3995    icon-image: "presets/landmark/peak.svg";
3996    set icon_z0;
3997    set text_z0;
3998}
3999node[natural=peak][tourism=viewpoint] {
4000    icon-image: "presets/sightseeing/peak_viewpoint.svg";
4001    set icon_z0;
4002    set text_z0;
4003}
4004area[natural=glacier] {
4005    fill-color: glacier#ffffff;
4006}
4007node[natural=volcano] {
4008    icon-image: "presets/landmark/volcano.svg";
4009    set icon_z0;
4010    set text_z0;
4011}
4012area[natural=cliff]:closed {
4013    fill-color: natural#002f00;
4014}
4015way[natural=cliff] {
4016    repeat-image: "presets/misc/cliff_pattern.svg";
4017    repeat-image-align: top;
4018    width: 1;
4019    color: #b2b2b2;
4020}
4021node[natural=cliff] {
4022    icon-image: "presets/misc/cliff.svg";
4023    set icon_z17;
4024}
4025way[natural=ridge] {
4026    width: 1;
4027    color: natural#002f00;
4028}
4029way[natural=valley] {
4030    width: 1;
4031    color: natural#002f00;
4032}
4033area[natural=scree] {
4034    fill-color: natural#002f00;
4035}
4036area[natural=scrub] {
4037    fill-color: scrub#007000;
4038}
4039area[natural=fell] {
4040    fill-color: natural#002f00;
4041}
4042area[natural=heath] {
4043    fill-color: heath#ffffc0;
4044}
4045way[natural=tree_row] {
4046    width: 2;
4047    color: woodarea#008000;
4048}
4049area[natural=wood] {
4050    fill-color: woodarea#008000;
4051}
4052area[natural=grassland] {
4053    fill-color: green#b1e0c2;
4054}
4055area[natural=wetland] {
4056    fill-color: marsh#4f4ff3;
4057}
4058area[natural=water] {
4059    fill-color: water#0000ff;
4060}
4061area[natural=water][intermittent=yes] {
4062    width: 2;
4063    dashes: 15, 5;
4064}
4065way[natural=coastline] {
4066    width: 2;
4067    color: water#0000ff;
4068    right-casing-color: water#0000ff;
4069    right-casing-width: 5;
4070    right-casing-opacity: 0.30;
4071}
4072area[natural=mud] {
4073    fill-color: mud#cba762;
4074}
4075area[natural=beach] {
4076    fill-color: beach#f8dba2;
4077}
4078area[natural=sand] {
4079    fill-color: sand#f8dba2;
4080}
4081area[natural=bare_rock] {
4082    fill-color: bare_rock#f8f8c7;
4083}
4084area[natural=rock] {
4085    fill-color: stone#f8f8c7;
4086}
4087node[natural=rock] {
4088    icon-image: "presets/misc/rock.svg";
4089    set icon_z17;
4090}
4091area[natural=stone] {
4092    fill-color: stone#f8f8c7;
4093}
4094node[natural=stone] {
4095    icon-image: "presets/misc/stone.svg";
4096    set icon_z17;
4097}
4098area[natural=bay],
4099area[natural=cave_entrance] {
4100    fill-color: natural#002f00;
4101}
4102node[natural=bay] {
4103    icon-image: "presets/nautical/bay.svg";
4104    set icon_z17;
4105}
4106area[natural=reef] {
4107    fill-color: reef#80c9ff;
4108}
4109node[natural=reef] {
4110    icon-image: "presets/landmark/reef.svg";
4111    set icon_z17;
4112}
4113node[natural=cave_entrance] {
4114    icon-image: "presets/landmark/cave_entrance.svg";
4115    set icon_z17;
4116}
4117node[natural=tree] {
4118    icon-image: "presets/landmark/trees.svg";
4119    set icon_z17;
4120}
4121node[natural=tree][type=conifer],
4122node[natural=tree][leaf_type=needleleaved] {
4123    icon-image: "presets/landmark/trees_conifer.svg";
4124    set icon_z17;
4125}
4126node[natural=tree][type=broad_leaved],
4127node[natural=tree][leaf_type=broadleaved] {
4128    icon-image: "presets/landmark/trees_broad_leaved.svg";
4129    set icon_z17;
4130}
4131node[natural=glacier],
4132node[natural=scree],
4133node[natural=scrub],
4134node[natural=fell],
4135node[natural=heath],
4136node[natural=tree_row],
4137node[natural=wood],
4138node[natural=grassland],
4139node[natural=wetland],
4140node[natural=water],
4141node[natural=coastline],
4142node[natural=mud],
4143node[natural=beach],
4144node[natural=sand],
4145node[natural=land],
4146node[natural=bare_rock],
4147node[natural=ridge],
4148node[natural=valley] {
4149    icon-image: "presets/misc/deprecated.svg";
4150    set icon_z17;
4151}
4152/*****************/
4153/* waterway tags */
4154/*****************/
4155
4156way[waterway=river] {
4157    width: 2;
4158    color: water#0000ff;
4159}
4160area[waterway=riverbank] {
4161    fill-color: riverbank#0000cf;
4162    width: 1;
4163    color: riverbank#0000cf;
4164}
4165way[waterway=canal] {
4166    width: 2;
4167    color: water#0000ff;
4168}
4169way[waterway=stream] {
4170    width: 1;
4171    color: stream#6600cc;
4172}
4173way[waterway=ditch],
4174way[waterway=drain] {
4175    width: 1;
4176    color: water#0000ff;
4177}
4178way[waterway=river][intermittent=yes],
4179area[waterway=riverbank][intermittent=yes],
4180way[waterway=canal][intermittent=yes],
4181way[waterway=stream][intermittent=yes],
4182way[waterway=ditch][intermittent=yes],
4183way[waterway=drain][intermittent=yes] {
4184    dashes: 15, 5;
4185}
4186area[waterway=dock] {
4187    fill-color: dock#0000cf;
4188}
4189node[waterway=dock] {
4190    icon-image: "presets/nautical/boatyard.svg";
4191    set icon_z17;
4192}
4193node[waterway=lock_gate] {
4194    icon-image: "presets/nautical/lock_gate.svg";
4195    set icon_z17;
4196}
4197node[waterway=turning_point] {
4198    icon-image: "presets/nautical/turning.svg";
4199    set icon_z17;
4200}
4201area[waterway=boatyard] {
4202    fill-color: manmade#d8d8d8;
4203}
4204node[waterway=boatyard] {
4205    icon-image: "presets/nautical/boatyard.svg";
4206    set icon_z17;
4207}
4208node[waterway=water_point],
4209node[waterway=waste_disposal],
4210node[waterway=mooring] {
4211    icon-image: "presets/misc/deprecated.svg";
4212    set icon_z17;
4213}
4214node[mooring] {
4215    icon-image: "presets/nautical/marina.svg";
4216    set icon_z17;
4217}
4218area[waterway=fuel] {
4219    fill-color: amenity_traffic#f7efb7;
4220}
4221node[waterway=fuel] {
4222    icon-image: "presets/nautical/marine_fuel.svg";
4223    set icon_z17;
4224}
4225way[waterway=weir] {
4226    width: 2;
4227    color: manmade#d8d8d8;
4228}
4229node[waterway=weir] {
4230    icon-image: "presets/nautical/weir.svg";
4231    set icon_z17;
4232}
4233area[waterway=dam]:closed {
4234    fill-color: manmade#d8d8d8;
4235}
4236way[waterway=dam] {
4237    width: 2;
4238    color: manmade#d8d8d8;
4239}
4240node[waterway=dam] {
4241    icon-image: "presets/nautical/dam.svg";
4242    set icon_z17;
4243}
4244/* it's not possible to have both line and area, line seems more likely */
4245way[waterway=waterfall] {
4246    width: 2;
4247    color: manmade#d8d8d8;
4248}
4249node[waterway=waterfall] {
4250    icon-image: "presets/nautical/waterfall.svg";
4251    set icon_z17;
4252}
4253node[waterway=river], node[waterway=riverbank],
4254node[waterway=canal], node[waterway=wadi],
4255node[waterway=stream],
4256node[waterway=ditch], node[waterway=drain] {
4257    icon-image: "presets/misc/deprecated.svg";
4258    set icon_z17;
4259}
4260
4261/**************/
4262/* route tags */
4263/**************/
4264
4265way[route=ferry] {
4266    width: 1;
4267    color: ferry#809bc0;
4268    dashes: 9,9;
4269}
4270node[route=bus],
4271node[route=ferry],
4272node[route=flight],
4273node[route=ncn],
4274node[route=subsea],
4275node[route=ski],
4276node[route=tour],
4277node[route=pub_crawl] {
4278    icon-image: "presets/misc/deprecated.svg";
4279    set icon_z17;
4280}
4281
4282/*******************/
4283/* properties tags */
4284/*******************/
4285
4286node[mountain_pass?] {
4287    icon-image: "presets/landmark/mountain_pass.svg";
4288    set icon_z0;
4289    set text_z0;
4290}
4291
4292/*****************/
4293/* boundary tags */
4294/*****************/
4295
4296way[boundary=protected_area]::core_boundary,
4297way[boundary=administrative]::core_boundary,
4298way[boundary=postal_code]::core_boundary,
4299way[boundary=political]::core_boundary,
4300way[boundary=maritime]::core_boundary,
4301way[boundary=national_park]::core_boundary {
4302    z-index: 2;
4303    modifier: false;
4304    width: 1;
4305    color: boundary#FF6600;
4306    dashes: 9,9;
4307}
4308way[admin_level=9]::core_boundary,
4309relation[admin_level=9] > way::core_boundary,
4310way[admin_level=10]::core_boundary,
4311relation[admin_level=10] > way::core_boundary {
4312    z-index: 2;
4313    modifier: false;
4314    width: 1;
4315    color: boundary#FF6600;
4316    dashes: 9,9;
4317}
4318way[admin_level=7]::core_boundary,
4319relation[admin_level=7] > way::core_boundary,
4320way[admin_level=8]::core_boundary,
4321relation[admin_level=8] > way::core_boundary {
4322    z-index: 2;
4323    modifier: false;
4324    width: 2;
4325    color: boundary#FF6600;
4326    dashes: 9,9;
4327}
4328way[admin_level=5]::core_boundary,
4329relation[admin_level=5] > way::core_boundary,
4330way[admin_level=6]::core_boundary,
4331relation[admin_level=6] > way::core_boundary {
4332    z-index: 2;
4333    modifier: false;
4334    width: 3;
4335    color: boundary#FF6600;
4336    dashes: 9,9;
4337}
4338way[admin_level=3]::core_boundary,
4339relation[admin_level=3] > way::core_boundary,
4340way[admin_level=4]::core_boundary,
4341relation[admin_level=4] > way::core_boundary {
4342    z-index: 2;
4343    modifier: false;
4344    width: 4;
4345    color: boundary#FF6600;
4346    dashes: 9,9;
4347}
4348way[admin_level=1]::core_boundary,
4349relation[admin_level=1] > way::core_boundary,
4350way[admin_level=2]::core_boundary,
4351relation[admin_level=2] > way::core_boundary {
4352    z-index: 2;
4353    modifier: false;
4354    width: 5;
4355    color: boundary#FF6600;
4356    dashes: 9,9;
4357}
4358node[boundary=national],
4359node[boundary=administrative],
4360node[boundary=postal_code],
4361node[boundary=political],
4362node[boundary=national_park] {
4363    icon-image: "presets/misc/deprecated.svg";
4364    set icon_z17;
4365}
4366
4367/******************/
4368/* maxspeed nodes */
4369/******************/
4370node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4371    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
4372    set icon_z17;
4373}
4374node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4375    maxspeedprop: tag(maxspeed);
4376    set maxspeedclass;
4377}
4378node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4379    maxspeedprop: " ?";
4380    set maxspeedclass;
4381}
4382node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4383    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4384    set maxspeedclass;
4385}
4386node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4387    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4388    set maxspeedclass;
4389}
4390node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4391    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4392    set maxspeedclass;
4393}
4394node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4395    /* background (white) */
4396    symbol-shape: circle;
4397    symbol-size: 17;
4398    symbol-fill-color: white;
4399    major-z-index: 4.2;
4400}
4401node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4402node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4403    /* background (black) */
4404    symbol-fill-color: black;
4405}
4406node[prop(maxspeedclass, default)]::core_maxnodefg {
4407    /* foreground (black text and red circle) */
4408    symbol-shape: circle;
4409    symbol-size: 15;
4410    symbol-stroke-color: crimson;
4411    symbol-stroke-width: 2;
4412    text: prop(maxspeedprop, default);
4413    font-size: 8;
4414    font-weight: bold;
4415    text-color: black;
4416    text-anchor-horizontal: center;
4417    text-anchor-vertical: center;
4418    text-offset-x: 0;
4419    text-offset-y: -1;
4420    major-z-index: 4.2;
4421}
4422node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4423node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4424    /* foreground (white text) */
4425    text-color: white;
4426}
4427node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4428    symbol-shape: none;
4429}
4430node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4431    text: none;
4432    symbol-shape: none;
4433}
4434
4435/**************/
4436/* place tags */
4437/**************/
4438
4439area[setting("place_fill_colour")][place=continent],
4440area[setting("place_fill_colour")][place=country],
4441area[setting("place_fill_colour")][place=state],
4442area[setting("place_fill_colour")][place=region],
4443area[setting("place_fill_colour")][place=county],
4444area[setting("place_fill_colour")][place=city],
4445area[setting("place_fill_colour")][place=town],
4446area[setting("place_fill_colour")][place=village],
4447area[setting("place_fill_colour")][place=hamlet],
4448area[setting("place_fill_colour")][place=farm],
4449area[setting("place_fill_colour")][place=isolated_dwelling],
4450area[setting("place_fill_colour")][place=neighbourhood],
4451area[setting("place_fill_colour")][place=suburb],
4452area[setting("place_fill_colour")][place=locality],
4453area[setting("place_fill_colour")][place=island],
4454area[setting("place_fill_colour")][place=islet] {
4455    fill-color: place#8de3cb;
4456    set place;
4457}
4458node[place=continent],
4459node[place=country],
4460node[place=state],
4461node[place=region],
4462node[place=county],
4463node[place=city],
4464node[place=town],
4465node[place=suburb],
4466node[place=village],
4467node[place=neighbourhood],
4468node[place=hamlet],
4469node[place=isolated_dwelling],
4470node[place=farm],
4471node[place=island],
4472node[place=islet] {
4473    set icon_z0;
4474    set text_z0;
4475    font-weight: bold;
4476    text-color:black;
4477    text-halo-color: white;
4478    text-halo-radius: 1;
4479    set place;
4480}
4481
4482node[place=continent],
4483node[place=country],
4484node[place=state],
4485node[place=region],
4486node[place=county] {
4487    icon-image: "presets/place/capital.svg";
4488    z-index: 2.9;
4489}
4490node[place=city] {
4491    icon-image: "presets/place/city.svg";
4492    z-index: 2.8;
4493}
4494node[place=town] {
4495    icon-image: "presets/place/town.svg";
4496    z-index: 2.7;
4497}
4498node[place=suburb] {
4499    icon-image: "presets/place/suburb.svg";
4500    z-index: 2.6;
4501}
4502node[place=village] {
4503    icon-image: "presets/place/village.svg";
4504    z-index: 2.5;
4505}
4506node[place=neighbourhood] {
4507    icon-image: "presets/place/neighbourhood.svg";
4508    z-index: 2.4;
4509}
4510node[place=hamlet] {
4511    icon-image: "presets/place/hamlet.svg";
4512    z-index: 2.3;
4513}
4514node[place=isolated_dwelling] {
4515    icon-image: "presets/place/isolated_dwelling.svg";
4516    z-index: 2.2;
4517}
4518node[place=farm] {
4519    icon-image: "presets/place/farm.svg";
4520    z-index: 2.1;
4521}
4522node|z15-[place=locality],
4523node|z-14[place=locality][!setting("hide_icons")] {
4524    icon-image: "presets/place/locality.svg";
4525    font-weight: bold;
4526    text-color:black;
4527    text-halo-color: white;
4528    text-halo-radius: 1;
4529}
4530node[place=island] {
4531    icon-image: "presets/place/island.svg";
4532}
4533node[place=islet] {
4534    icon-image: "presets/place/islet.svg";
4535}
4536
4537/***************************/
4538/* "work in progress" tags */
4539/***************************/
4540
4541node|z16-[fixme]::core_note_fixme,
4542node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4543node|z16-[FIXME]::core_note_fixme,
4544node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4545    object-z-index: 10;
4546    icon-image: "presets/misc/fixme_annotation.svg";
4547}
4548node|z16-[note]::core_note_fixme,
4549node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4550    object-z-index: 10;
4551    icon-image: "presets/misc/note_annotation.svg";
4552}
4553node|z16-[note][fixme]::core_note_fixme,
4554node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4555node|z16-[note][FIXME]::core_note_fixme,
4556node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4557    icon-image: "presets/misc/note_fixme_annotation.svg";
4558}
4559
4560/* special display of unreviewed tiger data (USA) */
4561way["tiger:reviewed"=no]::core_tiger {
4562    major-z-index: -10;
4563    width: 11;
4564    color: tiger_data#808000;
4565    opacity: 0.6;
4566}
4567
4568/****************************************/
4569/* zoom levels and general node display */
4570/****************************************/
4571
4572/*
4573Summary of different zoom levels:
4574  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
4575  |z-15         untagged way nodes are hidden completely
4576  |z15          place=locality icon
4577  |z16-         fixme=* and note=* symbols; place=locality text
4578  |z17-         normal POI icons (without text),
4579                street name along highway=* ways
4580  |z18-         text for normal POI icons is shown
4581 
4582 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
4583 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4584
4585*/
4586
4587node|z-16[setting("hide_icons")],
4588node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4589node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4590    symbol-size: 2;
4591    symbol-shape: square;
4592    symbol-stroke-color: node_standard#ffff00;
4593    major-z-index: 4.95; /* put node squares above line text */
4594}
4595way > node|z-15[setting("shrink_nodes")]!:tagged {
4596    symbol-shape: none;
4597}
4598node:connection {
4599    symbol-stroke-color: node_connection#ffff00;
4600}
4601node:tagged {
4602    symbol-stroke-color: none;
4603    symbol-fill-color: node_tagged#00ffff;
4604}
4605
4606way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4607
4608node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4609way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4610node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4611
4612node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4613way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4614node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4615
4616node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4617way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4618node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4619
4620node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4621way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4622node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4623
4624node:selected {
4625    symbol-shape: square;
4626    symbol-size: 6;
4627    symbol-fill-color: node_selected#ff0000;
4628    symbol-stroke-color: node_selected#ff0000;
4629}
4630
4631node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4632relation|z-16[type=restriction][setting("hide_icons")] {
4633    icon-image: none;
4634}
4635node|z-17[setting("hide_icons")]!.text_z0 {
4636    text: none;
4637}
4638node|z16-17[setting("hide_icons")][place=locality] {
4639    text: auto;
4640}
4641
4642node|z-18,area|z-18 { font-size: 8; }
4643node|z19,area|z19   { font-size: 9; }
4644node|z20-,area|z20- { font-size: 11; }
4645
4646node.place, way.place, area.place { font-size: 11; }
4647
4648
4649/*******************/
4650/* way text labels */
4651/*******************/
4652
4653way|z17-[highway^=motorway][setting("highway_labels")],
4654way|z17-[highway^=trunk][setting("highway_labels")],
4655way|z17-[highway^=primary][setting("highway_labels")],
4656way|z17-[highway^=secondary][setting("highway_labels")],
4657way|z17-[highway^=tertiary][setting("highway_labels")],
4658way|z17-[highway=unclassified][setting("highway_labels")],
4659way|z17-[highway=residential][setting("highway_labels")],
4660way|z17-[highway=living_street][setting("highway_labels")],
4661way|z17-[highway=escape][setting("highway_labels")],
4662way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4663way|z17-[highway=steps][setting("highway_labels")],
4664way|z17-[highway=footway][setting("highway_labels")],
4665way|z17-[highway=path][setting("highway_labels")],
4666way|z17-[highway=service][setting("highway_labels")],
4667way|z17-[highway=track][setting("highway_labels")],
4668way|z17-[highway=cycleway][setting("highway_labels")],
4669way|z17-[highway=bridleway][setting("highway_labels")],
4670way|z17-[highway=bus_guideway][setting("highway_labels")],
4671way|z17-[highway=raceway][setting("highway_labels")],
4672way|z17-[highway=construction][setting("highway_labels")],
4673way|z17-[highway=road][setting("highway_labels")] {
4674    text: auto;
4675    text-color: black;
4676    font-size: 9;
4677    text-position: line;
4678    text-halo-opacity: 1;
4679    text-halo-radius: 1.5;
4680}
4681way|z17-[highway^=motorway][setting("highway_labels")] {
4682    text-halo-color: motorway#809bc0;
4683}
4684way|z17-[highway^=trunk][setting("highway_labels")] {
4685    text-halo-color: trunk#7fc97f;
4686}
4687way|z17-[highway^=primary][setting("highway_labels")] {
4688    text-halo-color: primary#fb805f;
4689}
4690way|z17-[highway^=secondary][setting("highway_labels")] {
4691    text-halo-color: secondary#fdbf6f;
4692}
4693way|z17-[highway^=tertiary][setting("highway_labels")] {
4694    text-halo-color: tertiary#f7f496;
4695}
4696way|z17-[highway=unclassified][setting("highway_labels")],
4697way|z17-[highway=residential][setting("highway_labels")],
4698way|z17-[highway=living_street][setting("highway_labels")],
4699way|z17-[highway=escape][setting("highway_labels")] {
4700    text-halo-color: street#c0c0c0;
4701}
4702way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4703way|z17-[highway=steps][setting("highway_labels")],
4704way|z17-[highway=footway][setting("highway_labels")],
4705way|z17-[highway=path][setting("highway_labels")] {
4706    text-halo-color: foot#00ff00;
4707}
4708way|z17-[highway=service][setting("highway_labels")] {
4709    text-halo-color: service#809bc0;
4710}
4711way|z17-[highway=track][setting("highway_labels")] {
4712    text-halo-color: highway_track#6e541c;
4713}
4714way|z17-[highway=cycleway][setting("highway_labels")],
4715way|z17-[highway=path][setting("highway_labels")].cyclecolor {
4716    text-halo-color: bicycle#b100ff;
4717}
4718way|z17-[highway=bridleway][setting("highway_labels")] {
4719    text-halo-color: horse#a18559;
4720}
4721way|z17-[highway=bus_guideway][setting("highway_labels")] {
4722    text-halo-color: rail#404040;
4723}
4724way|z17-[highway=raceway][setting("highway_labels")] {
4725    text-halo-color: raceway#ff80ff;
4726}
4727way|z17-[highway=construction][setting("highway_labels")] {
4728    text-halo-color: construction#ffff00;
4729}
4730way|z17-[highway=road][setting("highway_labels")] {
4731    text-halo-color: highway_road#770000;
4732}
4733way|z17-[highway][railway=platform][setting("highway_labels")] {
4734    text-halo-color: rail#404040;
4735}
4736way|z17-[highway][public_transport=platform][setting("highway_labels")] {
4737    text-halo-color: service#809bc0;
4738}
4739way|z18[highway][setting("highway_labels")] {
4740    font-size: 10;
4741}
4742way|z19[highway][setting("highway_labels")] {
4743    font-size: 11;
4744}
4745way|z20-[highway][setting("highway_labels")] {
4746    font-size: 12;
4747}
4748
4749/*************/
4750/* Area fill */
4751/*************/
4752
4753/* small extent for unclosed area (see below for closed) */
4754area[setting("partial_fill")] {
4755    fill-extent: 15;
4756}
4757
4758/* Turn partial fill off and use plain fill, when the partial fill covers about
4759   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
4760   Switching between full and partial fill while drawing an area might be irritating,
4761   so only do this at low zoom. */
4762area|z-13[setting("partial_fill")] {
4763    fill-extent-threshold: 1.0;
4764}
4765
4766/* Larger extent for closed areas.
4767   Turn partial fill off, when it covers more than about 50% of the area. This avoids
4768   areas with small unfilled patches in the center. */
4769area[setting("partial_fill")]:closed2 {
4770    fill-extent: 25;
4771    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
4772}
4773
Note: See TracBrowser for help on using the repository browser.