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

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

fix #11223 - remove waterway=wadi and waterway=rapids, update natural=ridge, natural=valley and intermittent=yes

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