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

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

fix #12287 - add barrier=jersey_barrier to preset and mappaint style

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