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

Last change on this file since 8726 was 8726, checked in by Klumbumbus, 8 years ago

see #8717 - fix mappaint.nameOrder

  • 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=artwork],
2903area[tourism=museum] {
2904    fill-color: tourism#e180a2;
2905}
2906node[tourism=picnic_site] {
2907    icon-image: "leisure/picnic.png";
2908    set icon_z17;
2909    text: auto;
2910}
2911node[tourism=viewpoint] {
2912    icon-image: "sightseeing/viewpoint.png";
2913    set icon_z17;
2914    text: auto;
2915}
2916node[tourism=theme_park] {
2917    icon-image: "leisure/theme_park.png";
2918    set icon_z17;
2919    text: auto;
2920}
2921node[tourism=attraction] {
2922    icon-image: "sightseeing.png";
2923    set icon_z17;
2924    text: auto;
2925}
2926node[tourism=zoo] {
2927    icon-image: "leisure/zoo.png";
2928    set icon_z17;
2929    text: auto;
2930}
2931way[tourism=artwork] {
2932    width: 2;
2933    color: tourism#e180a2;
2934}
2935node[tourism=artwork] {
2936    icon-image: "service/arts_centre.png";
2937    set icon_z17;
2938    text: auto;
2939}
2940node[tourism=museum] {
2941    icon-image: "sightseeing/museum.svg";
2942    set icon_z17;
2943    text: auto;
2944}
2945
2946/********************/
2947/* information tags */
2948/********************/
2949
2950area[tourism=information] {
2951    fill-color: tourism#e180a2;
2952}
2953node[tourism=information] {
2954    icon-image: "misc/information.png";
2955    set icon_z17;
2956    text: auto;
2957}
2958node[tourism=information][information=guidepost] {
2959    icon-image: "misc/information/guidepost.png";
2960    set icon_z17;
2961    text: auto;
2962}
2963area[tourism=information][information=office] {
2964    fill-color: tourism#e180a2;
2965}
2966node[tourism=information][information=office] {
2967    icon-image: "misc/information/informationoffice.png";
2968    set icon_z17;
2969    text: auto;
2970}
2971node[tourism=information][information=map] {
2972    icon-image: "misc/information/map.png";
2973    set icon_z17;
2974    text: auto;
2975}
2976node[tourism=information][information=board] {
2977    icon-image: "misc/information/board.png";
2978    set icon_z17;
2979    text: auto;
2980}
2981
2982/*****************/
2983/* historic tags */
2984/*****************/
2985
2986area[historic=castle],
2987area[historic=monument],
2988area[historic=memorial],
2989area[historic=archaeological_site],
2990area[historic=ruins],
2991area[historic=battlefield],
2992area[geological=palaeontological_site],
2993area[historic=wayside_cross],
2994area[historic=wayside_shrine],
2995area[historic=boundary_stone] {
2996    fill-color: historic#663300;
2997}
2998node[historic=castle] {
2999    icon-image: "sightseeing/castle.svg";
3000    set icon_z17;
3001    text: auto;
3002}
3003node[historic=monument] {
3004    icon-image: "sightseeing/monument.png";
3005    set icon_z17;
3006    text: auto;
3007}
3008node[historic=memorial] {
3009    icon-image: "sightseeing/memorial.png";
3010    set icon_z17;
3011    text: auto;
3012}
3013node[historic=archaeological_site] {
3014    icon-image: "sightseeing/archaeological.png";
3015    set icon_z17;
3016    text: auto;
3017}
3018node[historic=ruins] {
3019    icon-image: "sightseeing/ruins.png";
3020    set icon_z17;
3021    text: auto;
3022}
3023node[historic=battlefield] {
3024    icon-image: "sightseeing/battlefield.png";
3025    set icon_z17;
3026    text: auto;
3027}
3028node[geological=palaeontological_site] {
3029    icon-image: "historic/palaeontological_site.png";
3030    set icon_z17;
3031    text: auto;
3032}
3033node[historic=wayside_cross] {
3034    icon-image: "religion/wayside_cross.png";
3035    set icon_z17;
3036    text: auto;
3037}
3038node[historic=wayside_shrine] {
3039    icon-image: "religion/wayside_shrine.png";
3040    set icon_z17;
3041    text: auto;
3042}
3043node[historic=boundary_stone] {
3044    icon-image: "historic/boundary_stone.png";
3045    set icon_z17;
3046    text: auto;
3047}
3048
3049/****************/
3050/* landuse tags */
3051/****************/
3052
3053area[landuse],
3054area[leisure],
3055area[amenity],
3056area[place],
3057area[natural],
3058area[man_made] {
3059    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3060}
3061area[landuse=farm],
3062area[landuse=farmland] {
3063    fill-color: farmland#b8e0b1;
3064}
3065area[landuse=meadow] {
3066    fill-color: meadow#b1e0b6;
3067}
3068area[landuse=vineyard],
3069area[landuse=orchard] {
3070    fill-color: green#b1e0c2;
3071}
3072area[landuse=quarry] {
3073    fill-color: quarry#888888;
3074}
3075area[landuse=landfill] {
3076    fill-color: landfill#663300;
3077}
3078area[landuse=basin],
3079area[landuse=reservoir] {
3080    fill-color: basin#0000bf;
3081}
3082area[landuse=forest] {
3083    fill-color: forest#b1efc8;
3084}
3085area[landuse=allotments] {
3086    fill-color: allotments#5dbf80;
3087}
3088area[landuse=greenhouse_horticulture],
3089area[landuse=plant_nursery] {
3090    fill-color: green#b1e0c2;
3091}
3092area[landuse=grass] {
3093    fill-color: grass#97ca96;
3094}
3095area[landuse=residential] {
3096    fill-color: residential#f0f0f0;
3097}
3098area[landuse=garages] {
3099    fill-color: garages#d6c8aa;
3100}
3101area[landuse=farmyard] {
3102    fill-color: farmyard#f0f0f0;
3103}
3104area[landuse=retail],
3105area[landuse=commercial] {
3106    fill-color: retail#ffc4ee;
3107}
3108area[landuse=industrial] {
3109    fill-color: industrial#ecd8ff;
3110}
3111area[landuse=brownfield] {
3112    fill-color: brownfield#ecba32;
3113}
3114area[landuse=greenfield] {
3115    fill-color: greenfield#b1ec5c;
3116}
3117area[landuse=railway] {
3118    fill-color: railland#888888;
3119}
3120area[landuse=construction] {
3121    fill-color: construction#ffff00;
3122}
3123way[landuse=construction] {
3124    width: 1;
3125    color: construction#ffff00;
3126    dashes: 9,9;
3127}
3128area[landuse=military] {
3129    fill-color: military#b62c2c;
3130}
3131area[landuse=religious] {
3132    fill-color: religious#ffd454;
3133}
3134area[landuse=cemetery] {
3135    fill-color: cemetery#b1efc8;
3136}
3137area[landuse=village_green] {
3138    fill-color: green#b1e0c2;
3139}
3140area[landuse=recreation_ground] {
3141    fill-color: green#b1e0c2;
3142}
3143node[landuse] {
3144    icon-image: "misc/deprecated.png";
3145    set icon_z17;
3146    text: auto;
3147}
3148
3149/*****************/
3150/* military tags */
3151/*****************/
3152
3153area[military=airfield],
3154area[military=bunker],
3155area[military=barracks],
3156area[military=danger_area],
3157area[military=range] {
3158    fill-color: military#b62c2c;
3159}
3160node[military=airfield] {
3161    icon-image: "transport/airport/airfield.png";
3162    set icon_z17;
3163    text: auto;
3164}
3165node[military=bunker] {
3166    icon-image: "misc/landmark/bunker.png";
3167    set icon_z17;
3168    text: auto;
3169}
3170node[military=barracks] {
3171    icon-image: "misc/no_icon.png";
3172    set icon_z17;
3173    text: auto;
3174}
3175node[military=danger_area] {
3176    icon-image: "misc/danger.png";
3177    set icon_z17;
3178    text: auto;
3179}
3180node[military=range] {
3181    icon-image: "misc/landmark/range.png";
3182    set icon_z17;
3183    text: auto;
3184}
3185
3186/*************************/
3187/* public_transport tags */
3188/*************************/
3189
3190node[public_transport=stop_position] {
3191    icon-image: "transport/railway_small.png";
3192    set icon_z17;
3193    text: auto;
3194}
3195node[highway=bus_stop] {
3196    icon-image: "transport/bus_small.png";
3197    set icon_z17;
3198    text: auto;
3199}
3200node[public_transport=stop_position][bus=yes] {
3201    icon-image: "transport/bus_small.png";
3202    set icon_z17;
3203    text: auto;
3204}
3205node[public_transport=stop_position][aerial=yes] {
3206    icon-image: "transport/aerialway.png";
3207    set icon_z17;
3208    text: auto;
3209}
3210node[public_transport=stop_position][ferry=yes] {
3211    icon-image: "transport/ferry.png";
3212    set icon_z17;
3213    text: auto;
3214}
3215node[public_transport=stop_position][tram=yes] {
3216    icon-image: "transport/tram.png";
3217    set icon_z17;
3218    text: auto;
3219}
3220node[public_transport=stop_position][train=yes] {
3221    icon-image: "transport/railway_small.png";
3222    set icon_z17;
3223    text: auto;
3224}
3225area[public_transport=platform]:closed {
3226    fill-color: service#809bc0;
3227}
3228way[public_transport=platform]!:closed {
3229    width: 3;
3230    color: service#809bc0;
3231    dashes: 12,3;
3232}
3233node[public_transport=platform] {
3234    icon-image: "transport/bus_small.png";
3235    set icon_z17;
3236    text: auto;
3237}
3238node[public_transport=platform][bus=yes] {
3239    icon-image: "transport/bus_small.png";
3240    set icon_z17;
3241    text: auto;
3242}
3243node[public_transport=platform][aerial=yes] {
3244    icon-image: "transport/aerialway/station.png";
3245    set icon_z17;
3246    text: auto;
3247}
3248node[public_transport=platform][ferry=yes] {
3249    icon-image: "transport/ferry.png";
3250    set icon_z17;
3251    text: auto;
3252}
3253node[public_transport=platform][tram=yes],
3254node[public_transport=platform][train=yes] {
3255    icon-image: "transport/railway_station.png";
3256    set icon_z17;
3257    text: auto;
3258}
3259
3260/****************/
3261/* railway tags */
3262/****************/
3263
3264area[railway=station],
3265area[railway=tram_station],
3266area[railway=subway_entrance] {
3267    fill-color: railwaypoint#f7efb7;
3268}
3269node[railway=station], node[railway=tram_station] {
3270    icon-image: "transport/railway_station.png";
3271    set icon_z17;
3272    text: auto;
3273}
3274node[railway=halt] {
3275    icon-image: "transport/railway_small.png";
3276    set icon_z17;
3277    text: auto;
3278}
3279node[railway=tram_stop] {
3280    icon-image: "transport/tram.png";
3281    set icon_z17;
3282    text: auto;
3283}
3284node[railway=subway_entrance] {
3285    icon-image: "transport/underground.png";
3286    set icon_z17;
3287    text: auto;
3288}
3289node[railway=crossing] {
3290    icon-image: "vehicle/crossing.png";
3291    set icon_z17;
3292    text: auto;
3293}
3294node[railway=level_crossing] {
3295    icon-image: "presets/level_crossing.png";
3296    icon-width: 16;
3297    set icon_z17;
3298    text: auto;
3299}
3300way[railway=rail] {
3301    width: 2;
3302    color: rail#404040;
3303    dashes: 9,9;
3304    dashes-background-color: raildashed#ffffff;
3305}
3306way[railway=rail][service=siding] {
3307    width: 1;
3308}
3309way[railway=rail][service=yard],
3310way[railway=rail][service=spur] {
3311    width: 1;
3312    color: railyard#552200
3313}
3314/* draw tram on top of other way (highway=*) or
3315   as a standalone style */
3316way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3317    object-z-index: 1;
3318    modifier: false; /* don't draw default way if there is no line on default layer */
3319    width: 1;
3320    color: railover#202020;
3321    dashes: 9,9;
3322    casing-width: 1;
3323    casing-color: otherrail#808080;
3324    casing-linecap: round;
3325    casing-dashes: 9,9;
3326}
3327way[railway=light_rail] {
3328    width: 2;
3329    color: otherrail#808080;
3330    dashes: 9,9;
3331}
3332way[railway=subway] {
3333    width: 1;
3334    color: subway#606060;
3335    dashes: 9,9;
3336}
3337way[railway=preserved] {
3338    width: 1;
3339    color: oldrail#404040;
3340    dashes: 9,9;
3341}
3342/* disused often appears together with highway=xy */
3343/* -> draw on separate layer with higher z-index, but use */
3344/* modifier: false; to suppress default line when used alone. */
3345/* use default layer when used without highway=* to display bridge correctly */
3346way[railway=disused][highway]::core_railway,
3347way[railway=disused][!highway],
3348way[railway=abandoned][highway]::core_railway,
3349way[railway=abandoned][!highway] {
3350    width: 1;
3351    modifier: false;
3352    z-index: 1;
3353    color: oldrail#404040;
3354    dashes: 9,9;
3355}
3356way[railway=narrow_gauge],
3357way[railway=monorail] {
3358    width: 1;
3359    color: rail#404040;
3360    dashes: 9,9;
3361}
3362area[railway=turntable] {
3363    fill-color: rail#404040;
3364}
3365node[railway=turntable] {
3366    icon-image: "transport/turntable.png";
3367    set icon_z17;
3368    text: auto;
3369}
3370node[railway=buffer_stop] {
3371    icon-image: "transport/buffer_stop.png";
3372    set icon_z17;
3373    text: auto;
3374}
3375area[railway=platform]:closed {
3376    fill-color: rail#404040;
3377}
3378way[railway=platform] {
3379    width: 2;
3380    color: rail#404040;
3381}
3382way[railway=funicular] {
3383    width: 1;
3384    color: rail#404040;
3385    dashes: 9,9;
3386}
3387node[railway=switch] {
3388    icon-image: "presets/railway_switch.png";
3389    icon-width: 16;
3390    set icon_z17;
3391    text: auto;
3392}
3393node[railway=milestone] {
3394    icon-image: "vehicle/milestone.svg";
3395    set icon_z17;
3396    text: auto;
3397}
3398node[railway=rail], node[railway=tram], node[railway=light_rail],
3399node[railway=subway], node[railway=preserved],
3400node[railway=disused], node[railway=abandoned],
3401node[railway=narrow_gauge], node[railway=monorail],
3402node[railway=platform], node[railway=funicular],
3403node[service=yard], node[service=siding], node[service=spur] {
3404    icon-image: "misc/deprecated.png";
3405    set icon_z17;
3406    text: auto;
3407}
3408way[railway=construction][!highway] {
3409    width: 1;
3410    color: construction#ffff00;
3411    dashes: 9,9;
3412}
3413way[railway=construction][construction=rail] {
3414    width: 2;
3415    color: rail#404040;
3416    dashes: 9,9;
3417    dashes-background-color: construction#ffff00;
3418}
3419way[railway=construction][construction=light_rail] {
3420    width: 2;
3421}
3422way[railway=construction][construction=tram][highway]::core_railway,
3423way[railway=construction][construction=tram][!highway] {
3424    z-index: 1;
3425    width: 1;
3426    color: railover#202020;
3427    dashes: 9,9;
3428    casing-width: 1;
3429    casing-color: construction#ffff00;
3430    casing-linecap: round;
3431    casing-dashes: 9,9;
3432}
3433
3434/****************/
3435/* aeroway tags */
3436/****************/
3437
3438area[aeroway=aerodrome] {
3439    fill-color: aeroway#660000;
3440    width: 2;
3441    dashes: 9,9;
3442}
3443node[aeroway=aerodrome] {
3444    icon-image: "transport/airport.png";
3445    set icon_z17;
3446    text: auto;
3447}
3448area[aeroway=terminal] {
3449    fill-color: terminal#bb0000;
3450}
3451node[aeroway=terminal] {
3452    icon-image: "transport/airport/terminal.png";
3453    set icon_z17;
3454    text: auto;
3455}
3456area[aeroway=helipad] {
3457    fill-color: aeroway_dark#330000;
3458}
3459node[aeroway=helipad] {
3460    icon-image: "transport/airport/helipad.png";
3461    set icon_z17;
3462    text: auto;
3463}
3464area[aeroway=runway]:closed {
3465    fill-color: aeroway_dark#330000;
3466}
3467way[aeroway=runway] {
3468    width: 3;
3469    color: aeroway_dark#330000;
3470}
3471area[aeroway=taxiway]:closed {
3472    fill-color: aeroway#660000;
3473}
3474way[aeroway=taxiway] {
3475    width: 2;
3476    color: aeroway#660000;
3477}
3478way[aeroway=parking_position] {
3479    width: 1;
3480    color: aeroway#660000;
3481}
3482node[aeroway=parking_position] {
3483    icon-image: "transport/airport/parking_position.png";
3484    set icon_z17;
3485    text: auto;
3486}
3487area[aeroway=apron],
3488area[aeroway=hangar] {
3489    fill-color: aeroway_light#990000;
3490}
3491node[aeroway=apron],
3492node[aeroway=runway],
3493node[aeroway=taxiway] {
3494    icon-image: "misc/deprecated.png";
3495    set icon_z17;
3496    text: auto;
3497}
3498node[aeroway=hangar] {
3499    icon-image: "transport/airport/hangar.png";
3500    set icon_z17;
3501    text: auto;
3502}
3503node[aeroway=gate] {
3504    icon-image: "transport/airport/gate.png";
3505    set icon_z17;
3506    text: auto;
3507}
3508node[aeroway=windsock] {
3509    icon-image: "transport/airport/windsock.png";
3510    set icon_z17;
3511    text: auto;
3512}
3513
3514/******************/
3515/* aerialway tags */
3516/******************/
3517
3518way[aerialway=cable_car],
3519way[aerialway=gondola] {
3520    width: 1;
3521    color: aerialway#663300;
3522    dashes: 9,9;
3523}
3524way[aerialway=chair_lift] {
3525    width: 1;
3526    color: aerialway#663300;
3527    dashes: 6,6;
3528}
3529way[aerialway=mixed_lift] {
3530    width: 1;
3531    color: aerialway#663300;
3532    dashes: 6,6,9,6;
3533}
3534way[aerialway=j-bar],
3535way[aerialway=t-bar],
3536way[aerialway=platter],
3537way[aerialway=rope_tow],
3538way[aerialway=drag_lift] {
3539    width: 1;
3540    color: aerialway#663300;
3541    dashes: 3,3;
3542}
3543way[aerialway=magic_carpet] {
3544    width: 1;
3545    color: aerialway#663300;
3546    dashes: 3,3;
3547}
3548way[aerialway=goods] {
3549    width: 1;
3550    color: aerialway#663300;
3551    dashes: 2,2;
3552}
3553area[aerialway=station] {
3554    fill-color: aerialway#663300;
3555}
3556node[aerialway=station] {
3557    icon-image: "transport/aerialway/station.png";
3558    set icon_z17;
3559    text: auto;
3560}
3561node[aerialway=pylon] {
3562    icon-image: "transport/aerialway/pylon.svg";
3563    set icon_z17;
3564    text: auto;
3565}
3566node[aerialway=cable_car],
3567node[aerialway=gondola],
3568node[aerialway=chair_lift],
3569node[aerialway=mixed_lift],
3570node[aerialway=drag_lift],
3571node[aerialway=t-bar],
3572node[aerialway=j-bar],
3573node[aerialway=platter],
3574node[aerialway=magic_carpet],
3575node[aerialway=rope_tow],
3576node[aerialway=goods] {
3577    icon-image: "misc/deprecated.png";
3578    set icon_z17;
3579    text: auto;
3580}
3581
3582/**************/
3583/* sport tags */
3584/**************/
3585
3586area[sport="9pin"],
3587area[sport="10pin"],
3588area[sport=athletics],
3589area[sport=running],
3590area[sport=soccer],
3591area[sport=australian_football],
3592area[sport=american_football],
3593area[sport=canadian_football],
3594area[sport=gaelic_games],
3595area[sport=rugby_league],
3596area[sport=rugby_union] {
3597    fill-color: sport#bde3cb;
3598}
3599node[sport="9pin"] {
3600    icon-image: "sport/10pin.png";
3601    set icon_z17;
3602    text: auto;
3603}
3604node[sport="10pin"] {
3605    icon-image: "sport/10pin.png";
3606    set icon_z17;
3607    text: auto;
3608}
3609node[sport=athletics] {
3610    icon-image: "sport/athletics.png";
3611    set icon_z17;
3612    text: auto;
3613}
3614node[sport=running] {
3615    icon-image: "sport/running.svg";
3616    set icon_z17;
3617    text: auto;
3618}
3619node[sport=soccer],
3620node[sport=gaelic_games] {
3621    icon-image: "sport/soccer.png";
3622    set icon_z17;
3623    text: auto;
3624}
3625node[sport=australian_football],
3626node[sport=american_football],
3627node[sport=canadian_football],
3628node[sport=rugby_league],
3629node[sport=rugby_union] {
3630    icon-image: "sport/football.png";
3631    set icon_z17;
3632    text: auto;
3633}
3634area[sport=baseball],
3635area[sport=basketball],
3636area[sport=boules],
3637area[sport=bowls],
3638area[sport=canoe],
3639area[sport=chess],
3640area[sport=climbing]:closed,
3641area[sport=cricket],
3642area[sport=croquet] {
3643    fill-color: sport#bde3cb;
3644}
3645node[sport=baseball] {
3646    icon-image: "sport/baseball.png";
3647    set icon_z17;
3648    text: auto;
3649}
3650node[sport=basketball] {
3651    icon-image: "sport/basketball.png";
3652    set icon_z17;
3653    text: auto;
3654}
3655node[sport=boules] {
3656    icon-image: "sport/boule.png";
3657    set icon_z17;
3658    text: auto;
3659}
3660node[sport=bowls] {
3661    icon-image: "sport/boule.png";
3662    set icon_z17;
3663    text: auto;
3664}
3665node[sport=canoe] {
3666    icon-image: "sport/canoe.svg";
3667    set icon_z17;
3668    text: auto;
3669}
3670node[sport=chess] {
3671    icon-image: "sport/chess.png";
3672    set icon_z17;
3673    text: auto;
3674}
3675node[sport=climbing] {
3676    icon-image: "sport/climbing.png";
3677    set icon_z17;
3678    text: auto;
3679}
3680node[sport=cricket] {
3681    icon-image: "sport/cricket.png";
3682    set icon_z17;
3683    text: auto;
3684}
3685node[sport=croquet] {
3686    icon-image: "sport/croquet.png";
3687    set icon_z17;
3688    text: auto;
3689}
3690area[sport=cycling],
3691area[sport=dog_racing],
3692area[sport=equestrian],
3693area[sport=golf],
3694area[sport=gymnastics],
3695area[sport=field_hockey],
3696area[sport=ice_hockey],
3697area[sport=horse_racing],
3698area[sport=karting][highway!=raceway],
3699area[sport=karting][highway=raceway][area=yes],
3700area[sport=motocross][highway!=raceway],
3701area[sport=motocross][highway=raceway][area=yes],
3702area[sport=motor][highway!=raceway],
3703area[sport=motor][highway=raceway][area=yes] {
3704    fill-color: sport#bde3cb;
3705}
3706node[sport=cycling] {
3707    icon-image: "sport/cycling.png";
3708    set icon_z17;
3709    text: auto;
3710}
3711node[sport=dog_racing] {
3712    icon-image: "leisure/dog.png";
3713    set icon_z17;
3714    text: auto;
3715}
3716node[sport=equestrian] {
3717    icon-image: "presets/equestrian.png";
3718    icon-width: 16;
3719    set icon_z17;
3720    text: auto;
3721}
3722node[sport=golf] {
3723    icon-image: "sport/golf.svg";
3724    set icon_z17;
3725    text: auto;
3726}
3727node[sport=gymnastics] {
3728    icon-image: "presets/gymnastics.png";
3729    icon-width: 16;
3730    set icon_z17;
3731    text: auto;
3732}
3733node[sport=field_hockey] {
3734    icon-image: "sport/field_hockey.png";
3735    set icon_z17;
3736    text: auto;
3737}
3738node[sport=ice_hockey] {
3739    icon-image: "sport/ice_hockey.png";
3740    set icon_z17;
3741    text: auto;
3742}
3743node[sport=horse_racing] {
3744    icon-image: "sport/riding.png";
3745    set icon_z17;
3746    text: auto;
3747}
3748node[sport=karting] {
3749    icon-image: "sport/karting.png";
3750    set icon_z17;
3751    text: auto;
3752}
3753node[sport=motocross] {
3754    icon-image: "sport/motocross.png";
3755    set icon_z17;
3756    text: auto;
3757}
3758node[sport=motor] {
3759    icon-image: "sport/motor.png";
3760    set icon_z17;
3761    text: auto;
3762}
3763area[sport=multi],
3764area[sport=pelota],
3765area[sport=racquet],
3766area[sport=skating],
3767area[sport=skateboard] {
3768    fill-color: sport#bde3cb;
3769}
3770node[sport=multi] {
3771    icon-image: "sport/multi.png";
3772    set icon_z17;
3773    text: auto;
3774}
3775node[sport=pelota] {
3776    icon-image: "sport/pelota.png";
3777    set icon_z17;
3778    text: auto;
3779}
3780node[sport=racquet] {
3781    icon-image: "sport/racquetball.png";
3782    set icon_z17;
3783    text: auto;
3784}
3785node[sport=skating] {
3786    icon-image: "sport/skating.png";
3787    set icon_z17;
3788    text: auto;
3789}
3790node[sport=skateboard] {
3791    icon-image: "sport/skateboard.png";
3792    set icon_z17;
3793    text: auto;
3794}
3795area[sport=swimming] {
3796    fill-color: swimming_pool#51c4ef;
3797}
3798node[sport=swimming] {
3799    icon-image: "sport/pool.png";
3800    set icon_z17;
3801    text: auto;
3802}
3803area[sport=table_tennis],
3804area[sport=tennis],
3805area[sport=paintball] {
3806    fill-color: sport#bde3cb;
3807}
3808node[sport=table_tennis] {
3809    icon-image: "sport/table_tennis.png";
3810    set icon_z17;
3811    text: auto;
3812}
3813node[sport=tennis] {
3814    icon-image: "sport/tennis.png";
3815    set icon_z17;
3816    text: auto;
3817}
3818node[sport=paintball] {
3819    icon-image: "misc/no_icon.png";
3820    set icon_z17;
3821    text: auto;
3822}
3823area[sport=squash],
3824area[sport=shooting],
3825area[sport=volleyball],
3826area[sport=beachvolleyball],
3827area[sport=billiards],
3828area[sport=bowling],
3829area[sport=handball],
3830area[sport=rowing],
3831area[sport=sailing],
3832area[sport=scuba_diving],
3833area[sport=badminton] {
3834    fill-color: sport#bde3cb;
3835}
3836node[sport=squash] {
3837    icon-image: "misc/no_icon.png";
3838    set icon_z17;
3839    text: auto;
3840}
3841node[sport=shooting] {
3842    icon-image: "presets/range.png";
3843    icon-width: 16;
3844    set icon_z17;
3845    text: auto;
3846}
3847node[sport=volleyball] {
3848    icon-image: "sport/volleyball.png";
3849    set icon_z17;
3850    text: auto;
3851}
3852node[sport=beachvolleyball] {
3853    icon-image: "sport/beachvolleyball.png";
3854    set icon_z17;
3855    text: auto;
3856}
3857node[sport=billiards] {
3858    icon-image: "sport/billiards.svg";
3859    set icon_z17;
3860    text: auto;
3861}
3862node[sport=bowling] {
3863    icon-image: "sport/10pin.png";
3864    set icon_z17;
3865    text: auto;
3866}
3867node[sport=handball] {
3868    icon-image: "sport/handball.png";
3869    set icon_z17;
3870    text: auto;
3871}
3872node[sport=rowing] {
3873    icon-image: "sport/rowing.png";
3874    set icon_z17;
3875    text: auto;
3876}
3877node[sport=sailing] {
3878    icon-image: "misc/no_icon.png";
3879    set icon_z17;
3880    text: auto;
3881}
3882node[sport=scuba_diving] {
3883    icon-image: "sport/scuba_diving.svg";
3884    set icon_z17;
3885    text: auto;
3886}
3887node[sport=badminton] {
3888    icon-image: "misc/no_icon.png";
3889    set icon_z17;
3890    text: auto;
3891}
3892area[sport=archery],
3893area[sport=fishing],
3894area[sport=safety_training],
3895area[sport=model_aerodrome],
3896area[sport=rc_car] {
3897    fill-color: sport#bde3cb;
3898}
3899node[sport=archery] {
3900    icon-image: "sport/archery.png";
3901    set icon_z17;
3902    text: auto;
3903}
3904node[sport=fishing] {
3905    icon-image: "sport/fishing.png";
3906    set icon_z17;
3907    text: auto;
3908}
3909node[sport=safety_training] {
3910    icon-image: "sport/safety_training.png";
3911    set icon_z17;
3912    text: auto;
3913}
3914node[sport=model_aerodrome] {
3915    icon-image: "transport/airport.png";
3916    set icon_z17;
3917    text: auto;
3918}
3919node[sport=rc_car] {
3920    icon-image: "transport/car.png";
3921    set icon_z17;
3922    text: auto;
3923}
3924
3925/****************/
3926/* natural tags */
3927/****************/
3928
3929area[natural=spring] {
3930    fill-color: light_water#00005f;
3931}
3932node[natural=spring] {
3933    icon-image: "misc/landmark/spring.png";
3934    set icon_z17;
3935    text: auto;
3936}
3937node[natural=saddle] {
3938    icon-image: "presets/saddle.svg";
3939    set icon_z0;
3940    text: auto;
3941    set text_z0;
3942}
3943node[natural=peak] {
3944    icon-image: "presets/peak.svg";
3945    set icon_z0;
3946    text: auto;
3947    set text_z0;
3948}
3949node[natural=peak][tourism=viewpoint] {
3950    icon-image: "sightseeing/peak_viewpoint.svg";
3951    set icon_z0;
3952    text: auto;
3953    set text_z0;
3954}
3955area[natural=glacier] {
3956    fill-color: glacier#ffffff;
3957}
3958node[natural=glacier] {
3959    icon-image: "misc/landmark/glacier_small.png";
3960    set icon_z0;
3961    text: auto;
3962    set text_z0;
3963}
3964node[natural=volcano] {
3965    icon-image: "misc/landmark/volcano_small.png";
3966    set icon_z0;
3967    text: auto;
3968    set text_z0;
3969}
3970area[natural=cliff]:closed {
3971    fill-color: natural#002f00;
3972}
3973way[natural=cliff] {
3974    repeat-image: "misc/cliff-pattern.png";
3975    repeat-image-align: top;
3976    width: 1;
3977    color: #b2b2b2;
3978}
3979node[natural=cliff] {
3980    icon-image: "misc/cliff.png";
3981    set icon_z17;
3982    text: auto;
3983}
3984way[natural=ridge] {
3985    width: 1;
3986    color: natural#002f00;
3987}
3988way[natural=valley] {
3989    width: 1;
3990    color: natural#002f00;
3991}
3992area[natural=scree] {
3993    fill-color: natural#002f00;
3994}
3995area[natural=scrub] {
3996    fill-color: scrub#007000;
3997}
3998area[natural=fell] {
3999    fill-color: natural#002f00;
4000}
4001area[natural=heath] {
4002    fill-color: heath#ffffc0;
4003}
4004way[natural=tree_row] {
4005    width: 2;
4006    color: woodarea#008000;
4007}
4008area[natural=wood] {
4009    fill-color: woodarea#008000;
4010}
4011area[natural=grassland] {
4012    fill-color: green#b1e0c2;
4013}
4014area[natural=wetland] {
4015    fill-color: marsh#4f4ff3;
4016}
4017area[natural=water] {
4018    fill-color: water#0000ff;
4019}
4020way[natural=coastline] {
4021    width: 2;
4022    color: water#0000ff;
4023    right-casing-color: water#0000ff;
4024    right-casing-width: 5;
4025    right-casing-opacity: 0.30; 
4026}
4027area[natural=mud] {
4028    fill-color: mud#cba762;
4029}
4030area[natural=beach] {
4031    fill-color: beach#f8dba2;
4032}
4033area[natural=sand] {
4034    fill-color: sand#f8dba2;
4035}
4036area[natural=bare_rock] {
4037    fill-color: bare_rock#f8f8c7;
4038}
4039area[natural=rock] {
4040    fill-color: stone#f8f8c7;
4041}
4042node[natural=rock] {
4043    icon-image: "misc/rock.svg";
4044    set icon_z17;
4045    text: auto;
4046}
4047area[natural=stone] {
4048    fill-color: stone#f8f8c7;
4049}
4050node[natural=stone] {
4051    icon-image: "misc/stone.svg";
4052    set icon_z17;
4053    text: auto;
4054}
4055area[natural=bay],
4056area[natural=cave_entrance] {
4057    fill-color: natural#002f00;
4058}
4059node[natural=bay] {
4060    icon-image: "misc/bay.png";
4061    set icon_z17;
4062    text: auto;
4063}
4064node[natural=cave_entrance] {
4065    icon-image: "misc/landmark/cave_entrance.png";
4066    set icon_z17;
4067    text: auto;
4068}
4069node[natural=tree] {
4070    icon-image: "misc/landmark/trees.png";
4071    set icon_z17;
4072    text: auto;
4073}
4074node[natural=tree][type=conifer],
4075node[natural=tree][leaf_type=needleleaved] {
4076    icon-image: "misc/landmark/trees_conifer.png";
4077    set icon_z17;
4078    text: auto;
4079}
4080node[natural=tree][type=broad_leaved],
4081node[natural=tree][leaf_type=broadleaved] {
4082    icon-image: "misc/landmark/trees_broad_leaved.png";
4083    set icon_z17;
4084    text: auto;
4085}
4086node[natural=tree][type=palm] {
4087    icon-image: "misc/landmark/trees_palm.png";
4088    set icon_z17;
4089    text: auto;
4090}
4091node[natural=scree],
4092node[natural=scrub],
4093node[natural=fell],
4094node[natural=heath],
4095node[natural=tree_row],
4096node[natural=wood],
4097node[natural=grassland],
4098node[natural=wetland],
4099node[natural=water],
4100node[natural=coastline],
4101node[natural=mud],
4102node[natural=beach],
4103node[natural=sand],
4104node[natural=land],
4105node[natural=bare_rock],
4106node[natural=ridge],
4107node[natural=valley] {
4108    icon-image: "misc/deprecated.png";
4109    set icon_z17;
4110    text: auto;
4111}
4112/*****************/
4113/* waterway tags */
4114/*****************/
4115
4116way[waterway=river] {
4117    width: 2;
4118    color: water#0000ff;
4119}
4120area[waterway=riverbank] {
4121    fill-color: riverbank#0000cf;
4122    width: 1;
4123    color: riverbank#0000cf;
4124}
4125way[waterway=canal] {
4126    width: 2;
4127    color: water#0000ff;
4128}
4129way[waterway=stream] {
4130    width: 1;
4131    color: stream#6600cc;
4132}
4133way[waterway=ditch], way[waterway=drain] {
4134    width: 1;
4135    color: water#0000ff;
4136}
4137area[waterway=dock] {
4138    fill-color: dock#0000cf;
4139}
4140node[waterway=dock] {
4141    icon-image: "nautical/boatyard.png";
4142    set icon_z17;
4143    text: auto;
4144}
4145node[waterway=lock_gate] {
4146    icon-image: "nautical/lock_gate.png";
4147    set icon_z17;
4148    text: auto;
4149}
4150node[waterway=turning_point] {
4151    icon-image: "nautical/turning.png";
4152    set icon_z17;
4153    text: auto;
4154}
4155area[waterway=boatyard] {
4156    fill-color: manmade#d8d8d8;
4157}
4158node[waterway=boatyard] {
4159    icon-image: "nautical/boatyard.png";
4160    set icon_z17;
4161    text: auto;
4162}
4163node[waterway=water_point],
4164node[waterway=waste_disposal],
4165node[waterway=mooring] {
4166    icon-image: "misc/deprecated.png";
4167    set icon_z17;
4168    text: auto;
4169}
4170node[mooring] {
4171    icon-image: "nautical/marina.png";
4172    set icon_z17;
4173    text: auto;
4174}
4175area[waterway=fuel] {
4176    fill-color: amenity_traffic#f7efb7;
4177}
4178node[waterway=fuel] {
4179    icon-image: "nautical/marine_fuel.png";
4180    icon-width: 16;
4181    set icon_z17;
4182    text: auto;
4183}
4184way[waterway=weir] {
4185    width: 2;
4186    color: manmade#d8d8d8;
4187}
4188node[waterway=weir] {
4189    icon-image: "nautical/weir.png";
4190    set icon_z17;
4191    text: auto;
4192}
4193area[waterway=dam]:closed {
4194    fill-color: manmade#d8d8d8;
4195}
4196way[waterway=dam] {
4197    width: 2;
4198    color: manmade#d8d8d8;
4199}
4200node[waterway=dam] {
4201    icon-image: "nautical/dam.png";
4202    set icon_z17;
4203    text: auto;
4204}
4205/* it's not possible to have both line and area, line seems more likely */
4206way[waterway=waterfall] {
4207    width: 2;
4208    color: manmade#d8d8d8;
4209}
4210node[waterway=waterfall] {
4211    icon-image: "nautical/waterfall.png";
4212    set icon_z17;
4213    text: auto;
4214}
4215node[waterway=river], node[waterway=riverbank],
4216node[waterway=canal], node[waterway=wadi],
4217node[waterway=stream],
4218node[waterway=ditch], node[waterway=drain] {
4219    icon-image: "misc/deprecated.png";
4220    set icon_z17;
4221    text: auto;
4222}
4223
4224/**************/
4225/* route tags */
4226/**************/
4227
4228way[route=ferry] {
4229    width: 1;
4230    color: ferry#809bc0;
4231    dashes: 9,9;
4232}
4233node[route=bus],
4234node[route=ferry],
4235node[route=flight],
4236node[route=ncn],
4237node[route=subsea],
4238node[route=ski],
4239node[route=tour],
4240node[route=pub_crawl] {
4241    icon-image: "misc/deprecated.png";
4242    set icon_z17;
4243    text: auto;
4244}
4245
4246/*******************/
4247/* properties tags */
4248/*******************/
4249
4250node[mountain_pass?] {
4251    icon-image: "misc/landmark/mountain_pass.png";
4252    set icon_z0;
4253    text: auto;
4254    set text_z0;
4255}
4256
4257/*****************/
4258/* boundary tags */
4259/*****************/
4260
4261way[boundary=protected_area]::core_boundary,
4262way[boundary=administrative]::core_boundary,
4263way[boundary=postal_code]::core_boundary,
4264way[boundary=political]::core_boundary,
4265way[boundary=maritime]::core_boundary,
4266way[boundary=national_park]::core_boundary {
4267    z-index: 2;
4268    modifier: false;
4269    width: 1;
4270    color: boundary#FF6600;
4271    dashes: 9,9;
4272}
4273way[admin_level=9]::core_boundary,
4274relation[admin_level=9] > way::core_boundary,
4275way[admin_level=10]::core_boundary,
4276relation[admin_level=10] > way::core_boundary {
4277    z-index: 2;
4278    modifier: false;
4279    width: 1;
4280    color: boundary#FF6600;
4281    dashes: 9,9;
4282}
4283way[admin_level=7]::core_boundary,
4284relation[admin_level=7] > way::core_boundary,
4285way[admin_level=8]::core_boundary,
4286relation[admin_level=8] > way::core_boundary {
4287    z-index: 2;
4288    modifier: false;
4289    width: 2;
4290    color: boundary#FF6600;
4291    dashes: 9,9;
4292}
4293way[admin_level=5]::core_boundary,
4294relation[admin_level=5] > way::core_boundary,
4295way[admin_level=6]::core_boundary,
4296relation[admin_level=6] > way::core_boundary {
4297    z-index: 2;
4298    modifier: false;
4299    width: 3;
4300    color: boundary#FF6600;
4301    dashes: 9,9;
4302}
4303way[admin_level=3]::core_boundary,
4304relation[admin_level=3] > way::core_boundary,
4305way[admin_level=4]::core_boundary,
4306relation[admin_level=4] > way::core_boundary {
4307    z-index: 2;
4308    modifier: false;
4309    width: 4;
4310    color: boundary#FF6600;
4311    dashes: 9,9;
4312}
4313way[admin_level=1]::core_boundary,
4314relation[admin_level=1] > way::core_boundary,
4315way[admin_level=2]::core_boundary,
4316relation[admin_level=2] > way::core_boundary {
4317    z-index: 2;
4318    modifier: false;
4319    width: 5;
4320    color: boundary#FF6600;
4321    dashes: 9,9;
4322}
4323node[boundary=national],
4324node[boundary=administrative],
4325node[boundary=postal_code],
4326node[boundary=political],
4327node[boundary=national_park] {
4328    icon-image: "misc/deprecated.png";
4329    set icon_z17;
4330    text: auto;
4331}
4332
4333/******************/
4334/* maxspeed nodes */
4335/******************/
4336node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4337    icon-image: "vehicle/restriction/maxspeed_none.svg";
4338    set icon_z17;
4339}
4340node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4341    maxspeedprop: tag(maxspeed);
4342    set maxspeedclass;
4343}
4344node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4345    maxspeedprop: " ?";
4346    set maxspeedclass;
4347}
4348node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4349    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4350    set maxspeedclass;
4351}
4352node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4353    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4354    set maxspeedclass;
4355}
4356node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4357    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4358    set maxspeedclass;
4359}
4360node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4361    /* background (white) */
4362    symbol-shape: circle;
4363    symbol-size: 17;
4364    symbol-fill-color: white;
4365    major-z-index: 4.2;
4366}
4367node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4368node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4369    /* background (black) */
4370    symbol-fill-color: black;
4371}
4372node[prop(maxspeedclass, default)]::core_maxnodefg {
4373    /* foreground (black text and red circle) */
4374    symbol-shape: circle;
4375    symbol-size: 15;
4376    symbol-stroke-color: crimson;
4377    symbol-stroke-width: 2;
4378    text: prop(maxspeedprop, default);
4379    font-size: 8;
4380    font-weight: bold;
4381    text-color: black;
4382    text-anchor-horizontal: center;
4383    text-anchor-vertical: center;
4384    text-offset-x: 0;
4385    text-offset-y: -1;
4386    major-z-index: 4.2;
4387}
4388node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4389node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4390    /* foreground (white text) */
4391    text-color: white;
4392}
4393node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4394    symbol-shape: none;
4395}
4396node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4397    text: none;
4398    symbol-shape: none;
4399}
4400
4401/**************/
4402/* place tags */
4403/**************/
4404
4405/* lot's of "openGeoDB:..." tags can be found in germany */
4406node["openGeoDB:type"=Stadt],
4407node["openGeoDB:type"=Kreis],
4408node["openGeoDB:type"=Gemeinde],
4409node["openGeoDB:type"=Ort],
4410node["openGeoDB:type"=District],
4411node["openGeoDB:location"=locality] {
4412    icon-image: "place/settlement/openGeoDB.png";
4413    set icon_z0;
4414    text: auto;
4415    set text_z0;
4416    font-size: 10;
4417    font-weight: bold;
4418    text-color:black;
4419    text-halo-color: white;
4420    text-halo-radius: 1;
4421}
4422area[place=continent],
4423area[place=country],
4424area[place=state],
4425area[place=region],
4426area[place=county],
4427area[place=city],
4428area[place=town],
4429area[place=village],
4430area[place=hamlet],
4431area[place=farm],
4432area[place=isolated_dwelling],
4433area[place=neighbourhood],
4434area[place=suburb],
4435area[place=locality],
4436area[place=island],
4437area[place=islet] {
4438    fill-color: place#8de3cb;
4439}
4440node[place=continent],
4441node[place=country],
4442node[place=state],
4443node[place=region],
4444node[place=county] {
4445    icon-image: "place/settlement/capital.png";
4446    set icon_z0;
4447    text: auto;
4448    set text_z0;
4449    font-size: 10;
4450    font-weight: bold;
4451    text-color:black;
4452    text-halo-color: white;
4453    text-halo-radius: 1;
4454    z-index: 2.9;
4455}
4456node[place=city] {
4457    icon-image: "place/settlement/city.png";
4458    set icon_z0;
4459    text: auto;
4460    set text_z0;
4461    font-size: 10;
4462    font-weight: bold;
4463    text-color:black;
4464    text-halo-color: white;
4465    text-halo-radius: 1;
4466    z-index: 2.8;
4467}
4468node[place=town] {
4469    icon-image: "place/settlement/town.png";
4470    set icon_z0;
4471    text: auto;
4472    set text_z0;
4473    font-size: 10;
4474    font-weight: bold;
4475    text-color:black;
4476    text-halo-color: white;
4477    text-halo-radius: 1;
4478    z-index: 2.7;
4479}
4480node[place=suburb] {
4481    icon-image: "place/settlement/suburb.png";
4482    set icon_z0;
4483    text: auto;
4484    set text_z0;
4485    font-size: 10;
4486    font-weight: bold;
4487    text-color:black;
4488    text-halo-color: white;
4489    text-halo-radius: 1;
4490    z-index: 2.6;
4491}
4492node[place=village] {
4493    icon-image: "place/settlement/village.png";
4494    set icon_z0;
4495    text: auto;
4496    set text_z0;
4497    font-size: 10;
4498    font-weight: bold;
4499    text-color:black;
4500    text-halo-color: white;
4501    text-halo-radius: 1;
4502    z-index: 2.5;
4503}
4504node[place=neighbourhood] {
4505    icon-image: "place/settlement/neighbourhood.png";
4506    set icon_z0;
4507    text: auto;
4508    set text_z0;
4509    font-size: 10;
4510    font-weight: bold;
4511    text-color:black;
4512    text-halo-color: white;
4513    text-halo-radius: 1;
4514    z-index: 2.4;
4515}
4516node[place=hamlet] {
4517    icon-image: "place/settlement/hamlet.png";
4518    set icon_z0;
4519    text: auto;
4520    set text_z0;
4521    font-size: 10;
4522    font-weight: bold;
4523    text-color:black;
4524    text-halo-color: white;
4525    text-halo-radius: 1;
4526    z-index: 2.3;
4527}
4528node[place=isolated_dwelling] {
4529    icon-image: "place/settlement/isolated_dwelling.png";
4530    set icon_z0;
4531    text: auto;
4532    set text_z0;
4533    font-size: 10;
4534    font-weight: bold;
4535    text-color:black;
4536    text-halo-color: white;
4537    text-halo-radius: 1;
4538    z-index: 2.2;
4539}
4540node[place=farm] {
4541    icon-image: "place/settlement/farm.png";
4542    set icon_z0;
4543    text: auto;
4544    set text_z0;
4545    font-size: 10;
4546    font-weight: bold;
4547    text-color:black;
4548    text-halo-color: white;
4549    text-halo-radius: 1;
4550    z-index: 2.1;
4551}
4552node[place=locality] {
4553    icon-image: "place/locality.png";
4554    set icon_z0;
4555    text: auto;
4556    set text_z0;
4557    font-size: 10;
4558    font-weight: bold;
4559    text-color:black;
4560    text-halo-color: white;
4561    text-halo-radius: 1;
4562}
4563node[place=island] {
4564    icon-image: "place/island.png";
4565    set icon_z0;
4566    text: auto;
4567    set text_z0;
4568    font-size: 10;
4569    font-weight: bold;
4570    text-color:black;
4571    text-halo-color: white;
4572    text-halo-radius: 1;
4573}
4574node[place=islet] {
4575    icon-image: "place/islet.png";
4576    set icon_z0;
4577    text: auto;
4578    set text_z0;
4579    font-size: 10;
4580    font-weight: bold;
4581    text-color:black;
4582    text-halo-color: white;
4583    text-halo-radius: 1;
4584}
4585
4586/***************************/
4587/* "work in progress" tags */
4588/***************************/
4589
4590node|z16-[fixme]::core_fixme,
4591node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4592node|z16-[FIXME]::core_fixme,
4593node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4594    object-z-index: 20;
4595    icon-image: "misc/fixme-annotation.png";
4596}
4597node|z16-[note]::core_note,
4598node|z-15[note][!setting("hide_icons")]::core_note {
4599    object-z-index: 10;
4600    icon-image: "misc/note-annotation.png";
4601}
4602
4603/* special display of unreviewed tiger data (USA) */
4604way["tiger:reviewed"=no]::core_tiger {
4605    major-z-index: -10;
4606    width: 11;
4607    color: tiger_data#808000;
4608    opacity: 0.6;
4609}
4610
4611/****************************************/
4612/* zoom levels and general node display */
4613/****************************************/
4614
4615/*
4616Summary of different zoom levels:
4617  (any zoom)    place=* and a few natural icons with their text is shown
4618  |z-15         untagged way nodes are hidden completely
4619  |z16-         fixme=* and note=* symbols
4620  |z17-         normal POI icons (without text),
4621                street name along highway=* ways
4622  |z18-         text for normal POI icons is shown
4623 
4624 * text size and node size is adapted according to zoom level (see style source below)
4625 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4626
4627*/
4628
4629node {
4630    text: auto;
4631}
4632node|z-16[setting("hide_icons")],
4633node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4634node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4635    symbol-size: 2;
4636    symbol-shape: square;
4637    symbol-stroke-color: node_standard#ffff00;
4638    major-z-index: 4.95; /* put node squares above line text */
4639}
4640way > node|z-15[setting("shrink_nodes")]!:tagged {
4641    symbol-shape: none;
4642}
4643node:connection {
4644    symbol-stroke-color: node_connection#ffff00;
4645}
4646node:tagged {
4647    symbol-stroke-color: none;
4648    symbol-fill-color: node_tagged#00ffff;
4649}
4650
4651way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4652
4653node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4654way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4655node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4656
4657node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4658way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4659node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4660
4661node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4662way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4663node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4664
4665node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4666way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4667node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4668
4669node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4670relation|z-16[type=restriction][setting("hide_icons")] {
4671    icon-image: none;
4672}
4673node|z-17[setting("hide_icons")]!.text_z0 {
4674    text: none;
4675}
4676
4677node|z19,area|z19   { font-size: 9; }
4678node|z20-,area|z20-   { font-size: 10; }
4679
4680/*******************/
4681/* way text labels */
4682/*******************/
4683
4684way|z17-[highway^=motorway][setting("highway_labels")],
4685way|z17-[highway^=trunk][setting("highway_labels")],
4686way|z17-[highway^=primary][setting("highway_labels")],
4687way|z17-[highway^=secondary][setting("highway_labels")],
4688way|z17-[highway^=tertiary][setting("highway_labels")],
4689way|z17-[highway=unclassified][setting("highway_labels")],
4690way|z17-[highway=residential][setting("highway_labels")],
4691way|z17-[highway=living_street][setting("highway_labels")],
4692way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4693way|z17-[highway=service][setting("highway_labels")],
4694way|z17-[highway=track][setting("highway_labels")] {
4695    text: auto;
4696    text-color: black;
4697    font-size: 9;
4698    text-position: line;
4699    text-halo-opacity: 1;
4700    text-halo-radius: 1.5;
4701}
4702way|z17-[highway^=motorway][setting("highway_labels")] {
4703    text-halo-color: motorway#809bc0;
4704}
4705way|z17-[highway^=trunk][setting("highway_labels")] {
4706    text-halo-color: trunk#7fc97f;
4707}
4708way|z17-[highway^=primary][setting("highway_labels")] {
4709    text-halo-color: primary#fb805f;
4710}
4711way|z17-[highway^=secondary][setting("highway_labels")] {
4712    text-halo-color: secondary#fdbf6f;
4713}
4714way|z17-[highway^=tertiary][setting("highway_labels")] {
4715    text-halo-color: tertiary#f7f496;
4716}
4717way|z17-[highway=unclassified][setting("highway_labels")],
4718way|z17-[highway=residential][setting("highway_labels")],
4719way|z17-[highway=living_street][setting("highway_labels")] {
4720    text-halo-color: street#c0c0c0;
4721}
4722way[highway=pedestrian][!area?][setting("highway_labels")] {
4723    text-halo-color: foot#00ff00;
4724}
4725way|z17-[highway=service][setting("highway_labels")] {
4726    text-halo-color: service#809bc0;
4727}
4728way|z17-[highway=track][setting("highway_labels")] {
4729    text-halo-color: highway_track#6e541c;
4730}
4731way|z18[highway][setting("highway_labels")] {
4732    font-size: 10;
4733}
4734way|z19[highway][setting("highway_labels")] {
4735    font-size: 11;
4736}
4737way|z20-[highway][setting("highway_labels")] {
4738    font-size: 12;
4739}
4740
4741/* "deprecated" tags
4742     historic=museum -> tourism=museum
4743     man_made=power_wind -> power=generator and power_source=wind
4744     man_made=power_hydro -> power=generator and power_source=hydro
4745     man_made=power_fossil -> power=generator and power_source=fossil
4746     man_made=power_nuclear -> power=generator and power_source=nuclear
4747     amenity=park_bench -> amenity=bench
4748     amenity=signpost -> information=guidepost
4749     amenity=emergency_phone -> emergency=phone
4750     highway minor - classification now more detailed
4751     highway=stile -> barrier=stile
4752     highway=gate -> barrier=gate
4753     highway=cattle_grid -> barrier=cattle_grid
4754     highway=toll_booth -> barrier=toll_booth
4755     highway=viaduct -> bridge=viaduct
4756     railway=viaduct -> bridge=viaduct
4757     waterway=aqueduct -> bridge=aqueduct
4758     natural=marsh -> natural=wetland
4759     leisure=zoo -> tourism=zoo
4760     power=station -> power=plant or power=sub_station
4761*/
Note: See TracBrowser for help on using the repository browser.