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

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

see #10835 - fix typo

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