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

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

fix #13316 - add landuse=aquaculture to preset and mappaint style, icon self created (CC0 and PD licensed); deprecate type=palm; remove old validator rule for deprecated amenity=swimming_pool

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