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

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

default mappaint style: add spikes to retaining_wall and kerb

  • Property svn:eol-style set to native
File size: 103.2 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12    icon: "dialogs/mappaint/josm_small.png";
13}
14
15canvas {
16    default-points: false;
17}
18
19/*************************/
20/* create style settings */
21/*************************/
22
23setting::hide_icons {
24  type: boolean;
25  label: tr("Hide icons at low zoom");
26  default: true;
27}
28
29setting::shrink_nodes {
30  type: boolean;
31  label: tr("Less obtrusive node symbols at low zoom");
32  default: true;
33}
34
35setting::highway_labels {
36  type: boolean;
37  label: tr("Display street labels (at high zoom)");
38  default: true;
39}
40
41setting::alt_turn_icons {
42  type: boolean;
43  label: tr("Use alternative turn restriction icon set");
44  default: false;
45}
46
47/*********************/
48/* turn restrictions */
49/*********************/
50
51relation[restriction=no_left_turn][!setting("alt_turn_icons")] {
52    icon-image: "vehicle/restriction/turn_restrictions/no_left_turn_red.png";
53    set icon_z17;
54    text: auto;
55}
56relation[restriction=no_left_turn][setting("alt_turn_icons")] {
57    icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png";
58    set icon_z17;
59    text: auto;
60}
61relation[restriction=no_right_turn][!setting("alt_turn_icons")] {
62    icon-image: "vehicle/restriction/turn_restrictions/no_right_turn_red.png";
63    set icon_z17;
64    text: auto;
65}
66relation[restriction=no_right_turn][setting("alt_turn_icons")] {
67    icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png";
68    set icon_z17;
69    text: auto;
70}
71relation[restriction=no_straight_on][!setting("alt_turn_icons")] {
72    icon-image: "vehicle/restriction/turn_restrictions/no_straight_on_red.png";
73    set icon_z17;
74    text: auto;
75}
76relation[restriction=no_straight_on][setting("alt_turn_icons")] {
77    icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png";
78    set icon_z17;
79    text: auto;
80}
81relation[restriction=no_u_turn] {
82    icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png";
83    set icon_z17;
84    text: auto;
85}
86relation[restriction=only_left_turn] {
87    icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png";
88    set icon_z17;
89    text: auto;
90}
91relation[restriction=only_right_turn] {
92    icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png";
93    set icon_z17;
94    text: auto;
95}
96relation[restriction=only_straight_on] {
97    icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png";
98    set icon_z17;
99    text: auto;
100}
101node[restriction] {
102    icon-image: "misc/deprecated.png";
103    set icon_z17;
104    text: auto;
105}
106
107/******************/
108/* bridge, tunnel */
109/******************/
110
111way[bridge=yes]::core_bridge,
112way[bridge=viaduct]::core_bridge,
113way[bridge=swing]::core_bridge,
114way[bridge=movable]::core_bridge,
115way[bridge=cantilever]::core_bridge,
116way[bridge=covered]::core_bridge,
117way[bridge=low_water_crossing]::core_bridge,
118way[bridge=trestle]::core_bridge,
119way[bridge=aqueduct]::core_bridge {
120    major-z-index: 2;
121    object-z-index: -1;
122    width: +4;
123    color: bridge#0000FF;
124    opacity: 0.9;
125}
126way[tunnel=yes]::core_tunnel,
127way[tunnel=culvert]::core_tunnel,
128way[tunnel=building_passage]::core_tunnel,
129way[tunnel=avalanche_protector]::core_tunnel {
130    major-z-index: 2;
131    object-z-index: -1;
132    width: +5;
133    color: tunnel#964B00;
134    opacity: 0.9;
135}
136node[oneway],
137node[bridge],
138node[tunnel?],
139node[tunnel?!],
140node[cutting?!],
141node[embankment?!] {
142    icon-image: "misc/deprecated.png";
143    set icon_z17;
144    text: auto;
145}
146
147/****************************/
148/* access restrictions tags */
149/****************************/
150
151way[access?!]::core_access {
152    z-index: -1;
153    width: +2;
154    color: no#ff8080;
155    dashes: 2,2;
156}
157way[access=permissive]::core_access {
158    z-index: -1;
159    width: +2;
160    color: permissive#80ff80;
161    dashes: 2,2;
162}
163way[access=private]::core_access {
164    z-index: -1;
165    width: +2;
166    color: private#ff8080;
167    dashes: 2,2;
168}
169way[access=destination]::core_access {
170    z-index: -1;
171    width: +2;
172    color: destination#8080ff;
173    dashes: 2,2;
174}
175node[traffic_sign][access?!] {
176    icon-image: "vehicle/restriction/access.png";
177    set icon_z17;
178}
179node[traffic_sign][access=permissive],
180node[traffic_sign][access=private],
181node[traffic_sign][access=destination] {
182    icon-image: "misc/no_icon.png";
183    set icon_z17;
184    text: auto;
185}
186node[traffic_sign][bicycle?!] {
187    icon-image: "vehicle/restriction/bicycle.png";
188    set icon_z17;
189}
190node[traffic_sign][bicycle=designated] {
191    icon-image: "vehicle/restriction/bicycle-designated.png";
192    set icon_z17;
193    text: auto;
194}
195node[traffic_sign][foot?!] {
196    icon-image: "vehicle/restriction/foot.png";
197    set icon_z17;
198}
199node[traffic_sign][foot=designated] {
200    icon-image: "vehicle/restriction/foot-designated.png";
201    set icon_z17;
202    text: auto;
203}
204node[traffic_sign][goods?!],
205node[traffic_sign][hgv?!] {
206    icon-image: "vehicle/restriction/goods.png";
207    set icon_z17;
208}
209node[traffic_sign][horse?!] {
210    icon-image: "vehicle/restriction/horse.png";
211    set icon_z17;
212}
213node[traffic_sign][horse=designated] {
214    icon-image: "vehicle/restriction/horse-designated.png";
215    set icon_z17;
216}
217node[traffic_sign][motorcycle?!] {
218    icon-image: "vehicle/restriction/motorbike.png";
219    set icon_z17;
220}
221node[traffic_sign][motorcar?!] {
222    icon-image: "vehicle/restriction/motorcar.png";
223    set icon_z17;
224}
225node[traffic_sign][psv?!] {
226    icon-image: "vehicle/restriction/psv.png";
227    set icon_z17;
228}
229node[traffic_sign][motorboat?!],
230node[traffic_sign][boat?!] {
231    icon-image: "misc/no_icon.png";
232    set icon_z17;
233}
234node[noexit=yes] {
235    icon-image: "vehicle/restriction/dead_end.png";
236    set icon_z17;
237}
238node[traffic_sign][maxweight] {
239    icon-image: "vehicle/restriction/maxweight.png";
240    set icon_z17;
241}
242node[traffic_sign][maxheight] {
243    icon-image: "vehicle/restriction/maxheight.png";
244    set icon_z17;
245}
246node[traffic_sign][maxwidth] {
247    icon-image: "vehicle/restriction/maxwidth.png";
248    set icon_z17;
249}
250node[traffic_sign][maxlength] {
251    icon-image: "vehicle/restriction/maxlength.png";
252    set icon_z17;
253}
254node[traffic_sign][minspeed] {
255    icon-image: "vehicle/restriction/minspeed.png";
256    set icon_z17;
257}
258node[traffic_sign][maxstay],
259node[traffic_sign][toll] {
260    icon-image: "misc/no_icon.png";
261    set icon_z17;
262}
263
264/*****************************/
265/* building/entrance/address */
266/*****************************/
267
268node["addr:housenumber"],
269node["addr:postcode"] {
270    icon-image: "misc/housenumber.png";
271    set icon_z17;
272    text: auto;
273}
274way["addr:interpolation"=odd] {
275    width: 1;
276    color: address#1C86EE;
277    dashes: 15,4;
278}
279way["addr:interpolation"=even] {
280    width: 1;
281    color: address#1C86EE;
282    dashes: 4,4;
283}
284way["addr:interpolation"=all],
285way["addr:interpolation"=alphabetic] {
286    width: 1;
287    color: address#1C86EE;
288    dashes: 2,2;
289}
290area[building][!building?!] {
291    fill-color: building#cb9999;
292}
293area[building:part][!building:part?!] {
294    fill-color: buildingpart#dcbbbb;
295}
296node[building][!building?!] {
297    icon-image: "misc/landmark/building.png";
298    set icon_z17;
299    text: auto;
300}
301node[building=garage] {
302    icon-image: "misc/landuse/garages.png";
303    set icon_z17;
304    text: auto;
305}
306node[building=garages] {
307    icon-image: "misc/landuse/garages.png";
308    set icon_z17;
309    text: auto;
310}
311node[entrance=yes] {
312    icon-image: "misc/entrance-yes.png";
313    set icon_z17;
314    text: auto;
315}
316node[entrance=main] {
317    icon-image: "misc/entrance-main.png";
318    set icon_z17;
319    text: auto;
320}
321node[entrance=service] {
322    icon-image: "misc/entrance-service.png";
323    set icon_z17;
324    text: auto;
325}
326node[entrance=exit] {
327    icon-image: "misc/entrance-exit.png";
328    set icon_z17;
329    text: auto;
330}
331node[entrance=emergency] {
332    icon-image: "misc/entrance-emergency.png";
333    set icon_z17;
334    text: auto;
335}
336node[building=entrance],
337node[building:part] {
338    icon-image: "misc/deprecated.png";
339    set icon_z17;
340    text: auto;
341}
342
343/****************/
344/* barrier tags */
345/****************/
346
347way[barrier=bollard] {
348    width: 2;
349    color: barrier#F0F050;
350    dashes: 3,9;
351}
352node[barrier=bollard] {
353    icon-image: "presets/bollard.png";
354    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.png";
2366    set icon_z17;
2367    text: auto;
2368}
2369node[amenity=waste_basket] {
2370    icon-image: "service/recycling/trash-bin.png";
2371    set icon_z17;
2372    text: auto;
2373}
2374node[amenity=waste_disposal] {
2375    icon-image: "service/recycling/waste_disposal.png";
2376    set icon_z17;
2377    text: auto;
2378}
2379node[amenity=sanitary_dump_station] {
2380    icon-image: "service/recycling/sanitary_dump_station.svg";
2381    set icon_z17;
2382    text: auto;
2383}
2384area[amenity=public_building],
2385area[amenity=townhall],
2386area[amenity=embassy],
2387area[amenity=community_centre] {
2388    fill-color: amenity_light#f7efb7;
2389}
2390node[amenity=public_building] {
2391    icon-image: "service.png";
2392    set icon_z17;
2393    text: auto;
2394}
2395node[amenity=townhall] {
2396    icon-image: "presets/townhall.png";
2397    set icon_z17;
2398    text: auto;
2399}
2400node[amenity=embassy] {
2401    icon-image: "service/administration/embassy.png";
2402    set icon_z17;
2403    text: auto;
2404}
2405node[amenity=community_centre] {
2406    icon-image: "service/community_centre.png";
2407    set icon_z17;
2408    text: auto;
2409}
2410area[amenity=water_point],
2411area[amenity=fountain] {
2412    fill-color: light_water#00005f;
2413}
2414node[amenity=drinking_water] {
2415    icon-image: "food/drinking_water.png";
2416    set icon_z17;
2417    text: auto;
2418}
2419node[amenity=water_point] {
2420    icon-image: "accommodation/camping/water.png";
2421    set icon_z17;
2422    text: auto;
2423}
2424node[amenity=fountain] {
2425    icon-image: "misc/fountain.png";
2426    set icon_z17;
2427    text: auto;
2428}
2429area[amenity=place_of_worship],
2430area[amenity=grave_yard],
2431area[amenity=crematorium],
2432area[amenity=post_office],
2433area[amenity=studio],
2434area[amenity=school],
2435area[amenity=university],
2436area[amenity=college],
2437area[amenity=kindergarten],
2438area[amenity=driving_school] {
2439    fill-color: amenity_light#f7efb7;
2440}
2441node[amenity=place_of_worship] {
2442    icon-image: "religion.png";
2443    set icon_z17;
2444    text: auto;
2445}
2446node[amenity=place_of_worship][religion=bahai] {
2447    icon-image: "religion/bahai.png";
2448    set icon_z17;
2449    text: auto;
2450}
2451node[amenity=place_of_worship][religion=buddhist] {
2452    icon-image: "religion/buddhism.png";
2453    set icon_z17;
2454    text: auto;
2455}
2456node[amenity=place_of_worship][religion=christian] {
2457    icon-image: "religion/church.png";
2458    set icon_z17;
2459    text: auto;
2460}
2461node[amenity=place_of_worship][religion=hindu] {
2462    icon-image: "religion/hinduism.png";
2463    set icon_z17;
2464    text: auto;
2465}
2466node[amenity=place_of_worship][religion=jain] {
2467    icon-image: "religion/jainism.png";
2468    set icon_z17;
2469    text: auto;
2470}
2471node[amenity=place_of_worship][religion=jewish] {
2472    icon-image: "religion/jewish.png";
2473    set icon_z17;
2474    text: auto;
2475}
2476node[amenity=place_of_worship][religion=muslim] {
2477    icon-image: "religion/muslim.png";
2478    set icon_z17;
2479    text: auto;
2480}
2481node[amenity=place_of_worship][religion=sikh] {
2482    icon-image: "religion/sikhism.png";
2483    set icon_z17;
2484    text: auto;
2485}
2486node[amenity=place_of_worship][religion=shinto] {
2487    icon-image: "religion/shinto.png";
2488    set icon_z17;
2489    text: auto;
2490}
2491node[amenity=place_of_worship][religion=spiritualist] {
2492    icon-image: "misc/no_icon.png";
2493    set icon_z17;
2494    text: auto;
2495}
2496node[amenity=place_of_worship][religion=taoist] {
2497    icon-image: "religion/taoism.png";
2498    set icon_z17;
2499    text: auto;
2500}
2501node[amenity=place_of_worship][religion=unitarian] {
2502    icon-image: "misc/no_icon.png";
2503    set icon_z17;
2504    text: auto;
2505}
2506node[amenity=place_of_worship][religion=zoroastrian] {
2507    icon-image: "misc/no_icon.png";
2508    set icon_z17;
2509    text: auto;
2510}
2511node[amenity=grave_yard] {
2512    icon-image: "rendering/landuse/cemetery.png";
2513    set icon_z17;
2514    text: auto;
2515}
2516node[amenity=crematorium] {
2517    icon-image: "misc/no_icon.png";
2518    set icon_z17;
2519    text: auto;
2520}
2521node[amenity=post_office] {
2522    icon-image: "service/post_office.png";
2523    set icon_z17;
2524    text: auto;
2525}
2526node[amenity=post_box] {
2527    icon-image: "service/post_box.png";
2528    set icon_z17;
2529    text: auto;
2530}
2531node[amenity=studio] {
2532    icon-image: "service/studio.png";
2533    set icon_z17;
2534    text: auto;
2535}
2536node[amenity=school] {
2537    icon-image: "education/school.png";
2538    set icon_z17;
2539    text: auto;
2540}
2541node[amenity=university] {
2542    icon-image: "education/university.png";
2543    set icon_z17;
2544    text: auto;
2545}
2546node[amenity=college] {
2547    icon-image: "education/college.png";
2548    set icon_z17;
2549    text: auto;
2550}
2551node[amenity=kindergarten] {
2552    icon-image: "education/kindergarten.png";
2553    set icon_z17;
2554    text: auto;
2555}
2556node[amenity=driving_school] {
2557    icon-image: "education/driving_school.png";
2558    set icon_z17;
2559    text: auto;
2560}
2561area[amenity=pharmacy],
2562area[amenity=hospital],
2563area[amenity=clinic],
2564area[amenity=nursing_home],
2565area[amenity=social_facility],
2566area[amenity=nursery],
2567area[amenity=baby_hatch],
2568area[amenity=doctors],
2569area[amenity=dentist],
2570area[amenity=veterinary] {
2571    fill-color: health#eeeeee;
2572}
2573node[amenity=pharmacy] {
2574    icon-image: "health/pharmacy.png";
2575    set icon_z17;
2576    text: auto;
2577}
2578node[amenity=hospital],
2579node[amenity=clinic] {
2580    icon-image: "health/hospital.png";
2581    set icon_z17;
2582    text: auto;
2583}
2584node[amenity=nursing_home],
2585node[amenity=social_facility],
2586node[amenity=nursery] {
2587    icon-image: "misc/no_icon.png";
2588    set icon_z17;
2589    text: auto;
2590}
2591node[amenity=baby_hatch] {
2592    icon-image: "health/baby_hatch.png";
2593    set icon_z17;
2594    text: auto;
2595}
2596node[amenity=doctors] {
2597    icon-image: "health/doctor.png";
2598    set icon_z17;
2599    text: auto;
2600}
2601node[amenity=dentist] {
2602    icon-image: "health/dentist.png";
2603    set icon_z17;
2604    text: auto;
2605}
2606node[amenity=veterinary] {
2607    icon-image: "health/veterinary.png";
2608    set icon_z17;
2609    text: auto;
2610}
2611area[amenity=library],
2612area[amenity=police],
2613area[amenity=ranger_station],
2614area[amenity=fire_station],
2615area[amenity=bus_station],
2616area[amenity=ferry_terminal],
2617area[amenity=theatre],
2618area[amenity=cinema],
2619area[amenity=arts_centre],
2620area[amenity=courthouse],
2621area[amenity=prison],
2622area[amenity=bank],
2623area[amenity=bureau_de_change],
2624area[amenity=bbq] {
2625    fill-color: amenity_light#f7efb7;
2626}
2627node[amenity=library] {
2628    icon-image: "shop/library.png";
2629    set icon_z17;
2630    text: auto;
2631}
2632node[amenity=police] {
2633    icon-image: "service/police.png";
2634    set icon_z17;
2635    text: auto;
2636}
2637node[amenity=ranger_station] {
2638    icon-image: "service/ranger_station.svg";
2639    set icon_z17;
2640    text: auto;
2641}
2642node[amenity=fire_station] {
2643    icon-image: "service/firebrigade.png";
2644    set icon_z17;
2645    text: auto;
2646}
2647node[amenity=bus_station] {
2648    icon-image: "transport/bus.png";
2649    set icon_z17;
2650    text: auto;
2651}
2652node[amenity=ferry_terminal] {
2653    icon-image: "nautical/ferry.png";
2654    icon-width: 16;
2655    set icon_z17;
2656    text: auto;
2657}
2658node[amenity=theatre] {
2659    icon-image: "presets/theater.png";
2660    icon-width: 16;
2661    set icon_z17;
2662    text: auto;
2663}
2664node[amenity=cinema] {
2665    icon-image: "leisure/cinema.png";
2666    set icon_z17;
2667    text: auto;
2668}
2669node[amenity=arts_centre] {
2670    icon-image: "service/arts_centre.png";
2671    set icon_z17;
2672    text: auto;
2673}
2674node[amenity=courthouse] {
2675    icon-image: "service/administration/court_of_law.png";
2676    set icon_z17;
2677    text: auto;
2678}
2679node[amenity=prison] {
2680    icon-image: "service/administration/prison.png";
2681    set icon_z17;
2682    text: auto;
2683}
2684node[amenity=bank] {
2685    icon-image: "money/bank.png";
2686    set icon_z17;
2687    text: auto;
2688}
2689node[amenity=bureau_de_change] {
2690    icon-image: "money/exchange.png";
2691    set icon_z17;
2692    text: auto;
2693}
2694node[amenity=atm] {
2695    icon-image: "money/atm.png";
2696    set icon_z17;
2697    text: auto;
2698}
2699way[amenity=bench] {
2700    width: 2;
2701    color: amenity_light#f7efb7;
2702}
2703node[amenity=bench] {
2704    icon-image: "leisure/bench.png";
2705    set icon_z17;
2706    text: auto;
2707}
2708node[amenity=bbq] {
2709    icon-image: "leisure/bbq.png";
2710    set icon_z17;
2711    text: auto;
2712}
2713node[emergency=fire_hydrant] {
2714    icon-image: "service/fire_hydrant.png";
2715    set icon_z17;
2716    text: auto;
2717}
2718area[amenity=shelter],
2719area[amenity=marketplace],
2720area[amenity=wlan] {
2721    fill-color: amenity_light#f7efb7;
2722}
2723node[amenity=shelter] {
2724    icon-image: "accommodation/shelter.png";
2725    set icon_z17;
2726    text: auto;
2727}
2728node[amenity=shelter][shelter_type=public_transport] {
2729    icon-image: "accommodation/shelter_public_transport_brown.png";
2730    set icon_z17;
2731    text: auto;
2732}
2733node[amenity=shelter][shelter_type=picnic_shelter] {
2734    icon-image: "accommodation/shelter_picnic_brown.png";
2735    set icon_z17;
2736    text: auto;
2737}
2738node[amenity=shelter][shelter_type=basic_hut] {
2739    icon-image: "accommodation/basic_hut_blue.png";
2740    set icon_z17;
2741    text: auto;
2742}
2743node[amenity=shelter][shelter_type=lean_to] {
2744    icon-image: "accommodation/shelter_lean_to.svg";
2745    set icon_z17;
2746    text: auto;
2747}
2748node[amenity=hunting_stand] {
2749    icon-image: "hunting_stand.png";
2750    set icon_z17;
2751    text: auto;
2752}
2753node[amenity=marketplace] {
2754    icon-image: "place/marketplace.png";
2755    set icon_z17;
2756    text: auto;
2757}
2758node[amenity=wlan] {
2759    icon-image: "wlan.png";
2760    set icon_z17;
2761    text: auto;
2762}
2763node[amenity=vending_machine] {
2764    icon-image: "transport/ticket-machine.png";
2765    set icon_z17;
2766}
2767node[vending=excrement_bags] {
2768    icon-image: "service/excrement_bags.png";
2769    set icon_z17;
2770    text: auto;
2771}
2772
2773/**************/
2774/* craft tags */
2775/**************/
2776
2777area[craft=painter],
2778area[craft=plumber],
2779area[craft=pottery],
2780area[craft=stonemason],
2781area[craft=tiler],
2782area[craft=window_construction] {
2783    fill-color: craft#999900;
2784}
2785node[craft=painter] {
2786    icon-image: "craft/painter.png";
2787    set icon_z17;
2788    text: auto;
2789}
2790node[craft=plumber] {
2791    icon-image: "craft/plumber.png";
2792    set icon_z17;
2793    text: auto;
2794}
2795node[craft=pottery] {
2796    icon-image: "craft/pottery.png";
2797    set icon_z17;
2798    text: auto;
2799}
2800node[craft=stonemason] {
2801    icon-image: "craft/stonemason.png";
2802    set icon_z17;
2803    text: auto;
2804}
2805node[craft=tiler] {
2806    icon-image: "craft/tiler.png";
2807    set icon_z17;
2808    text: auto;
2809}
2810node[craft=window_construction] {
2811    icon-image: "craft/window_construction.png";
2812    set icon_z17;
2813    text: auto;
2814}
2815
2816/****************/
2817/* tourism tags */
2818/****************/
2819
2820area[tourism=hotel],
2821area[tourism=motel],
2822area[tourism=guest_house],
2823area[tourism=hostel],
2824area[tourism=chalet],
2825area[tourism=alpine_hut],
2826area[tourism=camp_site],
2827area[tourism=caravan_site] {
2828    fill-color: hotel#e1a0a2;
2829}
2830node[tourism=hotel] {
2831    icon-image: "accommodation.png";
2832    set icon_z17;
2833    text: auto;
2834}
2835node[tourism=motel] {
2836    icon-image: "accommodation/motel.png";
2837    set icon_z17;
2838    text: auto;
2839}
2840node[tourism=guest_house] {
2841    icon-image: "accommodation/guest_house.png";
2842    set icon_z17;
2843    text: auto;
2844}
2845node[tourism=hostel] {
2846    icon-image: "accommodation/hostel.png";
2847    set icon_z17;
2848    text: auto;
2849}
2850node[tourism=chalet] {
2851    icon-image: "accommodation/chalet.png";
2852    set icon_z17;
2853    text: auto;
2854}
2855node[tourism=alpine_hut] {
2856    icon-image: "accommodation/alpine_hut_blue.png";
2857    set icon_z17;
2858    text: auto;
2859}
2860node[tourism=wilderness_hut] {
2861    icon-image: "accommodation/wilderness_hut_blue.png";
2862    set icon_z17;
2863    text: auto;
2864}
2865node[tourism=camp_site] {
2866    icon-image: "accommodation/camping.png";
2867    set icon_z17;
2868    text: auto;
2869}
2870node[tourism=caravan_site] {
2871    icon-image: "accommodation/camping/caravan.png";
2872    set icon_z17;
2873    text: auto;
2874}
2875area[tourism=picnic_site],
2876area[tourism=viewpoint],
2877area[tourism=theme_park],
2878area[tourism=attraction],
2879area[tourism=zoo],
2880area[tourism=artwork],
2881area[tourism=museum] {
2882    fill-color: tourism#e180a2;
2883}
2884node[tourism=picnic_site] {
2885    icon-image: "leisure/picnic.png";
2886    set icon_z17;
2887    text: auto;
2888}
2889node[tourism=viewpoint] {
2890    icon-image: "sightseeing/viewpoint.png";
2891    set icon_z17;
2892    text: auto;
2893}
2894node[tourism=theme_park] {
2895    icon-image: "leisure/theme_park.png";
2896    set icon_z17;
2897    text: auto;
2898}
2899node[tourism=attraction] {
2900    icon-image: "sightseeing.png";
2901    set icon_z17;
2902    text: auto;
2903}
2904node[tourism=zoo] {
2905    icon-image: "leisure/zoo.png";
2906    set icon_z17;
2907    text: auto;
2908}
2909way[tourism=artwork] {
2910    width: 2;
2911    color: tourism#e180a2;
2912}
2913node[tourism=artwork] {
2914    icon-image: "service/arts_centre.png";
2915    set icon_z17;
2916    text: auto;
2917}
2918node[tourism=museum] {
2919    icon-image: "sightseeing/museum.png";
2920    set icon_z17;
2921    text: auto;
2922}
2923
2924/********************/
2925/* information tags */
2926/********************/
2927
2928area[tourism=information] {
2929    fill-color: tourism#e180a2;
2930}
2931node[tourism=information] {
2932    icon-image: "misc/information.png";
2933    set icon_z17;
2934    text: auto;
2935}
2936node[tourism=information][information=guidepost] {
2937    icon-image: "misc/information/guidepost.png";
2938    set icon_z17;
2939    text: auto;
2940}
2941area[tourism=information][information=office] {
2942    fill-color: tourism#e180a2;
2943}
2944node[tourism=information][information=office] {
2945    icon-image: "misc/information/informationoffice.png";
2946    set icon_z17;
2947    text: auto;
2948}
2949node[tourism=information][information=map] {
2950    icon-image: "misc/information/map.png";
2951    set icon_z17;
2952    text: auto;
2953}
2954node[tourism=information][information=board] {
2955    icon-image: "misc/information/board.png";
2956    set icon_z17;
2957    text: auto;
2958}
2959
2960/*****************/
2961/* historic tags */
2962/*****************/
2963
2964area[historic=castle],
2965area[historic=monument],
2966area[historic=memorial],
2967area[historic=archaeological_site],
2968area[historic=ruins],
2969area[historic=battlefield],
2970area[geological=palaeontological_site],
2971area[historic=wayside_cross],
2972area[historic=wayside_shrine],
2973area[historic=boundary_stone] {
2974    fill-color: historic#663300;
2975}
2976node[historic=castle] {
2977    icon-image: "sightseeing/castle.svg";
2978    set icon_z17;
2979    text: auto;
2980}
2981node[historic=monument] {
2982    icon-image: "sightseeing/monument.png";
2983    set icon_z17;
2984    text: auto;
2985}
2986node[historic=memorial] {
2987    icon-image: "sightseeing/memorial.png";
2988    set icon_z17;
2989    text: auto;
2990}
2991node[historic=archaeological_site] {
2992    icon-image: "sightseeing/archaeological.png";
2993    set icon_z17;
2994    text: auto;
2995}
2996node[historic=ruins] {
2997    icon-image: "sightseeing/ruins.png";
2998    set icon_z17;
2999    text: auto;
3000}
3001node[historic=battlefield] {
3002    icon-image: "sightseeing/battlefield.png";
3003    set icon_z17;
3004    text: auto;
3005}
3006node[geological=palaeontological_site] {
3007    icon-image: "historic/palaeontological_site.png";
3008    set icon_z17;
3009    text: auto;
3010}
3011node[historic=wayside_cross] {
3012    icon-image: "religion/wayside_cross.png";
3013    set icon_z17;
3014    text: auto;
3015}
3016node[historic=wayside_shrine] {
3017    icon-image: "religion/wayside_shrine.png";
3018    set icon_z17;
3019    text: auto;
3020}
3021node[historic=boundary_stone] {
3022    icon-image: "historic/boundary_stone.png";
3023    set icon_z17;
3024    text: auto;
3025}
3026
3027/****************/
3028/* landuse tags */
3029/****************/
3030
3031area[landuse],
3032area[leisure],
3033area[amenity],
3034area[place],
3035area[natural],
3036area[man_made] {
3037    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3038}
3039area[landuse=farm],
3040area[landuse=farmland] {
3041    fill-color: farmland#b8e0b1;
3042}
3043area[landuse=meadow] {
3044    fill-color: meadow#b1e0b6;
3045}
3046area[landuse=vineyard],
3047area[landuse=orchard] {
3048    fill-color: green#b1e0c2;
3049}
3050area[landuse=quarry] {
3051    fill-color: quarry#888888;
3052}
3053area[landuse=landfill] {
3054    fill-color: landfill#663300;
3055}
3056area[landuse=basin],
3057area[landuse=reservoir] {
3058    fill-color: basin#0000bf;
3059}
3060area[landuse=forest] {
3061    fill-color: forest#b1efc8;
3062}
3063area[landuse=allotments] {
3064    fill-color: allotments#5dbf80;
3065}
3066area[landuse=greenhouse_horticulture],
3067area[landuse=plant_nursery] {
3068    fill-color: green#b1e0c2;
3069}
3070area[landuse=grass] {
3071    fill-color: grass#97ca96;
3072}
3073area[landuse=residential] {
3074    fill-color: residential#f0f0f0;
3075}
3076area[landuse=garages] {
3077    fill-color: garages#d6c8aa;
3078}
3079area[landuse=farmyard] {
3080    fill-color: farmyard#f0f0f0;
3081}
3082area[landuse=retail],
3083area[landuse=commercial] {
3084    fill-color: retail#ffc4ee;
3085}
3086area[landuse=industrial] {
3087    fill-color: industrial#ecd8ff;
3088}
3089area[landuse=brownfield] {
3090    fill-color: brownfield#ecba32;
3091}
3092area[landuse=greenfield] {
3093    fill-color: greenfield#b1ec5c;
3094}
3095area[landuse=railway] {
3096    fill-color: railland#888888;
3097}
3098area[landuse=construction] {
3099    fill-color: construction#ffff00;
3100}
3101way[landuse=construction] {
3102    width: 1;
3103    color: construction#ffff00;
3104    dashes: 9,9;
3105}
3106area[landuse=military] {
3107    fill-color: military#b62c2c;
3108}
3109area[landuse=religious] {
3110    fill-color: religious#ffd454;
3111}
3112area[landuse=cemetery] {
3113    fill-color: cemetery#b1efc8;
3114}
3115area[landuse=village_green] {
3116    fill-color: green#b1e0c2;
3117}
3118area[landuse=recreation_ground] {
3119    fill-color: green#b1e0c2;
3120}
3121node[landuse] {
3122    icon-image: "misc/deprecated.png";
3123    set icon_z17;
3124    text: auto;
3125}
3126
3127/*****************/
3128/* military tags */
3129/*****************/
3130
3131area[military=airfield],
3132area[military=bunker],
3133area[military=barracks],
3134area[military=danger_area],
3135area[military=range] {
3136    fill-color: military#b62c2c;
3137}
3138node[military=airfield] {
3139    icon-image: "transport/airport/airfield.png";
3140    set icon_z17;
3141    text: auto;
3142}
3143node[military=bunker] {
3144    icon-image: "misc/landmark/bunker.png";
3145    set icon_z17;
3146    text: auto;
3147}
3148node[military=barracks] {
3149    icon-image: "misc/no_icon.png";
3150    set icon_z17;
3151    text: auto;
3152}
3153node[military=danger_area] {
3154    icon-image: "misc/danger.png";
3155    set icon_z17;
3156    text: auto;
3157}
3158node[military=range] {
3159    icon-image: "misc/landmark/range.png";
3160    set icon_z17;
3161    text: auto;
3162}
3163
3164/*************************/
3165/* public_transport tags */
3166/*************************/
3167
3168node[public_transport=stop_position] {
3169    icon-image: "transport/railway_small.png";
3170    set icon_z17;
3171    text: auto;
3172}
3173node[highway=bus_stop] {
3174    icon-image: "transport/bus_small.png";
3175    set icon_z17;
3176    text: auto;
3177}
3178node[public_transport=stop_position][bus=yes] {
3179    icon-image: "transport/bus_small.png";
3180    set icon_z17;
3181    text: auto;
3182}
3183node[public_transport=stop_position][aerial=yes] {
3184    icon-image: "transport/aerialway.png";
3185    set icon_z17;
3186    text: auto;
3187}
3188node[public_transport=stop_position][ferry=yes] {
3189    icon-image: "transport/ferry.png";
3190    set icon_z17;
3191    text: auto;
3192}
3193node[public_transport=stop_position][tram=yes] {
3194    icon-image: "transport/tram.png";
3195    set icon_z17;
3196    text: auto;
3197}
3198node[public_transport=stop_position][train=yes] {
3199    icon-image: "transport/railway_small.png";
3200    set icon_z17;
3201    text: auto;
3202}
3203area[public_transport=platform]:closed {
3204    fill-color: service#809bc0;
3205}
3206way[public_transport=platform]!:closed {
3207    width: 3;
3208    color: service#809bc0;
3209    dashes: 12,3;
3210}
3211node[public_transport=platform] {
3212    icon-image: "transport/bus_small.png";
3213    set icon_z17;
3214    text: auto;
3215}
3216node[public_transport=platform][bus=yes] {
3217    icon-image: "transport/bus_small.png";
3218    set icon_z17;
3219    text: auto;
3220}
3221node[public_transport=platform][aerial=yes] {
3222    icon-image: "transport/aerialway/station.png";
3223    set icon_z17;
3224    text: auto;
3225}
3226node[public_transport=platform][ferry=yes] {
3227    icon-image: "transport/ferry.png";
3228    set icon_z17;
3229    text: auto;
3230}
3231node[public_transport=platform][tram=yes],
3232node[public_transport=platform][train=yes] {
3233    icon-image: "transport/railway_station.png";
3234    set icon_z17;
3235    text: auto;
3236}
3237
3238/****************/
3239/* railway tags */
3240/****************/
3241
3242area[railway=station],
3243area[railway=tram_station],
3244area[railway=subway_entrance] {
3245    fill-color: railwaypoint#f7efb7;
3246}
3247node[railway=station], node[railway=tram_station] {
3248    icon-image: "transport/railway_station.png";
3249    set icon_z17;
3250    text: auto;
3251}
3252node[railway=halt] {
3253    icon-image: "transport/railway_small.png";
3254    set icon_z17;
3255    text: auto;
3256}
3257node[railway=tram_stop] {
3258    icon-image: "transport/tram.png";
3259    set icon_z17;
3260    text: auto;
3261}
3262node[railway=subway_entrance] {
3263    icon-image: "transport/underground.png";
3264    set icon_z17;
3265    text: auto;
3266}
3267node[railway=crossing] {
3268    icon-image: "vehicle/crossing.png";
3269    set icon_z17;
3270    text: auto;
3271}
3272node[railway=level_crossing] {
3273    icon-image: "presets/level_crossing.png";
3274    icon-width: 16;
3275    set icon_z17;
3276    text: auto;
3277}
3278way[railway=rail] {
3279    width: 2;
3280    color: rail#404040;
3281    dashes: 9,9;
3282    dashes-background-color: raildashed#ffffff;
3283}
3284way[railway=rail][service=siding] {
3285    width: 1;
3286}
3287way[railway=rail][service=yard],
3288way[railway=rail][service=spur] {
3289    width: 1;
3290    color: railyard#552200
3291}
3292/* draw tram on top of other way (highway=*) or
3293   as a standalone style */
3294way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3295    object-z-index: 1;
3296    modifier: false; /* don't draw default way if there is no line on default layer */
3297    width: 1;
3298    color: railover#202020;
3299    dashes: 9,9;
3300    casing-width: 1;
3301    casing-color: otherrail#808080;
3302    casing-linecap: round;
3303    casing-dashes: 9,9;
3304}
3305way[railway=light_rail] {
3306    width: 2;
3307    color: otherrail#808080;
3308    dashes: 9,9;
3309}
3310way[railway=subway] {
3311    width: 1;
3312    color: subway#606060;
3313    dashes: 9,9;
3314}
3315way[railway=preserved] {
3316    width: 1;
3317    color: oldrail#404040;
3318    dashes: 9,9;
3319}
3320/* disused often appears together with highway=xy */
3321/* -> draw on separate layer with higher z-index, but use */
3322/* modifier: false; to suppress default line when used alone. */
3323/* use default layer when used without highway=* to display bridge correctly */
3324way[railway=disused][highway]::core_railway,
3325way[railway=disused][!highway],
3326way[railway=abandoned][highway]::core_railway,
3327way[railway=abandoned][!highway] {
3328    width: 1;
3329    modifier: false;
3330    z-index: 1;
3331    color: oldrail#404040;
3332    dashes: 9,9;
3333}
3334way[railway=narrow_gauge],
3335way[railway=monorail] {
3336    width: 1;
3337    color: rail#404040;
3338    dashes: 9,9;
3339}
3340area[railway=turntable] {
3341    fill-color: rail#404040;
3342}
3343node[railway=turntable] {
3344    icon-image: "transport/turntable.png";
3345    set icon_z17;
3346    text: auto;
3347}
3348node[railway=buffer_stop] {
3349    icon-image: "transport/buffer_stop.png";
3350    set icon_z17;
3351    text: auto;
3352}
3353area[railway=platform]:closed {
3354    fill-color: rail#404040;
3355}
3356way[railway=platform] {
3357    width: 2;
3358    color: rail#404040;
3359}
3360way[railway=funicular] {
3361    width: 1;
3362    color: rail#404040;
3363    dashes: 9,9;
3364}
3365node[railway=switch] {
3366    icon-image: "presets/railway_switch.png";
3367    icon-width: 16;
3368    set icon_z17;
3369    text: auto;
3370}
3371node[railway=rail], node[railway=tram], node[railway=light_rail],
3372node[railway=subway], node[railway=preserved],
3373node[railway=disused], node[railway=abandoned],
3374node[railway=narrow_gauge], node[railway=monorail],
3375node[railway=platform], node[railway=funicular],
3376node[service=yard], node[service=siding], node[service=spur] {
3377    icon-image: "misc/deprecated.png";
3378    set icon_z17;
3379    text: auto;
3380}
3381way[railway=construction][!highway] {
3382    width: 1;
3383    color: construction#ffff00;
3384    dashes: 9,9;
3385}
3386way[railway=construction][construction=rail] {
3387    width: 2;
3388    color: rail#404040;
3389    dashes: 9,9;
3390    dashes-background-color: construction#ffff00;
3391}
3392way[railway=construction][construction=light_rail] {
3393    width: 2;
3394}
3395way[railway=construction][construction=tram][highway]::core_railway,
3396way[railway=construction][construction=tram][!highway] {
3397    z-index: 1;
3398    width: 1;
3399    color: railover#202020;
3400    dashes: 9,9;
3401    casing-width: 1;
3402    casing-color: construction#ffff00;
3403    casing-linecap: round;
3404    casing-dashes: 9,9;
3405}
3406
3407/****************/
3408/* aeroway tags */
3409/****************/
3410
3411area[aeroway=aerodrome] {
3412    fill-color: aeroway#660000;
3413    width: 2;
3414    dashes: 9,9;
3415}
3416node[aeroway=aerodrome] {
3417    icon-image: "transport/airport.png";
3418    set icon_z17;
3419    text: auto;
3420}
3421area[aeroway=terminal] {
3422    fill-color: terminal#bb0000;
3423}
3424node[aeroway=terminal] {
3425    icon-image: "transport/airport/terminal.png";
3426    set icon_z17;
3427    text: auto;
3428}
3429area[aeroway=helipad] {
3430    fill-color: aeroway_dark#330000;
3431}
3432node[aeroway=helipad] {
3433    icon-image: "transport/airport/helipad.png";
3434    set icon_z17;
3435    text: auto;
3436}
3437area[aeroway=runway]:closed {
3438    fill-color: aeroway_dark#330000;
3439}
3440way[aeroway=runway] {
3441    width: 3;
3442    color: aeroway_dark#330000;
3443}
3444area[aeroway=taxiway]:closed {
3445    fill-color: aeroway#660000;
3446}
3447way[aeroway=taxiway] {
3448    width: 2;
3449    color: aeroway#660000;
3450}
3451way[aeroway=parking_position] {
3452    width: 1;
3453    color: aeroway#660000;
3454}
3455node[aeroway=parking_position] {
3456    icon-image: "transport/airport/parking_position.png";
3457    set icon_z17;
3458    text: auto;
3459}
3460area[aeroway=apron],
3461area[aeroway=hangar] {
3462    fill-color: aeroway_light#990000;
3463}
3464node[aeroway=apron],
3465node[aeroway=runway],
3466node[aeroway=taxiway] {
3467    icon-image: "misc/deprecated.png";
3468    set icon_z17;
3469    text: auto;
3470}
3471node[aeroway=hangar] {
3472    icon-image: "transport/airport/hangar.png";
3473    set icon_z17;
3474    text: auto;
3475}
3476node[aeroway=gate] {
3477    icon-image: "transport/airport/gate.png";
3478    set icon_z17;
3479    text: auto;
3480}
3481node[aeroway=windsock] {
3482    icon-image: "transport/airport/windsock.png";
3483    set icon_z17;
3484    text: auto;
3485}
3486
3487/******************/
3488/* aerialway tags */
3489/******************/
3490
3491way[aerialway=cable_car],
3492way[aerialway=gondola] {
3493    width: 1;
3494    color: aerialway#663300;
3495    dashes: 9,9;
3496}
3497way[aerialway=chair_lift] {
3498    width: 1;
3499    color: aerialway#663300;
3500    dashes: 6,6;
3501}
3502way[aerialway=mixed_lift] {
3503    width: 1;
3504    color: aerialway#663300;
3505    dashes: 6,6,9,6;
3506}
3507way[aerialway=j-bar],
3508way[aerialway=t-bar],
3509way[aerialway=platter],
3510way[aerialway=rope_tow],
3511way[aerialway=drag_lift] {
3512    width: 1;
3513    color: aerialway#663300;
3514    dashes: 3,3;
3515}
3516way[aerialway=magic_carpet] {
3517    width: 1;
3518    color: aerialway#663300;
3519    dashes: 3,3;
3520}
3521way[aerialway=goods] {
3522    width: 1;
3523    color: aerialway#663300;
3524    dashes: 2,2;
3525}
3526area[aerialway=station] {
3527    fill-color: aerialway#663300;
3528}
3529node[aerialway=station] {
3530    icon-image: "transport/aerialway/station.png";
3531    set icon_z17;
3532    text: auto;
3533}
3534node[aerialway=pylon] {
3535    icon-image: "transport/aerialway/pylon.svg";
3536    set icon_z17;
3537    text: auto;
3538}
3539node[aerialway=cable_car],
3540node[aerialway=gondola],
3541node[aerialway=chair_lift],
3542node[aerialway=mixed_lift],
3543node[aerialway=drag_lift],
3544node[aerialway=t-bar],
3545node[aerialway=j-bar],
3546node[aerialway=platter],
3547node[aerialway=magic_carpet],
3548node[aerialway=rope_tow],
3549node[aerialway=goods] {
3550    icon-image: "misc/deprecated.png";
3551    set icon_z17;
3552    text: auto;
3553}
3554
3555/**************/
3556/* sport tags */
3557/**************/
3558
3559area[sport="9pin"],
3560area[sport="10pin"],
3561area[sport=athletics],
3562area[sport=soccer],
3563area[sport=australian_football],
3564area[sport=american_football],
3565area[sport=canadian_football],
3566area[sport=gaelic_games],
3567area[sport=rugby_league],
3568area[sport=rugby_union] {
3569    fill-color: sport#bde3cb;
3570}
3571node[sport="9pin"] {
3572    icon-image: "sport/10pin.png";
3573    set icon_z17;
3574    text: auto;
3575}
3576node[sport="10pin"] {
3577    icon-image: "sport/10pin.png";
3578    set icon_z17;
3579    text: auto;
3580}
3581node[sport=athletics] {
3582    icon-image: "sport/athletics.png";
3583    set icon_z17;
3584    text: auto;
3585}
3586node[sport=soccer],
3587node[sport=gaelic_games] {
3588    icon-image: "sport/soccer.png";
3589    set icon_z17;
3590    text: auto;
3591}
3592node[sport=australian_football],
3593node[sport=american_football],
3594node[sport=canadian_football],
3595node[sport=rugby_league],
3596node[sport=rugby_union] {
3597    icon-image: "sport/football.png";
3598    set icon_z17;
3599    text: auto;
3600}
3601area[sport=baseball],
3602area[sport=basketball],
3603area[sport=boules],
3604area[sport=bowls],
3605area[sport=canoe],
3606area[sport=chess],
3607area[sport=climbing]:closed,
3608area[sport=cricket],
3609area[sport=cricket_nets],
3610area[sport=croquet] {
3611    fill-color: sport#bde3cb;
3612}
3613node[sport=baseball] {
3614    icon-image: "sport/baseball.png";
3615    set icon_z17;
3616    text: auto;
3617}
3618node[sport=basketball] {
3619    icon-image: "sport/basketball.png";
3620    set icon_z17;
3621    text: auto;
3622}
3623node[sport=boules] {
3624    icon-image: "sport/boule.png";
3625    set icon_z17;
3626    text: auto;
3627}
3628node[sport=bowls] {
3629    icon-image: "sport/boule.png";
3630    set icon_z17;
3631    text: auto;
3632}
3633node[sport=canoe] {
3634    icon-image: "sport/canoe.svg";
3635    set icon_z17;
3636    text: auto;
3637}
3638node[sport=chess] {
3639    icon-image: "sport/chess.png";
3640    set icon_z17;
3641    text: auto;
3642}
3643node[sport=climbing] {
3644    icon-image: "sport/climbing.png";
3645    set icon_z17;
3646    text: auto;
3647}
3648node[sport=cricket] {
3649    icon-image: "sport/cricket.png";
3650    set icon_z17;
3651    text: auto;
3652}
3653node[sport=cricket_nets] {
3654    icon-image: "sport/cricket.png";
3655    set icon_z17;
3656    text: auto;
3657}
3658node[sport=croquet] {
3659    icon-image: "sport/croquet.png";
3660    set icon_z17;
3661    text: auto;
3662}
3663area[sport=cycling],
3664area[sport=dog_racing],
3665area[sport=equestrian],
3666area[sport=golf],
3667area[sport=gymnastics],
3668area[sport=field_hockey],
3669area[sport=ice_hockey],
3670area[sport=horse_racing],
3671area[sport=karting][highway!=raceway],
3672area[sport=karting][highway=raceway][area=yes],
3673area[sport=motocross][highway!=raceway],
3674area[sport=motocross][highway=raceway][area=yes],
3675area[sport=motor][highway!=raceway],
3676area[sport=motor][highway=raceway][area=yes] {
3677    fill-color: sport#bde3cb;
3678}
3679node[sport=cycling] {
3680    icon-image: "sport/cycling.png";
3681    set icon_z17;
3682    text: auto;
3683}
3684node[sport=dog_racing] {
3685    icon-image: "leisure/dog.png";
3686    set icon_z17;
3687    text: auto;
3688}
3689node[sport=equestrian] {
3690    icon-image: "presets/equestrian.png";
3691    icon-width: 16;
3692    set icon_z17;
3693    text: auto;
3694}
3695node[sport=golf] {
3696    icon-image: "sport/golf.svg";
3697    set icon_z17;
3698    text: auto;
3699}
3700node[sport=gymnastics] {
3701    icon-image: "presets/gymnastics.png";
3702    icon-width: 16;
3703    set icon_z17;
3704    text: auto;
3705}
3706node[sport=field_hockey] {
3707    icon-image: "sport/field_hockey.png";
3708    set icon_z17;
3709    text: auto;
3710}
3711node[sport=ice_hockey] {
3712    icon-image: "sport/ice_hockey.png";
3713    set icon_z17;
3714    text: auto;
3715}
3716node[sport=horse_racing] {
3717    icon-image: "sport/riding.png";
3718    set icon_z17;
3719    text: auto;
3720}
3721node[sport=karting] {
3722    icon-image: "sport/karting.png";
3723    set icon_z17;
3724    text: auto;
3725}
3726node[sport=motocross] {
3727    icon-image: "sport/motocross.png";
3728    set icon_z17;
3729    text: auto;
3730}
3731node[sport=motor] {
3732    icon-image: "sport/motor.png";
3733    set icon_z17;
3734    text: auto;
3735}
3736area[sport=multi],
3737area[sport=pelota],
3738area[sport=racquet],
3739area[sport=skating],
3740area[sport=skateboard] {
3741    fill-color: sport#bde3cb;
3742}
3743node[sport=multi] {
3744    icon-image: "sport/multi.png";
3745    set icon_z17;
3746    text: auto;
3747}
3748node[sport=pelota] {
3749    icon-image: "sport/pelota.png";
3750    set icon_z17;
3751    text: auto;
3752}
3753node[sport=racquet] {
3754    icon-image: "sport/racquetball.png";
3755    set icon_z17;
3756    text: auto;
3757}
3758node[sport=skating] {
3759    icon-image: "sport/skating.png";
3760    set icon_z17;
3761    text: auto;
3762}
3763node[sport=skateboard] {
3764    icon-image: "sport/skateboard.png";
3765    set icon_z17;
3766    text: auto;
3767}
3768area[sport=swimming] {
3769    fill-color: swimming_pool#51c4ef;
3770}
3771node[sport=swimming] {
3772    icon-image: "sport/pool.png";
3773    set icon_z17;
3774    text: auto;
3775}
3776area[sport=table_tennis],
3777area[sport=tennis],
3778area[sport=paintball] {
3779    fill-color: sport#bde3cb;
3780}
3781node[sport=table_tennis] {
3782    icon-image: "sport/table_tennis.png";
3783    set icon_z17;
3784    text: auto;
3785}
3786node[sport=tennis] {
3787    icon-image: "sport/tennis.png";
3788    set icon_z17;
3789    text: auto;
3790}
3791node[sport=paintball] {
3792    icon-image: "misc/no_icon.png";
3793    set icon_z17;
3794    text: auto;
3795}
3796area[sport=squash],
3797area[sport=shooting],
3798area[sport=volleyball],
3799area[sport=beachvolleyball],
3800area[sport=bowling],
3801area[sport=handball],
3802area[sport=rowing],
3803area[sport=sailing],
3804area[sport=scuba_diving],
3805area[sport=badminton] {
3806    fill-color: sport#bde3cb;
3807}
3808node[sport=squash] {
3809    icon-image: "misc/no_icon.png";
3810    set icon_z17;
3811    text: auto;
3812}
3813node[sport=shooting] {
3814    icon-image: "presets/range.png";
3815    icon-width: 16;
3816    set icon_z17;
3817    text: auto;
3818}
3819node[sport=volleyball] {
3820    icon-image: "sport/volleyball.png";
3821    set icon_z17;
3822    text: auto;
3823}
3824node[sport=beachvolleyball] {
3825    icon-image: "sport/beachvolleyball.png";
3826    set icon_z17;
3827    text: auto;
3828}
3829node[sport=bowling] {
3830    icon-image: "sport/10pin.png";
3831    set icon_z17;
3832    text: auto;
3833}
3834node[sport=handball] {
3835    icon-image: "sport/handball.png";
3836    set icon_z17;
3837    text: auto;
3838}
3839node[sport=rowing] {
3840    icon-image: "sport/rowing.png";
3841    set icon_z17;
3842    text: auto;
3843}
3844node[sport=sailing] {
3845    icon-image: "misc/no_icon.png";
3846    set icon_z17;
3847    text: auto;
3848}
3849node[sport=scuba_diving] {
3850    icon-image: "sport/scuba_diving.svg";
3851    set icon_z17;
3852    text: auto;
3853}
3854node[sport=badminton] {
3855    icon-image: "misc/no_icon.png";
3856    set icon_z17;
3857    text: auto;
3858}
3859area[sport=archery],
3860area[sport=fishing],
3861area[sport=safety_training],
3862area[sport=model_aerodrome],
3863area[sport=rc_car] {
3864    fill-color: sport#bde3cb;
3865}
3866node[sport=archery] {
3867    icon-image: "sport/archery.png";
3868    set icon_z17;
3869    text: auto;
3870}
3871node[sport=fishing] {
3872    icon-image: "sport/fishing.png";
3873    set icon_z17;
3874    text: auto;
3875}
3876node[sport=safety_training] {
3877    icon-image: "sport/safety_training.png";
3878    set icon_z17;
3879    text: auto;
3880}
3881node[sport=model_aerodrome] {
3882    icon-image: "transport/airport.png";
3883    set icon_z17;
3884    text: auto;
3885}
3886node[sport=rc_car] {
3887    icon-image: "transport/car.png";
3888    set icon_z17;
3889    text: auto;
3890}
3891
3892/****************/
3893/* natural tags */
3894/****************/
3895
3896area[natural=spring] {
3897    fill-color: light_water#00005f;
3898}
3899node[natural=spring] {
3900    icon-image: "misc/landmark/spring.png";
3901    set icon_z17;
3902    text: auto;
3903}
3904node[natural=saddle] {
3905    icon-image: "presets/saddle.svg";
3906    set icon_z0;
3907    text: auto;
3908    set text_z0;
3909}
3910node[natural=peak] {
3911    icon-image: "presets/peak.svg";
3912    set icon_z0;
3913    text: auto;
3914    set text_z0;
3915}
3916node[natural=peak][tourism=viewpoint] {
3917    icon-image: "sightseeing/peak_viewpoint.svg";
3918    set icon_z0;
3919    text: auto;
3920    set text_z0;
3921}
3922area[natural=glacier] {
3923    fill-color: glacier#ffffff;
3924}
3925node[natural=glacier] {
3926    icon-image: "misc/landmark/glacier_small.png";
3927    set icon_z0;
3928    text: auto;
3929    set text_z0;
3930}
3931node[natural=volcano] {
3932    icon-image: "misc/landmark/volcano_small.png";
3933    set icon_z0;
3934    text: auto;
3935    set text_z0;
3936}
3937area[natural=cliff]:closed {
3938    fill-color: natural#002f00;
3939}
3940way[natural=cliff] {
3941    repeat-image: "misc/cliff-pattern.png";
3942    repeat-image-align: top;
3943    width: 1;
3944    color: #b2b2b2;
3945}
3946node[natural=cliff] {
3947    icon-image: "misc/cliff.png";
3948    set icon_z17;
3949    text: auto;
3950}
3951way[natural=ridge] {
3952    width: 1;
3953    color: natural#002f00;
3954}
3955way[natural=valley] {
3956    width: 1;
3957    color: natural#002f00;
3958}
3959area[natural=scree] {
3960    fill-color: natural#002f00;
3961}
3962area[natural=scrub] {
3963    fill-color: scrub#007000;
3964}
3965area[natural=fell] {
3966    fill-color: natural#002f00;
3967}
3968area[natural=heath] {
3969    fill-color: heath#ffffc0;
3970}
3971way[natural=tree_row] {
3972    width: 2;
3973    color: woodarea#008000;
3974}
3975area[natural=wood] {
3976    fill-color: woodarea#008000;
3977}
3978area[natural=grassland] {
3979    fill-color: green#b1e0c2;
3980}
3981area[natural=wetland] {
3982    fill-color: marsh#4f4ff3;
3983}
3984area[natural=water] {
3985    fill-color: water#0000ff;
3986}
3987way[natural=coastline] {
3988    width: 1;
3989    color: water#0000ff;
3990}
3991area[natural=mud] {
3992    fill-color: mud#cba762;
3993}
3994area[natural=beach] {
3995    fill-color: beach#f8dba2;
3996}
3997area[natural=sand] {
3998    fill-color: sand#f8dba2;
3999}
4000area[natural=bare_rock] {
4001    fill-color: bare_rock#f8f8c7;
4002}
4003area[natural=rock] {
4004    fill-color: stone#f8f8c7;
4005}
4006node[natural=rock] {
4007    icon-image: "misc/rock.svg";
4008    set icon_z17;
4009    text: auto;
4010}
4011area[natural=stone] {
4012    fill-color: stone#f8f8c7;
4013}
4014node[natural=stone] {
4015    icon-image: "misc/stone.svg";
4016    set icon_z17;
4017    text: auto;
4018}
4019area[natural=bay],
4020area[natural=cave_entrance] {
4021    fill-color: natural#002f00;
4022}
4023node[natural=bay] {
4024    icon-image: "misc/bay.png";
4025    set icon_z17;
4026    text: auto;
4027}
4028node[natural=cave_entrance] {
4029    icon-image: "misc/landmark/cave_entrance.png";
4030    set icon_z17;
4031    text: auto;
4032}
4033node[natural=tree] {
4034    icon-image: "misc/landmark/trees.png";
4035    set icon_z17;
4036    text: auto;
4037}
4038node[natural=tree][type=conifer],
4039node[natural=tree][leaf_type=needleleaved] {
4040    icon-image: "misc/landmark/trees_conifer.png";
4041    set icon_z17;
4042    text: auto;
4043}
4044node[natural=tree][type=broad_leaved],
4045node[natural=tree][leaf_type=broadleaved] {
4046    icon-image: "misc/landmark/trees_broad_leaved.png";
4047    set icon_z17;
4048    text: auto;
4049}
4050node[natural=tree][type=palm] {
4051    icon-image: "misc/landmark/trees_palm.png";
4052    set icon_z17;
4053    text: auto;
4054}
4055node[natural=scree],
4056node[natural=scrub],
4057node[natural=fell],
4058node[natural=heath],
4059node[natural=tree_row],
4060node[natural=wood],
4061node[natural=grassland],
4062node[natural=wetland],
4063node[natural=water],
4064node[natural=coastline],
4065node[natural=mud],
4066node[natural=beach],
4067node[natural=sand],
4068node[natural=land],
4069node[natural=bare_rock],
4070node[natural=ridge],
4071node[natural=valley] {
4072    icon-image: "misc/deprecated.png";
4073    set icon_z17;
4074    text: auto;
4075}
4076/*****************/
4077/* waterway tags */
4078/*****************/
4079
4080way[waterway=river] {
4081    width: 2;
4082    color: water#0000ff;
4083}
4084area[waterway=riverbank] {
4085    fill-color: riverbank#0000cf;
4086    width: 1;
4087    color: riverbank#0000cf;
4088}
4089way[waterway=canal] {
4090    width: 2;
4091    color: water#0000ff;
4092}
4093way[waterway=stream] {
4094    width: 1;
4095    color: stream#6600cc;
4096}
4097way[waterway=ditch], way[waterway=drain] {
4098    width: 1;
4099    color: water#0000ff;
4100}
4101area[waterway=dock] {
4102    fill-color: dock#0000cf;
4103}
4104node[waterway=dock] {
4105    icon-image: "nautical/boatyard.png";
4106    set icon_z17;
4107    text: auto;
4108}
4109node[waterway=lock_gate] {
4110    icon-image: "nautical/lock_gate.png";
4111    set icon_z17;
4112    text: auto;
4113}
4114node[waterway=turning_point] {
4115    icon-image: "nautical/turning.png";
4116    set icon_z17;
4117    text: auto;
4118}
4119area[waterway=boatyard] {
4120    fill-color: manmade#d8d8d8;
4121}
4122node[waterway=boatyard] {
4123    icon-image: "nautical/boatyard.png";
4124    set icon_z17;
4125    text: auto;
4126}
4127node[waterway=water_point],
4128node[waterway=waste_disposal],
4129node[waterway=mooring] {
4130    icon-image: "misc/deprecated.png";
4131    set icon_z17;
4132    text: auto;
4133}
4134node[mooring] {
4135    icon-image: "nautical/marina.png";
4136    set icon_z17;
4137    text: auto;
4138}
4139area[waterway=fuel] {
4140    fill-color: amenity_traffic#f7efb7;
4141}
4142node[waterway=fuel] {
4143    icon-image: "nautical/marine_fuel.png";
4144    icon-width: 16;
4145    set icon_z17;
4146    text: auto;
4147}
4148way[waterway=weir] {
4149    width: 2;
4150    color: manmade#d8d8d8;
4151}
4152node[waterway=weir] {
4153    icon-image: "nautical/weir.png";
4154    set icon_z17;
4155    text: auto;
4156}
4157area[waterway=dam]:closed {
4158    fill-color: manmade#d8d8d8;
4159}
4160way[waterway=dam] {
4161    width: 2;
4162    color: manmade#d8d8d8;
4163}
4164node[waterway=dam] {
4165    icon-image: "nautical/dam.png";
4166    set icon_z17;
4167    text: auto;
4168}
4169/* it's not possible to have both line and area, line seems more likely */
4170way[waterway=waterfall] {
4171    width: 2;
4172    color: manmade#d8d8d8;
4173}
4174node[waterway=waterfall] {
4175    icon-image: "nautical/waterfall.png";
4176    set icon_z17;
4177    text: auto;
4178}
4179node[waterway=river], node[waterway=riverbank],
4180node[waterway=canal], node[waterway=wadi],
4181node[waterway=stream],
4182node[waterway=ditch], node[waterway=drain] {
4183    icon-image: "misc/deprecated.png";
4184    set icon_z17;
4185    text: auto;
4186}
4187
4188/**************/
4189/* route tags */
4190/**************/
4191
4192way[route=ferry] {
4193    width: 1;
4194    color: ferry#809bc0;
4195    dashes: 9,9;
4196}
4197node[route=bus],
4198node[route=ferry],
4199node[route=flight],
4200node[route=ncn],
4201node[route=subsea],
4202node[route=ski],
4203node[route=tour],
4204node[route=pub_crawl] {
4205    icon-image: "misc/deprecated.png";
4206    set icon_z17;
4207    text: auto;
4208}
4209
4210/*******************/
4211/* properties tags */
4212/*******************/
4213
4214node[mountain_pass?] {
4215    icon-image: "misc/landmark/mountain_pass.png";
4216    set icon_z0;
4217    text: auto;
4218    set text_z0;
4219}
4220
4221/*****************/
4222/* boundary tags */
4223/*****************/
4224
4225way[boundary=protected_area]::core_boundary,
4226way[boundary=administrative]::core_boundary,
4227way[boundary=postal_code]::core_boundary,
4228way[boundary=political]::core_boundary,
4229way[boundary=maritime]::core_boundary,
4230way[boundary=national_park]::core_boundary {
4231    z-index: 2;
4232    modifier: false;
4233    width: 1;
4234    color: boundary#FF6600;
4235    dashes: 9,9;
4236}
4237way[admin_level=9]::core_boundary,
4238relation[admin_level=9] > way::core_boundary,
4239way[admin_level=10]::core_boundary,
4240relation[admin_level=10] > way::core_boundary {
4241    z-index: 2;
4242    modifier: false;
4243    width: 1;
4244    color: boundary#FF6600;
4245    dashes: 9,9;
4246}
4247way[admin_level=7]::core_boundary,
4248relation[admin_level=7] > way::core_boundary,
4249way[admin_level=8]::core_boundary,
4250relation[admin_level=8] > way::core_boundary {
4251    z-index: 2;
4252    modifier: false;
4253    width: 2;
4254    color: boundary#FF6600;
4255    dashes: 9,9;
4256}
4257way[admin_level=5]::core_boundary,
4258relation[admin_level=5] > way::core_boundary,
4259way[admin_level=6]::core_boundary,
4260relation[admin_level=6] > way::core_boundary {
4261    z-index: 2;
4262    modifier: false;
4263    width: 3;
4264    color: boundary#FF6600;
4265    dashes: 9,9;
4266}
4267way[admin_level=3]::core_boundary,
4268relation[admin_level=3] > way::core_boundary,
4269way[admin_level=4]::core_boundary,
4270relation[admin_level=4] > way::core_boundary {
4271    z-index: 2;
4272    modifier: false;
4273    width: 4;
4274    color: boundary#FF6600;
4275    dashes: 9,9;
4276}
4277way[admin_level=1]::core_boundary,
4278relation[admin_level=1] > way::core_boundary,
4279way[admin_level=2]::core_boundary,
4280relation[admin_level=2] > way::core_boundary {
4281    z-index: 2;
4282    modifier: false;
4283    width: 5;
4284    color: boundary#FF6600;
4285    dashes: 9,9;
4286}
4287node[boundary=national],
4288node[boundary=administrative],
4289node[boundary=postal_code],
4290node[boundary=political],
4291node[boundary=national_park] {
4292    icon-image: "misc/deprecated.png";
4293    set icon_z17;
4294    text: auto;
4295}
4296
4297/******************/
4298/* maxspeed nodes */
4299/******************/
4300node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4301    icon-image: "vehicle/restriction/maxspeed_none.svg";
4302    set icon_z17;
4303}
4304node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4305    maxspeedprop: tag(maxspeed);
4306    set maxspeedclass;
4307}
4308node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4309    maxspeedprop: " ?";
4310    set maxspeedclass;
4311}
4312node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4313    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4314    set maxspeedclass;
4315}
4316node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4317    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4318    set maxspeedclass;
4319}
4320node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4321    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4322    set maxspeedclass;
4323}
4324node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4325    /* background (white) */
4326    symbol-shape: circle;
4327    symbol-size: 17;
4328    symbol-fill-color: white;
4329    major-z-index: 4.2;
4330}
4331node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4332node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4333    /* background (black) */
4334    symbol-fill-color: black;
4335}
4336node[prop(maxspeedclass, default)]::core_maxnodefg {
4337    /* foreground (black text and red circle) */
4338    symbol-shape: circle;
4339    symbol-size: 15;
4340    symbol-stroke-color: crimson;
4341    symbol-stroke-width: 2;
4342    text: prop(maxspeedprop, default);
4343    font-size: 8;
4344    font-weight: bold;
4345    text-color: black;
4346    text-anchor-horizontal: center;
4347    text-anchor-vertical: center;
4348    text-offset-x: 0;
4349    text-offset-y: -1;
4350    major-z-index: 4.2;
4351}
4352node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4353node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4354    /* foreground (white text) */
4355    text-color: white;
4356}
4357node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4358    symbol-shape: none;
4359}
4360node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4361    text: none;
4362    symbol-shape: none;
4363}
4364
4365/**************/
4366/* place tags */
4367/**************/
4368
4369/* lot's of "openGeoDB:..." tags can be found in germany */
4370node["openGeoDB:type"=Stadt],
4371node["openGeoDB:type"=Kreis],
4372node["openGeoDB:type"=Gemeinde],
4373node["openGeoDB:type"=Ort],
4374node["openGeoDB:type"=District],
4375node["openGeoDB:location"=locality] {
4376    icon-image: "place/settlement/openGeoDB.png";
4377    set icon_z0;
4378    text: auto;
4379    set text_z0;
4380    font-size: 10;
4381    font-weight: bold;
4382    text-color:black;
4383    text-halo-color: white;
4384    text-halo-radius: 1;
4385}
4386area[place=continent],
4387area[place=country],
4388area[place=state],
4389area[place=region],
4390area[place=county],
4391area[place=city],
4392area[place=town],
4393area[place=village],
4394area[place=hamlet],
4395area[place=farm],
4396area[place=isolated_dwelling],
4397area[place=neighbourhood],
4398area[place=suburb],
4399area[place=locality],
4400area[place=island],
4401area[place=islet] {
4402    fill-color: place#8de3cb;
4403}
4404node[place=continent],
4405node[place=country],
4406node[place=state],
4407node[place=region],
4408node[place=county] {
4409    icon-image: "place/settlement/capital.png";
4410    set icon_z0;
4411    text: auto;
4412    set text_z0;
4413    font-size: 10;
4414    font-weight: bold;
4415    text-color:black;
4416    text-halo-color: white;
4417    text-halo-radius: 1;
4418    z-index: 2.9;
4419}
4420node[place=city] {
4421    icon-image: "place/settlement/city.png";
4422    set icon_z0;
4423    text: auto;
4424    set text_z0;
4425    font-size: 10;
4426    font-weight: bold;
4427    text-color:black;
4428    text-halo-color: white;
4429    text-halo-radius: 1;
4430    z-index: 2.8;
4431}
4432node[place=town] {
4433    icon-image: "place/settlement/town.png";
4434    set icon_z0;
4435    text: auto;
4436    set text_z0;
4437    font-size: 10;
4438    font-weight: bold;
4439    text-color:black;
4440    text-halo-color: white;
4441    text-halo-radius: 1;
4442    z-index: 2.7;
4443}
4444node[place=suburb] {
4445    icon-image: "place/settlement/suburb.png";
4446    set icon_z0;
4447    text: auto;
4448    set text_z0;
4449    font-size: 10;
4450    font-weight: bold;
4451    text-color:black;
4452    text-halo-color: white;
4453    text-halo-radius: 1;
4454    z-index: 2.6;
4455}
4456node[place=village] {
4457    icon-image: "place/settlement/village.png";
4458    set icon_z0;
4459    text: auto;
4460    set text_z0;
4461    font-size: 10;
4462    font-weight: bold;
4463    text-color:black;
4464    text-halo-color: white;
4465    text-halo-radius: 1;
4466    z-index: 2.5;
4467}
4468node[place=neighbourhood] {
4469    icon-image: "place/settlement/neighbourhood.png";
4470    set icon_z0;
4471    text: auto;
4472    set text_z0;
4473    font-size: 10;
4474    font-weight: bold;
4475    text-color:black;
4476    text-halo-color: white;
4477    text-halo-radius: 1;
4478    z-index: 2.4;
4479}
4480node[place=hamlet] {
4481    icon-image: "place/settlement/hamlet.png";
4482    set icon_z0;
4483    text: auto;
4484    set text_z0;
4485    font-size: 10;
4486    font-weight: bold;
4487    text-color:black;
4488    text-halo-color: white;
4489    text-halo-radius: 1;
4490    z-index: 2.3;
4491}
4492node[place=isolated_dwelling] {
4493    icon-image: "place/settlement/isolated_dwelling.png";
4494    set icon_z0;
4495    text: auto;
4496    set text_z0;
4497    font-size: 10;
4498    font-weight: bold;
4499    text-color:black;
4500    text-halo-color: white;
4501    text-halo-radius: 1;
4502    z-index: 2.2;
4503}
4504node[place=farm] {
4505    icon-image: "place/settlement/farm.png";
4506    set icon_z0;
4507    text: auto;
4508    set text_z0;
4509    font-size: 10;
4510    font-weight: bold;
4511    text-color:black;
4512    text-halo-color: white;
4513    text-halo-radius: 1;
4514    z-index: 2.1;
4515}
4516node[place=locality] {
4517    icon-image: "place/locality.png";
4518    set icon_z0;
4519    text: auto;
4520    set text_z0;
4521    font-size: 10;
4522    font-weight: bold;
4523    text-color:black;
4524    text-halo-color: white;
4525    text-halo-radius: 1;
4526}
4527node[place=island] {
4528    icon-image: "place/island.png";
4529    set icon_z0;
4530    text: auto;
4531    set text_z0;
4532    font-size: 10;
4533    font-weight: bold;
4534    text-color:black;
4535    text-halo-color: white;
4536    text-halo-radius: 1;
4537}
4538node[place=islet] {
4539    icon-image: "place/islet.png";
4540    set icon_z0;
4541    text: auto;
4542    set text_z0;
4543    font-size: 10;
4544    font-weight: bold;
4545    text-color:black;
4546    text-halo-color: white;
4547    text-halo-radius: 1;
4548}
4549
4550/***************************/
4551/* "work in progress" tags */
4552/***************************/
4553
4554node|z16-[fixme]::core_fixme,
4555node|z-15[fixme][!setting("hide_icons")]::core_fixme,
4556node|z16-[FIXME]::core_fixme,
4557node|z-15[FIXME][!setting("hide_icons")]::core_fixme {
4558    object-z-index: 20;
4559    icon-image: "misc/fixme-annotation.png";
4560}
4561node|z16-[note]::core_note,
4562node|z-15[note][!setting("hide_icons")]::core_note {
4563    object-z-index: 10;
4564    icon-image: "misc/note-annotation.png";
4565}
4566
4567/* special display of unreviewed tiger data (USA) */
4568way["tiger:reviewed"=no]::core_tiger {
4569    major-z-index: -10;
4570    width: 11;
4571    color: tiger_data#808000;
4572    opacity: 0.6;
4573}
4574
4575/****************************************/
4576/* zoom levels and general node display */
4577/****************************************/
4578
4579/*
4580Summary of different zoom levels:
4581  (any zoom)    place=* and a few natural icons with their text is shown
4582  |z-15         untagged way nodes are hidden completely
4583  |z16-         fixme=* and note=* symbols
4584  |z17-         normal POI icons (without text),
4585                street name along highway=* ways
4586  |z18-         text for normal POI icons is shown
4587 
4588 * text size and node size is adapted according to zoom level (see style source below)
4589 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4590
4591*/
4592
4593node {
4594    text: auto;
4595}
4596node|z-16[setting("hide_icons")],
4597node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4598node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4599    symbol-size: 2;
4600    symbol-shape: square;
4601    symbol-stroke-color: node_standard#ffff00;
4602    major-z-index: 4.95; /* put node squares above line text */
4603}
4604way > node|z-15[setting("shrink_nodes")]!:tagged {
4605    symbol-shape: none;
4606}
4607node:connection {
4608    symbol-stroke-color: node_connection#ffff00;
4609}
4610node:tagged {
4611    symbol-stroke-color: none;
4612    symbol-fill-color: node_tagged#00ffff;
4613}
4614
4615way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4616
4617node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
4618way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
4619node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
4620
4621node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
4622way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
4623node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
4624
4625node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
4626way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
4627node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
4628
4629node[!setting("shrink_nodes")]                  { symbol-size: 4; }
4630way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
4631node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
4632
4633node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4634relation|z-16[type=restriction][setting("hide_icons")] {
4635    icon-image: none;
4636}
4637node|z-17[setting("hide_icons")]!.text_z0 {
4638    text: none;
4639}
4640
4641node|z19,area|z19   { font-size: 9; }
4642node|z20-,area|z20-   { font-size: 10; }
4643
4644/*******************/
4645/* way text labels */
4646/*******************/
4647
4648way|z17-[highway^=motorway][setting("highway_labels")],
4649way|z17-[highway^=trunk][setting("highway_labels")],
4650way|z17-[highway^=primary][setting("highway_labels")],
4651way|z17-[highway^=secondary][setting("highway_labels")],
4652way|z17-[highway^=tertiary][setting("highway_labels")],
4653way|z17-[highway=unclassified][setting("highway_labels")],
4654way|z17-[highway=residential][setting("highway_labels")],
4655way|z17-[highway=living_street][setting("highway_labels")],
4656way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4657way|z17-[highway=service][setting("highway_labels")],
4658way|z17-[highway=track][setting("highway_labels")] {
4659    text: auto;
4660    text-color: black;
4661    font-size: 9;
4662    text-position: line;
4663    text-halo-opacity: 1;
4664    text-halo-radius: 1.5;
4665}
4666way|z17-[highway^=motorway][setting("highway_labels")] {
4667    text-halo-color: motorway#809bc0;
4668}
4669way|z17-[highway^=trunk][setting("highway_labels")] {
4670    text-halo-color: trunk#7fc97f;
4671}
4672way|z17-[highway^=primary][setting("highway_labels")] {
4673    text-halo-color: primary#fb805f;
4674}
4675way|z17-[highway^=secondary][setting("highway_labels")] {
4676    text-halo-color: secondary#fdbf6f;
4677}
4678way|z17-[highway^=tertiary][setting("highway_labels")] {
4679    text-halo-color: tertiary#f7f496;
4680}
4681way|z17-[highway=unclassified][setting("highway_labels")],
4682way|z17-[highway=residential][setting("highway_labels")],
4683way|z17-[highway=living_street][setting("highway_labels")] {
4684    text-halo-color: street#c0c0c0;
4685}
4686way[highway=pedestrian][!area?][setting("highway_labels")] {
4687    text-halo-color: foot#00ff00;
4688}
4689way|z17-[highway=service][setting("highway_labels")] {
4690    text-halo-color: service#809bc0;
4691}
4692way|z17-[highway=track][setting("highway_labels")] {
4693    text-halo-color: highway_track#6e541c;
4694}
4695way|z18[highway][setting("highway_labels")] {
4696    font-size: 10;
4697}
4698way|z19[highway][setting("highway_labels")] {
4699    font-size: 11;
4700}
4701way|z20-[highway][setting("highway_labels")] {
4702    font-size: 12;
4703}
4704
4705/* "deprecated" tags
4706     historic=museum -> tourism=museum
4707     man_made=power_wind -> power=generator and power_source=wind
4708     man_made=power_hydro -> power=generator and power_source=hydro
4709     man_made=power_fossil -> power=generator and power_source=fossil
4710     man_made=power_nuclear -> power=generator and power_source=nuclear
4711     amenity=park_bench -> amenity=bench
4712     amenity=signpost -> information=guidepost
4713     amenity=emergency_phone -> emergency=phone
4714     highway minor - classification now more detailed
4715     highway=stile -> barrier=stile
4716     highway=gate -> barrier=gate
4717     highway=cattle_grid -> barrier=cattle_grid
4718     highway=toll_booth -> barrier=toll_booth
4719     highway=viaduct -> bridge=viaduct
4720     railway=viaduct -> bridge=viaduct
4721     waterway=aqueduct -> bridge=aqueduct
4722     natural=marsh -> natural=wetland
4723     leisure=zoo -> tourism=zoo
4724     power=station -> power=plant or power=sub_station
4725*/
Note: See TracBrowser for help on using the repository browser.