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

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

fix graphic glitch (monstrous traffic light) for nodes with highway=traffic_signals and barrier=bollard

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