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

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

add running to sport presets, add own mappaint colors for leisure=pitch and leisure=track

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