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

Last change on this file since 8428 was 8428, checked in by Klumbumbus, 8 years ago

fix #11471 - add sport=billiards to preset and mappaint style

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