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

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

see #10837 - improve building:part preset

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