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

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

fix #12430 - allow man_made=crane on unclosed ways

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