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

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

fix #12043 - hide place fill colour and add a mappaint user setting to display it again.

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