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

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

fix #11944 - add shop=photo to preset and mappaint style

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