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

Last change on this file since 7915 was 7915, checked in by Klumbumbus, 9 years ago

see #10835 - icon unification and geometry consistency for aerialway

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