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

Last change on this file since 8504 was 8504, checked in by Klumbumbus, 9 years ago

fix #11464 - display sea side of coastline by blue casing

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