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

Last change on this file since 7825 was 7825, checked in by Don-vip, 5 years ago

fix #10378 - remove amenity=emergency_phone rendering rule

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