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

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

fix #12372 - add shop=cosmetics and shop=perfumery to preset and mappaint style (icons by zermes), move old icons to nodist folder; see also [o32009]

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