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

Last change on this file since 7458 was 7458, checked in by bastiK, 9 years ago

see #10363 - fix problem with isolated tagged nodes at z16 for the combination hide_icons=false & shrink_nodes=true (they have no size assigned and appear in default size 10x10 px)

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