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

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

fix #13515 - add building=ruins and natural=shingle to preset and mappaint style; new isons for shingle and scree self created CC0 and PD licensed

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