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

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

see #13217 - remove duplicate icon; ignore historic=charcoal_pile 15k uses, but only local usage on 2 spots in the world

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