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

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

remove deprecated emergency=aed mappaint style

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