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

Last change on this file since 7540 was 7540, checked in by Don-vip, 5 years ago

fix #10196 - render power=cable in default map style

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