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

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

fix #10831 - refine crossing icons when used together with highway=traffic_signals

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