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

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

see #12227 - add craft=* to preset and mappaint style, warn about craft=yes; fix office area style (see #12035); add traffic_sign to validator ignore list

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