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

Last change on this file since 8328 was 8328, checked in by Klumbumbus, 4 years ago

fix #11339 - add man_made=storage_tank to preset and mappaint style (modified patch by brycenesbitt; icon retrieved from gasometer.png)

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