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

Last change on this file since 9654 was 9654, checked in by Klumbumbus, 8 years ago

see #12240 - add golf=driving_range icon, icon see [o32029]

  • Property svn:eol-style set to native
File size: 115.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
1628node[office=accountant],
1629node[office=administrative],
1630node[office=advertising_agency],
1631node[office=architect],
1632node[office=association],
1633node[office=company],
1634node[office=educational_institution],
1635node[office=employment_agency],
1636node[office=estate_agent],
1637node[office=foundation],
1638node[office=government],
1639node[office=insurance],
1640node[office=it],
1641node[office=lawyer],
1642node[office=newspaper],
1643node[office=ngo],
1644node[office=notary],
1645node[office=political_party],
1646node[office=religion],
1647node[office=research],
1648node[office=tax_advisor],
1649node[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=painter],
3210area[craft=plumber],
3211area[craft=pottery],
3212area[craft=stonemason],
3213area[craft=tiler],
3214area[craft=window_construction] {
3215    fill-color: craft#999900;
3216}
3217node[craft=painter] {
3218    icon-image: "craft/painter.png";
3219    set icon_z17;
3220    text: auto;
3221}
3222node[craft=plumber] {
3223    icon-image: "craft/plumber.png";
3224    set icon_z17;
3225    text: auto;
3226}
3227node[craft=pottery] {
3228    icon-image: "craft/pottery.png";
3229    set icon_z17;
3230    text: auto;
3231}
3232node[craft=stonemason] {
3233    icon-image: "craft/stonemason.png";
3234    set icon_z17;
3235    text: auto;
3236}
3237node[craft=tiler] {
3238    icon-image: "craft/tiler.png";
3239    set icon_z17;
3240    text: auto;
3241}
3242node[craft=window_construction] {
3243    icon-image: "craft/window_construction.png";
3244    set icon_z17;
3245    text: auto;
3246}
3247
3248/****************/
3249/* tourism tags */
3250/****************/
3251
3252area[tourism=hotel],
3253area[tourism=motel],
3254area[tourism=guest_house],
3255area[tourism=hostel],
3256area[tourism=chalet],
3257area[tourism=alpine_hut],
3258area[tourism=wilderness_hut],
3259area[tourism=camp_site],
3260area[tourism=caravan_site] {
3261    fill-color: hotel#feced0;
3262}
3263node[tourism=hotel] {
3264    icon-image: "accommodation/hotel.svg";
3265    set icon_z17;
3266    text: auto;
3267}
3268node[tourism=motel] {
3269    icon-image: "accommodation/motel.svg";
3270    set icon_z17;
3271    text: auto;
3272}
3273node[tourism=guest_house] {
3274    icon-image: "accommodation/guest_house.png";
3275    set icon_z17;
3276    text: auto;
3277}
3278node[tourism=hostel] {
3279    icon-image: "accommodation/hostel.svg";
3280    set icon_z17;
3281    text: auto;
3282}
3283node[tourism=chalet] {
3284    icon-image: "accommodation/chalet.png";
3285    set icon_z17;
3286    text: auto;
3287}
3288node[tourism=alpine_hut] {
3289    icon-image: "accommodation/alpine_hut_blue.png";
3290    set icon_z17;
3291    text: auto;
3292}
3293node[tourism=wilderness_hut] {
3294    icon-image: "accommodation/wilderness_hut_blue.png";
3295    set icon_z17;
3296    text: auto;
3297}
3298node[tourism=camp_site] {
3299    icon-image: "accommodation/camping.png";
3300    set icon_z17;
3301    text: auto;
3302}
3303node[tourism=caravan_site] {
3304    icon-image: "accommodation/camping/caravan.png";
3305    set icon_z17;
3306    text: auto;
3307}
3308area[tourism=picnic_site],
3309area[tourism=viewpoint],
3310area[tourism=theme_park],
3311area[tourism=attraction],
3312area[tourism=zoo],
3313area[tourism=museum] {
3314    fill-color: tourism#e180a2;
3315}
3316node[tourism=picnic_site] {
3317    icon-image: "leisure/picnic.png";
3318    set icon_z17;
3319    text: auto;
3320}
3321node[tourism=viewpoint] {
3322    icon-image: "sightseeing/viewpoint.png";
3323    set icon_z17;
3324    text: auto;
3325}
3326node[tourism=theme_park] {
3327    icon-image: "leisure/theme_park.png";
3328    set icon_z17;
3329    text: auto;
3330}
3331node[tourism=attraction] {
3332    icon-image: "sightseeing.png";
3333    set icon_z17;
3334    text: auto;
3335}
3336node[tourism=zoo] {
3337    icon-image: "leisure/zoo.png";
3338    set icon_z17;
3339    text: auto;
3340}
3341area[tourism=artwork]:closed {
3342    fill-color: tourism#e180a2;
3343}
3344way[tourism=artwork] {
3345    width: 2;
3346    color: tourism#e180a2;
3347}
3348node[tourism=artwork] {
3349    icon-image: "service/arts_centre.png";
3350    set icon_z17;
3351    text: auto;
3352}
3353node[tourism=museum] {
3354    icon-image: "sightseeing/museum.svg";
3355    set icon_z17;
3356    text: auto;
3357}
3358
3359/********************/
3360/* information tags */
3361/********************/
3362
3363area[tourism=information] {
3364    fill-color: tourism#e180a2;
3365}
3366node[tourism=information] {
3367    icon-image: "misc/information.png";
3368    set icon_z17;
3369    text: auto;
3370}
3371node[tourism=information][information=guidepost] {
3372    icon-image: "misc/information/guidepost.png";
3373    set icon_z17;
3374    text: auto;
3375}
3376area[tourism=information][information=office] {
3377    fill-color: tourism#e180a2;
3378}
3379node[tourism=information][information=office] {
3380    icon-image: "misc/information/informationoffice.png";
3381    set icon_z17;
3382    text: auto;
3383}
3384node[tourism=information][information=map] {
3385    icon-image: "misc/information/map.png";
3386    set icon_z17;
3387    text: auto;
3388}
3389node[tourism=information][information=board] {
3390    icon-image: "misc/information/board.png";
3391    set icon_z17;
3392    text: auto;
3393}
3394
3395/*****************/
3396/* historic tags */
3397/*****************/
3398
3399area[historic=castle],
3400area[historic=monument],
3401area[historic=memorial],
3402area[historic=archaeological_site],
3403area[historic=ruins],
3404area[historic=battlefield],
3405area[geological=palaeontological_site],
3406area[historic=wayside_cross],
3407area[historic=wayside_shrine],
3408area[historic=boundary_stone] {
3409    fill-color: historic#663300;
3410}
3411node[historic=castle] {
3412    icon-image: "sightseeing/castle.svg";
3413    set icon_z17;
3414    text: auto;
3415}
3416node[historic=monument] {
3417    icon-image: "sightseeing/monument.png";
3418    set icon_z17;
3419    text: auto;
3420}
3421node[historic=memorial] {
3422    icon-image: "sightseeing/memorial.png";
3423    set icon_z17;
3424    text: auto;
3425}
3426node[historic=archaeological_site] {
3427    icon-image: "sightseeing/archaeological.png";
3428    set icon_z17;
3429    text: auto;
3430}
3431node[historic=ruins] {
3432    icon-image: "sightseeing/ruins.png";
3433    set icon_z17;
3434    text: auto;
3435}
3436node[historic=battlefield] {
3437    icon-image: "sightseeing/battlefield.png";
3438    set icon_z17;
3439    text: auto;
3440}
3441node[geological=palaeontological_site] {
3442    icon-image: "historic/palaeontological_site.png";
3443    set icon_z17;
3444    text: auto;
3445}
3446node[historic=wayside_cross] {
3447    icon-image: "religion/wayside_cross.png";
3448    set icon_z17;
3449    text: auto;
3450}
3451node[historic=wayside_shrine] {
3452    icon-image: "religion/wayside_shrine.png";
3453    set icon_z17;
3454    text: auto;
3455}
3456node[historic=boundary_stone] {
3457    icon-image: "historic/boundary_stone.png";
3458    set icon_z17;
3459    text: auto;
3460}
3461
3462/****************/
3463/* landuse tags */
3464/****************/
3465
3466area[landuse],
3467area[leisure],
3468area[amenity],
3469area[place],
3470area[natural],
3471area[man_made] {
3472    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3473}
3474area[landuse=farmland] {
3475    fill-color: farmland#b8e0b1;
3476}
3477area[landuse=meadow] {
3478    fill-color: meadow#b1e0b6;
3479}
3480area[landuse=vineyard],
3481area[landuse=orchard] {
3482    fill-color: green#b1e0c2;
3483}
3484area[landuse=quarry] {
3485    fill-color: quarry#888888;
3486}
3487area[landuse=landfill] {
3488    fill-color: landfill#663300;
3489}
3490area[landuse=basin],
3491area[landuse=reservoir] {
3492    fill-color: basin#0000bf;
3493}
3494area[landuse=forest] {
3495    fill-color: forest#b1efc8;
3496}
3497area[landuse=allotments] {
3498    fill-color: allotments#5dbf80;
3499}
3500area[landuse=greenhouse_horticulture],
3501area[landuse=plant_nursery] {
3502    fill-color: green#b1e0c2;
3503}
3504area[landuse=grass] {
3505    fill-color: grass#97ca96;
3506}
3507area[landuse=residential] {
3508    fill-color: residential#f0f0f0;
3509}
3510area[landuse=garages] {
3511    fill-color: garages#d6c8aa;
3512}
3513area[landuse=farmyard] {
3514    fill-color: farmyard#f0f0f0;
3515}
3516area[landuse=retail],
3517area[landuse=commercial] {
3518    fill-color: retail#ffc4ee;
3519}
3520area[landuse=industrial] {
3521    fill-color: industrial#ecd8ff;
3522}
3523area[landuse=brownfield] {
3524    fill-color: brownfield#ecba32;
3525}
3526area[landuse=greenfield] {
3527    fill-color: greenfield#b1ec5c;
3528}
3529area[landuse=railway] {
3530    fill-color: railland#888888;
3531}
3532area[landuse=construction] {
3533    fill-color: construction#ffff00;
3534}
3535way[landuse=construction] {
3536    width: 1;
3537    color: construction#ffff00;
3538    dashes: 9,9;
3539}
3540area[landuse=military] {
3541    fill-color: military#b62c2c;
3542}
3543area[landuse=religious] {
3544    fill-color: religious#ffd454;
3545}
3546area[landuse=cemetery] {
3547    fill-color: cemetery#b1efc8;
3548}
3549area[landuse=village_green] {
3550    fill-color: green#b1e0c2;
3551}
3552area[landuse=recreation_ground] {
3553    fill-color: green#b1e0c2;
3554}
3555node[landuse] {
3556    icon-image: "misc/deprecated.png";
3557    set icon_z17;
3558    text: auto;
3559}
3560
3561/*****************/
3562/* military tags */
3563/*****************/
3564
3565area[military=airfield],
3566area[military=bunker],
3567area[military=barracks],
3568area[military=danger_area],
3569area[military=range] {
3570    fill-color: military#b62c2c;
3571}
3572node[military=airfield] {
3573    icon-image: "transport/airport/airfield.png";
3574    set icon_z17;
3575    text: auto;
3576}
3577node[military=bunker] {
3578    icon-image: "misc/landmark/bunker.png";
3579    set icon_z17;
3580    text: auto;
3581}
3582node[military=barracks] {
3583    icon-image: "misc/no_icon.png";
3584    set icon_z17;
3585    text: auto;
3586}
3587node[military=danger_area] {
3588    icon-image: "misc/danger.png";
3589    set icon_z17;
3590    text: auto;
3591}
3592node[military=range] {
3593    icon-image: "misc/landmark/range.png";
3594    set icon_z17;
3595    text: auto;
3596}
3597
3598/*************************/
3599/* public_transport tags */
3600/*************************/
3601
3602node[public_transport=stop_position] {
3603    icon-image: "transport/railway_small.png";
3604    set icon_z17;
3605    text: auto;
3606}
3607node[highway=bus_stop] {
3608    icon-image: "transport/bus_small.png";
3609    set icon_z17;
3610    text: auto;
3611}
3612node[public_transport=stop_position][bus=yes] {
3613    icon-image: "transport/bus_small.png";
3614    set icon_z17;
3615    text: auto;
3616}
3617node[public_transport=stop_position][aerial=yes] {
3618    icon-image: "transport/aerialway.png";
3619    set icon_z17;
3620    text: auto;
3621}
3622node[public_transport=stop_position][ferry=yes] {
3623    icon-image: "transport/ferry.png";
3624    set icon_z17;
3625    text: auto;
3626}
3627node[public_transport=stop_position][tram=yes] {
3628    icon-image: "transport/tram.png";
3629    set icon_z17;
3630    text: auto;
3631}
3632node[public_transport=stop_position][train=yes] {
3633    icon-image: "transport/railway_small.png";
3634    set icon_z17;
3635    text: auto;
3636}
3637area[public_transport=platform]:closed {
3638    fill-color: service#809bc0;
3639}
3640way[public_transport=platform]!:closed {
3641    width: 3;
3642    color: service#809bc0;
3643    dashes: 12,3;
3644}
3645node[public_transport=platform] {
3646    icon-image: "transport/bus_small.png";
3647    set icon_z17;
3648    text: auto;
3649}
3650node[public_transport=platform][bus=yes] {
3651    icon-image: "transport/bus_small.png";
3652    set icon_z17;
3653    text: auto;
3654}
3655node[public_transport=platform][aerial=yes] {
3656    icon-image: "transport/aerialway/station.png";
3657    set icon_z17;
3658    text: auto;
3659}
3660node[public_transport=platform][ferry=yes] {
3661    icon-image: "transport/ferry.png";
3662    set icon_z17;
3663    text: auto;
3664}
3665node[public_transport=platform][tram=yes],
3666node[public_transport=platform][train=yes] {
3667    icon-image: "transport/railway_station.png";
3668    set icon_z17;
3669    text: auto;
3670}
3671
3672/****************/
3673/* railway tags */
3674/****************/
3675
3676area[railway=station],
3677area[railway=tram_station],
3678area[railway=subway_entrance] {
3679    fill-color: railwaypoint#f7efb7;
3680}
3681node[railway=station], node[railway=tram_station] {
3682    icon-image: "transport/railway_station.png";
3683    set icon_z17;
3684    text: auto;
3685}
3686node[railway=halt] {
3687    icon-image: "transport/railway_small.png";
3688    set icon_z17;
3689    text: auto;
3690}
3691node[railway=tram_stop] {
3692    icon-image: "transport/tram.png";
3693    set icon_z17;
3694    text: auto;
3695}
3696node[railway=subway_entrance] {
3697    icon-image: "transport/underground.png";
3698    set icon_z17;
3699    text: auto;
3700}
3701node[railway=crossing] {
3702    icon-image: "transport/railway/crossing.svg";
3703    set icon_z17;
3704    text: auto;
3705}
3706node[railway=level_crossing] {
3707    icon-image: "transport/railway/level_crossing.svg";
3708    icon-width: 16;
3709    set icon_z17;
3710    text: auto;
3711}
3712way[railway=rail] {
3713    width: 2;
3714    color: rail#404040;
3715    dashes: 9,9;
3716    dashes-background-color: raildashed#ffffff;
3717}
3718way[railway=rail][service=siding] {
3719    width: 1;
3720}
3721way[railway=rail][service=yard],
3722way[railway=rail][service=spur] {
3723    width: 1;
3724    color: railyard#552200
3725}
3726/* draw tram on top of other way (highway=*) or
3727   as a standalone style */
3728way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3729    object-z-index: 1;
3730    modifier: false; /* don't draw default way if there is no line on default layer */
3731    width: 1;
3732    color: railover#202020;
3733    dashes: 9,9;
3734    casing-width: 1;
3735    casing-color: otherrail#808080;
3736    casing-linecap: round;
3737    casing-dashes: 9,9;
3738}
3739way[railway=light_rail] {
3740    width: 2;
3741    color: otherrail#808080;
3742    dashes: 9,9;
3743}
3744way[railway=subway] {
3745    width: 1;
3746    color: subway#606060;
3747    dashes: 9,9;
3748}
3749way[railway=preserved] {
3750    width: 1;
3751    color: oldrail#404040;
3752    dashes: 9,9;
3753}
3754/* disused often appears together with highway=xy */
3755/* -> draw on separate layer with higher z-index, but use */
3756/* modifier: false; to suppress default line when used alone. */
3757/* use default layer when used without highway=* to display bridge correctly */
3758way[railway=disused][highway]::core_railway,
3759way[railway=disused][!highway],
3760way[railway=abandoned][highway]::core_railway,
3761way[railway=abandoned][!highway] {
3762    width: 1;
3763    modifier: false;
3764    z-index: 1;
3765    color: oldrail#404040;
3766    dashes: 9,9;
3767}
3768way[railway=narrow_gauge],
3769way[railway=monorail] {
3770    width: 1;
3771    color: rail#404040;
3772    dashes: 9,9;
3773}
3774area[railway=turntable] {
3775    fill-color: rail#404040;
3776}
3777node[railway=turntable] {
3778    icon-image: "transport/railway/turntable.svg";
3779    set icon_z17;
3780    text: auto;
3781}
3782node[railway=buffer_stop] {
3783    icon-image: "transport/railway/buffer_stop.svg";
3784    set icon_z17;
3785    text: auto;
3786}
3787area[railway=platform]:closed {
3788    fill-color: rail#404040;
3789}
3790way[railway=platform] {
3791    width: 2;
3792    color: rail#404040;
3793}
3794way[railway=funicular] {
3795    width: 1;
3796    color: rail#404040;
3797    dashes: 9,9;
3798}
3799node[railway=switch] {
3800    icon-image: "transport/railway/switch.svg";
3801    icon-width: 16;
3802    set icon_z17;
3803    text: auto;
3804}
3805node[railway=signal] {
3806    icon-image: "transport/railway/signal.svg";
3807    set icon_z17;
3808    text: auto;
3809}
3810node[railway=milestone] {
3811    icon-image: "transport/railway/milestone.svg";
3812    set icon_z17;
3813    text: auto;
3814}
3815node[railway=rail], node[railway=tram], node[railway=light_rail],
3816node[railway=subway], node[railway=preserved],
3817node[railway=disused], node[railway=abandoned],
3818node[railway=narrow_gauge], node[railway=monorail],
3819node[railway=platform], node[railway=funicular],
3820node[service=yard], node[service=siding], node[service=spur] {
3821    icon-image: "misc/deprecated.png";
3822    set icon_z17;
3823    text: auto;
3824}
3825way[railway=construction][!highway] {
3826    width: 1;
3827    color: construction#ffff00;
3828    dashes: 9,9;
3829}
3830way[railway=construction][construction=rail] {
3831    width: 2;
3832    color: rail#404040;
3833    dashes: 9,9;
3834    dashes-background-color: construction#ffff00;
3835}
3836way[railway=construction][construction=light_rail] {
3837    width: 2;
3838}
3839way[railway=construction][construction=tram][highway]::core_railway,
3840way[railway=construction][construction=tram][!highway] {
3841    z-index: 1;
3842    width: 1;
3843    color: railover#202020;
3844    dashes: 9,9;
3845    casing-width: 1;
3846    casing-color: construction#ffff00;
3847    casing-linecap: round;
3848    casing-dashes: 9,9;
3849}
3850
3851/****************/
3852/* aeroway tags */
3853/****************/
3854
3855area[aeroway=aerodrome] {
3856    fill-color: aeroway#660000;
3857    width: 2;
3858    dashes: 9,9;
3859}
3860node[aeroway=aerodrome][military!=airfield] {
3861    icon-image: "transport/airport.png";
3862    set icon_z17;
3863    text: auto;
3864}
3865area[aeroway=terminal] {
3866    fill-color: terminal#bb0000;
3867}
3868node[aeroway=terminal] {
3869    icon-image: "transport/airport/terminal.png";
3870    set icon_z17;
3871    text: auto;
3872}
3873area[aeroway=helipad] {
3874    fill-color: aeroway_dark#330000;
3875}
3876node[aeroway=helipad] {
3877    icon-image: "transport/airport/helipad.png";
3878    set icon_z17;
3879    text: auto;
3880}
3881area[aeroway=runway]:closed {
3882    fill-color: aeroway_dark#330000;
3883}
3884way[aeroway=runway] {
3885    width: 3;
3886    color: aeroway_dark#330000;
3887}
3888area[aeroway=taxiway]:closed {
3889    fill-color: aeroway#660000;
3890}
3891way[aeroway=taxiway] {
3892    width: 2;
3893    color: aeroway#660000;
3894}
3895way[aeroway=parking_position] {
3896    width: 1;
3897    color: aeroway#660000;
3898}
3899node[aeroway=parking_position] {
3900    icon-image: "transport/airport/parking_position.png";
3901    set icon_z17;
3902    text: auto;
3903}
3904area[aeroway=apron],
3905area[aeroway=hangar] {
3906    fill-color: aeroway_light#990000;
3907}
3908node[aeroway=apron],
3909node[aeroway=runway],
3910node[aeroway=taxiway] {
3911    icon-image: "misc/deprecated.png";
3912    set icon_z17;
3913    text: auto;
3914}
3915node[aeroway=hangar] {
3916    icon-image: "transport/airport/hangar.png";
3917    set icon_z17;
3918    text: auto;
3919}
3920node[aeroway=gate] {
3921    icon-image: "transport/airport/gate.png";
3922    set icon_z17;
3923    text: auto;
3924}
3925node[aeroway=windsock] {
3926    icon-image: "transport/airport/windsock.png";
3927    set icon_z17;
3928    text: auto;
3929}
3930
3931/******************/
3932/* aerialway tags */
3933/******************/
3934
3935way[aerialway=cable_car],
3936way[aerialway=gondola] {
3937    width: 1;
3938    color: aerialway#663300;
3939    dashes: 9,9;
3940}
3941way[aerialway=chair_lift] {
3942    width: 1;
3943    color: aerialway#663300;
3944    dashes: 6,6;
3945}
3946way[aerialway=mixed_lift] {
3947    width: 1;
3948    color: aerialway#663300;
3949    dashes: 6,6,9,6;
3950}
3951way[aerialway=j-bar],
3952way[aerialway=t-bar],
3953way[aerialway=platter],
3954way[aerialway=rope_tow],
3955way[aerialway=drag_lift] {
3956    width: 1;
3957    color: aerialway#663300;
3958    dashes: 3,3;
3959}
3960way[aerialway=magic_carpet] {
3961    width: 1;
3962    color: aerialway#663300;
3963    dashes: 3,3;
3964}
3965way[aerialway=goods] {
3966    width: 1;
3967    color: aerialway#663300;
3968    dashes: 2,2;
3969}
3970area[aerialway=station] {
3971    fill-color: aerialway#663300;
3972}
3973node[aerialway=station] {
3974    icon-image: "transport/aerialway/station.png";
3975    set icon_z17;
3976    text: auto;
3977}
3978node[aerialway=pylon] {
3979    icon-image: "transport/aerialway/pylon.svg";
3980    set icon_z17;
3981    text: auto;
3982}
3983node[aerialway=cable_car],
3984node[aerialway=gondola],
3985node[aerialway=chair_lift],
3986node[aerialway=mixed_lift],
3987node[aerialway=drag_lift],
3988node[aerialway=t-bar],
3989node[aerialway=j-bar],
3990node[aerialway=platter],
3991node[aerialway=magic_carpet],
3992node[aerialway=rope_tow],
3993node[aerialway=goods] {
3994    icon-image: "misc/deprecated.png";
3995    set icon_z17;
3996    text: auto;
3997}
3998
3999/**************/
4000/* sport tags */
4001/**************/
4002
4003area[sport="9pin"],
4004area[sport="10pin"],
4005area[sport=athletics],
4006area[sport=running],
4007area[sport=soccer],
4008area[sport=australian_football],
4009area[sport=american_football],
4010area[sport=canadian_football],
4011area[sport=gaelic_games],
4012area[sport=rugby_league],
4013area[sport=rugby_union] {
4014    fill-color: sport#bde3cb;
4015}
4016node[sport="9pin"] {
4017    icon-image: "sport/10pin.png";
4018    set icon_z17;
4019    text: auto;
4020}
4021node[sport="10pin"] {
4022    icon-image: "sport/10pin.png";
4023    set icon_z17;
4024    text: auto;
4025}
4026node[sport=athletics] {
4027    icon-image: "sport/athletics.png";
4028    set icon_z17;
4029    text: auto;
4030}
4031node[sport=running] {
4032    icon-image: "sport/running.svg";
4033    set icon_z17;
4034    text: auto;
4035}
4036node[sport=soccer],
4037node[sport=gaelic_games] {
4038    icon-image: "sport/soccer.png";
4039    set icon_z17;
4040    text: auto;
4041}
4042node[sport=australian_football],
4043node[sport=american_football],
4044node[sport=canadian_football],
4045node[sport=rugby_league],
4046node[sport=rugby_union] {
4047    icon-image: "sport/football.png";
4048    set icon_z17;
4049    text: auto;
4050}
4051area[sport=baseball],
4052area[sport=basketball],
4053area[sport=boules],
4054area[sport=bowls],
4055area[sport=canoe],
4056area[sport=chess],
4057area[sport=climbing]:closed,
4058area[sport=cricket],
4059area[sport=croquet] {
4060    fill-color: sport#bde3cb;
4061}
4062node[sport=baseball] {
4063    icon-image: "sport/baseball.png";
4064    set icon_z17;
4065    text: auto;
4066}
4067node[sport=basketball] {
4068    icon-image: "sport/basketball.png";
4069    set icon_z17;
4070    text: auto;
4071}
4072node[sport=boules] {
4073    icon-image: "sport/boule.png";
4074    set icon_z17;
4075    text: auto;
4076}
4077node[sport=bowls] {
4078    icon-image: "sport/boule.png";
4079    set icon_z17;
4080    text: auto;
4081}
4082node[sport=canoe] {
4083    icon-image: "sport/canoe.svg";
4084    set icon_z17;
4085    text: auto;
4086}
4087node[sport=chess] {
4088    icon-image: "sport/chess.png";
4089    set icon_z17;
4090    text: auto;
4091}
4092node[sport=climbing] {
4093    icon-image: "sport/climbing.png";
4094    set icon_z17;
4095    text: auto;
4096}
4097node[sport=cricket] {
4098    icon-image: "sport/cricket.png";
4099    set icon_z17;
4100    text: auto;
4101}
4102node[sport=croquet] {
4103    icon-image: "sport/croquet.png";
4104    set icon_z17;
4105    text: auto;
4106}
4107area[sport=cycling],
4108area[sport=dog_racing],
4109area[sport=equestrian],
4110area[sport=golf],
4111area[sport=gymnastics],
4112area[sport=field_hockey],
4113area[sport=ice_hockey],
4114area[sport=horse_racing],
4115area[sport=karting][highway!=raceway],
4116area[sport=karting][highway=raceway][area=yes],
4117area[sport=motocross][highway!=raceway],
4118area[sport=motocross][highway=raceway][area=yes],
4119area[sport=motor][highway!=raceway],
4120area[sport=motor][highway=raceway][area=yes] {
4121    fill-color: sport#bde3cb;
4122}
4123node[sport=cycling] {
4124    icon-image: "sport/cycling.png";
4125    set icon_z17;
4126    text: auto;
4127}
4128node[sport=dog_racing] {
4129    icon-image: "leisure/dog.png";
4130    set icon_z17;
4131    text: auto;
4132}
4133node[sport=equestrian] {
4134    icon-image: "presets/equestrian.png";
4135    icon-width: 16;
4136    set icon_z17;
4137    text: auto;
4138}
4139node[sport=golf] {
4140    icon-image: "sport/golf.svg";
4141    set icon_z17;
4142    text: auto;
4143}
4144node[sport=gymnastics] {
4145    icon-image: "presets/gymnastics.png";
4146    icon-width: 16;
4147    set icon_z17;
4148    text: auto;
4149}
4150node[sport=field_hockey] {
4151    icon-image: "sport/field_hockey.png";
4152    set icon_z17;
4153    text: auto;
4154}
4155node[sport=ice_hockey] {
4156    icon-image: "sport/ice_hockey.png";
4157    set icon_z17;
4158    text: auto;
4159}
4160node[sport=horse_racing] {
4161    icon-image: "sport/riding.png";
4162    set icon_z17;
4163    text: auto;
4164}
4165node[sport=karting] {
4166    icon-image: "sport/karting.png";
4167    set icon_z17;
4168    text: auto;
4169}
4170node[sport=motocross] {
4171    icon-image: "sport/motocross.png";
4172    set icon_z17;
4173    text: auto;
4174}
4175node[sport=motor] {
4176    icon-image: "sport/motor.png";
4177    set icon_z17;
4178    text: auto;
4179}
4180area[sport=multi],
4181area[sport=pelota],
4182area[sport=racquet],
4183area[sport=skating],
4184area[sport=skateboard] {
4185    fill-color: sport#bde3cb;
4186}
4187node[sport=multi] {
4188    icon-image: "sport/multi.png";
4189    set icon_z17;
4190    text: auto;
4191}
4192node[sport=pelota] {
4193    icon-image: "sport/pelota.png";
4194    set icon_z17;
4195    text: auto;
4196}
4197node[sport=racquet] {
4198    icon-image: "sport/racquetball.png";
4199    set icon_z17;
4200    text: auto;
4201}
4202node[sport=skating] {
4203    icon-image: "sport/skating.png";
4204    set icon_z17;
4205    text: auto;
4206}
4207node[sport=skateboard] {
4208    icon-image: "sport/skateboard.png";
4209    set icon_z17;
4210    text: auto;
4211}
4212area[sport=swimming] {
4213    fill-color: swimming_pool#51c4ef;
4214}
4215node[sport=swimming] {
4216    icon-image: "sport/pool.png";
4217    set icon_z17;
4218    text: auto;
4219}
4220area[sport=table_tennis],
4221area[sport=tennis],
4222area[sport=paintball] {
4223    fill-color: sport#bde3cb;
4224}
4225node[sport=table_tennis] {
4226    icon-image: "sport/table_tennis.png";
4227    set icon_z17;
4228    text: auto;
4229}
4230node[sport=tennis] {
4231    icon-image: "sport/tennis.png";
4232    set icon_z17;
4233    text: auto;
4234}
4235node[sport=paintball] {
4236    icon-image: "misc/no_icon.png";
4237    set icon_z17;
4238    text: auto;
4239}
4240area[sport=squash],
4241area[sport=shooting],
4242area[sport=volleyball],
4243area[sport=beachvolleyball],
4244area[sport=billiards],
4245area[sport=bowling],
4246area[sport=handball],
4247area[sport=rowing],
4248area[sport=sailing],
4249area[sport=scuba_diving],
4250area[sport=badminton] {
4251    fill-color: sport#bde3cb;
4252}
4253node[sport=squash] {
4254    icon-image: "misc/no_icon.png";
4255    set icon_z17;
4256    text: auto;
4257}
4258node[sport=shooting] {
4259    icon-image: "presets/range.png";
4260    icon-width: 16;
4261    set icon_z17;
4262    text: auto;
4263}
4264node[sport=volleyball] {
4265    icon-image: "sport/volleyball.png";
4266    set icon_z17;
4267    text: auto;
4268}
4269node[sport=beachvolleyball] {
4270    icon-image: "sport/beachvolleyball.png";
4271    set icon_z17;
4272    text: auto;
4273}
4274node[sport=billiards] {
4275    icon-image: "sport/billiards.svg";
4276    set icon_z17;
4277    text: auto;
4278}
4279node[sport=bowling] {
4280    icon-image: "sport/10pin.png";
4281    set icon_z17;
4282    text: auto;
4283}
4284node[sport=handball] {
4285    icon-image: "sport/handball.png";
4286    set icon_z17;
4287    text: auto;
4288}
4289node[sport=rowing] {
4290    icon-image: "sport/rowing.png";
4291    set icon_z17;
4292    text: auto;
4293}
4294node[sport=sailing] {
4295    icon-image: "misc/no_icon.png";
4296    set icon_z17;
4297    text: auto;
4298}
4299node[sport=scuba_diving] {
4300    icon-image: "sport/scuba_diving.svg";
4301    set icon_z17;
4302    text: auto;
4303}
4304node[sport=badminton] {
4305    icon-image: "misc/no_icon.png";
4306    set icon_z17;
4307    text: auto;
4308}
4309area[sport=archery],
4310area[sport=fishing],
4311area[sport=model_aerodrome],
4312area[sport=rc_car] {
4313    fill-color: sport#bde3cb;
4314}
4315node[sport=archery] {
4316    icon-image: "sport/archery.png";
4317    set icon_z17;
4318    text: auto;
4319}
4320node[sport=fishing] {
4321    icon-image: "sport/fishing.png";
4322    set icon_z17;
4323    text: auto;
4324}
4325node[sport=model_aerodrome] {
4326    icon-image: "transport/airport.png";
4327    set icon_z17;
4328    text: auto;
4329}
4330node[sport=rc_car] {
4331    icon-image: "transport/car.png";
4332    set icon_z17;
4333    text: auto;
4334}
4335
4336/****************/
4337/* natural tags */
4338/****************/
4339
4340area[natural=spring] {
4341    fill-color: light_water#00005f;
4342}
4343node[natural=spring] {
4344    icon-image: "misc/landmark/spring.svg";
4345    set icon_z17;
4346    text: auto;
4347}
4348node[natural=saddle] {
4349    icon-image: "presets/saddle.svg";
4350    set icon_z0;
4351    text: auto;
4352    set text_z0;
4353}
4354node[natural=peak] {
4355    icon-image: "presets/peak.svg";
4356    set icon_z0;
4357    text: auto;
4358    set text_z0;
4359}
4360node[natural=peak][tourism=viewpoint] {
4361    icon-image: "sightseeing/peak_viewpoint.svg";
4362    set icon_z0;
4363    text: auto;
4364    set text_z0;
4365}
4366area[natural=glacier] {
4367    fill-color: glacier#ffffff;
4368}
4369node[natural=volcano] {
4370    icon-image: "misc/landmark/volcano_small.png";
4371    set icon_z0;
4372    text: auto;
4373    set text_z0;
4374}
4375area[natural=cliff]:closed {
4376    fill-color: natural#002f00;
4377}
4378way[natural=cliff] {
4379    repeat-image: "misc/cliff-pattern.png";
4380    repeat-image-align: top;
4381    width: 1;
4382    color: #b2b2b2;
4383}
4384node[natural=cliff] {
4385    icon-image: "misc/cliff.svg";
4386    set icon_z17;
4387    text: auto;
4388}
4389way[natural=ridge] {
4390    width: 1;
4391    color: natural#002f00;
4392}
4393way[natural=valley] {
4394    width: 1;
4395    color: natural#002f00;
4396}
4397area[natural=scree] {
4398    fill-color: natural#002f00;
4399}
4400area[natural=scrub] {
4401    fill-color: scrub#007000;
4402}
4403area[natural=fell] {
4404    fill-color: natural#002f00;
4405}
4406area[natural=heath] {
4407    fill-color: heath#ffffc0;
4408}
4409way[natural=tree_row] {
4410    width: 2;
4411    color: woodarea#008000;
4412}
4413area[natural=wood] {
4414    fill-color: woodarea#008000;
4415}
4416area[natural=grassland] {
4417    fill-color: green#b1e0c2;
4418}
4419area[natural=wetland] {
4420    fill-color: marsh#4f4ff3;
4421}
4422area[natural=water] {
4423    fill-color: water#0000ff;
4424}
4425way[natural=coastline] {
4426    width: 2;
4427    color: water#0000ff;
4428    right-casing-color: water#0000ff;
4429    right-casing-width: 5;
4430    right-casing-opacity: 0.30; 
4431}
4432area[natural=mud] {
4433    fill-color: mud#cba762;
4434}
4435area[natural=beach] {
4436    fill-color: beach#f8dba2;
4437}
4438area[natural=sand] {
4439    fill-color: sand#f8dba2;
4440}
4441area[natural=bare_rock] {
4442    fill-color: bare_rock#f8f8c7;
4443}
4444area[natural=rock] {
4445    fill-color: stone#f8f8c7;
4446}
4447node[natural=rock] {
4448    icon-image: "misc/rock.svg";
4449    set icon_z17;
4450    text: auto;
4451}
4452area[natural=stone] {
4453    fill-color: stone#f8f8c7;
4454}
4455node[natural=stone] {
4456    icon-image: "misc/stone.svg";
4457    set icon_z17;
4458    text: auto;
4459}
4460area[natural=bay],
4461area[natural=cave_entrance] {
4462    fill-color: natural#002f00;
4463}
4464node[natural=bay] {
4465    icon-image: "nautical/bay.svg";
4466    set icon_z17;
4467    text: auto;
4468}
4469node[natural=cave_entrance] {
4470    icon-image: "misc/landmark/cave_entrance.png";
4471    set icon_z17;
4472    text: auto;
4473}
4474node[natural=tree] {
4475    icon-image: "misc/landmark/trees.png";
4476    set icon_z17;
4477    text: auto;
4478}
4479node[natural=tree][type=conifer],
4480node[natural=tree][leaf_type=needleleaved] {
4481    icon-image: "misc/landmark/trees_conifer.png";
4482    set icon_z17;
4483    text: auto;
4484}
4485node[natural=tree][type=broad_leaved],
4486node[natural=tree][leaf_type=broadleaved] {
4487    icon-image: "misc/landmark/trees_broad_leaved.png";
4488    set icon_z17;
4489    text: auto;
4490}
4491node[natural=tree][type=palm] {
4492    icon-image: "misc/landmark/trees_palm.png";
4493    set icon_z17;
4494    text: auto;
4495}
4496node[natural=glacier],
4497node[natural=scree],
4498node[natural=scrub],
4499node[natural=fell],
4500node[natural=heath],
4501node[natural=tree_row],
4502node[natural=wood],
4503node[natural=grassland],
4504node[natural=wetland],
4505node[natural=water],
4506node[natural=coastline],
4507node[natural=mud],
4508node[natural=beach],
4509node[natural=sand],
4510node[natural=land],
4511node[natural=bare_rock],
4512node[natural=ridge],
4513node[natural=valley] {
4514    icon-image: "misc/deprecated.png";
4515    set icon_z17;
4516    text: auto;
4517}
4518/*****************/
4519/* waterway tags */
4520/*****************/
4521
4522way[waterway=river] {
4523    width: 2;
4524    color: water#0000ff;
4525}
4526area[waterway=riverbank] {
4527    fill-color: riverbank#0000cf;
4528    width: 1;
4529    color: riverbank#0000cf;
4530}
4531way[waterway=canal] {
4532    width: 2;
4533    color: water#0000ff;
4534}
4535way[waterway=stream] {
4536    width: 1;
4537    color: stream#6600cc;
4538}
4539way[waterway=ditch], way[waterway=drain] {
4540    width: 1;
4541    color: water#0000ff;
4542}
4543area[waterway=dock] {
4544    fill-color: dock#0000cf;
4545}
4546node[waterway=dock] {
4547    icon-image: "nautical/boatyard.png";
4548    set icon_z17;
4549    text: auto;
4550}
4551node[waterway=lock_gate] {
4552    icon-image: "nautical/lock_gate.png";
4553    set icon_z17;
4554    text: auto;
4555}
4556node[waterway=turning_point] {
4557    icon-image: "nautical/turning.png";
4558    set icon_z17;
4559    text: auto;
4560}
4561area[waterway=boatyard] {
4562    fill-color: manmade#d8d8d8;
4563}
4564node[waterway=boatyard] {
4565    icon-image: "nautical/boatyard.png";
4566    set icon_z17;
4567    text: auto;
4568}
4569node[waterway=water_point],
4570node[waterway=waste_disposal],
4571node[waterway=mooring] {
4572    icon-image: "misc/deprecated.png";
4573    set icon_z17;
4574    text: auto;
4575}
4576node[mooring] {
4577    icon-image: "nautical/marina.png";
4578    set icon_z17;
4579    text: auto;
4580}
4581area[waterway=fuel] {
4582    fill-color: amenity_traffic#f7efb7;
4583}
4584node[waterway=fuel] {
4585    icon-image: "nautical/marine_fuel.png";
4586    icon-width: 16;
4587    set icon_z17;
4588    text: auto;
4589}
4590way[waterway=weir] {
4591    width: 2;
4592    color: manmade#d8d8d8;
4593}
4594node[waterway=weir] {
4595    icon-image: "nautical/weir.svg";
4596    set icon_z17;
4597    text: auto;
4598}
4599area[waterway=dam]:closed {
4600    fill-color: manmade#d8d8d8;
4601}
4602way[waterway=dam] {
4603    width: 2;
4604    color: manmade#d8d8d8;
4605}
4606node[waterway=dam] {
4607    icon-image: "nautical/dam.svg";
4608    set icon_z17;
4609    text: auto;
4610}
4611/* it's not possible to have both line and area, line seems more likely */
4612way[waterway=waterfall] {
4613    width: 2;
4614    color: manmade#d8d8d8;
4615}
4616node[waterway=waterfall] {
4617    icon-image: "nautical/waterfall.svg";
4618    set icon_z17;
4619    text: auto;
4620}
4621node[waterway=river], node[waterway=riverbank],
4622node[waterway=canal], node[waterway=wadi],
4623node[waterway=stream],
4624node[waterway=ditch], node[waterway=drain] {
4625    icon-image: "misc/deprecated.png";
4626    set icon_z17;
4627    text: auto;
4628}
4629
4630/**************/
4631/* route tags */
4632/**************/
4633
4634way[route=ferry] {
4635    width: 1;
4636    color: ferry#809bc0;
4637    dashes: 9,9;
4638}
4639node[route=bus],
4640node[route=ferry],
4641node[route=flight],
4642node[route=ncn],
4643node[route=subsea],
4644node[route=ski],
4645node[route=tour],
4646node[route=pub_crawl] {
4647    icon-image: "misc/deprecated.png";
4648    set icon_z17;
4649    text: auto;
4650}
4651
4652/*******************/
4653/* properties tags */
4654/*******************/
4655
4656node[mountain_pass?] {
4657    icon-image: "misc/landmark/mountain_pass.svg";
4658    set icon_z0;
4659    text: auto;
4660    set text_z0;
4661}
4662
4663/*****************/
4664/* boundary tags */
4665/*****************/
4666
4667way[boundary=protected_area]::core_boundary,
4668way[boundary=administrative]::core_boundary,
4669way[boundary=postal_code]::core_boundary,
4670way[boundary=political]::core_boundary,
4671way[boundary=maritime]::core_boundary,
4672way[boundary=national_park]::core_boundary {
4673    z-index: 2;
4674    modifier: false;
4675    width: 1;
4676    color: boundary#FF6600;
4677    dashes: 9,9;
4678}
4679way[admin_level=9]::core_boundary,
4680relation[admin_level=9] > way::core_boundary,
4681way[admin_level=10]::core_boundary,
4682relation[admin_level=10] > way::core_boundary {
4683    z-index: 2;
4684    modifier: false;
4685    width: 1;
4686    color: boundary#FF6600;
4687    dashes: 9,9;
4688}
4689way[admin_level=7]::core_boundary,
4690relation[admin_level=7] > way::core_boundary,
4691way[admin_level=8]::core_boundary,
4692relation[admin_level=8] > way::core_boundary {
4693    z-index: 2;
4694    modifier: false;
4695    width: 2;
4696    color: boundary#FF6600;
4697    dashes: 9,9;
4698}
4699way[admin_level=5]::core_boundary,
4700relation[admin_level=5] > way::core_boundary,
4701way[admin_level=6]::core_boundary,
4702relation[admin_level=6] > way::core_boundary {
4703    z-index: 2;
4704    modifier: false;
4705    width: 3;
4706    color: boundary#FF6600;
4707    dashes: 9,9;
4708}
4709way[admin_level=3]::core_boundary,
4710relation[admin_level=3] > way::core_boundary,
4711way[admin_level=4]::core_boundary,
4712relation[admin_level=4] > way::core_boundary {
4713    z-index: 2;
4714    modifier: false;
4715    width: 4;
4716    color: boundary#FF6600;
4717    dashes: 9,9;
4718}
4719way[admin_level=1]::core_boundary,
4720relation[admin_level=1] > way::core_boundary,
4721way[admin_level=2]::core_boundary,
4722relation[admin_level=2] > way::core_boundary {
4723    z-index: 2;
4724    modifier: false;
4725    width: 5;
4726    color: boundary#FF6600;
4727    dashes: 9,9;
4728}
4729node[boundary=national],
4730node[boundary=administrative],
4731node[boundary=postal_code],
4732node[boundary=political],
4733node[boundary=national_park] {
4734    icon-image: "misc/deprecated.png";
4735    set icon_z17;
4736    text: auto;
4737}
4738
4739/******************/
4740/* maxspeed nodes */
4741/******************/
4742node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4743    icon-image: "vehicle/restriction/maxspeed_none.svg";
4744    set icon_z17;
4745}
4746node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4747    maxspeedprop: tag(maxspeed);
4748    set maxspeedclass;
4749}
4750node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4751    maxspeedprop: " ?";
4752    set maxspeedclass;
4753}
4754node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4755    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4756    set maxspeedclass;
4757}
4758node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4759    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4760    set maxspeedclass;
4761}
4762node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4763    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4764    set maxspeedclass;
4765}
4766node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4767    /* background (white) */
4768    symbol-shape: circle;
4769    symbol-size: 17;
4770    symbol-fill-color: white;
4771    major-z-index: 4.2;
4772}
4773node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4774node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4775    /* background (black) */
4776    symbol-fill-color: black;
4777}
4778node[prop(maxspeedclass, default)]::core_maxnodefg {
4779    /* foreground (black text and red circle) */
4780    symbol-shape: circle;
4781    symbol-size: 15;
4782    symbol-stroke-color: crimson;
4783    symbol-stroke-width: 2;
4784    text: prop(maxspeedprop, default);
4785    font-size: 8;
4786    font-weight: bold;
4787    text-color: black;
4788    text-anchor-horizontal: center;
4789    text-anchor-vertical: center;
4790    text-offset-x: 0;
4791    text-offset-y: -1;
4792    major-z-index: 4.2;
4793}
4794node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4795node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4796    /* foreground (white text) */
4797    text-color: white;
4798}
4799node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4800    symbol-shape: none;
4801}
4802node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4803    text: none;
4804    symbol-shape: none;
4805}
4806
4807/**************/
4808/* place tags */
4809/**************/
4810
4811/* lot's of "openGeoDB:..." tags can be found in germany */
4812node["openGeoDB:type"=Stadt],
4813node["openGeoDB:type"=Kreis],
4814node["openGeoDB:type"=Gemeinde],
4815node["openGeoDB:type"=Ort],
4816node["openGeoDB:type"=District],
4817node["openGeoDB:location"=locality] {
4818    icon-image: "place/settlement/openGeoDB.png";
4819    set icon_z0;
4820    text: auto;
4821    set text_z0;
4822    font-size: 10;
4823    font-weight: bold;
4824    text-color:black;
4825    text-halo-color: white;
4826    text-halo-radius: 1;
4827}
4828area[setting("place_fill_colour")][place=continent],
4829area[setting("place_fill_colour")][place=country],
4830area[setting("place_fill_colour")][place=state],
4831area[setting("place_fill_colour")][place=region],
4832area[setting("place_fill_colour")][place=county],
4833area[setting("place_fill_colour")][place=city],
4834area[setting("place_fill_colour")][place=town],
4835area[setting("place_fill_colour")][place=village],
4836area[setting("place_fill_colour")][place=hamlet],
4837area[setting("place_fill_colour")][place=farm],
4838area[setting("place_fill_colour")][place=isolated_dwelling],
4839area[setting("place_fill_colour")][place=neighbourhood],
4840area[setting("place_fill_colour")][place=suburb],
4841area[setting("place_fill_colour")][place=locality],
4842area[setting("place_fill_colour")][place=island],
4843area[setting("place_fill_colour")][place=islet] {
4844    fill-color: place#8de3cb;
4845}
4846node[place=continent],
4847node[place=country],
4848node[place=state],
4849node[place=region],
4850node[place=county] {
4851    icon-image: "place/settlement/capital.png";
4852    set icon_z0;
4853    text: auto;
4854    set text_z0;
4855    font-size: 10;
4856    font-weight: bold;
4857    text-color:black;
4858    text-halo-color: white;
4859    text-halo-radius: 1;
4860    z-index: 2.9;
4861}
4862node[place=city] {
4863    icon-image: "place/settlement/city.png";
4864    set icon_z0;
4865    text: auto;
4866    set text_z0;
4867    font-size: 10;
4868    font-weight: bold;
4869    text-color:black;
4870    text-halo-color: white;
4871    text-halo-radius: 1;
4872    z-index: 2.8;
4873}
4874node[place=town] {
4875    icon-image: "place/settlement/town.png";
4876    set icon_z0;
4877    text: auto;
4878    set text_z0;
4879    font-size: 10;
4880    font-weight: bold;
4881    text-color:black;
4882    text-halo-color: white;
4883    text-halo-radius: 1;
4884    z-index: 2.7;
4885}
4886node[place=suburb] {
4887    icon-image: "place/settlement/suburb.png";
4888    set icon_z0;
4889    text: auto;
4890    set text_z0;
4891    font-size: 10;
4892    font-weight: bold;
4893    text-color:black;
4894    text-halo-color: white;
4895    text-halo-radius: 1;
4896    z-index: 2.6;
4897}
4898node[place=village] {
4899    icon-image: "place/settlement/village.png";
4900    set icon_z0;
4901    text: auto;
4902    set text_z0;
4903    font-size: 10;
4904    font-weight: bold;
4905    text-color:black;
4906    text-halo-color: white;
4907    text-halo-radius: 1;
4908    z-index: 2.5;
4909}
4910node[place=neighbourhood] {
4911    icon-image: "place/settlement/neighbourhood.png";
4912    set icon_z0;
4913    text: auto;
4914    set text_z0;
4915    font-size: 10;
4916    font-weight: bold;
4917    text-color:black;
4918    text-halo-color: white;
4919    text-halo-radius: 1;
4920    z-index: 2.4;
4921}
4922node[place=hamlet] {
4923    icon-image: "place/settlement/hamlet.png";
4924    set icon_z0;
4925    text: auto;
4926    set text_z0;
4927    font-size: 10;
4928    font-weight: bold;
4929    text-color:black;
4930    text-halo-color: white;
4931    text-halo-radius: 1;
4932    z-index: 2.3;
4933}
4934node[place=isolated_dwelling] {
4935    icon-image: "place/settlement/isolated_dwelling.png";
4936    set icon_z0;
4937    text: auto;
4938    set text_z0;
4939    font-size: 10;
4940    font-weight: bold;
4941    text-color:black;
4942    text-halo-color: white;
4943    text-halo-radius: 1;
4944    z-index: 2.2;
4945}
4946node[place=farm] {
4947    icon-image: "place/settlement/farm.png";
4948    set icon_z0;
4949    text: auto;
4950    set text_z0;
4951    font-size: 10;
4952    font-weight: bold;
4953    text-color:black;
4954    text-halo-color: white;
4955    text-halo-radius: 1;
4956    z-index: 2.1;
4957}
4958node|z15-[place=locality],
4959node|z-14[place=locality][!setting("hide_icons")] {
4960    icon-image: "place/locality.png";
4961    text: auto;
4962    font-size: 10;
4963    font-weight: bold;
4964    text-color:black;
4965    text-halo-color: white;
4966    text-halo-radius: 1;
4967}
4968node[place=island] {
4969    icon-image: "place/island.png";
4970    set icon_z0;
4971    text: auto;
4972    set text_z0;
4973    font-size: 10;
4974    font-weight: bold;
4975    text-color:black;
4976    text-halo-color: white;
4977    text-halo-radius: 1;
4978}
4979node[place=islet] {
4980    icon-image: "place/islet.png";
4981    set icon_z0;
4982    text: auto;
4983    set text_z0;
4984    font-size: 10;
4985    font-weight: bold;
4986    text-color:black;
4987    text-halo-color: white;
4988    text-halo-radius: 1;
4989}
4990
4991/***************************/
4992/* "work in progress" tags */
4993/***************************/
4994
4995node|z16-[fixme]::core_note_fixme,
4996node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4997node|z16-[FIXME]::core_note_fixme,
4998node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4999    object-z-index: 10;
5000    icon-image: "misc/fixme-annotation.png";
5001}
5002node|z16-[note]::core_note_fixme,
5003node|z-15[note][!setting("hide_icons")]::core_note_fixme {
5004    object-z-index: 10;
5005    icon-image: "misc/note-annotation.png";
5006}
5007node|z16-[note][fixme]::core_note_fixme,
5008node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
5009node|z16-[note][FIXME]::core_note_fixme,
5010node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
5011    icon-image: "misc/note-fixme-annotation.png";
5012}
5013
5014/* special display of unreviewed tiger data (USA) */
5015way["tiger:reviewed"=no]::core_tiger {
5016    major-z-index: -10;
5017    width: 11;
5018    color: tiger_data#808000;
5019    opacity: 0.6;
5020}
5021
5022/****************************************/
5023/* zoom levels and general node display */
5024/****************************************/
5025
5026/*
5027Summary of different zoom levels:
5028  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
5029  |z-15         untagged way nodes are hidden completely
5030  |z15          place=locality icon
5031  |z16-         fixme=* and note=* symbols; place=locality text
5032  |z17-         normal POI icons (without text),
5033                street name along highway=* ways
5034  |z18-         text for normal POI icons is shown
5035 
5036 * text size and node size is adapted according to zoom level (see style source below)
5037 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5038
5039*/
5040
5041node {
5042    text: auto;
5043}
5044node|z-16[setting("hide_icons")],
5045node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5046node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5047    symbol-size: 2;
5048    symbol-shape: square;
5049    symbol-stroke-color: node_standard#ffff00;
5050    major-z-index: 4.95; /* put node squares above line text */
5051}
5052way > node|z-15[setting("shrink_nodes")]!:tagged {
5053    symbol-shape: none;
5054}
5055node:connection {
5056    symbol-stroke-color: node_connection#ffff00;
5057}
5058node:tagged {
5059    symbol-stroke-color: none;
5060    symbol-fill-color: node_tagged#00ffff;
5061}
5062
5063way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5064
5065node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
5066way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
5067node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
5068
5069node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
5070way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
5071node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
5072
5073node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
5074way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
5075node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
5076
5077node[!setting("shrink_nodes")]                  { symbol-size: 4; }
5078way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
5079node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
5080
5081node:selected {
5082    symbol-shape: square;
5083    symbol-size: 6;
5084    symbol-fill-color: node_selected#ff0000;
5085    symbol-stroke-color: node_selected#ff0000;
5086}
5087
5088node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5089relation|z-16[type=restriction][setting("hide_icons")] {
5090    icon-image: none;
5091}
5092node|z-17[setting("hide_icons")]!.text_z0 {
5093    text: none;
5094}
5095node|z16-17[setting("hide_icons")][place=locality] {
5096    text: auto;
5097}
5098
5099node|z19,area|z19   { font-size: 9; }
5100node|z20-,area|z20-   { font-size: 10; }
5101
5102/*******************/
5103/* way text labels */
5104/*******************/
5105
5106way|z17-[highway^=motorway][setting("highway_labels")],
5107way|z17-[highway^=trunk][setting("highway_labels")],
5108way|z17-[highway^=primary][setting("highway_labels")],
5109way|z17-[highway^=secondary][setting("highway_labels")],
5110way|z17-[highway^=tertiary][setting("highway_labels")],
5111way|z17-[highway=unclassified][setting("highway_labels")],
5112way|z17-[highway=residential][setting("highway_labels")],
5113way|z17-[highway=living_street][setting("highway_labels")],
5114way|z17-[highway=escape][setting("highway_labels")],
5115way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
5116way|z17-[highway=steps][setting("highway_labels")],
5117way|z17-[highway=footway][setting("highway_labels")],
5118way|z17-[highway=path][setting("highway_labels")],
5119way|z17-[highway=service][setting("highway_labels")],
5120way|z17-[highway=track][setting("highway_labels")],
5121way|z17-[highway=cycleway][setting("highway_labels")],
5122way|z17-[highway=bridleway][setting("highway_labels")],
5123way|z17-[highway=bus_guideway][setting("highway_labels")],
5124way|z17-[highway=raceway][setting("highway_labels")],
5125way|z17-[highway=construction][setting("highway_labels")],
5126way|z17-[highway=road][setting("highway_labels")] {
5127    text: auto;
5128    text-color: black;
5129    font-size: 9;
5130    text-position: line;
5131    text-halo-opacity: 1;
5132    text-halo-radius: 1.5;
5133}
5134way|z17-[highway^=motorway][setting("highway_labels")] {
5135    text-halo-color: motorway#809bc0;
5136}
5137way|z17-[highway^=trunk][setting("highway_labels")] {
5138    text-halo-color: trunk#7fc97f;
5139}
5140way|z17-[highway^=primary][setting("highway_labels")] {
5141    text-halo-color: primary#fb805f;
5142}
5143way|z17-[highway^=secondary][setting("highway_labels")] {
5144    text-halo-color: secondary#fdbf6f;
5145}
5146way|z17-[highway^=tertiary][setting("highway_labels")] {
5147    text-halo-color: tertiary#f7f496;
5148}
5149way|z17-[highway=unclassified][setting("highway_labels")],
5150way|z17-[highway=residential][setting("highway_labels")],
5151way|z17-[highway=living_street][setting("highway_labels")],
5152way|z17-[highway=escape][setting("highway_labels")] {
5153    text-halo-color: street#c0c0c0;
5154}
5155way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
5156way|z17-[highway=steps][setting("highway_labels")],
5157way|z17-[highway=footway][setting("highway_labels")],
5158way|z17-[highway=path][setting("highway_labels")] {
5159    text-halo-color: foot#00ff00;
5160}
5161way|z17-[highway=service][setting("highway_labels")] {
5162    text-halo-color: service#809bc0;
5163}
5164way|z17-[highway=track][setting("highway_labels")] {
5165    text-halo-color: highway_track#6e541c;
5166}
5167way|z17-[highway=cycleway][setting("highway_labels")],
5168way|z17-[highway=path][setting("highway_labels")].cyclecolor {
5169    text-halo-color: bicycle#b100ff;
5170}
5171way|z17-[highway=bridleway][setting("highway_labels")] {
5172    text-halo-color: horse#a18559;
5173}
5174way|z17-[highway=bus_guideway][setting("highway_labels")] {
5175    text-halo-color: rail#404040;
5176}
5177way|z17-[highway=raceway][setting("highway_labels")] {
5178    text-halo-color: raceway#ff80ff;
5179}
5180way|z17-[highway=construction][setting("highway_labels")] {
5181    text-halo-color: construction#ffff00;
5182}
5183way|z17-[highway=road][setting("highway_labels")] {
5184    text-halo-color: highway_road#770000;
5185}
5186way|z17-[highway][railway=platform][setting("highway_labels")] {
5187    text-halo-color: rail#404040;
5188}
5189way|z17-[highway][public_transport=platform][setting("highway_labels")] {
5190    text-halo-color: service#809bc0;
5191}
5192way|z18[highway][setting("highway_labels")] {
5193    font-size: 10;
5194}
5195way|z19[highway][setting("highway_labels")] {
5196    font-size: 11;
5197}
5198way|z20-[highway][setting("highway_labels")] {
5199    font-size: 12;
5200}
5201
5202/*************/
5203/* Area fill */
5204/*************/
5205
5206/* small extent for unclosed area (see below for closed) */
5207area[setting("partial_fill")] {
5208    fill-extent: 15;
5209}
5210
5211/* Turn partial fill off and use plain fill, when the partial fill covers about
5212   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5213   Switching between full and partial fill while drawing an area might be irritating,
5214   so only do this at low zoom. */
5215area|z-13[setting("partial_fill")] {
5216    fill-extent-threshold: 1.0;
5217}
5218
5219/* Larger extent for closed areas.
5220   Turn partial fill off, when it covers more than about 50% of the area. This avoids
5221   areas with small unfilled patches in the center. */
5222area[setting("partial_fill")]:closed2 {
5223    fill-extent: 25;
5224    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5225}
5226
Note: See TracBrowser for help on using the repository browser.