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

Last change on this file since 8053 was 8053, checked in by Klumbumbus, 5 years ago

fix #11102 - add shop=medical_supply to our fancy preset and mappaint style

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