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

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

fix #12081 - display names for all highway types

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