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

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

see #10835 - remove highway=unsurfaced from mapaint style

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