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

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

fix #8993 - update and split the recycling preset

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