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

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

fix #11851 - fix mappaint style for unclosed tourism=artwork

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