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

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

fix #10874 - add leisure=picnic_table to preset and mappaint style; fix typo see #10873

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