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

Last change on this file since 7795 was 7795, checked in by Klumbumbus, 5 years ago

fix #10824 - drop mappaint support of building=entrance

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