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

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

fix #11866 - remove sport=safety_training

  • Property svn:eol-style set to native
File size: 104.0 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=ticket],
1742area[shop=interior_decoration],
1743area[shop=car_parts],
1744area[shop=video_games],
1745area[shop=bed],
1746area[shop=beauty],
1747area[shop=tea],
1748area[shop=coffee],
1749area[shop=antiques],
1750area[shop=music],
1751area[shop=funeral_directors],
1752area[shop=wine],
1753area[shop=farm],
1754area[shop=tattoo],
1755area[shop=art],
1756area[shop=bag] {
1757    fill-color: shop#00005f;
1758}
1759node[shop=supermarket] {
1760    icon-image: "shop/supermarket.svg";
1761    set icon_z17;
1762    text: auto;
1763}
1764node[shop=convenience] {
1765    icon-image: "shop/convenience.png";
1766    set icon_z17;
1767    text: auto;
1768}
1769node[shop=bakery] {
1770    icon-image: "shop/groceries/bakery.png";
1771    set icon_z17;
1772    text: auto;
1773}
1774node[shop=butcher] {
1775    icon-image: "shop/groceries/butcher.png";
1776    set icon_z17;
1777    text: auto;
1778}
1779node[shop=bicycle] {
1780    icon-image: "sport/bicycle.png";
1781    set icon_z17;
1782    text: auto;
1783}
1784node[shop=doityourself] {
1785    icon-image: "shop/diy_store.png";
1786    set icon_z17;
1787    text: auto;
1788}
1789node[shop=dry_cleaning],
1790node[shop=laundry] {
1791    icon-image: "shop/laundry.png";
1792    set icon_z17;
1793    text: auto;
1794}
1795node[shop=outdoor] {
1796    icon-image: "shop/outdoor.png";
1797    set icon_z17;
1798    text: auto;
1799}
1800node[shop=kiosk] {
1801    icon-image: "shop/kiosk.png";
1802    set icon_z17;
1803    text: auto;
1804}
1805node[shop=beverages] {
1806    icon-image: "shop/beverages.png";
1807    set icon_z17;
1808    text: auto;
1809}
1810node[shop=alcohol] {
1811    icon-image: "shop/alcohol.png";
1812    set icon_z17;
1813    text: auto;
1814}
1815node[shop=books] {
1816    icon-image: "shop/book.svg";
1817    set icon_z17;
1818    text: auto;
1819}
1820node[shop=boutique] {
1821    icon-image: "shop/boutique.png";
1822    set icon_z17;
1823    text: auto;
1824}
1825node[shop=car],
1826node[shop=car_dealer] {
1827    icon-image: "vehicle.png";
1828    set icon_z17;
1829    text: auto;
1830}
1831node[shop=car_repair] {
1832    icon-image: "vehicle/repair_shop.png";
1833    set icon_z17;
1834    text: auto;
1835}
1836node[shop=tyres] {
1837    icon-image: "vehicle/tyres.png";
1838    set icon_z17;
1839    text: auto;
1840}
1841node[shop=chemist] {
1842    icon-image: "shop/chemist.png";
1843    set icon_z17;
1844    text: auto;
1845}
1846node[shop=clothes] {
1847    icon-image: "shop/clothes.png";
1848    set icon_z17;
1849    text: auto;
1850}
1851node[shop=computer] {
1852    icon-image: "shop/computer.png";
1853    set icon_z17;
1854    text: auto;
1855}
1856node[shop=confectionery] {
1857    icon-image: "shop/groceries/confectionery.png";
1858    set icon_z17;
1859    text: auto;
1860}
1861node[shop=copyshop] {
1862    icon-image: "shop/copyshop.png";
1863    set icon_z17;
1864    text: auto;
1865}
1866node[shop=curtain] {
1867    icon-image: "shop/curtain.png";
1868    set icon_z17;
1869    text: auto;
1870}
1871node[shop=cycle_repair] {
1872    icon-image: "sport/bicycle.png";
1873    set icon_z17;
1874    text: auto;
1875}
1876node[shop=department_store] {
1877    icon-image: "shop/mall.png";
1878    set icon_z17;
1879    text: auto;
1880}
1881node[shop=deli] {
1882    icon-image: "shop/groceries/deli.png";
1883    set icon_z17;
1884    text: auto;
1885}
1886node[shop=electronics] {
1887    icon-image: "shop/electronics.png";
1888    set icon_z17;
1889    text: auto;
1890}
1891node[shop=erotic] {
1892    icon-image: "shop/erotic.png";
1893    set icon_z17;
1894    text: auto;
1895}
1896node[shop=furniture] {
1897    icon-image: "shop/furniture.png";
1898    set icon_z17;
1899    text: auto;
1900}
1901node[shop=fabric] {
1902    icon-image: "shop/fabric.png";
1903    set icon_z17;
1904    text: auto;
1905}
1906node[shop=florist] {
1907    icon-image: "shop/florist.png";
1908    set icon_z17;
1909    text: auto;
1910}
1911node[shop=frame] {
1912    icon-image: "shop/frame.png";
1913    set icon_z17;
1914    text: auto;
1915}
1916node[shop=gift] {
1917    icon-image: "presets/present.svg";
1918    set icon_z17;
1919    text: auto;
1920}
1921node[shop=greengrocer] {
1922    icon-image: "shop/groceries/greengrocer.png";
1923    set icon_z17;
1924    text: auto;
1925}
1926node[shop=garden_centre] {
1927    icon-image: "shop/garden_centre.png";
1928    set icon_z17;
1929    text: auto;
1930}
1931node[shop=hairdresser] {
1932    icon-image: "shop/hairdresser.png";
1933    set icon_z17;
1934    text: auto;
1935}
1936node[shop=hardware] {
1937    icon-image: "shop/hardware.png";
1938    set icon_z17;
1939    text: auto;
1940}
1941node[shop=hearing_aids] {
1942    icon-image: "shop/hearing_aids.png";
1943    set icon_z17;
1944    text: auto;
1945}
1946node[shop=hifi] {
1947    icon-image: "shop/hifi.png";
1948    set icon_z17;
1949    text: auto;
1950}
1951node[shop=jewelry] {
1952    icon-image: "shop/jewelry.png";
1953    set icon_z17;
1954    text: auto;
1955}
1956node[shop=kitchen] {
1957    icon-image: "shop/kitchen.png";
1958    set icon_z17;
1959    text: auto;
1960}
1961node[shop=mall] {
1962    icon-image: "shop/mall.png";
1963    set icon_z17;
1964    text: auto;
1965}
1966node[shop=mobile_phone] {
1967    icon-image: "shop/mobile_phone.png";
1968    set icon_z17;
1969    text: auto;
1970}
1971node[shop=motorcycle] {
1972    icon-image: "vehicle/motorbike.png";
1973    set icon_z17;
1974    text: auto;
1975}
1976node[shop=musical_instrument] {
1977    icon-image: "shop/musical_instrument.png";
1978    set icon_z17;
1979    text: auto;
1980}
1981node[shop=newsagent] {
1982    icon-image: "shop/news.svg";
1983    set icon_z17;
1984    text: auto;
1985}
1986node[shop=optician] {
1987    icon-image: "shop/optician.svg";
1988    set icon_z17;
1989    text: auto;
1990}
1991node[shop=medical_supply] {
1992    icon-image: "shop/medical_supply.svg";
1993    set icon_z17;
1994    text: auto;
1995}
1996node[shop=paint] {
1997    icon-image: "shop/paint.png";
1998    set icon_z17;
1999    text: auto;
2000}
2001node[shop=pawnbroker] {
2002    icon-image: "presets/pawnbroker.svg";
2003    set icon_z17;
2004    text: auto;
2005}
2006node[shop=seafood] {
2007    icon-image: "shop/groceries/seafood.png";
2008    set icon_z17;
2009    text: auto;
2010}
2011node[shop=shoes] {
2012    icon-image: "shop/shoes.png";
2013    set icon_z17;
2014    text: auto;
2015}
2016node[shop=sports] {
2017    icon-image: "sport/multi.png";
2018    set icon_z17;
2019    text: auto;
2020}
2021node[shop=stationery] {
2022    icon-image: "shop/stationery.png";
2023    set icon_z17;
2024    text: auto;
2025}
2026node[shop=tailor] {
2027    icon-image: "shop/tailor.png";
2028    set icon_z17;
2029    text: auto;
2030}
2031node[shop=travel_agency] {
2032    icon-image: "presets/travel.png";
2033    icon-width: 16;
2034    set icon_z17;
2035    text: auto;
2036}
2037node[shop=toys] {
2038    icon-image: "shop/toys.png";
2039    set icon_z17;
2040    text: auto;
2041}
2042node[shop=vacuum_cleaner] {
2043    icon-image: "shop/vacuum_cleaner.png";
2044    set icon_z17;
2045    text: auto;
2046}
2047node[shop=variety_store] {
2048    icon-image: "shop/variety_store.png";
2049    set icon_z17;
2050    text: auto;
2051}
2052node[shop=video] {
2053    icon-image: "shop/video.png";
2054    set icon_z17;
2055    text: auto;
2056}
2057node[shop=bookmaker] {
2058    icon-image: "presets/lottery.svg";
2059    set icon_z17;
2060    text: auto;
2061}
2062node[shop=lottery] {
2063    icon-image: "presets/lottery.svg";
2064    set icon_z17;
2065    text: auto;
2066}
2067/* duplicate of shopping_centre? */
2068node[shop=shopping_centre] {
2069    icon-image: "shop/mall.png";
2070    set icon_z17;
2071    text: auto;
2072}
2073node[shop=pet] {
2074    icon-image: "shop/pet.svg";
2075    set icon_z17;
2076    text: auto;
2077}
2078node[shop=ticket] {
2079    icon-image: "shop/ticket.svg";
2080    set icon_z17;
2081    text: auto;
2082}
2083node[shop=interior_decoration] {
2084    icon-image: "shop/interior_decoration.svg";
2085    set icon_z17;
2086    text: auto;
2087}
2088node[shop=car_parts] {
2089    icon-image: "vehicle/car_parts.svg";
2090    set icon_z17;
2091    text: auto;
2092}
2093node[shop=video_games] {
2094    icon-image: "shop/video_games.png";
2095    set icon_z17;
2096    text: auto;
2097}
2098node[shop=bed] {
2099    icon-image: "shop/bed.svg";
2100    set icon_z17;
2101    text: auto;
2102}
2103node[shop=beauty] {
2104    icon-image: "shop/beauty.svg";
2105    set icon_z17;
2106    text: auto;
2107}
2108node[shop=tea] {
2109    icon-image: "shop/groceries/tea.svg";
2110    set icon_z17;
2111    text: auto;
2112}
2113node[shop=coffee] {
2114    icon-image: "shop/groceries/coffee.svg";
2115    set icon_z17;
2116    text: auto;
2117}
2118node[shop=antiques] {
2119    icon-image: "shop/antique.svg";
2120    set icon_z17;
2121    text: auto;
2122}
2123node[shop=music] {
2124    icon-image: "shop/music.svg";
2125    set icon_z17;
2126    text: auto;
2127}
2128node[shop=funeral_directors] {
2129    icon-image: "shop/funeral_directors.svg";
2130    set icon_z17;
2131    text: auto;
2132}
2133node[shop=wine] {
2134    icon-image: "shop/wine.svg";
2135    set icon_z17;
2136    text: auto;
2137}
2138node[shop=farm] {
2139    icon-image: "presets/apple.png";
2140    set icon_z17;
2141    text: auto;
2142}
2143node[shop=tattoo] {
2144    icon-image: "shop/tattoo.svg";
2145    set icon_z17;
2146    text: auto;
2147}
2148node[shop=art] {
2149    icon-image: "shop/art.svg";
2150    set icon_z17;
2151    text: auto;
2152}
2153node[shop=bag] {
2154    icon-image: "shop/bag.svg";
2155    set icon_z17;
2156    text: auto;
2157}
2158
2159/****************/
2160/* amenity tags */
2161/****************/
2162
2163area[amenity=pub],
2164area[amenity=biergarten],
2165area[amenity=nightclub],
2166area[amenity=stripclub],
2167area[amenity=casino],
2168area[amenity=brothel],
2169area[amenity=cafe],
2170area[amenity=restaurant],
2171area[amenity=food_court],
2172area[amenity=fast_food],
2173area[amenity=bar],
2174area[amenity=ice_cream] {
2175    fill-color: amenity#ecba52;
2176}
2177node[amenity=pub] {
2178    icon-image: "food/pub.png";
2179    set icon_z17;
2180    text: auto;
2181}
2182node[amenity=biergarten] {
2183    icon-image: "food/biergarten.png";
2184    set icon_z17;
2185    text: auto;
2186}
2187node[amenity=nightclub] {
2188    icon-image: "leisure/discoball.svg";
2189    set icon_z17;
2190    text: auto;
2191}
2192node[amenity=stripclub] {
2193    icon-image: "leisure/nightclub.png";
2194    set icon_z17;
2195    text: auto;
2196}
2197node[amenity=casino] {
2198    icon-image: "leisure/casino.svg";
2199    set icon_z17;
2200    text: auto;
2201}
2202node[amenity=brothel] {
2203    icon-image: "leisure/stripclub.png";
2204    set icon_z17;
2205    text: auto;
2206}
2207node[amenity=cafe] {
2208    icon-image: "food/cafe.png";
2209    set icon_z17;
2210    text: auto;
2211}
2212node[amenity=restaurant] {
2213    icon-image: "food/restaurant.svg";
2214    set icon_z17;
2215    text: auto;
2216}
2217node[amenity=food_court] {
2218    icon-image: "food/restaurant.png";
2219    set icon_z17;
2220    text: auto;
2221}
2222node[amenity=fast_food] {
2223    icon-image: "food/fastfood.png";
2224    set icon_z17;
2225    text: auto;
2226}
2227node[amenity=bar] {
2228    icon-image: "food/bar.png";
2229    set icon_z17;
2230    text: auto;
2231}
2232node[amenity=ice_cream] {
2233    icon-image: "food/icecream.png";
2234    set icon_z17;
2235    text: auto;
2236}
2237area[amenity=bicycle_parking]:closed {
2238    fill-color: amenity_traffic#f7efb7;
2239}
2240way[amenity=bicycle_parking] {
2241    width: 2;
2242    color: amenity_traffic#f7efb7;
2243}
2244area[amenity=parking_space],
2245area[amenity=parking],
2246area[amenity=motorcycle_parking],
2247area[amenity=bicycle_rental],
2248area[amenity=bicycle_repair_station],
2249area[amenity=car_rental],
2250area[amenity=car_sharing],
2251area[amenity=car_wash],
2252area[amenity=taxi],
2253area[amenity=fuel] {
2254    fill-color: amenity_traffic#f7efb7;
2255}
2256node[amenity=parking_space] {
2257    icon-image: "vehicle/parking/parking_space.svg";
2258    set icon_z17;
2259    text: auto;
2260}
2261node[amenity=parking] {
2262    icon-image: "vehicle/parking.png";
2263    set icon_z17;
2264    text: auto;
2265}
2266node[amenity=parking_entrance] {
2267    icon-image: "vehicle/parking.png";
2268    set icon_z17;
2269    text: auto;
2270}
2271node[amenity=parking_entrance][parking=multi-storey],
2272node[amenity=parking][parking=multi-storey] {
2273    icon-image: "vehicle/parking/multi-storey.png";
2274    set icon_z17;
2275    text: auto;
2276}
2277node[amenity=parking_entrance][parking=underground],
2278node[amenity=parking][parking=underground] {
2279    icon-image: "vehicle/parking/underground.png";
2280    set icon_z17;
2281    text: auto;
2282}
2283node[amenity=motorcycle_parking] {
2284    icon-image: "vehicle/parking/motorbike.png";
2285    set icon_z17;
2286    text: auto;
2287}
2288node[amenity=bicycle_parking] {
2289    icon-image: "vehicle/parking/bicycle.png";
2290    set icon_z17;
2291    text: auto;
2292}
2293node[park_ride][park_ride!=no] {
2294    icon-image: "vehicle/parking/park_ride.svg";
2295    set icon_z17;
2296    text: auto;
2297}
2298node[amenity=parking_space][wheelchair?] {
2299    icon-image: "vehicle/parking/handicapped.png";
2300    set icon_z17;
2301    text: auto;
2302}
2303node[amenity=bicycle_rental] {
2304    icon-image: "vehicle/rental/bicycle.png";
2305    set icon_z17;
2306    text: auto;
2307}
2308node[amenity=bicycle_repair_station] {
2309    icon-image: "vehicle/bicycle_repair_station.svg";
2310    set icon_z17;
2311    text: auto;
2312}
2313node[amenity=car_rental] {
2314    icon-image: "vehicle/rental/car.png";
2315    set icon_z17;
2316    text: auto;
2317}
2318node[amenity=car_sharing] {
2319    icon-image: "vehicle/car_sharing.png";
2320    set icon_z17;
2321    text: auto;
2322}
2323node[amenity=car_wash] {
2324    icon-image: "vehicle/car_wash.png";
2325    set icon_z17;
2326    text: auto;
2327}
2328node[amenity=taxi] {
2329    icon-image: "transport/taxi.png";
2330    set icon_z17;
2331    text: auto;
2332}
2333node[amenity=fuel] {
2334    icon-image: "vehicle/fuel.png";
2335    set icon_z17;
2336    text: auto;
2337}
2338node[amenity=charging_station] {
2339    icon-image: "vehicle/fuel/charging_station.png";
2340    set icon_z17;
2341    text: auto;
2342}
2343node[amenity=grit_bin] {
2344    icon-image: "misc/grit_bin.png";
2345    set icon_z17;
2346    text: auto;
2347}
2348node[amenity=telephone] {
2349    icon-image: "service/telephone.png";
2350    set icon_z17;
2351    text: auto;
2352}
2353node[amenity=clock] {
2354    icon-image: "service/clock.svg";
2355    set icon_z17;
2356    text: auto;
2357}
2358area[amenity=toilets],
2359area[amenity=shower],
2360area[amenity=recycling],
2361area[amenity=sanitary_dump_station] {
2362    fill-color: amenity_light#f7efb7;
2363}
2364node[emergency=phone] {
2365    icon-image: "vehicle/emergency_phone.png";
2366    set icon_z17;
2367    text: auto;
2368}
2369node[emergency=defibrillator] {
2370    icon-image: "presets/aed.svg";
2371    set icon_z17;
2372    text: auto;
2373}
2374node[amenity=toilets] {
2375    icon-image: "service/toilets.png";
2376    set icon_z17;
2377    text: auto;
2378}
2379node[amenity=shower] { 
2380    icon-image: "service/shower.svg"; 
2381    set icon_z17; 
2382    text: auto; 
2383}
2384node[amenity=recycling] {
2385    icon-image: "service/recycling/recycling.svg";
2386    set icon_z17;
2387    text: auto;
2388}
2389node[amenity=recycling][recycling_type=container] {
2390    icon-image: "service/recycling/recycling_container.svg";
2391}
2392node[amenity=recycling][recycling_type=centre] {
2393    icon-image: "service/recycling/recycling_centre.svg";
2394}
2395node[amenity=waste_basket] {
2396    icon-image: "service/recycling/trash-bin.png";
2397    set icon_z17;
2398    text: auto;
2399}
2400node[amenity=waste_disposal] {
2401    icon-image: "service/recycling/waste_disposal.png";
2402    set icon_z17;
2403    text: auto;
2404}
2405node[amenity=sanitary_dump_station] {
2406    icon-image: "service/recycling/sanitary_dump_station.svg";
2407    set icon_z17;
2408    text: auto;
2409}
2410area[amenity=public_building],
2411area[amenity=townhall],
2412area[amenity=embassy],
2413area[amenity=community_centre] {
2414    fill-color: amenity_light#f7efb7;
2415}
2416node[amenity=public_building] {
2417    icon-image: "service.png";
2418    set icon_z17;
2419    text: auto;
2420}
2421node[amenity=townhall] {
2422    icon-image: "presets/townhall.png";
2423    set icon_z17;
2424    text: auto;
2425}
2426node[amenity=embassy] {
2427    icon-image: "service/administration/embassy.png";
2428    set icon_z17;
2429    text: auto;
2430}
2431node[amenity=community_centre] {
2432    icon-image: "service/community_centre.png";
2433    set icon_z17;
2434    text: auto;
2435}
2436area[amenity=water_point],
2437area[amenity=fountain] {
2438    fill-color: light_water#00005f;
2439}
2440node[amenity=drinking_water] {
2441    icon-image: "food/drinking_water.png";
2442    set icon_z17;
2443    text: auto;
2444}
2445node[amenity=water_point] {
2446    icon-image: "accommodation/camping/water.png";
2447    set icon_z17;
2448    text: auto;
2449}
2450node[amenity=fountain] {
2451    icon-image: "misc/fountain.png";
2452    set icon_z17;
2453    text: auto;
2454}
2455area[amenity=place_of_worship],
2456area[amenity=grave_yard],
2457area[amenity=crematorium],
2458area[amenity=post_office],
2459area[amenity=studio],
2460area[amenity=school],
2461area[amenity=university],
2462area[amenity=college],
2463area[amenity=kindergarten],
2464area[amenity=driving_school] {
2465    fill-color: amenity_light#f7efb7;
2466}
2467node[amenity=place_of_worship] {
2468    icon-image: "religion.png";
2469    set icon_z17;
2470    text: auto;
2471}
2472node[amenity=place_of_worship][religion=bahai] {
2473    icon-image: "religion/bahai.png";
2474    set icon_z17;
2475    text: auto;
2476}
2477node[amenity=place_of_worship][religion=buddhist] {
2478    icon-image: "religion/buddhism.png";
2479    set icon_z17;
2480    text: auto;
2481}
2482node[amenity=place_of_worship][religion=christian] {
2483    icon-image: "religion/church.png";
2484    set icon_z17;
2485    text: auto;
2486}
2487node[amenity=place_of_worship][religion=hindu] {
2488    icon-image: "religion/hinduism.png";
2489    set icon_z17;
2490    text: auto;
2491}
2492node[amenity=place_of_worship][religion=jain] {
2493    icon-image: "religion/jainism.png";
2494    set icon_z17;
2495    text: auto;
2496}
2497node[amenity=place_of_worship][religion=jewish] {
2498    icon-image: "religion/jewish.png";
2499    set icon_z17;
2500    text: auto;
2501}
2502node[amenity=place_of_worship][religion=muslim] {
2503    icon-image: "religion/muslim.png";
2504    set icon_z17;
2505    text: auto;
2506}
2507node[amenity=place_of_worship][religion=sikh] {
2508    icon-image: "religion/sikhism.png";
2509    set icon_z17;
2510    text: auto;
2511}
2512node[amenity=place_of_worship][religion=shinto] {
2513    icon-image: "religion/shinto.png";
2514    set icon_z17;
2515    text: auto;
2516}
2517node[amenity=place_of_worship][religion=spiritualist] {
2518    icon-image: "misc/no_icon.png";
2519    set icon_z17;
2520    text: auto;
2521}
2522node[amenity=place_of_worship][religion=taoist] {
2523    icon-image: "religion/taoism.png";
2524    set icon_z17;
2525    text: auto;
2526}
2527node[amenity=place_of_worship][religion=unitarian] {
2528    icon-image: "misc/no_icon.png";
2529    set icon_z17;
2530    text: auto;
2531}
2532node[amenity=place_of_worship][religion=zoroastrian] {
2533    icon-image: "misc/no_icon.png";
2534    set icon_z17;
2535    text: auto;
2536}
2537node[amenity=grave_yard] {
2538    icon-image: "rendering/landuse/cemetery.png";
2539    set icon_z17;
2540    text: auto;
2541}
2542node[amenity=crematorium] {
2543    icon-image: "misc/no_icon.png";
2544    set icon_z17;
2545    text: auto;
2546}
2547node[amenity=post_office] {
2548    icon-image: "service/post_office.png";
2549    set icon_z17;
2550    text: auto;
2551}
2552node[amenity=post_box] {
2553    icon-image: "service/post_box.png";
2554    set icon_z17;
2555    text: auto;
2556}
2557node[amenity=studio] {
2558    icon-image: "service/studio.png";
2559    set icon_z17;
2560    text: auto;
2561}
2562node[amenity=school] {
2563    icon-image: "education/school.png";
2564    set icon_z17;
2565    text: auto;
2566}
2567node[amenity=university] {
2568    icon-image: "education/university.png";
2569    set icon_z17;
2570    text: auto;
2571}
2572node[amenity=college] {
2573    icon-image: "education/college.png";
2574    set icon_z17;
2575    text: auto;
2576}
2577node[amenity=kindergarten] {
2578    icon-image: "education/kindergarten.png";
2579    set icon_z17;
2580    text: auto;
2581}
2582node[amenity=driving_school] {
2583    icon-image: "education/driving_school.png";
2584    set icon_z17;
2585    text: auto;
2586}
2587area[amenity=pharmacy],
2588area[amenity=hospital],
2589area[amenity=clinic],
2590area[amenity=nursing_home],
2591area[amenity=social_facility],
2592area[amenity=nursery],
2593area[amenity=baby_hatch],
2594area[amenity=doctors],
2595area[amenity=dentist],
2596area[amenity=veterinary] {
2597    fill-color: health#eeeeee;
2598}
2599node[amenity=pharmacy] {
2600    icon-image: "health/pharmacy.png";
2601    set icon_z17;
2602    text: auto;
2603}
2604node[amenity=hospital],
2605node[amenity=clinic] {
2606    icon-image: "health/hospital.png";
2607    set icon_z17;
2608    text: auto;
2609}
2610node[amenity=nursing_home],
2611node[amenity=social_facility],
2612node[amenity=nursery] {
2613    icon-image: "misc/no_icon.png";
2614    set icon_z17;
2615    text: auto;
2616}
2617node[amenity=baby_hatch] {
2618    icon-image: "health/baby_hatch.png";
2619    set icon_z17;
2620    text: auto;
2621}
2622node[amenity=doctors] {
2623    icon-image: "health/doctor.png";
2624    set icon_z17;
2625    text: auto;
2626}
2627node[amenity=dentist] {
2628    icon-image: "health/dentist.png";
2629    set icon_z17;
2630    text: auto;
2631}
2632node[amenity=veterinary] {
2633    icon-image: "health/veterinary.png";
2634    set icon_z17;
2635    text: auto;
2636}
2637area[amenity=library],
2638area[amenity=police],
2639area[amenity=ranger_station],
2640area[amenity=fire_station],
2641area[amenity=bus_station],
2642area[amenity=ferry_terminal],
2643area[amenity=theatre],
2644area[amenity=cinema],
2645area[amenity=arts_centre],
2646area[amenity=courthouse],
2647area[amenity=prison],
2648area[amenity=bank],
2649area[amenity=bureau_de_change],
2650area[amenity=bbq] {
2651    fill-color: amenity_light#f7efb7;
2652}
2653node[amenity=library] {
2654    icon-image: "shop/library.png";
2655    set icon_z17;
2656    text: auto;
2657}
2658node[amenity=police] {
2659    icon-image: "service/police.png";
2660    set icon_z17;
2661    text: auto;
2662}
2663node[amenity=ranger_station] {
2664    icon-image: "service/ranger_station.svg";
2665    set icon_z17;
2666    text: auto;
2667}
2668node[amenity=fire_station] {
2669    icon-image: "service/firebrigade.png";
2670    set icon_z17;
2671    text: auto;
2672}
2673node[amenity=bus_station] {
2674    icon-image: "transport/bus.png";
2675    set icon_z17;
2676    text: auto;
2677}
2678node[amenity=ferry_terminal] {
2679    icon-image: "nautical/ferry.png";
2680    icon-width: 16;
2681    set icon_z17;
2682    text: auto;
2683}
2684node[amenity=theatre] {
2685    icon-image: "presets/theater.png";
2686    icon-width: 16;
2687    set icon_z17;
2688    text: auto;
2689}
2690node[amenity=cinema] {
2691    icon-image: "leisure/cinema.png";
2692    set icon_z17;
2693    text: auto;
2694}
2695node[amenity=arts_centre] {
2696    icon-image: "service/arts_centre.png";
2697    set icon_z17;
2698    text: auto;
2699}
2700node[amenity=courthouse] {
2701    icon-image: "service/administration/courthouse.svg";
2702    set icon_z17;
2703    text: auto;
2704}
2705node[amenity=prison] {
2706    icon-image: "service/administration/prison.svg";
2707    set icon_z17;
2708    text: auto;
2709}
2710node[amenity=bank] {
2711    icon-image: "money/bank.png";
2712    set icon_z17;
2713    text: auto;
2714}
2715node[amenity=bureau_de_change] {
2716    icon-image: "money/exchange.png";
2717    set icon_z17;
2718    text: auto;
2719}
2720node[amenity=atm] {
2721    icon-image: "money/atm.png";
2722    set icon_z17;
2723    text: auto;
2724}
2725way[amenity=bench] {
2726    width: 2;
2727    color: amenity_light#f7efb7;
2728}
2729node[amenity=bench] {
2730    icon-image: "leisure/bench.png";
2731    set icon_z17;
2732    text: auto;
2733}
2734node[amenity=bbq] {
2735    icon-image: "leisure/bbq.png";
2736    set icon_z17;
2737    text: auto;
2738}
2739node[emergency=fire_hydrant] {
2740    icon-image: "service/fire_hydrant.png";
2741    set icon_z17;
2742    text: auto;
2743}
2744area[amenity=shelter],
2745area[amenity=marketplace],
2746area[amenity=wlan] {
2747    fill-color: amenity_light#f7efb7;
2748}
2749node[amenity=shelter] {
2750    icon-image: "accommodation/shelter.png";
2751    set icon_z17;
2752    text: auto;
2753}
2754node[amenity=shelter][shelter_type=public_transport] {
2755    icon-image: "accommodation/shelter_public_transport_brown.png";
2756    set icon_z17;
2757    text: auto;
2758}
2759node[amenity=shelter][shelter_type=picnic_shelter] {
2760    icon-image: "accommodation/shelter_picnic_brown.png";
2761    set icon_z17;
2762    text: auto;
2763}
2764node[amenity=shelter][shelter_type=basic_hut] {
2765    icon-image: "accommodation/basic_hut_blue.png";
2766    set icon_z17;
2767    text: auto;
2768}
2769node[amenity=shelter][shelter_type=lean_to] {
2770    icon-image: "accommodation/shelter_lean_to.svg";
2771    set icon_z17;
2772    text: auto;
2773}
2774node[amenity=hunting_stand] {
2775    icon-image: "hunting_stand.png";
2776    set icon_z17;
2777    text: auto;
2778}
2779node[amenity=marketplace] {
2780    icon-image: "place/marketplace.png";
2781    set icon_z17;
2782    text: auto;
2783}
2784node[amenity=wlan] {
2785    icon-image: "wlan.png";
2786    set icon_z17;
2787    text: auto;
2788}
2789node[amenity=vending_machine] {
2790    icon-image: "transport/ticket-machine.png";
2791    set icon_z17;
2792}
2793node[vending=excrement_bags] {
2794    icon-image: "service/excrement_bags.png";
2795    set icon_z17;
2796    text: auto;
2797}
2798
2799/**************/
2800/* craft tags */
2801/**************/
2802
2803area[craft=painter],
2804area[craft=plumber],
2805area[craft=pottery],
2806area[craft=stonemason],
2807area[craft=tiler],
2808area[craft=window_construction] {
2809    fill-color: craft#999900;
2810}
2811node[craft=painter] {
2812    icon-image: "craft/painter.png";
2813    set icon_z17;
2814    text: auto;
2815}
2816node[craft=plumber] {
2817    icon-image: "craft/plumber.png";
2818    set icon_z17;
2819    text: auto;
2820}
2821node[craft=pottery] {
2822    icon-image: "craft/pottery.png";
2823    set icon_z17;
2824    text: auto;
2825}
2826node[craft=stonemason] {
2827    icon-image: "craft/stonemason.png";
2828    set icon_z17;
2829    text: auto;
2830}
2831node[craft=tiler] {
2832    icon-image: "craft/tiler.png";
2833    set icon_z17;
2834    text: auto;
2835}
2836node[craft=window_construction] {
2837    icon-image: "craft/window_construction.png";
2838    set icon_z17;
2839    text: auto;
2840}
2841
2842/****************/
2843/* tourism tags */
2844/****************/
2845
2846area[tourism=hotel],
2847area[tourism=motel],
2848area[tourism=guest_house],
2849area[tourism=hostel],
2850area[tourism=chalet],
2851area[tourism=alpine_hut],
2852area[tourism=camp_site],
2853area[tourism=caravan_site] {
2854    fill-color: hotel#e1a0a2;
2855}
2856node[tourism=hotel] {
2857    icon-image: "accommodation/hotel.svg";
2858    set icon_z17;
2859    text: auto;
2860}
2861node[tourism=motel] {
2862    icon-image: "accommodation/motel.svg";
2863    set icon_z17;
2864    text: auto;
2865}
2866node[tourism=guest_house] {
2867    icon-image: "accommodation/guest_house.png";
2868    set icon_z17;
2869    text: auto;
2870}
2871node[tourism=hostel] {
2872    icon-image: "accommodation/hostel.svg";
2873    set icon_z17;
2874    text: auto;
2875}
2876node[tourism=chalet] {
2877    icon-image: "accommodation/chalet.png";
2878    set icon_z17;
2879    text: auto;
2880}
2881node[tourism=alpine_hut] {
2882    icon-image: "accommodation/alpine_hut_blue.png";
2883    set icon_z17;
2884    text: auto;
2885}
2886node[tourism=wilderness_hut] {
2887    icon-image: "accommodation/wilderness_hut_blue.png";
2888    set icon_z17;
2889    text: auto;
2890}
2891node[tourism=camp_site] {
2892    icon-image: "accommodation/camping.png";
2893    set icon_z17;
2894    text: auto;
2895}
2896node[tourism=caravan_site] {
2897    icon-image: "accommodation/camping/caravan.png";
2898    set icon_z17;
2899    text: auto;
2900}
2901area[tourism=picnic_site],
2902area[tourism=viewpoint],
2903area[tourism=theme_park],
2904area[tourism=attraction],
2905area[tourism=zoo],
2906area[tourism=museum] {
2907    fill-color: tourism#e180a2;
2908}
2909node[tourism=picnic_site] {
2910    icon-image: "leisure/picnic.png";
2911    set icon_z17;
2912    text: auto;
2913}
2914node[tourism=viewpoint] {
2915    icon-image: "sightseeing/viewpoint.png";
2916    set icon_z17;
2917    text: auto;
2918}
2919node[tourism=theme_park] {
2920    icon-image: "leisure/theme_park.png";
2921    set icon_z17;
2922    text: auto;
2923}
2924node[tourism=attraction] {
2925    icon-image: "sightseeing.png";
2926    set icon_z17;
2927    text: auto;
2928}
2929node[tourism=zoo] {
2930    icon-image: "leisure/zoo.png";
2931    set icon_z17;
2932    text: auto;
2933}
2934area[tourism=artwork]:closed {
2935    fill-color: tourism#e180a2;
2936}
2937way[tourism=artwork] {
2938    width: 2;
2939    color: tourism#e180a2;
2940}
2941node[tourism=artwork] {
2942    icon-image: "service/arts_centre.png";
2943    set icon_z17;
2944    text: auto;
2945}
2946node[tourism=museum] {
2947    icon-image: "sightseeing/museum.svg";
2948    set icon_z17;
2949    text: auto;
2950}
2951
2952/********************/
2953/* information tags */
2954/********************/
2955
2956area[tourism=information] {
2957    fill-color: tourism#e180a2;
2958}
2959node[tourism=information] {
2960    icon-image: "misc/information.png";
2961    set icon_z17;
2962    text: auto;
2963}
2964node[tourism=information][information=guidepost] {
2965    icon-image: "misc/information/guidepost.png";
2966    set icon_z17;
2967    text: auto;
2968}
2969area[tourism=information][information=office] {
2970    fill-color: tourism#e180a2;
2971}
2972node[tourism=information][information=office] {
2973    icon-image: "misc/information/informationoffice.png";
2974    set icon_z17;
2975    text: auto;
2976}
2977node[tourism=information][information=map] {
2978    icon-image: "misc/information/map.png";
2979    set icon_z17;
2980    text: auto;
2981}
2982node[tourism=information][information=board] {
2983    icon-image: "misc/information/board.png";
2984    set icon_z17;
2985    text: auto;
2986}
2987
2988/*****************/
2989/* historic tags */
2990/*****************/
2991
2992area[historic=castle],
2993area[historic=monument],
2994area[historic=memorial],
2995area[historic=archaeological_site],
2996area[historic=ruins],
2997area[historic=battlefield],
2998area[geological=palaeontological_site],
2999area[historic=wayside_cross],
3000area[historic=wayside_shrine],
3001area[historic=boundary_stone] {
3002    fill-color: historic#663300;
3003}
3004node[historic=castle] {
3005    icon-image: "sightseeing/castle.svg";
3006    set icon_z17;
3007    text: auto;
3008}
3009node[historic=monument] {
3010    icon-image: "sightseeing/monument.png";
3011    set icon_z17;
3012    text: auto;
3013}
3014node[historic=memorial] {
3015    icon-image: "sightseeing/memorial.png";
3016    set icon_z17;
3017    text: auto;
3018}
3019node[historic=archaeological_site] {
3020    icon-image: "sightseeing/archaeological.png";
3021    set icon_z17;
3022    text: auto;
3023}
3024node[historic=ruins] {
3025    icon-image: "sightseeing/ruins.png";
3026    set icon_z17;
3027    text: auto;
3028}
3029node[historic=battlefield] {
3030    icon-image: "sightseeing/battlefield.png";
3031    set icon_z17;
3032    text: auto;
3033}
3034node[geological=palaeontological_site] {
3035    icon-image: "historic/palaeontological_site.png";
3036    set icon_z17;
3037    text: auto;
3038}
3039node[historic=wayside_cross] {
3040    icon-image: "religion/wayside_cross.png";
3041    set icon_z17;
3042    text: auto;
3043}
3044node[historic=wayside_shrine] {
3045    icon-image: "religion/wayside_shrine.png";
3046    set icon_z17;
3047    text: auto;
3048}
3049node[historic=boundary_stone] {
3050    icon-image: "historic/boundary_stone.png";
3051    set icon_z17;
3052    text: auto;
3053}
3054
3055/****************/
3056/* landuse tags */
3057/****************/
3058
3059area[landuse],
3060area[leisure],
3061area[amenity],
3062area[place],
3063area[natural],
3064area[man_made] {
3065    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3066}
3067area[landuse=farm],
3068area[landuse=farmland] {
3069    fill-color: farmland#b8e0b1;
3070}
3071area[landuse=meadow] {
3072    fill-color: meadow#b1e0b6;
3073}
3074area[landuse=vineyard],
3075area[landuse=orchard] {
3076    fill-color: green#b1e0c2;
3077}
3078area[landuse=quarry] {
3079    fill-color: quarry#888888;
3080}
3081area[landuse=landfill] {
3082    fill-color: landfill#663300;
3083}
3084area[landuse=basin],
3085area[landuse=reservoir] {
3086    fill-color: basin#0000bf;
3087}
3088area[landuse=forest] {
3089    fill-color: forest#b1efc8;
3090}
3091area[landuse=allotments] {
3092    fill-color: allotments#5dbf80;
3093}
3094area[landuse=greenhouse_horticulture],
3095area[landuse=plant_nursery] {
3096    fill-color: green#b1e0c2;
3097}
3098area[landuse=grass] {
3099    fill-color: grass#97ca96;
3100}
3101area[landuse=residential] {
3102    fill-color: residential#f0f0f0;
3103}
3104area[landuse=garages] {
3105    fill-color: garages#d6c8aa;
3106}
3107area[landuse=farmyard] {
3108    fill-color: farmyard#f0f0f0;
3109}
3110area[landuse=retail],
3111area[landuse=commercial] {
3112    fill-color: retail#ffc4ee;
3113}
3114area[landuse=industrial] {
3115    fill-color: industrial#ecd8ff;
3116}
3117area[landuse=brownfield] {
3118    fill-color: brownfield#ecba32;
3119}
3120area[landuse=greenfield] {
3121    fill-color: greenfield#b1ec5c;
3122}
3123area[landuse=railway] {
3124    fill-color: railland#888888;
3125}
3126area[landuse=construction] {
3127    fill-color: construction#ffff00;
3128}
3129way[landuse=construction] {
3130    width: 1;
3131    color: construction#ffff00;
3132    dashes: 9,9;
3133}
3134area[landuse=military] {
3135    fill-color: military#b62c2c;
3136}
3137area[landuse=religious] {
3138    fill-color: religious#ffd454;
3139}
3140area[landuse=cemetery] {
3141    fill-color: cemetery#b1efc8;
3142}
3143area[landuse=village_green] {
3144    fill-color: green#b1e0c2;
3145}
3146area[landuse=recreation_ground] {
3147    fill-color: green#b1e0c2;
3148}
3149node[landuse] {
3150    icon-image: "misc/deprecated.png";
3151    set icon_z17;
3152    text: auto;
3153}
3154
3155/*****************/
3156/* military tags */
3157/*****************/
3158
3159area[military=airfield],
3160area[military=bunker],
3161area[military=barracks],
3162area[military=danger_area],
3163area[military=range] {
3164    fill-color: military#b62c2c;
3165}
3166node[military=airfield] {
3167    icon-image: "transport/airport/airfield.png";
3168    set icon_z17;
3169    text: auto;
3170}
3171node[military=bunker] {
3172    icon-image: "misc/landmark/bunker.png";
3173    set icon_z17;
3174    text: auto;
3175}
3176node[military=barracks] {
3177    icon-image: "misc/no_icon.png";
3178    set icon_z17;
3179    text: auto;
3180}
3181node[military=danger_area] {
3182    icon-image: "misc/danger.png";
3183    set icon_z17;
3184    text: auto;
3185}
3186node[military=range] {
3187    icon-image: "misc/landmark/range.png";
3188    set icon_z17;
3189    text: auto;
3190}
3191
3192/*************************/
3193/* public_transport tags */
3194/*************************/
3195
3196node[public_transport=stop_position] {
3197    icon-image: "transport/railway_small.png";
3198    set icon_z17;
3199    text: auto;
3200}
3201node[highway=bus_stop] {
3202    icon-image: "transport/bus_small.png";
3203    set icon_z17;
3204    text: auto;
3205}
3206node[public_transport=stop_position][bus=yes] {
3207    icon-image: "transport/bus_small.png";
3208    set icon_z17;
3209    text: auto;
3210}
3211node[public_transport=stop_position][aerial=yes] {
3212    icon-image: "transport/aerialway.png";
3213    set icon_z17;
3214    text: auto;
3215}
3216node[public_transport=stop_position][ferry=yes] {
3217    icon-image: "transport/ferry.png";
3218    set icon_z17;
3219    text: auto;
3220}
3221node[public_transport=stop_position][tram=yes] {
3222    icon-image: "transport/tram.png";
3223    set icon_z17;
3224    text: auto;
3225}
3226node[public_transport=stop_position][train=yes] {
3227    icon-image: "transport/railway_small.png";
3228    set icon_z17;
3229    text: auto;
3230}
3231area[public_transport=platform]:closed {
3232    fill-color: service#809bc0;
3233}
3234way[public_transport=platform]!:closed {
3235    width: 3;
3236    color: service#809bc0;
3237    dashes: 12,3;
3238}
3239node[public_transport=platform] {
3240    icon-image: "transport/bus_small.png";
3241    set icon_z17;
3242    text: auto;
3243}
3244node[public_transport=platform][bus=yes] {
3245    icon-image: "transport/bus_small.png";
3246    set icon_z17;
3247    text: auto;
3248}
3249node[public_transport=platform][aerial=yes] {
3250    icon-image: "transport/aerialway/station.png";
3251    set icon_z17;
3252    text: auto;
3253}
3254node[public_transport=platform][ferry=yes] {
3255    icon-image: "transport/ferry.png";
3256    set icon_z17;
3257    text: auto;
3258}
3259node[public_transport=platform][tram=yes],
3260node[public_transport=platform][train=yes] {
3261    icon-image: "transport/railway_station.png";
3262    set icon_z17;
3263    text: auto;
3264}
3265
3266/****************/
3267/* railway tags */
3268/****************/
3269
3270area[railway=station],
3271area[railway=tram_station],
3272area[railway=subway_entrance] {
3273    fill-color: railwaypoint#f7efb7;
3274}
3275node[railway=station], node[railway=tram_station] {
3276    icon-image: "transport/railway_station.png";
3277    set icon_z17;
3278    text: auto;
3279}
3280node[railway=halt] {
3281    icon-image: "transport/railway_small.png";
3282    set icon_z17;
3283    text: auto;
3284}
3285node[railway=tram_stop] {
3286    icon-image: "transport/tram.png";
3287    set icon_z17;
3288    text: auto;
3289}
3290node[railway=subway_entrance] {
3291    icon-image: "transport/underground.png";
3292    set icon_z17;
3293    text: auto;
3294}
3295node[railway=crossing] {
3296    icon-image: "vehicle/crossing.png";
3297    set icon_z17;
3298    text: auto;
3299}
3300node[railway=level_crossing] {
3301    icon-image: "presets/level_crossing.png";
3302    icon-width: 16;
3303    set icon_z17;
3304    text: auto;
3305}
3306way[railway=rail] {
3307    width: 2;
3308    color: rail#404040;
3309    dashes: 9,9;
3310    dashes-background-color: raildashed#ffffff;
3311}
3312way[railway=rail][service=siding] {
3313    width: 1;
3314}
3315way[railway=rail][service=yard],
3316way[railway=rail][service=spur] {
3317    width: 1;
3318    color: railyard#552200
3319}
3320/* draw tram on top of other way (highway=*) or
3321   as a standalone style */
3322way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3323    object-z-index: 1;
3324    modifier: false; /* don't draw default way if there is no line on default layer */
3325    width: 1;
3326    color: railover#202020;
3327    dashes: 9,9;
3328    casing-width: 1;
3329    casing-color: otherrail#808080;
3330    casing-linecap: round;
3331    casing-dashes: 9,9;
3332}
3333way[railway=light_rail] {
3334    width: 2;
3335    color: otherrail#808080;
3336    dashes: 9,9;
3337}
3338way[railway=subway] {
3339    width: 1;
3340    color: subway#606060;
3341    dashes: 9,9;
3342}
3343way[railway=preserved] {
3344    width: 1;
3345    color: oldrail#404040;
3346    dashes: 9,9;
3347}
3348/* disused often appears together with highway=xy */
3349/* -> draw on separate layer with higher z-index, but use */
3350/* modifier: false; to suppress default line when used alone. */
3351/* use default layer when used without highway=* to display bridge correctly */
3352way[railway=disused][highway]::core_railway,
3353way[railway=disused][!highway],
3354way[railway=abandoned][highway]::core_railway,
3355way[railway=abandoned][!highway] {
3356    width: 1;
3357    modifier: false;
3358    z-index: 1;
3359    color: oldrail#404040;
3360    dashes: 9,9;
3361}
3362way[railway=narrow_gauge],
3363way[railway=monorail] {
3364    width: 1;
3365    color: rail#404040;
3366    dashes: 9,9;
3367}
3368area[railway=turntable] {
3369    fill-color: rail#404040;
3370}
3371node[railway=turntable] {
3372    icon-image: "transport/turntable.png";
3373    set icon_z17;
3374    text: auto;
3375}
3376node[railway=buffer_stop] {
3377    icon-image: "transport/buffer_stop.png";
3378    set icon_z17;
3379    text: auto;
3380}
3381area[railway=platform]:closed {
3382    fill-color: rail#404040;
3383}
3384way[railway=platform] {
3385    width: 2;
3386    color: rail#404040;
3387}
3388way[railway=funicular] {
3389    width: 1;
3390    color: rail#404040;
3391    dashes: 9,9;
3392}
3393node[railway=switch] {
3394    icon-image: "presets/railway_switch.png";
3395    icon-width: 16;
3396    set icon_z17;
3397    text: auto;
3398}
3399node[railway=milestone] {
3400    icon-image: "vehicle/milestone.svg";
3401    set icon_z17;
3402    text: auto;
3403}
3404node[railway=rail], node[railway=tram], node[railway=light_rail],
3405node[railway=subway], node[railway=preserved],
3406node[railway=disused], node[railway=abandoned],
3407node[railway=narrow_gauge], node[railway=monorail],
3408node[railway=platform], node[railway=funicular],
3409node[service=yard], node[service=siding], node[service=spur] {
3410    icon-image: "misc/deprecated.png";
3411    set icon_z17;
3412    text: auto;
3413}
3414way[railway=construction][!highway] {
3415    width: 1;
3416    color: construction#ffff00;
3417    dashes: 9,9;
3418}
3419way[railway=construction][construction=rail] {
3420    width: 2;
3421    color: rail#404040;
3422    dashes: 9,9;
3423    dashes-background-color: construction#ffff00;
3424}
3425way[railway=construction][construction=light_rail] {
3426    width: 2;
3427}
3428way[railway=construction][construction=tram][highway]::core_railway,
3429way[railway=construction][construction=tram][!highway] {
3430    z-index: 1;
3431    width: 1;
3432    color: railover#202020;
3433    dashes: 9,9;
3434    casing-width: 1;
3435    casing-color: construction#ffff00;
3436    casing-linecap: round;
3437    casing-dashes: 9,9;
3438}
3439
3440/****************/
3441/* aeroway tags */
3442/****************/
3443
3444area[aeroway=aerodrome] {
3445    fill-color: aeroway#660000;
3446    width: 2;
3447    dashes: 9,9;
3448}
3449node[aeroway=aerodrome] {
3450    icon-image: "transport/airport.png";
3451    set icon_z17;
3452    text: auto;
3453}
3454area[aeroway=terminal] {
3455    fill-color: terminal#bb0000;
3456}
3457node[aeroway=terminal] {
3458    icon-image: "transport/airport/terminal.png";
3459    set icon_z17;
3460    text: auto;
3461}
3462area[aeroway=helipad] {
3463    fill-color: aeroway_dark#330000;
3464}
3465node[aeroway=helipad] {
3466    icon-image: "transport/airport/helipad.png";
3467    set icon_z17;
3468    text: auto;
3469}
3470area[aeroway=runway]:closed {
3471    fill-color: aeroway_dark#330000;
3472}
3473way[aeroway=runway] {
3474    width: 3;
3475    color: aeroway_dark#330000;
3476}
3477area[aeroway=taxiway]:closed {
3478    fill-color: aeroway#660000;
3479}
3480way[aeroway=taxiway] {
3481    width: 2;
3482    color: aeroway#660000;
3483}
3484way[aeroway=parking_position] {
3485    width: 1;
3486    color: aeroway#660000;
3487}
3488node[aeroway=parking_position] {
3489    icon-image: "transport/airport/parking_position.png";
3490    set icon_z17;
3491    text: auto;
3492}
3493area[aeroway=apron],
3494area[aeroway=hangar] {
3495    fill-color: aeroway_light#990000;
3496}
3497node[aeroway=apron],
3498node[aeroway=runway],
3499node[aeroway=taxiway] {
3500    icon-image: "misc/deprecated.png";
3501    set icon_z17;
3502    text: auto;
3503}
3504node[aeroway=hangar] {
3505    icon-image: "transport/airport/hangar.png";
3506    set icon_z17;
3507    text: auto;
3508}
3509node[aeroway=gate] {
3510    icon-image: "transport/airport/gate.png";
3511    set icon_z17;
3512    text: auto;
3513}
3514node[aeroway=windsock] {
3515    icon-image: "transport/airport/windsock.png";
3516    set icon_z17;
3517    text: auto;
3518}
3519
3520/******************/
3521/* aerialway tags */
3522/******************/
3523
3524way[aerialway=cable_car],
3525way[aerialway=gondola] {
3526    width: 1;
3527    color: aerialway#663300;
3528    dashes: 9,9;
3529}
3530way[aerialway=chair_lift] {
3531    width: 1;
3532    color: aerialway#663300;
3533    dashes: 6,6;
3534}
3535way[aerialway=mixed_lift] {
3536    width: 1;
3537    color: aerialway#663300;
3538    dashes: 6,6,9,6;
3539}
3540way[aerialway=j-bar],
3541way[aerialway=t-bar],
3542way[aerialway=platter],
3543way[aerialway=rope_tow],
3544way[aerialway=drag_lift] {
3545    width: 1;
3546    color: aerialway#663300;
3547    dashes: 3,3;
3548}
3549way[aerialway=magic_carpet] {
3550    width: 1;
3551    color: aerialway#663300;
3552    dashes: 3,3;
3553}
3554way[aerialway=goods] {
3555    width: 1;
3556    color: aerialway#663300;
3557    dashes: 2,2;
3558}
3559area[aerialway=station] {
3560    fill-color: aerialway#663300;
3561}
3562node[aerialway=station] {
3563    icon-image: "transport/aerialway/station.png";
3564    set icon_z17;
3565    text: auto;
3566}
3567node[aerialway=pylon] {
3568    icon-image: "transport/aerialway/pylon.svg";
3569    set icon_z17;
3570    text: auto;
3571}
3572node[aerialway=cable_car],
3573node[aerialway=gondola],
3574node[aerialway=chair_lift],
3575node[aerialway=mixed_lift],
3576node[aerialway=drag_lift],
3577node[aerialway=t-bar],
3578node[aerialway=j-bar],
3579node[aerialway=platter],
3580node[aerialway=magic_carpet],
3581node[aerialway=rope_tow],
3582node[aerialway=goods] {
3583    icon-image: "misc/deprecated.png";
3584    set icon_z17;
3585    text: auto;
3586}
3587
3588/**************/
3589/* sport tags */
3590/**************/
3591
3592area[sport="9pin"],
3593area[sport="10pin"],
3594area[sport=athletics],
3595area[sport=running],
3596area[sport=soccer],
3597area[sport=australian_football],
3598area[sport=american_football],
3599area[sport=canadian_football],
3600area[sport=gaelic_games],
3601area[sport=rugby_league],
3602area[sport=rugby_union] {
3603    fill-color: sport#bde3cb;
3604}
3605node[sport="9pin"] {
3606    icon-image: "sport/10pin.png";
3607    set icon_z17;
3608    text: auto;
3609}
3610node[sport="10pin"] {
3611    icon-image: "sport/10pin.png";
3612    set icon_z17;
3613    text: auto;
3614}
3615node[sport=athletics] {
3616    icon-image: "sport/athletics.png";
3617    set icon_z17;
3618    text: auto;
3619}
3620node[sport=running] {
3621    icon-image: "sport/running.svg";
3622    set icon_z17;
3623    text: auto;
3624}
3625node[sport=soccer],
3626node[sport=gaelic_games] {
3627    icon-image: "sport/soccer.png";
3628    set icon_z17;
3629    text: auto;
3630}
3631node[sport=australian_football],
3632node[sport=american_football],
3633node[sport=canadian_football],
3634node[sport=rugby_league],
3635node[sport=rugby_union] {
3636    icon-image: "sport/football.png";
3637    set icon_z17;
3638    text: auto;
3639}
3640area[sport=baseball],
3641area[sport=basketball],
3642area[sport=boules],
3643area[sport=bowls],
3644area[sport=canoe],
3645area[sport=chess],
3646area[sport=climbing]:closed,
3647area[sport=cricket],
3648area[sport=croquet] {
3649    fill-color: sport#bde3cb;
3650}
3651node[sport=baseball] {
3652    icon-image: "sport/baseball.png";
3653    set icon_z17;
3654    text: auto;
3655}
3656node[sport=basketball] {
3657    icon-image: "sport/basketball.png";
3658    set icon_z17;
3659    text: auto;
3660}
3661node[sport=boules] {
3662    icon-image: "sport/boule.png";
3663    set icon_z17;
3664    text: auto;
3665}
3666node[sport=bowls] {
3667    icon-image: "sport/boule.png";
3668    set icon_z17;
3669    text: auto;
3670}
3671node[sport=canoe] {
3672    icon-image: "sport/canoe.svg";
3673    set icon_z17;
3674    text: auto;
3675}
3676node[sport=chess] {
3677    icon-image: "sport/chess.png";
3678    set icon_z17;
3679    text: auto;
3680}
3681node[sport=climbing] {
3682    icon-image: "sport/climbing.png";
3683    set icon_z17;
3684    text: auto;
3685}
3686node[sport=cricket] {
3687    icon-image: "sport/cricket.png";
3688    set icon_z17;
3689    text: auto;
3690}
3691node[sport=croquet] {
3692    icon-image: "sport/croquet.png";
3693    set icon_z17;
3694    text: auto;
3695}
3696area[sport=cycling],
3697area[sport=dog_racing],
3698area[sport=equestrian],
3699area[sport=golf],
3700area[sport=gymnastics],
3701area[sport=field_hockey],
3702area[sport=ice_hockey],
3703area[sport=horse_racing],
3704area[sport=karting][highway!=raceway],
3705area[sport=karting][highway=raceway][area=yes],
3706area[sport=motocross][highway!=raceway],
3707area[sport=motocross][highway=raceway][area=yes],
3708area[sport=motor][highway!=raceway],
3709area[sport=motor][highway=raceway][area=yes] {
3710    fill-color: sport#bde3cb;
3711}
3712node[sport=cycling] {
3713    icon-image: "sport/cycling.png";
3714    set icon_z17;
3715    text: auto;
3716}
3717node[sport=dog_racing] {
3718    icon-image: "leisure/dog.png";
3719    set icon_z17;
3720    text: auto;
3721}
3722node[sport=equestrian] {
3723    icon-image: "presets/equestrian.png";
3724    icon-width: 16;
3725    set icon_z17;
3726    text: auto;
3727}
3728node[sport=golf] {
3729    icon-image: "sport/golf.svg";
3730    set icon_z17;
3731    text: auto;
3732}
3733node[sport=gymnastics] {
3734    icon-image: "presets/gymnastics.png";
3735    icon-width: 16;
3736    set icon_z17;
3737    text: auto;
3738}
3739node[sport=field_hockey] {
3740    icon-image: "sport/field_hockey.png";
3741    set icon_z17;
3742    text: auto;
3743}
3744node[sport=ice_hockey] {
3745    icon-image: "sport/ice_hockey.png";
3746    set icon_z17;
3747    text: auto;
3748}
3749node[sport=horse_racing] {
3750    icon-image: "sport/riding.png";
3751    set icon_z17;
3752    text: auto;
3753}
3754node[sport=karting] {
3755    icon-image: "sport/karting.png";
3756    set icon_z17;
3757    text: auto;
3758}
3759node[sport=motocross] {
3760    icon-image: "sport/motocross.png";
3761    set icon_z17;
3762    text: auto;
3763}
3764node[sport=motor] {
3765    icon-image: "sport/motor.png";
3766    set icon_z17;
3767    text: auto;
3768}
3769area[sport=multi],
3770area[sport=pelota],
3771area[sport=racquet],
3772area[sport=skating],
3773area[sport=skateboard] {
3774    fill-color: sport#bde3cb;
3775}
3776node[sport=multi] {
3777    icon-image: "sport/multi.png";
3778    set icon_z17;
3779    text: auto;
3780}
3781node[sport=pelota] {
3782    icon-image: "sport/pelota.png";
3783    set icon_z17;
3784    text: auto;
3785}
3786node[sport=racquet] {
3787    icon-image: "sport/racquetball.png";
3788    set icon_z17;
3789    text: auto;
3790}
3791node[sport=skating] {
3792    icon-image: "sport/skating.png";
3793    set icon_z17;
3794    text: auto;
3795}
3796node[sport=skateboard] {
3797    icon-image: "sport/skateboard.png";
3798    set icon_z17;
3799    text: auto;
3800}
3801area[sport=swimming] {
3802    fill-color: swimming_pool#51c4ef;
3803}
3804node[sport=swimming] {
3805    icon-image: "sport/pool.png";
3806    set icon_z17;
3807    text: auto;
3808}
3809area[sport=table_tennis],
3810area[sport=tennis],
3811area[sport=paintball] {
3812    fill-color: sport#bde3cb;
3813}
3814node[sport=table_tennis] {
3815    icon-image: "sport/table_tennis.png";
3816    set icon_z17;
3817    text: auto;
3818}
3819node[sport=tennis] {
3820    icon-image: "sport/tennis.png";
3821    set icon_z17;
3822    text: auto;
3823}
3824node[sport=paintball] {
3825    icon-image: "misc/no_icon.png";
3826    set icon_z17;
3827    text: auto;
3828}
3829area[sport=squash],
3830area[sport=shooting],
3831area[sport=volleyball],
3832area[sport=beachvolleyball],
3833area[sport=billiards],
3834area[sport=bowling],
3835area[sport=handball],
3836area[sport=rowing],
3837area[sport=sailing],
3838area[sport=scuba_diving],
3839area[sport=badminton] {
3840    fill-color: sport#bde3cb;
3841}
3842node[sport=squash] {
3843    icon-image: "misc/no_icon.png";
3844    set icon_z17;
3845    text: auto;
3846}
3847node[sport=shooting] {
3848    icon-image: "presets/range.png";
3849    icon-width: 16;
3850    set icon_z17;
3851    text: auto;
3852}
3853node[sport=volleyball] {
3854    icon-image: "sport/volleyball.png";
3855    set icon_z17;
3856    text: auto;
3857}
3858node[sport=beachvolleyball] {
3859    icon-image: "sport/beachvolleyball.png";
3860    set icon_z17;
3861    text: auto;
3862}
3863node[sport=billiards] {
3864    icon-image: "sport/billiards.svg";
3865    set icon_z17;
3866    text: auto;
3867}
3868node[sport=bowling] {
3869    icon-image: "sport/10pin.png";
3870    set icon_z17;
3871    text: auto;
3872}
3873node[sport=handball] {
3874    icon-image: "sport/handball.png";
3875    set icon_z17;
3876    text: auto;
3877}
3878node[sport=rowing] {
3879    icon-image: "sport/rowing.png";
3880    set icon_z17;
3881    text: auto;
3882}
3883node[sport=sailing] {
3884    icon-image: "misc/no_icon.png";
3885    set icon_z17;
3886    text: auto;
3887}
3888node[sport=scuba_diving] {
3889    icon-image: "sport/scuba_diving.svg";
3890    set icon_z17;
3891    text: auto;
3892}
3893node[sport=badminton] {
3894    icon-image: "misc/no_icon.png";
3895    set icon_z17;
3896    text: auto;
3897}
3898area[sport=archery],
3899area[sport=fishing],
3900area[sport=model_aerodrome],
3901area[sport=rc_car] {
3902    fill-color: sport#bde3cb;
3903}
3904node[sport=archery] {
3905    icon-image: "sport/archery.png";
3906    set icon_z17;
3907    text: auto;
3908}
3909node[sport=fishing] {
3910    icon-image: "sport/fishing.png";
3911    set icon_z17;
3912    text: auto;
3913}
3914node[sport=model_aerodrome] {
3915    icon-image: "transport/airport.png";
3916    set icon_z17;
3917    text: auto;
3918}
3919node[sport=rc_car] {
3920    icon-image: "transport/car.png";
3921    set icon_z17;
3922    text: auto;
3923}
3924
3925/****************/
3926/* natural tags */
3927/****************/
3928
3929area[natural=spring] {
3930    fill-color: light_water#00005f;
3931}
3932node[natural=spring] {
3933    icon-image: "misc/landmark/spring.png";
3934    set icon_z17;
3935    text: auto;
3936}
3937node[natural=saddle] {
3938    icon-image: "presets/saddle.svg";
3939    set icon_z0;
3940    text: auto;
3941    set text_z0;
3942}
3943node[natural=peak] {
3944    icon-image: "presets/peak.svg";
3945    set icon_z0;
3946    text: auto;
3947    set text_z0;
3948}
3949node[natural=peak][tourism=viewpoint] {
3950    icon-image: "sightseeing/peak_viewpoint.svg";
3951    set icon_z0;
3952    text: auto;
3953    set text_z0;
3954}
3955area[natural=glacier] {
3956    fill-color: glacier#ffffff;
3957}
3958node[natural=glacier] {
3959    icon-image: "misc/landmark/glacier_small.png";
3960    set icon_z0;
3961    text: auto;
3962    set text_z0;
3963}
3964node[natural=volcano] {
3965    icon-image: "misc/landmark/volcano_small.png";
3966    set icon_z0;
3967    text: auto;
3968    set text_z0;
3969}
3970area[natural=cliff]:closed {
3971    fill-color: natural#002f00;
3972}
3973way[natural=cliff] {
3974    repeat-image: "misc/cliff-pattern.png";
3975    repeat-image-align: top;
3976    width: 1;
3977    color: #b2b2b2;
3978}
3979node[natural=cliff] {
3980    icon-image: "misc/cliff.png";
3981    set icon_z17;
3982    text: auto;
3983}
3984way[natural=ridge] {
3985    width: 1;
3986    color: natural#002f00;
3987}
3988way[natural=valley] {
3989    width: 1;
3990    color: natural#002f00;
3991}
3992area[natural=scree] {
3993    fill-color: natural#002f00;
3994}
3995area[natural=scrub] {
3996    fill-color: scrub#007000;
3997}
3998area[natural=fell] {
3999    fill-color: natural#002f00;
4000}
4001area[natural=heath] {
4002    fill-color: heath#ffffc0;
4003}
4004way[natural=tree_row] {
4005    width: 2;
4006    color: woodarea#008000;
4007}
4008area[natural=wood] {
4009    fill-color: woodarea#008000;
4010}
4011area[natural=grassland] {
4012    fill-color: green#b1e0c2;
4013}
4014area[natural=wetland] {
4015    fill-color: marsh#4f4ff3;
4016}
4017area[natural=water] {
4018    fill-color: water#0000ff;
4019}
4020way[natural=coastline] {
4021    width: 2;
4022    color: water#0000ff;
4023    right-casing-color: water#0000ff;
4024    right-casing-width: 5;
4025    right-casing-opacity: 0.30; 
4026}
4027area[natural=mud] {
4028    fill-color: mud#cba762;
4029}
4030area[natural=beach] {
4031    fill-color: beach#f8dba2;
4032}
4033area[natural=sand] {
4034    fill-color: sand#f8dba2;
4035}
4036area[natural=bare_rock] {
4037    fill-color: bare_rock#f8f8c7;
4038}
4039area[natural=rock] {
4040    fill-color: stone#f8f8c7;
4041}
4042node[natural=rock] {
4043    icon-image: "misc/rock.svg";
4044    set icon_z17;
4045    text: auto;
4046}
4047area[natural=stone] {
4048    fill-color: stone#f8f8c7;
4049}
4050node[natural=stone] {
4051    icon-image: "misc/stone.svg";
4052    set icon_z17;
4053    text: auto;
4054}
4055area[natural=bay],
4056area[natural=cave_entrance] {
4057    fill-color: natural#002f00;
4058}
4059node[natural=bay] {
4060    icon-image: "misc/bay.png";
4061    set icon_z17;
4062    text: auto;
4063}
4064node[natural=cave_entrance] {
4065    icon-image: "misc/landmark/cave_entrance.png";
4066    set icon_z17;
4067    text: auto;
4068}
4069node[natural=tree] {
4070    icon-image: "misc/landmark/trees.png";
4071    set icon_z17;
4072    text: auto;
4073}
4074node[natural=tree][type=conifer],
4075node[natural=tree][leaf_type=needleleaved] {
4076    icon-image: "misc/landmark/trees_conifer.png";
4077    set icon_z17;
4078    text: auto;
4079}
4080node[natural=tree][type=broad_leaved],
4081node[natural=tree][leaf_type=broadleaved] {
4082    icon-image: "misc/landmark/trees_broad_leaved.png";
4083    set icon_z17;
4084    text: auto;
4085}
4086node[natural=tree][type=palm] {
4087    icon-image: "misc/landmark/trees_palm.png";
4088    set icon_z17;
4089    text: auto;
4090}
4091node[natural=scree],
4092node[natural=scrub],
4093node[natural=fell],
4094node[natural=heath],
4095node[natural=tree_row],
4096node[natural=wood],
4097node[natural=grassland],
4098node[natural=wetland],
4099node[natural=water],
4100node[natural=coastline],
4101node[natural=mud],
4102node[natural=beach],
4103node[natural=sand],
4104node[natural=land],
4105node[natural=bare_rock],
4106node[natural=ridge],
4107node[natural=valley] {
4108    icon-image: "misc/deprecated.png";
4109    set icon_z17;
4110    text: auto;
4111}
4112/*****************/
4113/* waterway tags */
4114/*****************/
4115
4116way[waterway=river] {
4117    width: 2;
4118    color: water#0000ff;
4119}
4120area[waterway=riverbank] {
4121    fill-color: riverbank#0000cf;
4122    width: 1;
4123    color: riverbank#0000cf;
4124}
4125way[waterway=canal] {
4126    width: 2;
4127    color: water#0000ff;
4128}
4129way[waterway=stream] {
4130    width: 1;
4131    color: stream#6600cc;
4132}
4133way[waterway=ditch], way[waterway=drain] {
4134    width: 1;
4135    color: water#0000ff;
4136}
4137area[waterway=dock] {
4138    fill-color: dock#0000cf;
4139}
4140node[waterway=dock] {
4141    icon-image: "nautical/boatyard.png";
4142    set icon_z17;
4143    text: auto;
4144}
4145node[waterway=lock_gate] {
4146    icon-image: "nautical/lock_gate.png";
4147    set icon_z17;
4148    text: auto;
4149}
4150node[waterway=turning_point] {
4151    icon-image: "nautical/turning.png";
4152    set icon_z17;
4153    text: auto;
4154}
4155area[waterway=boatyard] {
4156    fill-color: manmade#d8d8d8;
4157}
4158node[waterway=boatyard] {
4159    icon-image: "nautical/boatyard.png";
4160    set icon_z17;
4161    text: auto;
4162}
4163node[waterway=water_point],
4164node[waterway=waste_disposal],
4165node[waterway=mooring] {
4166    icon-image: "misc/deprecated.png";
4167    set icon_z17;
4168    text: auto;
4169}
4170node[mooring] {
4171    icon-image: "nautical/marina.png";
4172    set icon_z17;
4173    text: auto;
4174}
4175area[waterway=fuel] {
4176    fill-color: amenity_traffic#f7efb7;
4177}
4178node[waterway=fuel] {
4179    icon-image: "nautical/marine_fuel.png";
4180    icon-width: 16;
4181    set icon_z17;
4182    text: auto;
4183}
4184way[waterway=weir] {
4185    width: 2;
4186    color: manmade#d8d8d8;
4187}
4188node[waterway=weir] {
4189    icon-image: "nautical/weir.png";
4190    set icon_z17;
4191    text: auto;
4192}
4193area[waterway=dam]:closed {
4194    fill-color: manmade#d8d8d8;
4195}
4196way[waterway=dam] {
4197    width: 2;
4198    color: manmade#d8d8d8;
4199}
4200node[waterway=dam] {
4201    icon-image: "nautical/dam.png";
4202    set icon_z17;
4203    text: auto;
4204}
4205/* it's not possible to have both line and area, line seems more likely */
4206way[waterway=waterfall] {
4207    width: 2;
4208    color: manmade#d8d8d8;
4209}
4210node[waterway=waterfall] {
4211    icon-image: "nautical/waterfall.png";
4212    set icon_z17;
4213    text: auto;
4214}
4215node[waterway=river], node[waterway=riverbank],
4216node[waterway=canal], node[waterway=wadi],
4217node[waterway=stream],
4218node[waterway=ditch], node[waterway=drain] {
4219    icon-image: "misc/deprecated.png";
4220    set icon_z17;
4221    text: auto;
4222}
4223
4224/**************/
4225/* route tags */
4226/**************/
4227
4228way[route=ferry] {
4229    width: 1;
4230    color: ferry#809bc0;
4231    dashes: 9,9;
4232}
4233node[route=bus],
4234node[route=ferry],
4235node[route=flight],
4236node[route=ncn],
4237node[route=subsea],
4238node[route=ski],
4239node[route=tour],
4240node[route=pub_crawl] {
4241    icon-image: "misc/deprecated.png";
4242    set icon_z17;
4243    text: auto;
4244}
4245
4246/*******************/
4247/* properties tags */
4248/*******************/
4249
4250node[mountain_pass?] {
4251    icon-image: "misc/landmark/mountain_pass.png";
4252    set icon_z0;
4253    text: auto;
4254    set text_z0;
4255}
4256
4257/*****************/
4258/* boundary tags */
4259/*****************/
4260
4261way[boundary=protected_area]::core_boundary,
4262way[boundary=administrative]::core_boundary,
4263way[boundary=postal_code]::core_boundary,
4264way[boundary=political]::core_boundary,
4265way[boundary=maritime]::core_boundary,
4266way[boundary=national_park]::core_boundary {
4267    z-index: 2;
4268    modifier: false;
4269    width: 1;
4270    color: boundary#FF6600;
4271    dashes: 9,9;
4272}
4273way[admin_level=9]::core_boundary,
4274relation[admin_level=9] > way::core_boundary,
4275way[admin_level=10]::core_boundary,
4276relation[admin_level=10] > way::core_boundary {
4277    z-index: 2;
4278    modifier: false;
4279    width: 1;
4280    color: boundary#FF6600;
4281    dashes: 9,9;
4282}
4283way[admin_level=7]::core_boundary,
4284relation[admin_level=7] > way::core_boundary,
4285way[admin_level=8]::core_boundary,
4286relation[admin_level=8] > way::core_boundary {
4287    z-index: 2;
4288    modifier: false;
4289    width: 2;
4290    color: boundary#FF6600;
4291    dashes: 9,9;
4292}
4293way[admin_level=5]::core_boundary,
4294relation[admin_level=5] > way::core_boundary,
4295way[admin_level=6]::core_boundary,
4296relation[admin_level=6] > way::core_boundary {
4297    z-index: 2;
4298    modifier: false;
4299    width: 3;
4300    color: boundary#FF6600;
4301    dashes: 9,9;
4302}
4303way[admin_level=3]::core_boundary,
4304relation[admin_level=3] > way::core_boundary,
4305way[admin_level=4]::core_boundary,
4306relation[admin_level=4] > way::core_boundary {
4307    z-index: 2;
4308    modifier: false;
4309    width: 4;
4310    color: boundary#FF6600;
4311    dashes: 9,9;
4312}
4313way[admin_level=1]::core_boundary,
4314relation[admin_level=1] > way::core_boundary,
4315way[admin_level=2]::core_boundary,
4316relation[admin_level=2] > way::core_boundary {
4317    z-index: 2;
4318    modifier: false;
4319    width: 5;
4320    color: boundary#FF6600;
4321    dashes: 9,9;
4322}
4323node[boundary=national],
4324node[boundary=administrative],
4325node[boundary=postal_code],
4326node[boundary=political],
4327node[boundary=national_park] {
4328    icon-image: "misc/deprecated.png";
4329    set icon_z17;
4330    text: auto;
4331}
4332
4333/******************/
4334/* maxspeed nodes */
4335/******************/
4336node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4337    icon-image: "vehicle/restriction/maxspeed_none.svg";
4338    set icon_z17;
4339}
4340node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4341    maxspeedprop: tag(maxspeed);
4342    set maxspeedclass;
4343}
4344node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4345    maxspeedprop: " ?";
4346    set maxspeedclass;
4347}
4348node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4349    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4350    set maxspeedclass;
4351}
4352node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4353    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4354    set maxspeedclass;
4355}
4356node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4357    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4358    set maxspeedclass;
4359}
4360node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4361    /* background (white) */
4362    symbol-shape: circle;
4363    symbol-size: 17;
4364    symbol-fill-color: white;
4365    major-z-index: 4.2;
4366}
4367node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4368node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4369    /* background (black) */
4370    symbol-fill-color: black;
4371}
4372node[prop(maxspeedclass, default)]::core_maxnodefg {
4373    /* foreground (black text and red circle) */
4374    symbol-shape: circle;
4375    symbol-size: 15;
4376    symbol-stroke-color: crimson;
4377    symbol-stroke-width: 2;
4378    text: prop(maxspeedprop, default);
4379    font-size: 8;
4380    font-weight: bold;
4381    text-color: black;
4382    text-anchor-horizontal: center;
4383    text-anchor-vertical: center;
4384    text-offset-x: 0;
4385    text-offset-y: -1;
4386    major-z-index: 4.2;
4387}
4388node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4389node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4390    /* foreground (white text) */
4391    text-color: white;
4392}
4393node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4394    symbol-shape: none;
4395}
4396node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4397    text: none;
4398    symbol-shape: none;
4399}
4400
4401/**************/
4402/* place tags */
4403/**************/
4404
4405/* lot's of "openGeoDB:..." tags can be found in germany */
4406node["openGeoDB:type"=Stadt],
4407node["openGeoDB:type"=Kreis],
4408node["openGeoDB:type"=Gemeinde],
4409node["openGeoDB:type"=Ort],
4410node["openGeoDB:type"=District],
4411node["openGeoDB:location"=locality] {
4412    icon-image: "place/settlement/openGeoDB.png";
4413    set icon_z0;
4414    text: auto;
4415    set text_z0;
4416    font-size: 10;
4417    font-weight: bold;
4418    text-color:black;
4419    text-halo-color: white;
4420    text-halo-radius: 1;
4421}
4422area[place=continent],
4423area[place=country],
4424area[place=state],
4425area[place=region],
4426area[place=county],
4427area[place=city],
4428area[place=town],
4429area[place=village],
4430area[place=hamlet],
4431area[place=farm],
4432area[place=isolated_dwelling],
4433area[place=neighbourhood],
4434area[place=suburb],
4435area[place=locality],
4436area[place=island],
4437area[place=islet] {
4438    fill-color: place#8de3cb;
4439}
4440node[place=continent],
4441node[place=country],
4442node[place=state],
4443node[place=region],
4444node[place=county] {
4445    icon-image: "place/settlement/capital.png";
4446    set icon_z0;
4447    text: auto;
4448    set text_z0;
4449    font-size: 10;
4450    font-weight: bold;
4451    text-color:black;
4452    text-halo-color: white;
4453    text-halo-radius: 1;
4454    z-index: 2.9;
4455}
4456node[place=city] {
4457    icon-image: "place/settlement/city.png";
4458    set icon_z0;
4459    text: auto;
4460    set text_z0;
4461    font-size: 10;
4462    font-weight: bold;
4463    text-color:black;
4464    text-halo-color: white;
4465    text-halo-radius: 1;
4466    z-index: 2.8;
4467}
4468node[place=town] {
4469    icon-image: "place/settlement/town.png";
4470    set icon_z0;
4471    text: auto;
4472    set text_z0;
4473    font-size: 10;
4474    font-weight: bold;
4475    text-color:black;
4476    text-halo-color: white;
4477    text-halo-radius: 1;
4478    z-index: 2.7;
4479}
4480node[place=suburb] {
4481    icon-image: "place/settlement/suburb.png";
4482    set icon_z0;
4483    text: auto;
4484    set text_z0;
4485    font-size: 10;
4486    font-weight: bold;
4487    text-color:black;
4488    text-halo-color: white;
4489    text-halo-radius: 1;
4490    z-index: 2.6;
4491}
4492node[place=village] {
4493    icon-image: "place/settlement/village.png";
4494    set icon_z0;
4495    text: auto;
4496    set text_z0;
4497    font-size: 10;
4498    font-weight: bold;
4499    text-color:black;
4500    text-halo-color: white;
4501    text-halo-radius: 1;
4502    z-index: 2.5;
4503}
4504node[place=neighbourhood] {
4505    icon-image: "place/settlement/neighbourhood.png";
4506    set icon_z0;
4507    text: auto;
4508    set text_z0;
4509    font-size: 10;
4510    font-weight: bold;
4511    text-color:black;
4512    text-halo-color: white;
4513    text-halo-radius: 1;
4514    z-index: 2.4;
4515}
4516node[place=hamlet] {
4517    icon-image: "place/settlement/hamlet.png";
4518    set icon_z0;
4519    text: auto;
4520    set text_z0;
4521    font-size: 10;
4522    font-weight: bold;
4523    text-color:black;
4524    text-halo-color: white;
4525    text-halo-radius: 1;
4526    z-index: 2.3;
4527}
4528node[place=isolated_dwelling] {
4529    icon-image: "place/settlement/isolated_dwelling.png";
4530    set icon_z0;
4531    text: auto;
4532    set text_z0;
4533    font-size: 10;
4534    font-weight: bold;
4535    text-color:black;
4536    text-halo-color: white;
4537    text-halo-radius: 1;
4538    z-index: 2.2;
4539}
4540node[place=farm] {
4541    icon-image: "place/settlement/farm.png";
4542    set icon_z0;
4543    text: auto;
4544    set text_z0;
4545    font-size: 10;
4546    font-weight: bold;
4547    text-color:black;
4548    text-halo-color: white;
4549    text-halo-radius: 1;
4550    z-index: 2.1;
4551}
4552node[place=locality] {
4553    icon-image: "place/locality.png";
4554    set icon_z0;
4555    text: auto;
4556    set text_z0;
4557    font-size: 10;
4558    font-weight: bold;
4559    text-color:black;
4560    text-halo-color: white;
4561    text-halo-radius: 1;
4562}
4563node[place=island] {
4564    icon-image: "place/island.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=islet] {
4575    icon-image: "place/islet.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}
4585
4586/***************************/
4587/* "work in progress" tags */
4588/***************************/
4589
4590node|z16-[fixme]::core_fixme,
4591node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4592node|z16-[FIXME]::core_fixme,
4593node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4594    object-z-index: 20;
4595    icon-image: "misc/fixme-annotation.png";
4596}
4597node|z16-[note]::core_note,
4598node|z-15[note][!setting("hide_icons")]::core_note {
4599    object-z-index: 10;
4600    icon-image: "misc/note-annotation.png";
4601}
4602
4603/* special display of unreviewed tiger data (USA) */
4604way["tiger:reviewed"=no]::core_tiger {
4605    major-z-index: -10;
4606    width: 11;
4607    color: tiger_data#808000;
4608    opacity: 0.6;
4609}
4610
4611/****************************************/
4612/* zoom levels and general node display */
4613/****************************************/
4614
4615/*
4616Summary of different zoom levels:
4617  (any zoom)    place=* and a few natural icons with their text is shown
4618  |z-15         untagged way nodes are hidden completely
4619  |z16-         fixme=* and note=* symbols
4620  |z17-         normal POI icons (without text),
4621                street name along highway=* ways
4622  |z18-         text for normal POI icons is shown
4623 
4624 * text size and node size is adapted according to zoom level (see style source below)
4625 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4626
4627*/
4628
4629node {
4630    text: auto;
4631}
4632node|z-16[setting("hide_icons")],
4633node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4634node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4635    symbol-size: 2;
4636    symbol-shape: square;
4637    symbol-stroke-color: node_standard#ffff00;
4638    major-z-index: 4.95; /* put node squares above line text */
4639}
4640way > node|z-15[setting("shrink_nodes")]!:tagged {
4641    symbol-shape: none;
4642}
4643node:connection {
4644    symbol-stroke-color: node_connection#ffff00;
4645}
4646node:tagged {
4647    symbol-stroke-color: none;
4648    symbol-fill-color: node_tagged#00ffff;
4649}
4650
4651way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4652
4653node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4654way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4655node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4656
4657node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4658way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4659node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4660
4661node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4662way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4663node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4664
4665node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4666way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4667node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4668
4669node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4670relation|z-16[type=restriction][setting("hide_icons")] {
4671    icon-image: none;
4672}
4673node|z-17[setting("hide_icons")]!.text_z0 {
4674    text: none;
4675}
4676
4677node|z19,area|z19   { font-size: 9; }
4678node|z20-,area|z20-   { font-size: 10; }
4679
4680/*******************/
4681/* way text labels */
4682/*******************/
4683
4684way|z17-[highway^=motorway][setting("highway_labels")],
4685way|z17-[highway^=trunk][setting("highway_labels")],
4686way|z17-[highway^=primary][setting("highway_labels")],
4687way|z17-[highway^=secondary][setting("highway_labels")],
4688way|z17-[highway^=tertiary][setting("highway_labels")],
4689way|z17-[highway=unclassified][setting("highway_labels")],
4690way|z17-[highway=residential][setting("highway_labels")],
4691way|z17-[highway=living_street][setting("highway_labels")],
4692way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4693way|z17-[highway=service][setting("highway_labels")],
4694way|z17-[highway=track][setting("highway_labels")] {
4695    text: auto;
4696    text-color: black;
4697    font-size: 9;
4698    text-position: line;
4699    text-halo-opacity: 1;
4700    text-halo-radius: 1.5;
4701}
4702way|z17-[highway^=motorway][setting("highway_labels")] {
4703    text-halo-color: motorway#809bc0;
4704}
4705way|z17-[highway^=trunk][setting("highway_labels")] {
4706    text-halo-color: trunk#7fc97f;
4707}
4708way|z17-[highway^=primary][setting("highway_labels")] {
4709    text-halo-color: primary#fb805f;
4710}
4711way|z17-[highway^=secondary][setting("highway_labels")] {
4712    text-halo-color: secondary#fdbf6f;
4713}
4714way|z17-[highway^=tertiary][setting("highway_labels")] {
4715    text-halo-color: tertiary#f7f496;
4716}
4717way|z17-[highway=unclassified][setting("highway_labels")],
4718way|z17-[highway=residential][setting("highway_labels")],
4719way|z17-[highway=living_street][setting("highway_labels")] {
4720    text-halo-color: street#c0c0c0;
4721}
4722way[highway=pedestrian][!area?][setting("highway_labels")] {
4723    text-halo-color: foot#00ff00;
4724}
4725way|z17-[highway=service][setting("highway_labels")] {
4726    text-halo-color: service#809bc0;
4727}
4728way|z17-[highway=track][setting("highway_labels")] {
4729    text-halo-color: highway_track#6e541c;
4730}
4731way|z18[highway][setting("highway_labels")] {
4732    font-size: 10;
4733}
4734way|z19[highway][setting("highway_labels")] {
4735    font-size: 11;
4736}
4737way|z20-[highway][setting("highway_labels")] {
4738    font-size: 12;
4739}
4740
4741/* "deprecated" tags
4742     historic=museum -> tourism=museum
4743     man_made=power_wind -> power=generator and power_source=wind
4744     man_made=power_hydro -> power=generator and power_source=hydro
4745     man_made=power_fossil -> power=generator and power_source=fossil
4746     man_made=power_nuclear -> power=generator and power_source=nuclear
4747     amenity=park_bench -> amenity=bench
4748     amenity=signpost -> information=guidepost
4749     amenity=emergency_phone -> emergency=phone
4750     highway minor - classification now more detailed
4751     highway=stile -> barrier=stile
4752     highway=gate -> barrier=gate
4753     highway=cattle_grid -> barrier=cattle_grid
4754     highway=toll_booth -> barrier=toll_booth
4755     highway=viaduct -> bridge=viaduct
4756     railway=viaduct -> bridge=viaduct
4757     waterway=aqueduct -> bridge=aqueduct
4758     natural=marsh -> natural=wetland
4759     leisure=zoo -> tourism=zoo
4760     power=station -> power=plant or power=sub_station
4761*/
Note: See TracBrowser for help on using the repository browser.