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

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

fix #10566 - add shop=pastry to preset and mappaint style, icon from https://openclipart.org/detail/217049/slice-of-cake (modified, CC0 and PD licensed); rename Candy Store to Confectionery

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