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

Last change on this file since 8040 was 8040, checked in by Klumbumbus, 8 years ago

fix #10725 - remove icon for unknown barrier values

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