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

Last change on this file since 11583 was 11583, checked in by Klumbumbus, 2 years ago

fix #14376 - update vending values: remove public_transport_plans, add coffee, deprecate photos and photo in favor of amenity=vending_booth, add it to presets and mappaint style, new icon self created, CC0 and PD licensed

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