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

Last change on this file since 9009 was 9009, checked in by bastiK, 17 months ago

see #12104 - mappaint: activate "fill areas only around their inner edges"

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