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

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

see #13217, see #13204 - fix two icons

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