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

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

see #10870 - add mappaint style for junction=yes

File size: 97.7 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12    icon: "dialogs/mappaint/josm_small.png";
13}
14
15canvas {
16    default-points: false;
17}
18
19/*************************/
20/* create style settings */
21/*************************/
22
23setting::hide_icons {
24  type: boolean;
25  label: tr("Hide icons at low zoom");
26  default: true;
27}
28
29setting::shrink_nodes {
30  type: boolean;
31  label: tr("Less obtrusive node symbols at low zoom");
32  default: true;
33}
34
35setting::highway_labels {
36  type: boolean;
37  label: tr("Display street labels (at high zoom)");
38  default: true;
39}
40
41/*********************/
42/* turn restrictions */
43/*********************/
44
45relation[restriction=no_left_turn] {
46    icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png";
47    set icon_z17;
48    text: auto;
49}
50relation[restriction=no_right_turn] {
51    icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png";
52    set icon_z17;
53    text: auto;
54}
55relation[restriction=no_straight_on] {
56    icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png";
57    set icon_z17;
58    text: auto;
59}
60relation[restriction=no_u_turn] {
61    icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png";
62    set icon_z17;
63    text: auto;
64}
65relation[restriction=only_left_turn] {
66    icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png";
67    set icon_z17;
68    text: auto;
69}
70relation[restriction=only_right_turn] {
71    icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png";
72    set icon_z17;
73    text: auto;
74}
75relation[restriction=only_straight_on] {
76    icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png";
77    set icon_z17;
78    text: auto;
79}
80node[restriction] {
81    icon-image: "misc/deprecated.png";
82    set icon_z17;
83    text: auto;
84}
85
86/******************/
87/* bridge, tunnel */
88/******************/
89
90way[bridge?]::core_bridge,
91way[bridge=viaduct]::core_bridge,
92way[bridge=swing]::core_bridge,
93way[bridge=movable]::core_bridge,
94way[bridge=cantilever]::core_bridge,
95way[bridge=covered]::core_bridge,
96way[bridge=low_water_crossing]::core_bridge,
97way[bridge=trestle]::core_bridge,
98way[bridge=aqueduct]::core_bridge {
99    major-z-index: 2;
100    object-z-index: -1;
101    width: +4;
102    color: bridge#0000FF;
103    opacity: 0.9;
104}
105way[tunnel?]::core_tunnel,
106way[tunnel=culvert]::core_tunnel,
107way[tunnel=building_passage]::core_tunnel,
108way[tunnel=avalanche_protector]::core_tunnel {
109    major-z-index: 2;
110    object-z-index: -1;
111    width: +5;
112    color: tunnel#964B00;
113    opacity: 0.9;
114}
115node[oneway],
116node[bridge],
117node[tunnel?],
118node[tunnel?!],
119node[cutting?!],
120node[embankment?!] {
121    icon-image: "misc/deprecated.png";
122    set icon_z17;
123    text: auto;
124}
125
126/****************************/
127/* access restrictions tags */
128/****************************/
129
130way[access?!]::core_access {
131    z-index: -1;
132    width: +2;
133    color: no#ff8080;
134    dashes: 2,2;
135}
136way[access=permissive]::core_access {
137    z-index: -1;
138    width: +2;
139    color: permissive#80ff80;
140    dashes: 2,2;
141}
142way[access=private]::core_access {
143    z-index: -1;
144    width: +2;
145    color: private#ff8080;
146    dashes: 2,2;
147}
148way[access=destination]::core_access {
149    z-index: -1;
150    width: +2;
151    color: destination#8080ff;
152    dashes: 2,2;
153}
154node[access?!] {
155    icon-image: "vehicle/restriction/access.png";
156    set icon_z17;
157}
158node[access=permissive],
159node[access=private],
160node[access=destination] {
161    icon-image: "misc/no_icon.png";
162    set icon_z17;
163    text: auto;
164}
165node[bicycle?!] {
166    icon-image: "vehicle/restriction/bicycle.png";
167    set icon_z17;
168}
169node[bicycle=designated] {
170    icon-image: "vehicle/restriction/bicycle-designated.png";
171    set icon_z17;
172    text: auto;
173}
174node[foot?!] {
175    icon-image: "vehicle/restriction/foot.png";
176    set icon_z17;
177}
178node[foot=designated] {
179    icon-image: "vehicle/restriction/foot-designated.png";
180    set icon_z17;
181    text: auto;
182}
183node[goods?!],
184node[hgv?!] {
185    icon-image: "vehicle/restriction/goods.png";
186    set icon_z17;
187}
188node[horse?!] {
189    icon-image: "vehicle/restriction/horse.png";
190    set icon_z17;
191}
192node[horse=designated] {
193    icon-image: "vehicle/restriction/horse-designated.png";
194    set icon_z17;
195}
196node[motorcycle?!] {
197    icon-image: "vehicle/restriction/motorbike.png";
198    set icon_z17;
199}
200node[motorcar?!] {
201    icon-image: "vehicle/restriction/motorcar.png";
202    set icon_z17;
203}
204node[psv?!] {
205    icon-image: "vehicle/restriction/psv.png";
206    set icon_z17;
207}
208node[motorboat?!],
209node[boat?!] {
210    icon-image: "misc/no_icon.png";
211    set icon_z17;
212}
213node[noexit?] {
214    icon-image: "vehicle/restriction/dead_end.png";
215    set icon_z17;
216}
217node[maxweight] {
218    icon-image: "vehicle/restriction/maxweight.png";
219    set icon_z17;
220}
221node[maxheight] {
222    icon-image: "vehicle/restriction/maxheight.png";
223    set icon_z17;
224}
225node[maxwidth] {
226    icon-image: "vehicle/restriction/maxwidth.png";
227    set icon_z17;
228}
229node[maxlength] {
230    icon-image: "vehicle/restriction/maxlength.png";
231    set icon_z17;
232}
233node[minspeed] {
234    icon-image: "vehicle/restriction/minspeed.png";
235    set icon_z17;
236}
237node[maxstay],
238node[toll] {
239    icon-image: "misc/no_icon.png";
240    set icon_z17;
241}
242
243/*****************************/
244/* building/entrance/address */
245/*****************************/
246
247node["addr:housenumber"],
248node["addr:postcode"] {
249    icon-image: "misc/housenumber.png";
250    set icon_z17;
251    text: auto;
252}
253way["addr:interpolation"=odd] {
254    width: 1;
255    color: address#1C86EE;
256    dashes: 15,4;
257}
258way["addr:interpolation"=even] {
259    width: 1;
260    color: address#1C86EE;
261    dashes: 4,4;
262}
263way["addr:interpolation"=all],
264way["addr:interpolation"=alphabetic] {
265    width: 1;
266    color: address#1C86EE;
267    dashes: 2,2;
268}
269area[building][!building?!] {
270    fill-color: building#cb9999;
271}
272node[building][!building?!] {
273    icon-image: "misc/landmark/building.png";
274    set icon_z17;
275    text: auto;
276}
277node[building=garage] {
278    icon-image: "misc/landuse/garages.png";
279    set icon_z17;
280    text: auto;
281}
282node[building=garages] {
283    icon-image: "misc/landuse/garages.png";
284    set icon_z17;
285    text: auto;
286}
287node[entrance=yes] {
288    icon-image: "misc/entrance-yes.png";
289    set icon_z17;
290    text: auto;
291}
292node[entrance=main] {
293    icon-image: "misc/entrance-main.png";
294    set icon_z17;
295    text: auto;
296}
297node[entrance=service] {
298    icon-image: "misc/entrance-service.png";
299    set icon_z17;
300    text: auto;
301}
302node[entrance=exit] {
303    icon-image: "misc/entrance-exit.png";
304    set icon_z17;
305    text: auto;
306}
307node[entrance=emergency] {
308    icon-image: "misc/entrance-emergency.png";
309    set icon_z17;
310    text: auto;
311}
312node[building=entrance] {
313    icon-image: "misc/deprecated.png";
314    set icon_z17;
315    text: auto;
316}
317
318/****************/
319/* barrier tags */
320/****************/
321
322node[barrier] {
323    icon-image: "vehicle/restriction/barrier.png";
324    set icon_z17;
325    text: auto;
326}
327way[barrier=bollard] {
328    width: 2;
329    color: barrier#F0F050;
330    dashes: 3,9;
331}
332node[barrier=bollard] {
333    icon-image: "presets/bollard.png";
334    icon-width: 16;
335    set icon_z17;
336    text: auto;
337}
338node[barrier=gate] {
339    icon-image: "vehicle/gate.png";
340    set icon_z17;
341    text: auto;
342}
343way[barrier=yes],
344way[barrier=hedge],
345way[barrier=fence],
346way[barrier=wall],
347way[barrier=guard_rail],
348way[barrier=city_wall],
349way[barrier=retaining_wall],
350way[barrier=block],
351way[barrier=chain],
352way[barrier=ditch],
353way[barrier=kerb] {
354    width: 2;
355    color: barrier#F0F050;
356}
357node[barrier=hedge],
358node[barrier=wall],
359node[barrier=guard_rail],
360node[barrier=city_wall],
361node[barrier=retaining_wall],
362node[barrier=ditch] {
363    icon-image: "misc/deprecated.png";
364    set icon_z17;
365    text: auto;
366}
367node[barrier=kerb] {
368    icon-image: "vehicle/kerb.svg";
369    set icon_z17;
370    text: auto;
371}
372node[barrier=block] {
373    icon-image: "vehicle/block.svg";
374    set icon_z17;
375    text: auto;
376}
377node[barrier=chain] {
378    icon-image: "vehicle/chain.svg";
379    set icon_z17;
380    text: auto;
381}
382node[barrier=stile] {
383    icon-image: "vehicle/stile.svg";
384    set icon_z17;
385    text: auto;
386}
387node[barrier=turnstile] {
388    icon-image: "vehicle/turnstile.png";
389    set icon_z17;
390    text: auto;
391}
392node[barrier=cycle_barrier] {
393    icon-image: "vehicle/cycle_barrier.png";
394    set icon_z17;
395    text: auto;
396}
397node[barrier=lift_gate] {
398    icon-image: "vehicle/lift_gate.png";
399    set icon_z17;
400    text: auto;
401}
402node[barrier=swing_gate] {
403    icon-image: "vehicle/swing_gate.png";
404    set icon_z17;
405    text: auto;
406}
407area[barrier=toll_booth]:closed {
408    fill-color: barrier#F0F050;
409}
410node[barrier=toll_booth] {
411    icon-image: "vehicle/toll_booth.png";
412    set icon_z17;
413    text: auto;
414}
415node[barrier=entrance] {
416    icon-image: "vehicle/entrance.png";
417    set icon_z17;
418    text: auto;
419}
420node[barrier=cattle_grid] {
421    icon-image: "vehicle/cattle_grid.png";
422    set icon_z17;
423    text: auto;
424}
425node[barrier=border_control] {
426    icon-image: "vehicle/border_control.png";
427    set icon_z17;
428    text: auto;
429}
430node[barrier=sally_port] {
431    icon-image: "vehicle/sally_port.png";
432    set icon_z17;
433    text: auto;
434}
435node[barrier=spikes] {
436    icon-image: "vehicle/spikes.svg";
437    set icon_z17;
438    text: auto;
439}
440node[barrier=fence],
441node[barrier=kissing_gate],
442node[barrier=bump_gate],
443node[barrier=portcullis],
444node[barrier=bus_trap],
445node[barrier=drawbridge],
446node[barrier=hampshire_gate] {
447    icon-image: "misc/no_icon.png";
448    set icon_z17;
449    text: auto;
450}
451
452/****************/
453/* highway tags */
454/****************/
455
456way[motorroad?]::core_motorroad {
457    major-z-index: 2;
458    z-index: -1;
459    width: +4;
460    color: motorroad#3377ff;
461}
462way[highway=motorway] {
463    width: 3;
464    color: motorway#809bc0;
465}
466way[highway=motorway_link] {
467    width: 3;
468    color: motorway#809bc0;
469}
470way[highway=trunk] {
471    width: 3;
472    color: trunk#7fc97f;
473}
474way[highway=trunk_link] {
475    width: 3;
476    color: trunk#7fc97f;
477}
478way[highway=primary] {
479    width: 3;
480    color: primary#fb805f;
481}
482way[highway=primary_link] {
483    width: 3;
484    color: primary#fb805f;
485}
486way[highway=secondary] {
487    width: 3;
488    color: secondary#fdbf6f;
489}
490way[highway=secondary_link] {
491    width: 3;
492    color: secondary#fdbf6f;
493}
494way[highway=tertiary] {
495    width: 2;
496    color: tertiary#f7f496;
497}
498way[highway=tertiary_link] {
499    width: 2;
500    color: tertiary#f7f496;
501}
502way[highway=unclassified] {
503    width: 2;
504    color: street#c0c0c0;
505}
506way[highway=road] {
507    width: 2;
508    casing-width: 0.5;
509    casing-color: #ff9696;
510    color: #770000;
511}
512way[highway=unsurfaced] {
513    width: 1;
514    color: street#c0c0c0;
515}
516way[highway=track][area?], relation[type=multipolygon][highway=track] {
517    fill-color: highway_track#006600;
518}
519way[highway=track] {
520    width: 1;
521    color: highway_track#006600;
522}
523way[highway=residential] {
524    width: 2;
525    color: street#c0c0c0;
526}
527way[highway=living_street] {
528    width: 2;
529    dashes: 9,9;
530    dashes-background-color: livingdashed#00ff00;
531    color: street#c0c0c0;
532}
533way[highway=service][area?], relation[type=multipolygon][highway=service] {
534    fill-color: service#809bc0;
535}
536way[highway=service][!area?] {
537    width: 1;
538    color: service#809bc0;
539}
540way[highway=bridleway] {
541    width: 1;
542    color: horse#c08000;
543}
544way[highway=cycleway] {
545    width: 1;
546    color: bicycle#b100ff;
547}
548way[highway=footway][area?], relation[type=multipolygon][highway=footway] {
549    fill-color: foot#00ff00;
550}
551way[highway=footway][!area?] {
552    width: 1;
553    color: foot#00ff00;
554}
555way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] {
556    width: 1;
557    dashes: 9,9;
558    color: foot#00ff00;
559}
560/* display path with bicycle/foot=designated/official as if it was cycleway/footway */
561way[highway=path][bicycle=designated],
562way[highway=path][bicycle=official] {
563    width: 1;
564    color: bicycle#b100ff;
565}
566way[highway=path][foot=designated],
567way[highway=path][foot=official] {
568    width: 1;
569    color: foot#00ff00;
570}
571way[highway=path][bicycle=designated][foot=designated],
572way[highway=path][bicycle=official][foot=official] {
573    width: 1;
574    color: bicycle#b100ff;
575    dashes: 14,14;
576    dashes-background-color: foot#00ff00;
577}
578way[highway=cycleway][foot=yes],
579way[highway=path][bicycle=designated][foot=yes],
580way[highway=path][bicycle=official][foot=yes] {
581    width: 1;
582    color: bicycle#b100ff;
583    dashes: 21,7;
584    dashes-background-color: foot#00ff00;
585}
586way[highway=footway][bicycle=yes],
587way[highway=path][bicycle=yes][foot=designated],
588way[highway=path][bicycle=yes][foot=official] {
589    width: 1;
590    color: foot#00ff00;
591    dashes: 21,7;
592    dashes-background-color: bicycle#b100ff;
593}
594way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] {
595    width: 3;
596    color: foot#00ff00;
597    fill-color: foot#00ff00;
598}
599way[highway=pedestrian] {
600    width: 3;
601    color: foot#00ff00;
602}
603way[highway=steps] {
604    width: 1;
605    color: foot#00ff00;
606    dashes: 2,2;
607}
608node[highway=steps] {
609    icon-image: "transport/steps.png";
610    set icon_z17;
611    text: auto;
612}
613way[highway=bus_guideway] {
614    width: 1;
615    color: rail#404040;
616    dashes: 9,9;
617}
618way[highway=raceway] {
619    width: 1;
620    color: raceway#ff80ff;
621}
622way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] {
623    fill-color: raceway#ff80ff;
624}
625area[junction=yes] {
626    fill-color: junction#c0c0c0;
627}
628node[junction=yes] {
629    icon-image: "misc/no_icon.png";
630    set icon_z17;
631    text: auto;
632}
633node[highway=traffic_mirror] {
634    icon-image: "vehicle/traffic_mirror.svg";
635    set icon_z17;
636    text: auto;
637}
638node[direction=clockwise] {
639    icon-image: "vehicle/restriction/roundabout_left.png";
640    set icon_z17;
641    text: auto;
642}
643node[highway=mini_roundabout] {
644    icon-image: "vehicle/restriction/roundabout_left.png";
645    set icon_z17;
646    text: auto;
647}
648node:righthandtraffic[highway=mini_roundabout] {
649    icon-image: "vehicle/restriction/roundabout_right.png";
650    set icon_z17;
651}
652node[highway=stop] {
653    icon-image: "vehicle/restriction/stop.png";
654    set icon_z17;
655    text: auto;
656}
657node[highway=give_way] {
658    icon-image: "vehicle/restriction/right_of_way.png";
659    set icon_z17;
660    text: auto;
661}
662node[highway=traffic_signals] {
663    icon-image: "vehicle/traffic_signals.svg";
664    set icon_z17;
665    text: auto;
666}
667node[highway=traffic_signals][crossing] {
668    icon-image: "vehicle/traffic_signals_crossing.svg";
669    set icon_z17;
670    text: auto;
671}
672node[highway=traffic_signals][crossing_ref=zebra] {
673    icon-image: "vehicle/traffic_signals_crossing_ref_zebra.svg";
674    set icon_z17;
675    text: auto;
676}
677node[highway=traffic_signals][crossing=island] {
678    icon-image: "vehicle/traffic_signals_crossing_island.svg";
679    set icon_z17;
680    text: auto;
681}
682node[highway=traffic_signals][crossing=traffic_signals] {
683    icon-image: "vehicle/traffic_signals_crossing_traffic_signals.svg";
684    set icon_z17;
685    text: auto;
686}
687node[highway=street_lamp] {
688    icon-image: "misc/streetlamp.png";
689    set icon_z17;
690    text: auto;
691}
692node[highway=speed_camera] {
693    icon-image: "vehicle/restriction/speed_trap.png";
694    set icon_z17;
695    text: auto;
696}
697node[traffic_sign=city_limit] {
698    icon-image: "vehicle/restriction/citylimit.png";
699    set icon_z17;
700    text: auto;
701}
702node[highway=crossing] {
703    icon-image: "vehicle/crossing.svg";
704    set icon_z17;
705    text: auto;
706}
707node[highway=crossing][crossing=unmarked] {
708    icon-image: "vehicle/crossing_unmarked.svg";
709    set icon_z17;
710    text: auto;
711}
712node[highway=crossing][crossing=island] {
713    icon-image: "vehicle/crossing_island.svg";
714    set icon_z17;
715    text: auto;
716}
717node[highway=crossing][crossing_ref=zebra] {
718    icon-image: "vehicle/crossing_ref_zebra.svg";
719    set icon_z17;
720    text: auto;
721}
722node[highway=crossing][crossing=traffic_signals] {
723    icon-image: "vehicle/crossing_traffic_signals.svg";
724    set icon_z17;
725    text: auto;
726}
727node[highway=incline], node[highway=incline_steep] {
728    icon-image: "vehicle/restriction/incline.png";
729    set icon_z17;
730    text: auto;
731}
732node[highway=motorway_junction] {
733    icon-image: "vehicle/motorway_junction.svg";
734    set icon_z17;
735    text: auto;
736}
737area[highway=services] {
738    fill-color: services#c0c0c0;
739}
740node[highway=services] {
741    icon-image: "vehicle/services.png";
742    set icon_z17;
743    text: auto;
744}
745area[highway=rest_area] {
746    fill-color: services#c0c0c0;
747}
748node[highway=rest_area] {
749    icon-image: "vehicle/parking.png";
750    set icon_z17;
751    text: auto;
752}
753node[highway=ford], node[ford?] {
754    icon-image: "vehicle/ford.png";
755    set icon_z17;
756    text: auto;
757}
758way[ford?]::core_ford {
759    z-index: 1;
760    width: 2;
761    color: water#0000ff;
762    dashes: 9,9;
763}
764area[highway=platform]:closed {
765    fill-color: highway_platform#c0c0c0;
766}
767way[highway=platform] {
768    width: 2;
769    color: highway_platform#c0c0c0;
770}
771node[highway=turning_circle] {
772    icon-image: "vehicle/turning_circle.png";
773    set icon_z17;
774    text: auto;
775}
776node[highway=turning_loop] {
777    icon-image: "vehicle/turning_loop.png";
778    set icon_z17;
779    text: auto;
780}
781node[highway=passing_place] {
782    icon-image: "vehicle/passing_place.png";
783    set icon_z17;
784    text: auto;
785}
786area[highway=elevator] {
787    fill-color: elevator#a6bace;
788}
789node[highway=elevator] {
790    icon-image: "service/elevator.png";
791    set icon_z17;
792    text: auto;
793}
794way[highway=construction] {
795    width: 2;
796    color: construction#ffff00;
797    dashes: 9,9;
798}
799node[highway=construction] {
800    icon-image: "misc/construction.png";
801    set icon_z17;
802    text: auto;
803}
804area[highway=emergency_access_point] {
805    fill-color: emergency_access_point#c0c0c0;
806}
807node[highway=emergency_access_point] {
808    icon-image: "service/emergency_access_point.png";
809    set icon_z17;
810    text: auto;
811}
812node[highway=motorway], node[highway=motorway_link],
813node[highway=trunk], node[highway=trunk_link],
814node[highway=primary], node[highway=primary_link],
815node[highway=secondary], node[highway=secondary_link],
816node[highway=tertiary], node[highway=tertiary_link],
817node[highway=unclassified],
818node[highway=road],
819node[highway=unsurfaced],
820node[highway=track],
821node[highway=residential],
822node[highway=living_street],
823node[highway=service],
824node[highway=bridleway],
825node[highway=cycleway],
826node[highway=footway],
827node[highway=path],
828node[highway=pedestrian],
829node[highway=bus_guideway],
830node[highway=platform] {
831    icon-image: "misc/deprecated.png";
832    set icon_z17;
833    text: auto;
834}
835
836/************************/
837/* traffic_calming tags */
838/************************/
839
840node[traffic_calming] {
841    icon-image: "vehicle/traffic_calming_blue.png";
842    set icon_z17;
843    text: auto;
844}
845node[traffic_calming=chicane] {
846    icon-image: "vehicle/chicane.png";
847    set icon_z17;
848    text: auto;
849}
850node[traffic_calming=choker],
851node[traffic_calming=cushion] {
852    icon-image: "vehicle/passing_place.png";
853    set icon_z17;
854    text: auto;
855}
856
857/****************/
858/* junction tag */
859/****************/
860
861node[junction=roundabout] {
862    icon-image: "vehicle/restriction/roundabout_left.png";
863    set icon_z17;
864    text: auto;
865}
866node:righthandtraffic[junction=roundabout] {
867    icon-image: "vehicle/restriction/roundabout_right.png";
868    set icon_z17;
869}
870
871/*****************/
872/* cycleway tags */
873/*****************/
874
875way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway,
876way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway {
877    set lR;
878    set righthandtr;
879}
880way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway,
881way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway {
882    set lL;
883    set righthandtr;
884}
885way[oneway?][cycleway=lane]!.righthandtr::core_cycleway,
886way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway {
887    set lL;
888}
889way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway,
890way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway {
891    set lR;
892}
893way[cycleway:left=lane]::core_cycleway {
894    set lL;
895}
896way[cycleway:right=lane]::core_cycleway {
897    set lR;
898}
899way[!oneway][cycleway=lane]::core_cycleway {
900    set lL;
901    set lR;
902}
903
904way[oneway?][cycleway=track]:righthandtraffic::core_cycleway,
905way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway {
906    set tR;
907    set righthandtr;
908}
909way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway,
910way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway {
911    set tL;
912    set righthandtr;
913}
914way[oneway?][cycleway=track]!.righthandtr::core_cycleway,
915way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway {
916    set tL;
917}
918way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway,
919way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway {
920    set tR;
921}
922way[cycleway:left=track]::core_cycleway {
923    set tL;
924}
925way[cycleway:right=track]::core_cycleway {
926    set tR;
927}
928way[!oneway][cycleway=track]::core_cycleway {
929    set tL;
930    set tR;
931}
932
933way.lR::core_cycleway {
934    width: 2;
935    color: bicycle#b100ff;
936    dashes: 6, 10;
937    offset: 0 - (prop("width", "default") / 2) - 2;
938    major-z-index: 2.1;
939    modifier: true;
940}
941way[prop("lL","core_cycleway")]::core_cycleway2 {
942    width: 2;
943    color: bicycle#b100ff;
944    dashes: 6, 10;
945    offset: (prop("width", "default") / 2) + 2;
946    major-z-index: 2.1;
947    modifier: true;
948}
949way.tR::core_cycleway {
950    width: 2;
951    color: bicycle#b100ff;
952    dashes: 25, 8;
953    offset: 0 - (prop("width", "default") / 2) - 2;
954    major-z-index: 2.1;
955    modifier: true;
956}
957way[prop("tL","core_cycleway")]::core_cycleway2 {
958    width: 2;
959    color: bicycle#b100ff;
960    dashes: 25, 8;
961    offset: (prop("width", "default") / 2) + 2;
962    major-z-index: 2.1;
963    modifier: true;
964}
965
966way[cycleway=opposite]::core_cycleway {
967    object-z-index: 1;
968    width: +0;
969    color: bicycle#b100ff;
970    dashes: 4,10;
971}
972node[cycleway=lane], node[cycleway=opposite_lane],
973node[cycleway=track], node[cycleway=opposite_track],
974node[cycleway=opposite] {
975    icon-image: "misc/deprecated.png";
976    set icon_z17;
977    text: auto;
978}
979
980/******************/
981/* tracktype tags */
982/******************/
983
984way[highway=track][tracktype=grade1] {
985    width: 2;
986    dashes: 2,2;
987}
988way[highway=track][tracktype=grade2] {
989    dashes: 2,3;
990}
991way[highway=track][tracktype=grade3] {
992    dashes: 2,4;
993}
994way[highway=track][tracktype=grade4] {
995    dashes: 2,5;
996}
997way[highway=track][tracktype=grade5] {
998    dashes: 1,5;
999}
1000
1001/**************/
1002/* piste tags */
1003/**************/
1004
1005way[route=ski]::core_piste {
1006    z-index: -1;
1007    modifier: false;
1008    width: 6;
1009    color: ski#809bc0;
1010}
1011area[piste:difficulty=easy][!highway]:closed::core_piste {
1012    fill-color: piste_easy#0000ff;
1013}
1014way[piste:difficulty=easy]::core_piste {
1015    z-index: -1; /* below line style from highway=* tag */
1016    modifier: false; /* suppress default line if there is no style on default layer */
1017    width: 6;
1018    color: piste_easy#0000ff;
1019}
1020area[piste:difficulty=intermediate][!highway]:closed::core_piste {
1021    fill-color: piste_intermediate#ff0000;
1022}
1023way[piste:difficulty=intermediate]::core_piste {
1024    z-index: -1;
1025    modifier: false;
1026    width: 6;
1027    color: piste_intermediate#ff0000;
1028}
1029area[piste:difficulty=advanced][!highway]:closed::core_piste {
1030    fill-color: piste_advanced#606060;
1031}
1032way[piste:difficulty=advanced]::core_piste {
1033    z-index: -1;
1034    modifier: false;
1035    width: 6;
1036    color: piste_advanced#606060;
1037}
1038area[piste:difficulty=expert][!highway]:closed::core_piste {
1039    fill-color: piste_expert#606060;
1040}
1041way[piste:difficulty=expert]::core_piste {
1042    z-index: -1;
1043    modifier: false;
1044    width: 6;
1045    color: piste_expert#606060;
1046}
1047area[piste:difficulty=freeride][!highway]:closed::core_piste {
1048    fill-color: piste_freeride#ffff00;
1049}
1050way[piste:difficulty=freeride]::core_piste {
1051    z-index: -1;
1052    modifier: false;
1053    width: 6;
1054    color: piste_freeride#ffff00;
1055}
1056area[piste:difficulty=novice][!highway]:closed::core_piste {
1057    fill-color: piste_novice#00ff00;
1058}
1059way[piste:difficulty=novice]::core_piste {
1060    z-index: -1;
1061    modifier: false;
1062    width: 6;
1063    color: piste_novice#00ff00;
1064}
1065node[piste:difficulty=easy],
1066node[piste:difficulty=intermediate],
1067node[piste:difficulty=advanced],
1068node[piste:difficulty=expert],
1069node[piste:difficulty=freeride],
1070node[piste:difficulty=novice] {
1071    icon-image: "sport/skiing.png";
1072    set icon_z17;
1073}
1074
1075/**************/
1076/* power tags */
1077/**************/
1078
1079area[power=tower] {
1080    fill-color: power#eeeeee;
1081}
1082node[power=tower] {
1083    icon-image: "misc/landmark/power/tower_small.png";
1084    set icon_z17;
1085    text: auto;
1086}
1087node[power=pole] {
1088    icon-image: "misc/landmark/power/pole.png";
1089    set icon_z17;
1090    text: auto;
1091}
1092way[power=line],
1093way[power=minor_line] {
1094    width: 1;
1095    color: power#eeeeee;
1096}
1097way[power=cable] {
1098    width: 1;
1099    color: power#eeeeee;
1100    dashes: 9,9;
1101}
1102node[power=line],
1103node[power=cable],
1104node[power=minor_line] {
1105    icon-image: "misc/deprecated.png";
1106    set icon_z17;
1107    text: auto;
1108}
1109area[power=plant],
1110area[power=sub_station],
1111area[power=substation],
1112area[power=transformer],
1113area[power=generator] {
1114    fill-color: power#eeeeee;
1115}
1116node[power=plant],
1117node[power=sub_station],
1118node[power=substation],
1119node[power=cable_distribution_cabinet],
1120node[power=generator] {
1121    icon-image: "misc/landmark/power.png";
1122    set icon_z17;
1123    text: auto;
1124}
1125node[power=transformer] {
1126    icon-image: "misc/landmark/power/transformer.png";
1127    set icon_z17;
1128    text: auto;
1129}
1130
1131/*************************/
1132/* generator:source tags */
1133/*************************/
1134
1135area[generator:source=nuclear],
1136area[generator:source=wind],
1137area[generator:source=hydro],
1138area[generator:source=tidal],
1139area[generator:source=wave],
1140area[generator:source=osmotic],
1141area[generator:source=geothermal],
1142area[generator:source=solar],
1143area[generator:source=coal],
1144area[generator:source=gas],
1145area[generator:source=biomass],
1146area[generator:source=biofuel],
1147area[generator:source=biogas],
1148area[generator:source=oil],
1149area[generator:source=diesel],
1150area[generator:source=gasoline],
1151area[generator:source=waste] {
1152    fill-color: power#eeeeee;
1153}
1154node[generator:source=nuclear] {
1155    icon-image: "presets/power_source-nuclear.svg";
1156    set icon_z17;
1157    text: auto;
1158}
1159node[generator:source=wind] {
1160    icon-image: "presets/power_source-wind.svg";
1161    set icon_z17;
1162    text: auto;
1163}
1164node[generator:source=hydro],
1165node[generator:source=tidal],
1166node[generator:source=wave],
1167node[generator:source=osmotic],
1168node[generator:source=geothermal] {
1169    icon-image: "presets/power_source-water.svg";
1170    set icon_z17;
1171    text: auto;
1172}
1173node[generator:source=solar] {
1174    icon-image: "presets/power_source-sun.svg";
1175    set icon_z17;
1176    text: auto;
1177}
1178node[generator:source=coal] {
1179    icon-image: "presets/power_source-coal.svg";
1180    set icon_z17;
1181    text: auto;
1182}
1183node[generator:source=gas] {
1184    icon-image: "presets/power_source-gas.svg";
1185    set icon_z17;
1186    text: auto;
1187}
1188node[generator:source=biomass],
1189node[generator:source=biofuel],
1190node[generator:source=biogas] {
1191    icon-image: "presets/power_source-biofuel.svg";
1192    set icon_z17;
1193    text: auto;
1194}
1195node[generator:source=oil],
1196node[generator:source=diesel],
1197node[generator:source=gasoline] {
1198    icon-image: "presets/power_source-oil.svg";
1199    set icon_z17;
1200    text: auto;
1201}
1202node[generator:source=waste] {
1203    icon-image: "presets/power_source-waste.svg";
1204    set icon_z17;
1205    text: auto;
1206}
1207node[power_source] {
1208    icon-image: "misc/deprecated.png";
1209    set icon_z17;
1210    text: auto;
1211}
1212/*****************/
1213/* man_made tags */
1214/*****************/
1215
1216area[man_made=beacon],
1217area[man_made=bridge],
1218area[man_made=chimney],
1219area[man_made=crane],
1220area[man_made=flagpole],
1221area[man_made=gasometer],
1222area[man_made=bunker_silo],
1223area[man_made=lighthouse],
1224area[man_made=monitoring_station],
1225area[man_made=mineshaft],
1226area[man_made=adit] {
1227    fill-color: manmade#d8d8d8;
1228}
1229node[man_made=beacon] {
1230    icon-image: "misc/landmark/beacon.png";
1231    set icon_z17;
1232    text: auto;
1233}
1234node[man_made=chimney] {
1235    icon-image: "misc/landmark/chimney.png";
1236    set icon_z17;
1237    text: auto;
1238}
1239node[man_made=crane] {
1240    icon-image: "misc/landmark/crane.png";
1241    set icon_z17;
1242    text: auto;
1243}
1244node[man_made=flagpole] {
1245    icon-image: "misc/flag.png";
1246    set icon_z17;
1247    text: auto;
1248}
1249node[man_made=gasometer] {
1250    icon-image: "misc/landmark/gasometer.png";
1251    set icon_z17;
1252    text: auto;
1253}
1254node[man_made=bunker_silo] {
1255    icon-image: "bunker_silo.svg";
1256    set icon_z17;
1257    text: auto;
1258}
1259area[man_made=groyne]:closed {
1260    fill-color: manmade#d8d8d8;
1261}
1262way[man_made=groyne] {
1263    width: 2;
1264    color: manmade#d8d8d8;
1265}
1266area[man_made=breakwater]:closed {
1267    fill-color: manmade#d8d8d8;
1268}
1269way[man_made=breakwater] {
1270    width: 2;
1271    color: manmade#d8d8d8;
1272}
1273node[man_made=groyne] {
1274    icon-image: "nautical/groyne.png";
1275    set icon_z17;
1276    text: auto;
1277}
1278node[man_made=lighthouse] {
1279    icon-image: "misc/landmark/lighthouse.png";
1280    set icon_z17;
1281    text: auto;
1282}
1283node[man_made=monitoring_station] {
1284    icon-image: "misc/landmark/measurement_station.png";
1285    set icon_z17;
1286    text: auto;
1287}
1288node[man_made=mineshaft] {
1289    icon-image: "misc/landmark/mine.png";
1290    set icon_z17;
1291    text: auto;
1292}
1293node[man_made=adit] {
1294    icon-image: "misc/landmark/adit.png";
1295    set icon_z17;
1296    text: auto;
1297}
1298area[man_made=pier]:closed {
1299    fill-color: pier#660000;
1300}
1301way[man_made=pier] {
1302    width: 2;
1303    color: pier#660000;
1304}
1305node[man_made=pier] {
1306    icon-image: "nautical/pier.png";
1307    set icon_z17;
1308    text: auto;
1309}
1310way[embankment?][!highway][!railway][!waterway],
1311way[man_made=embankment][!highway][!railway][!waterway] {
1312    repeat-image: "misc/embankment-pattern.png";
1313    repeat-image-align: top;
1314    width: 1;
1315    color: embankment#c14d00;
1316}
1317way[embankment?][highway],
1318way[embankment?][railway],
1319way[embankment?][waterway],
1320way[man_made=embankment][highway],
1321way[man_made=embankment][railway],
1322way[man_made=embankment][waterway] {
1323    repeat-image: "misc/embankment-pattern-centered.png";
1324}
1325way[man_made=pipeline] {
1326    width: 2;
1327    color: pipeline#660000;
1328}
1329node[man_made=pipeline] {
1330    icon-image: "misc/deprecated.png";
1331    set icon_z17;
1332    text: auto;
1333}
1334node[man_made=petroleum_well] {
1335    icon-image: "misc/no_icon.png";
1336    set icon_z17;
1337    text: auto;
1338}
1339area[man_made=reservoir_covered],
1340area[man_made=surveillance],
1341area[man_made=survey_point],
1342area[man_made=tower],
1343area[man_made=wastewater_plant],
1344area[man_made=watermill],
1345area[man_made=water_tower],
1346area[man_made=water_well],
1347area[man_made=windmill],
1348area[man_made=works],
1349area[man_made=water_works] {
1350    fill-color: manmade#d8d8d8;
1351}
1352node[man_made=reservoir_covered] {
1353    icon-image: "misc/landmark/reservoir_covered.png";
1354    set icon_z17;
1355    text: auto;
1356}
1357node[man_made=surveillance] {
1358    icon-image: "misc/surveillance.png";
1359    set icon_z17;
1360    text: auto;
1361}
1362node[man_made=survey_point] {
1363    icon-image: "misc/landmark/survey_point.png";
1364    set icon_z17;
1365    text: auto;
1366}
1367node[man_made=tower] {
1368    icon-image: "misc/landmark/tower.png";
1369    set icon_z17;
1370    text: auto;
1371}
1372node[man_made=wastewater_plant] {
1373    icon-image: "misc/landmark/wastewater_plant.png";
1374    set icon_z17;
1375    text: auto;
1376}
1377node[man_made=watermill] {
1378    icon-image: "misc/landmark/watermill.png";
1379    set icon_z17;
1380    text: auto;
1381}
1382node[man_made=water_tower] {
1383    icon-image: "misc/landmark/water_tower.png";
1384    set icon_z17;
1385    text: auto;
1386}
1387node[man_made=water_well] {
1388    icon-image: "misc/landmark/water_well.png";
1389    set icon_z17;
1390    text: auto;
1391}
1392node[man_made=windmill] {
1393    icon-image: "misc/landmark/windmill.png";
1394    set icon_z17;
1395    text: auto;
1396}
1397node[man_made=works] {
1398    icon-image: "misc/landmark/works.png";
1399    set icon_z17;
1400    text: auto;
1401}
1402node[man_made=water_works] {
1403    icon-image: "misc/landmark/water_works.png";
1404    set icon_z17;
1405    text: auto;
1406}
1407
1408/***************/
1409/* office tags */
1410/***************/
1411
1412area[office=company],
1413area[office=government] {
1414    fill-color: office#de5696;
1415}
1416node[office=company] {
1417    icon-image: "icons/office_blue.png";
1418    set icon_z17;
1419    text: auto;
1420}
1421node[office=government] {
1422    icon-image: "icons/office_pink.png";
1423    set icon_z17;
1424    text: auto;
1425}
1426
1427/****************/
1428/* leisure tags */
1429/****************/
1430
1431area[leisure=sports_centre],
1432area[leisure=golf_course],
1433area[leisure=stadium],
1434area[leisure=track][!area?!]:closed,
1435area[leisure=pitch],
1436area[leisure=water_park] {
1437    fill-color: leisure#c7f1a3;
1438}
1439node[leisure=sports_centre] {
1440    icon-image: "sport/centre.png";
1441    set icon_z17;
1442    text: auto;
1443}
1444node[leisure=golf_course] {
1445    icon-image: "sport/golf.svg";
1446    set icon_z17;
1447    text: auto;
1448}
1449node[leisure=stadium] {
1450    icon-image: "sport/stadium.png";
1451    set icon_z17;
1452    text: auto;
1453}
1454way[leisure=track] {
1455    width: 2;
1456    color: leisure#c7f1a3;
1457}
1458node[leisure=track] {
1459    icon-image: "sport/track.png";
1460    set icon_z17;
1461    text: auto;
1462}
1463node[leisure=pitch] {
1464    icon-image: "sport/pitch.png";
1465    set icon_z17;
1466    text: auto;
1467}
1468node[leisure=water_park] {
1469    icon-image: "leisure/water_park.png";
1470    set icon_z17;
1471    text: auto;
1472}
1473area[leisure=marina] {
1474    fill-color: marina#0070cf;
1475}
1476node[leisure=marina] {
1477    icon-image: "nautical/marina.png";
1478    set icon_z17;
1479    text: auto;
1480}
1481area[leisure=slipway],
1482area[leisure=fishing],
1483area[leisure=nature_reserve],
1484area[leisure=park],
1485area[leisure=playground],
1486area[leisure=garden],
1487area[leisure=common],
1488area[leisure=firepit] {
1489    fill-color: leisure#c7f1a3;
1490}
1491node[leisure=slipway] {
1492    icon-image: "nautical/slipway.png";
1493    set icon_z17;
1494    text: auto;
1495}
1496node[leisure=fishing] {
1497    icon-image: "sport/fishing.png";
1498    set icon_z17;
1499    text: auto;
1500}
1501node[leisure=nature_reserve] {
1502    icon-image: "leisure/nature_reserve.png";
1503    set icon_z17;
1504    text: auto;
1505}
1506node[leisure=park] {
1507    icon-image: "misc/deprecated.png";
1508    set icon_z17;
1509    text: auto;
1510}
1511node[leisure=playground] {
1512    icon-image: "leisure/playground.png";
1513    set icon_z17;
1514    text: auto;
1515}
1516node[leisure=garden] {
1517    icon-image: "leisure/garden.png";
1518    set icon_z17;
1519    text: auto;
1520}
1521node[leisure=common] {
1522    icon-image: "leisure/common.png";
1523    set icon_z17;
1524    text: auto;
1525}
1526node[leisure=firepit] { 
1527    icon-image: "leisure/firepit.svg"; 
1528    set icon_z17; 
1529    text: auto; 
1530}
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}
3371node[aerialway=cable_car] {
3372    icon-image: "transport/aerialway/cable_car.png";
3373    set icon_z17;
3374    text: auto;
3375}
3376node[aerialway=gondola] {
3377    icon-image: "transport/aerialway/gondola.png";
3378    set icon_z17;
3379    text: auto;
3380}
3381way[aerialway=chair_lift] {
3382    width: 1;
3383    color: aerialway#663300;
3384    dashes: 6,6;
3385}
3386node[aerialway=chair_lift] {
3387    icon-image: "transport/aerialway/chair_lift.png";
3388    set icon_z17;
3389    text: auto;
3390}
3391way[aerialway=drag_lift] {
3392    width: 1;
3393    color: aerialway#663300;
3394    dashes: 3,3;
3395}
3396node[aerialway=drag_lift] {
3397    icon-image: "transport/aerialway/drag_lift.png";
3398    set icon_z17;
3399    text: auto;
3400}
3401area[aerialway=station],
3402area[aerialway=pylon] {
3403    fill-color: aerialway#663300;
3404}
3405node[aerialway=station] {
3406    icon-image: "transport/aerialway/station.png";
3407    set icon_z17;
3408    text: auto;
3409}
3410node[aerialway=pylon] {
3411    icon-image: "misc/landmark/power/tower_small.png";
3412    set icon_z17;
3413    text: auto;
3414}
3415way[aerialway=goods] {
3416    width: 1;
3417    color: aerialway#663300;
3418    dashes: 2,2;
3419}
3420node[aerialway=goods] {
3421    icon-image: "transport/aerialway/goods.png";
3422    set icon_z17;
3423    text: auto;
3424}
3425
3426/**************/
3427/* sport tags */
3428/**************/
3429
3430area[sport="9pin"],
3431area[sport="10pin"],
3432area[sport=athletics],
3433area[sport=soccer],
3434area[sport=australian_football],
3435area[sport=american_football],
3436area[sport=canadian_football],
3437area[sport=gaelic_games],
3438area[sport=rugby_league],
3439area[sport=rugby_union] {
3440    fill-color: sport#bde3cb;
3441}
3442node[sport="9pin"] {
3443    icon-image: "sport/10pin.png";
3444    set icon_z17;
3445    text: auto;
3446}
3447node[sport="10pin"] {
3448    icon-image: "sport/10pin.png";
3449    set icon_z17;
3450    text: auto;
3451}
3452node[sport=athletics] {
3453    icon-image: "sport/athletics.png";
3454    set icon_z17;
3455    text: auto;
3456}
3457node[sport=soccer],
3458node[sport=gaelic_games] {
3459    icon-image: "sport/soccer.png";
3460    set icon_z17;
3461    text: auto;
3462}
3463node[sport=australian_football],
3464node[sport=american_football],
3465node[sport=canadian_football],
3466node[sport=rugby_league],
3467node[sport=rugby_union] {
3468    icon-image: "sport/football.png";
3469    set icon_z17;
3470    text: auto;
3471}
3472area[sport=baseball],
3473area[sport=basketball],
3474area[sport=boules],
3475area[sport=bowls],
3476area[sport=canoe],
3477area[sport=chess],
3478area[sport=climbing]:closed,
3479area[sport=cricket],
3480area[sport=cricket_nets],
3481area[sport=croquet] {
3482    fill-color: sport#bde3cb;
3483}
3484node[sport=baseball] {
3485    icon-image: "sport/baseball.png";
3486    set icon_z17;
3487    text: auto;
3488}
3489node[sport=basketball] {
3490    icon-image: "sport/basketball.png";
3491    set icon_z17;
3492    text: auto;
3493}
3494node[sport=boules] {
3495    icon-image: "sport/boule.png";
3496    set icon_z17;
3497    text: auto;
3498}
3499node[sport=bowls] {
3500    icon-image: "sport/boule.png";
3501    set icon_z17;
3502    text: auto;
3503}
3504node[sport=canoe] {
3505    icon-image: "sport/canoe.svg";
3506    set icon_z17;
3507    text: auto;
3508}
3509node[sport=chess] {
3510    icon-image: "sport/chess.png";
3511    set icon_z17;
3512    text: auto;
3513}
3514node[sport=climbing] {
3515    icon-image: "sport/climbing.png";
3516    set icon_z17;
3517    text: auto;
3518}
3519node[sport=cricket] {
3520    icon-image: "sport/cricket.png";
3521    set icon_z17;
3522    text: auto;
3523}
3524node[sport=cricket_nets] {
3525    icon-image: "sport/cricket.png";
3526    set icon_z17;
3527    text: auto;
3528}
3529node[sport=croquet] {
3530    icon-image: "sport/croquet.png";
3531    set icon_z17;
3532    text: auto;
3533}
3534area[sport=cycling],
3535area[sport=dog_racing],
3536area[sport=equestrian],
3537area[sport=golf],
3538area[sport=gymnastics],
3539area[sport=hockey],
3540area[sport=horse_racing],
3541area[sport=karting],
3542area[sport=motocross],
3543area[sport=motor] {
3544    fill-color: sport#bde3cb;
3545}
3546node[sport=cycling] {
3547    icon-image: "sport/cycling.png";
3548    set icon_z17;
3549    text: auto;
3550}
3551node[sport=dog_racing] {
3552    icon-image: "leisure/dog.png";
3553    set icon_z17;
3554    text: auto;
3555}
3556node[sport=equestrian] {
3557    icon-image: "presets/equestrian.png";
3558    icon-width: 16;
3559    set icon_z17;
3560    text: auto;
3561}
3562node[sport=golf] {
3563    icon-image: "sport/golf.svg";
3564    set icon_z17;
3565    text: auto;
3566}
3567node[sport=gymnastics] {
3568    icon-image: "presets/gymnastics.png";
3569    icon-width: 16;
3570    set icon_z17;
3571    text: auto;
3572}
3573node[sport=hockey] {
3574    icon-image: "sport/hockey.png";
3575    set icon_z17;
3576    text: auto;
3577}
3578node[sport=horse_racing] {
3579    icon-image: "sport/riding.png";
3580    set icon_z17;
3581    text: auto;
3582}
3583node[sport=karting] {
3584    icon-image: "sport/karting.png";
3585    set icon_z17;
3586    text: auto;
3587}
3588node[sport=motocross] {
3589    icon-image: "sport/motocross.png";
3590    set icon_z17;
3591    text: auto;
3592}
3593node[sport=motor] {
3594    icon-image: "sport/motor.png";
3595    set icon_z17;
3596    text: auto;
3597}
3598area[sport=multi],
3599area[sport=pelota],
3600area[sport=racquet],
3601area[sport=skating],
3602area[sport=skateboard] {
3603    fill-color: sport#bde3cb;
3604}
3605node[sport=multi] {
3606    icon-image: "sport/multi.png";
3607    set icon_z17;
3608    text: auto;
3609}
3610node[sport=pelota] {
3611    icon-image: "sport/pelota.png";
3612    set icon_z17;
3613    text: auto;
3614}
3615node[sport=racquet] {
3616    icon-image: "sport/racquetball.png";
3617    set icon_z17;
3618    text: auto;
3619}
3620node[sport=skating] {
3621    icon-image: "sport/skating.png";
3622    set icon_z17;
3623    text: auto;
3624}
3625node[sport=skateboard] {
3626    icon-image: "sport/skateboard.png";
3627    set icon_z17;
3628    text: auto;
3629}
3630area[sport=swimming] {
3631    fill-color: swimming_pool#51c4ef;
3632}
3633node[sport=swimming] {
3634    icon-image: "sport/pool.png";
3635    set icon_z17;
3636    text: auto;
3637}
3638area[sport=skiing],
3639area[sport=table_tennis],
3640area[sport=tennis],
3641area[sport=paintball] {
3642    fill-color: sport#bde3cb;
3643}
3644node[sport=skiing] {
3645    icon-image: "sport/skiing.png";
3646    set icon_z17;
3647    text: auto;
3648}
3649node[sport=table_tennis] {
3650    icon-image: "sport/table_tennis.png";
3651    set icon_z17;
3652    text: auto;
3653}
3654node[sport=tennis] {
3655    icon-image: "sport/tennis.png";
3656    set icon_z17;
3657    text: auto;
3658}
3659node[sport=paintball] {
3660    icon-image: "misc/no_icon.png";
3661    set icon_z17;
3662    text: auto;
3663}
3664area[sport=squash],
3665area[sport=shooting],
3666area[sport=volleyball],
3667area[sport=beachvolleyball],
3668area[sport=bowling],
3669area[sport=handball],
3670area[sport=rowing],
3671area[sport=sailing],
3672area[sport=scuba_diving],
3673area[sport=badminton] {
3674    fill-color: sport#bde3cb;
3675}
3676node[sport=squash] {
3677    icon-image: "misc/no_icon.png";
3678    set icon_z17;
3679    text: auto;
3680}
3681node[sport=shooting] {
3682    icon-image: "presets/range.png";
3683    icon-width: 16;
3684    set icon_z17;
3685    text: auto;
3686}
3687node[sport=volleyball] {
3688    icon-image: "sport/volleyball.png";
3689    set icon_z17;
3690    text: auto;
3691}
3692node[sport=beachvolleyball] {
3693    icon-image: "sport/beachvolleyball.png";
3694    set icon_z17;
3695    text: auto;
3696}
3697node[sport=bowling] {
3698    icon-image: "sport/10pin.png";
3699    set icon_z17;
3700    text: auto;
3701}
3702node[sport=handball] {
3703    icon-image: "sport/handball.png";
3704    set icon_z17;
3705    text: auto;
3706}
3707node[sport=rowing] {
3708    icon-image: "sport/rowing.png";
3709    set icon_z17;
3710    text: auto;
3711}
3712node[sport=sailing] {
3713    icon-image: "misc/no_icon.png";
3714    set icon_z17;
3715    text: auto;
3716}
3717node[sport=scuba_diving] {
3718    icon-image: "sport/scuba_diving.svg";
3719    set icon_z17;
3720    text: auto;
3721}
3722node[sport=badminton] {
3723    icon-image: "misc/no_icon.png";
3724    set icon_z17;
3725    text: auto;
3726}
3727area[sport=archery],
3728area[sport=fishing],
3729area[sport=safety_training],
3730area[sport=model_aerodrome],
3731area[sport=rc_car] {
3732    fill-color: sport#bde3cb;
3733}
3734node[sport=archery] {
3735    icon-image: "sport/archery.png";
3736    set icon_z17;
3737    text: auto;
3738}
3739node[sport=fishing] {
3740    icon-image: "sport/fishing.png";
3741    set icon_z17;
3742    text: auto;
3743}
3744node[sport=safety_training] {
3745    icon-image: "sport/safety_training.png";
3746    set icon_z17;
3747    text: auto;
3748}
3749node[sport=model_aerodrome] {
3750    icon-image: "transport/airport.png";
3751    set icon_z17;
3752    text: auto;
3753}
3754node[sport=rc_car] {
3755    icon-image: "transport/car.png";
3756    set icon_z17;
3757    text: auto;
3758}
3759
3760/****************/
3761/* natural tags */
3762/****************/
3763
3764area[natural=spring] {
3765    fill-color: light_water#00005f;
3766}
3767node[natural=spring] {
3768    icon-image: "misc/landmark/spring.png";
3769    set icon_z17;
3770    text: auto;
3771}
3772node[natural=saddle] {
3773    icon-image: "presets/saddle.svg";
3774    set icon_z0;
3775    text: auto;
3776    set text_z0;
3777}
3778area[natural=peak] {
3779    fill-color: peak#663300;
3780}
3781node[natural=peak] {
3782    icon-image: "presets/peak.svg";
3783    set icon_z0;
3784    text: auto;
3785    set text_z0;
3786}
3787node[natural=peak][tourism=viewpoint] {
3788    icon-image: "sightseeing/peak_viewpoint.svg";
3789    set icon_z0;
3790    text: auto;
3791    set text_z0;
3792}
3793area[natural=glacier] {
3794    fill-color: glacier#ffffff;
3795}
3796node[natural=glacier] {
3797    icon-image: "misc/landmark/glacier_small.png";
3798    set icon_z0;
3799    text: auto;
3800    set text_z0;
3801}
3802area[natural=volcano] {
3803    fill-color: volcano#5f0000;
3804}
3805node[natural=volcano] {
3806    icon-image: "misc/landmark/volcano_small.png";
3807    set icon_z0;
3808    text: auto;
3809    set text_z0;
3810}
3811area[natural=cliff]:closed {
3812    fill-color: natural#002f00;
3813}
3814way[natural=cliff] {
3815    repeat-image: "misc/cliff-pattern.png";
3816    repeat-image-align: top;
3817    width: 1;
3818    color: #b2b2b2;
3819}
3820node[natural=cliff] {
3821    icon-image: "misc/cliff.png";
3822    set icon_z17;
3823    text: auto;
3824}
3825way[natural=ridge] {
3826    width: 1;
3827    color: natural#002f00;
3828}
3829area[natural=scree] {
3830    fill-color: natural#002f00;
3831}
3832area[natural=scrub] {
3833    fill-color: scrub#007000;
3834}
3835area[natural=fell] {
3836    fill-color: natural#002f00;
3837}
3838area[natural=heath] {
3839    fill-color: heath#ffffc0;
3840}
3841way[natural=tree_row] {
3842    width: 2;
3843    color: woodarea#008000;
3844}
3845area[natural=wood] {
3846    fill-color: woodarea#008000;
3847}
3848area[natural=grassland] {
3849    fill-color: green#b1e0c2;
3850}
3851area[natural=wetland] {
3852    fill-color: marsh#4f4ff3;
3853}
3854area[natural=water] {
3855    fill-color: water#0000ff;
3856}
3857way[natural=coastline] {
3858    width: 1;
3859    color: water#0000ff;
3860}
3861area[natural=mud] {
3862    fill-color: mud#cba762;
3863}
3864area[natural=beach] {
3865    fill-color: beach#f8dba2;
3866}
3867area[natural=sand] {
3868    fill-color: sand#f8dba2;
3869}
3870area[natural=bare_rock] {
3871    fill-color: bare_rock#f8f8c7;
3872}
3873area[natural=stone] {
3874    fill-color: stone#f8f8c7;
3875}
3876node[natural=stone] {
3877    icon-image: "misc/no_icon.png";
3878    set icon_z17;
3879    text: auto;
3880}
3881area[natural=bay],
3882area[natural=cave_entrance] {
3883    fill-color: natural#002f00;
3884}
3885node[natural=bay] {
3886    icon-image: "misc/bay.png";
3887    set icon_z17;
3888    text: auto;
3889}
3890node[natural=cave_entrance] {
3891    icon-image: "misc/landmark/cave_entrance.png";
3892    set icon_z17;
3893    text: auto;
3894}
3895node[natural=tree] {
3896    icon-image: "misc/landmark/trees.png";
3897    set icon_z17;
3898    text: auto;
3899}
3900node[natural=tree][type=conifer],
3901node[natural=tree][leaf_type=needleleaved] {
3902    icon-image: "misc/landmark/trees_conifer.png";
3903    set icon_z17;
3904    text: auto;
3905}
3906node[natural=tree][type=broad_leaved],
3907node[natural=tree][leaf_type=broadleaved] {
3908    icon-image: "misc/landmark/trees_broad_leaved.png";
3909    set icon_z17;
3910    text: auto;
3911}
3912node[natural=tree][type=palm] {
3913    icon-image: "misc/landmark/trees_palm.png";
3914    set icon_z17;
3915    text: auto;
3916}
3917node[natural=scree],
3918node[natural=scrub],
3919node[natural=fell],
3920node[natural=heath],
3921node[natural=tree_row],
3922node[natural=wood],
3923node[natural=grassland],
3924node[natural=wetland],
3925node[natural=water],
3926node[natural=coastline],
3927node[natural=mud],
3928node[natural=beach],
3929node[natural=sand],
3930node[natural=land],
3931node[natural=bare_rock],
3932node[natural=ridge] {
3933    icon-image: "misc/deprecated.png";
3934    set icon_z17;
3935    text: auto;
3936}
3937/*****************/
3938/* waterway tags */
3939/*****************/
3940
3941way[waterway=river] {
3942    width: 2;
3943    color: water#0000ff;
3944}
3945area[waterway=riverbank] {
3946    fill-color: riverbank#0000cf;
3947    width: 1;
3948    color: riverbank#0000cf;
3949}
3950way[waterway=canal], way[waterway=wadi] {
3951    width: 2;
3952    color: water#0000ff;
3953}
3954way[waterway=stream] {
3955    width: 1;
3956    color: stream#6600cc;
3957}
3958way[waterway=ditch], way[waterway=drain] {
3959    width: 1;
3960    color: water#0000ff;
3961}
3962area[waterway=dock] {
3963    fill-color: dock#0000cf;
3964}
3965node[waterway=dock] {
3966    icon-image: "nautical/boatyard.png";
3967    set icon_z17;
3968    text: auto;
3969}
3970node[waterway=lock_gate] {
3971    icon-image: "nautical/lock_gate.png";
3972    set icon_z17;
3973    text: auto;
3974}
3975node[waterway=turning_point] {
3976    icon-image: "nautical/turning.png";
3977    set icon_z17;
3978    text: auto;
3979}
3980area[waterway=boatyard] {
3981    fill-color: manmade#d8d8d8;
3982}
3983node[waterway=boatyard] {
3984    icon-image: "nautical/boatyard.png";
3985    set icon_z17;
3986    text: auto;
3987}
3988node[waterway=water_point],
3989node[waterway=waste_disposal],
3990node[waterway=mooring] {
3991    icon-image: "misc/deprecated.png";
3992    set icon_z17;
3993    text: auto;
3994}
3995node[mooring] {
3996    icon-image: "nautical/marina.png";
3997    set icon_z17;
3998    text: auto;
3999}
4000way[waterway=weir] {
4001    width: 2;
4002    color: manmade#d8d8d8;
4003}
4004node[waterway=weir] {
4005    icon-image: "nautical/weir.png";
4006    set icon_z17;
4007    text: auto;
4008}
4009way[waterway=rapids] {
4010    width: 2;
4011    color: rapids#8080ff;
4012}
4013node[waterway=rapids] {
4014    icon-image: "misc/no_icon.png";
4015    set icon_z17;
4016    text: auto;
4017}
4018area[waterway=dam]:closed {
4019    fill-color: manmade#d8d8d8;
4020}
4021way[waterway=dam] {
4022    width: 2;
4023    color: manmade#d8d8d8;
4024}
4025node[waterway=dam] {
4026    icon-image: "nautical/dam.png";
4027    set icon_z17;
4028    text: auto;
4029}
4030/* it's not possible to have both line and area, line seems more likely */
4031way[waterway=waterfall] {
4032    width: 2;
4033    color: manmade#d8d8d8;
4034}
4035node[waterway=waterfall] {
4036    icon-image: "nautical/waterfall.png";
4037    set icon_z17;
4038    text: auto;
4039}
4040node[waterway=river], node[waterway=riverbank],
4041node[waterway=canal], node[waterway=wadi],
4042node[waterway=stream],
4043node[waterway=ditch], node[waterway=drain] {
4044    icon-image: "misc/deprecated.png";
4045    set icon_z17;
4046    text: auto;
4047}
4048
4049/**************/
4050/* route tags */
4051/**************/
4052
4053way[route=ferry] {
4054    width: 1;
4055    color: ferry#809bc0;
4056    dashes: 9,9;
4057}
4058node[route=bus],
4059node[route=ferry],
4060node[route=flight],
4061node[route=ncn],
4062node[route=subsea],
4063node[route=ski],
4064node[route=tour],
4065node[route=pub_crawl] {
4066    icon-image: "misc/deprecated.png";
4067    set icon_z17;
4068    text: auto;
4069}
4070
4071/*******************/
4072/* properties tags */
4073/*******************/
4074
4075node[mountain_pass?] {
4076    icon-image: "misc/landmark/mountain_pass.png";
4077    set icon_z0;
4078    text: auto;
4079    set text_z0;
4080}
4081
4082/*****************/
4083/* boundary tags */
4084/*****************/
4085
4086way[boundary=national]::core_boundary,
4087way[boundary=administrative]::core_boundary,
4088way[boundary=postal_code]::core_boundary,
4089way[boundary=political]::core_boundary,
4090way[boundary=national_park]::core_boundary {
4091    z-index: 2;
4092    modifier: false;
4093    width: 1;
4094    color: boundary#FF6600;
4095    dashes: 9,9;
4096}
4097way[admin_level=9]::core_boundary,
4098relation[admin_level=9] > way::core_boundary,
4099way[admin_level=10]::core_boundary,
4100relation[admin_level=10] > way::core_boundary {
4101    z-index: 2;
4102    modifier: false;
4103    width: 1;
4104    color: boundary#FF6600;
4105    dashes: 9,9;
4106}
4107way[admin_level=7]::core_boundary,
4108relation[admin_level=7] > way::core_boundary,
4109way[admin_level=8]::core_boundary,
4110relation[admin_level=8] > way::core_boundary {
4111    z-index: 2;
4112    modifier: false;
4113    width: 2;
4114    color: boundary#FF6600;
4115    dashes: 9,9;
4116}
4117way[admin_level=5]::core_boundary,
4118relation[admin_level=5] > way::core_boundary,
4119way[admin_level=6]::core_boundary,
4120relation[admin_level=6] > way::core_boundary {
4121    z-index: 2;
4122    modifier: false;
4123    width: 3;
4124    color: boundary#FF6600;
4125    dashes: 9,9;
4126}
4127way[admin_level=3]::core_boundary,
4128relation[admin_level=3] > way::core_boundary,
4129way[admin_level=4]::core_boundary,
4130relation[admin_level=4] > way::core_boundary {
4131    z-index: 2;
4132    modifier: false;
4133    width: 4;
4134    color: boundary#FF6600;
4135    dashes: 9,9;
4136}
4137way[admin_level=1]::core_boundary,
4138relation[admin_level=1] > way::core_boundary,
4139way[admin_level=2]::core_boundary,
4140relation[admin_level=2] > way::core_boundary {
4141    z-index: 2;
4142    modifier: false;
4143    width: 5;
4144    color: boundary#FF6600;
4145    dashes: 9,9;
4146}
4147node[boundary=national],
4148node[boundary=administrative],
4149node[boundary=postal_code],
4150node[boundary=political],
4151node[boundary=national_park] {
4152    icon-image: "misc/deprecated.png";
4153    set icon_z17;
4154    text: auto;
4155}
4156
4157/******************/
4158/* maxspeed nodes */
4159/******************/
4160node[maxspeed=none][!is_prop_set(icon-image)] {
4161    icon-image: "vehicle/restriction/maxspeed_none.svg";
4162    set icon_z17;
4163}
4164node[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4165    maxspeedprop: tag(maxspeed);
4166    set maxspeedclass;
4167}
4168node[maxspeed=signals][!is_prop_set(icon-image)] {
4169    maxspeedprop: " ?";
4170    set maxspeedclass;
4171}
4172node[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4173    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4174    set maxspeedclass;
4175}
4176node[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4177    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4178    set maxspeedclass;
4179}
4180node[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4181    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4182    set maxspeedclass;
4183}
4184node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4185    /* background (white) */
4186    symbol-shape: circle;
4187    symbol-size: 17;
4188    symbol-fill-color: white;
4189    major-z-index: 4.2;
4190}
4191node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4192node[maxspeed=signals]::core_maxnodebg {
4193    /* background (black) */
4194    symbol-fill-color: black;
4195}
4196node[prop(maxspeedclass, default)]::core_maxnodefg {
4197    /* foreground (black text and red circle) */
4198    symbol-shape: circle;
4199    symbol-size: 15;
4200    symbol-stroke-color: crimson;
4201    symbol-stroke-width: 2;
4202    text: prop(maxspeedprop, default);
4203    font-size: 8;
4204    font-weight: bold;
4205    text-color: black;
4206    text-anchor-horizontal: center;
4207    text-anchor-vertical: center;
4208    text-offset-x: 0;
4209    text-offset-y: -1;
4210    major-z-index: 4.2;
4211}
4212node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4213node[maxspeed=signals]::core_maxnodefg {
4214    /* foreground (white text) */
4215    text-color: white;
4216}
4217node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4218    symbol-shape: none;
4219}
4220node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4221    text: none;
4222    symbol-shape: none;
4223}
4224
4225/**************/
4226/* place tags */
4227/**************/
4228
4229/* lot's of "openGeoDB:..." tags can be found in germany */
4230node["openGeoDB:type"=Stadt],
4231node["openGeoDB:type"=Kreis],
4232node["openGeoDB:type"=Gemeinde],
4233node["openGeoDB:type"=Ort],
4234node["openGeoDB:type"=District],
4235node["openGeoDB:location"=locality] {
4236    icon-image: "place/settlement/town.png";
4237    set icon_z0;
4238    text: auto;
4239    set text_z0;
4240    font-size: 10;
4241    font-weight: bold;
4242    text-color:black;
4243    text-halo-color: white;
4244    text-halo-radius: 1;
4245}
4246area[place=continent],
4247area[place=country],
4248area[place=state],
4249area[place=region],
4250area[place=county],
4251area[place=city],
4252area[place=town],
4253area[place=village],
4254area[place=hamlet],
4255area[place=farm],
4256area[place=isolated_dwelling],
4257area[place=neighbourhood],
4258area[place=suburb],
4259area[place=locality],
4260area[place=island],
4261area[place=islet] {
4262    fill-color: place#8de3cb;
4263}
4264node[place=continent],
4265node[place=country],
4266node[place=state],
4267node[place=region],
4268node[place=county] {
4269    icon-image: "place/settlement/capital.png";
4270    set icon_z0;
4271    text: auto;
4272    set text_z0;
4273    font-size: 10;
4274    font-weight: bold;
4275    text-color:black;
4276    text-halo-color: white;
4277    text-halo-radius: 1;
4278}
4279node[place=city] {
4280    icon-image: "place/settlement/city.png";
4281    set icon_z0;
4282    text: auto;
4283    set text_z0;
4284    font-size: 10;
4285    font-weight: bold;
4286    text-color:black;
4287    text-halo-color: white;
4288    text-halo-radius: 1;
4289}
4290node[place=town],
4291node[place=village],
4292node[place=hamlet],
4293node[place=farm],
4294node[place=isolated_dwelling],
4295node[place=neighbourhood],
4296node[place=suburb] {
4297    icon-image: "place/settlement/town.png";
4298    set icon_z0;
4299    text: auto;
4300    set text_z0;
4301    font-size: 10;
4302    font-weight: bold;
4303    text-color:black;
4304    text-halo-color: white;
4305    text-halo-radius: 1;
4306}
4307node[place=locality] {
4308    icon-image: "place/locality.png";
4309    set icon_z0;
4310    text: auto;
4311    set text_z0;
4312    font-size: 10;
4313    font-weight: bold;
4314    text-color:black;
4315    text-halo-color: white;
4316    text-halo-radius: 1;
4317}
4318node[place=island] {
4319    icon-image: "place/island.png";
4320    set icon_z0;
4321    text: auto;
4322    set text_z0;
4323    font-size: 10;
4324    font-weight: bold;
4325    text-color:black;
4326    text-halo-color: white;
4327    text-halo-radius: 1;
4328}
4329node[place=islet] {
4330    icon-image: "place/islet.png";
4331    set icon_z0;
4332    text: auto;
4333    set text_z0;
4334    font-size: 10;
4335    font-weight: bold;
4336    text-color:black;
4337    text-halo-color: white;
4338    text-halo-radius: 1;
4339}
4340
4341/***************************/
4342/* "work in progress" tags */
4343/***************************/
4344
4345node|z16-[fixme]::core_fixme,
4346node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4347node|z16-[FIXME]::core_fixme,
4348node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4349    object-z-index: 20;
4350    icon-image: "misc/fixme-annotation.png";
4351}
4352node|z16-[note]::core_note,
4353node|z-15[note][!setting("hide_icons")]::core_note {
4354    object-z-index: 10;
4355    icon-image: "misc/note-annotation.png";
4356}
4357
4358/* special display of unreviewed tiger data (USA) */
4359way["tiger:reviewed"=no]::core_tiger {
4360    major-z-index: -10;
4361    width: 11;
4362    color: tiger_data#808000;
4363    opacity: 0.6;
4364}
4365
4366/****************************************/
4367/* zoom levels and general node display */
4368/****************************************/
4369
4370/*
4371Summary of different zoom levels:
4372  (any zoom)    place=* and a few natural icons with their text is shown
4373  |z-15         untagged way nodes are hidden completely
4374  |z16-         fixme=* and note=* symbols
4375  |z17-         normal POI icons (without text),
4376                street name along highway=* ways
4377  |z18-         text for normal POI icons is shown
4378 
4379 * text size and node size is adapted according to zoom level (see style source below)
4380 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4381
4382*/
4383
4384node {
4385    text: auto;
4386}
4387node|z-16[setting("hide_icons")],
4388node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4389node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4390    symbol-size: 2;
4391    symbol-shape: square;
4392    symbol-stroke-color: node_standard#ffff00;
4393    major-z-index: 4.95; /* put node squares above line text */
4394}
4395way > node|z-15[setting("shrink_nodes")]!:tagged {
4396    symbol-shape: none;
4397}
4398node:connection {
4399    symbol-stroke-color: node_connection#ffff00;
4400}
4401node:tagged {
4402    symbol-stroke-color: none;
4403    symbol-fill-color: node_tagged#00ffff;
4404}
4405
4406way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4407
4408node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4409way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4410node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4411
4412node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4413way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4414node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4415
4416node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4417way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4418node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4419
4420node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4421way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4422node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4423
4424node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4425relation|z-16[type=restriction][setting("hide_icons")] {
4426    icon-image: none;
4427}
4428node|z-17[setting("hide_icons")]!.text_z0 {
4429    text: none;
4430}
4431
4432node|z19,area|z19   { font-size: 9; }
4433node|z20-,area|z20-   { font-size: 10; }
4434
4435/*******************/
4436/* way text labels */
4437/*******************/
4438
4439way|z17-[highway^=motorway][setting("highway_labels")],
4440way|z17-[highway^=trunk][setting("highway_labels")],
4441way|z17-[highway^=primary][setting("highway_labels")],
4442way|z17-[highway^=secondary][setting("highway_labels")],
4443way|z17-[highway^=tertiary][setting("highway_labels")],
4444way|z17-[highway=unclassified][setting("highway_labels")],
4445way|z17-[highway=residential][setting("highway_labels")],
4446way|z17-[highway=living_street][setting("highway_labels")],
4447way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4448way|z17-[highway=service][setting("highway_labels")],
4449way|z17-[highway=track][setting("highway_labels")] {
4450    text: auto;
4451    text-color: black;
4452    font-size: 9;
4453    text-position: line;
4454    text-halo-opacity: 1;
4455    text-halo-radius: 1.5;
4456}
4457way|z17-[highway^=motorway][setting("highway_labels")] {
4458    text-halo-color: motorway#809bc0;
4459}
4460way|z17-[highway^=trunk][setting("highway_labels")] {
4461    text-halo-color: trunk#7fc97f;
4462}
4463way|z17-[highway^=primary][setting("highway_labels")] {
4464    text-halo-color: primary#fb805f;
4465}
4466way|z17-[highway^=secondary][setting("highway_labels")] {
4467    text-halo-color: secondary#fdbf6f;
4468}
4469way|z17-[highway^=tertiary][setting("highway_labels")] {
4470    text-halo-color: tertiary#f7f496;
4471}
4472way|z17-[highway=unclassified][setting("highway_labels")],
4473way|z17-[highway=residential][setting("highway_labels")],
4474way|z17-[highway=living_street][setting("highway_labels")] {
4475    text-halo-color: street#c0c0c0;
4476}
4477way[highway=pedestrian][!area?][setting("highway_labels")] {
4478    text-halo-color: foot#00ff00;
4479}
4480way|z17-[highway=service][setting("highway_labels")] {
4481    text-halo-color: service#809bc0;
4482}
4483way|z17-[highway=track][setting("highway_labels")] {
4484    text-halo-color: highway_track#006600;
4485}
4486way|z18[highway][setting("highway_labels")] {
4487    font-size: 10;
4488}
4489way|z19[highway][setting("highway_labels")] {
4490    font-size: 11;
4491}
4492way|z20-[highway][setting("highway_labels")] {
4493    font-size: 12;
4494}
4495
4496/* "deprecated" tags
4497     historic=museum -> tourism=museum
4498     man_made=power_wind -> power=generator and power_source=wind
4499     man_made=power_hydro -> power=generator and power_source=hydro
4500     man_made=power_fossil -> power=generator and power_source=fossil
4501     man_made=power_nuclear -> power=generator and power_source=nuclear
4502     amenity=park_bench -> amenity=bench
4503     amenity=signpost -> information=guidepost
4504     amenity=emergency_phone -> emergency=phone
4505     highway minor - classification now more detailed
4506     highway=stile -> barrier=stile
4507     highway=gate -> barrier=gate
4508     highway=cattle_grid -> barrier=cattle_grid
4509     highway=toll_booth -> barrier=toll_booth
4510     highway=viaduct -> bridge=viaduct
4511     railway=viaduct -> bridge=viaduct
4512     waterway=aqueduct -> bridge=aqueduct
4513     natural=marsh -> natural=wetland
4514     leisure=zoo -> tourism=zoo
4515     power=station -> power=plant or power=sub_station
4516*/
Note: See TracBrowser for help on using the repository browser.