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

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

see #12296 - add new water and waypoint icons (by zermes), move old icons to nodist folder; see also [o31996]; add warning for traffic_calming=yes; remove power.mapcss test (see #12386)

  • Property svn:eol-style set to native
File size: 112.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_trap.png";
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=tea],
1961area[shop=coffee],
1962area[shop=antiques],
1963area[shop=music],
1964area[shop=funeral_directors],
1965area[shop=wine],
1966area[shop=farm],
1967area[shop=tattoo],
1968area[shop=art],
1969area[shop=bag] {
1970 fill-color: shop#00005f;
1971}
1972node[shop=supermarket] {
1973 icon-image: "shop/supermarket.svg";
1974 set icon_z17;
1975 text: auto;
1976}
1977node[shop=convenience] {
1978 icon-image: "shop/convenience.png";
1979 set icon_z17;
1980 text: auto;
1981}
1982node[shop=bakery] {
1983 icon-image: "shop/groceries/bakery.png";
1984 set icon_z17;
1985 text: auto;
1986}
1987node[shop=butcher] {
1988 icon-image: "shop/groceries/butcher.png";
1989 set icon_z17;
1990 text: auto;
1991}
1992node[shop=bicycle] {
1993 icon-image: "sport/bicycle.png";
1994 set icon_z17;
1995 text: auto;
1996}
1997node[shop=doityourself] {
1998 icon-image: "shop/diy_store.png";
1999 set icon_z17;
2000 text: auto;
2001}
2002node[shop=dry_cleaning],
2003node[shop=laundry] {
2004 icon-image: "shop/laundry.png";
2005 set icon_z17;
2006 text: auto;
2007}
2008node[shop=outdoor] {
2009 icon-image: "shop/outdoor.png";
2010 set icon_z17;
2011 text: auto;
2012}
2013node[shop=kiosk] {
2014 icon-image: "shop/kiosk.png";
2015 set icon_z17;
2016 text: auto;
2017}
2018node[shop=beverages] {
2019 icon-image: "shop/beverages.png";
2020 set icon_z17;
2021 text: auto;
2022}
2023node[shop=alcohol] {
2024 icon-image: "shop/alcohol.png";
2025 set icon_z17;
2026 text: auto;
2027}
2028node[shop=books] {
2029 icon-image: "shop/book.svg";
2030 set icon_z17;
2031 text: auto;
2032}
2033node[shop=boutique] {
2034 icon-image: "shop/boutique.png";
2035 set icon_z17;
2036 text: auto;
2037}
2038node[shop=car],
2039node[shop=car_dealer] {
2040 icon-image: "vehicle.png";
2041 set icon_z17;
2042 text: auto;
2043}
2044node[shop=car_repair] {
2045 icon-image: "vehicle/repair_shop.png";
2046 set icon_z17;
2047 text: auto;
2048}
2049node[shop=tyres] {
2050 icon-image: "vehicle/tyres.png";
2051 set icon_z17;
2052 text: auto;
2053}
2054node[shop=chemist] {
2055 icon-image: "shop/chemist.png";
2056 set icon_z17;
2057 text: auto;
2058}
2059node[shop=tobacco] {
2060 icon-image: "shop/tobacco.svg";
2061 set icon_z17;
2062 text: auto;
2063}
2064node[shop=clothes] {
2065 icon-image: "shop/clothes.png";
2066 set icon_z17;
2067 text: auto;
2068}
2069node[shop=computer] {
2070 icon-image: "shop/computer.png";
2071 set icon_z17;
2072 text: auto;
2073}
2074node[shop=confectionery] {
2075 icon-image: "shop/groceries/confectionery.png";
2076 set icon_z17;
2077 text: auto;
2078}
2079node[shop=copyshop] {
2080 icon-image: "shop/copyshop.png";
2081 set icon_z17;
2082 text: auto;
2083}
2084node[shop=curtain] {
2085 icon-image: "shop/curtain.png";
2086 set icon_z17;
2087 text: auto;
2088}
2089node[shop=cycle_repair] {
2090 icon-image: "sport/bicycle.png";
2091 set icon_z17;
2092 text: auto;
2093}
2094node[shop=department_store] {
2095 icon-image: "shop/mall.png";
2096 set icon_z17;
2097 text: auto;
2098}
2099node[shop=deli] {
2100 icon-image: "shop/groceries/deli.png";
2101 set icon_z17;
2102 text: auto;
2103}
2104node[shop=electronics] {
2105 icon-image: "shop/electronics.png";
2106 set icon_z17;
2107 text: auto;
2108}
2109node[shop=erotic] {
2110 icon-image: "shop/erotic.png";
2111 set icon_z17;
2112 text: auto;
2113}
2114node[shop=furniture] {
2115 icon-image: "shop/furniture.png";
2116 set icon_z17;
2117 text: auto;
2118}
2119node[shop=fabric] {
2120 icon-image: "shop/fabric.png";
2121 set icon_z17;
2122 text: auto;
2123}
2124node[shop=florist] {
2125 icon-image: "shop/florist.png";
2126 set icon_z17;
2127 text: auto;
2128}
2129node[shop=frame] {
2130 icon-image: "shop/frame.png";
2131 set icon_z17;
2132 text: auto;
2133}
2134node[shop=gift] {
2135 icon-image: "presets/present.svg";
2136 set icon_z17;
2137 text: auto;
2138}
2139node[shop=greengrocer] {
2140 icon-image: "shop/groceries/greengrocer.png";
2141 set icon_z17;
2142 text: auto;
2143}
2144node[shop=garden_centre] {
2145 icon-image: "shop/garden_centre.png";
2146 set icon_z17;
2147 text: auto;
2148}
2149node[shop=hairdresser] {
2150 icon-image: "shop/hairdresser.png";
2151 set icon_z17;
2152 text: auto;
2153}
2154node[shop=hardware] {
2155 icon-image: "shop/hardware.png";
2156 set icon_z17;
2157 text: auto;
2158}
2159node[shop=hearing_aids] {
2160 icon-image: "shop/hearing_aids.png";
2161 set icon_z17;
2162 text: auto;
2163}
2164node[shop=hifi] {
2165 icon-image: "shop/hifi.svg";
2166 set icon_z17;
2167 text: auto;
2168}
2169node[shop=jewelry] {
2170 icon-image: "shop/jewelry.png";
2171 set icon_z17;
2172 text: auto;
2173}
2174node[shop=kitchen] {
2175 icon-image: "shop/kitchen.png";
2176 set icon_z17;
2177 text: auto;
2178}
2179node[shop=mall] {
2180 icon-image: "shop/mall.png";
2181 set icon_z17;
2182 text: auto;
2183}
2184node[shop=mobile_phone] {
2185 icon-image: "shop/mobile_phone.png";
2186 set icon_z17;
2187 text: auto;
2188}
2189node[shop=motorcycle] {
2190 icon-image: "vehicle/motorbike.png";
2191 set icon_z17;
2192 text: auto;
2193}
2194node[shop=musical_instrument] {
2195 icon-image: "shop/musical_instrument.png";
2196 set icon_z17;
2197 text: auto;
2198}
2199node[shop=newsagent] {
2200 icon-image: "shop/news.svg";
2201 set icon_z17;
2202 text: auto;
2203}
2204node[shop=optician] {
2205 icon-image: "shop/optician.svg";
2206 set icon_z17;
2207 text: auto;
2208}
2209node[shop=medical_supply] {
2210 icon-image: "shop/medical_supply.svg";
2211 set icon_z17;
2212 text: auto;
2213}
2214node[shop=paint] {
2215 icon-image: "shop/paint.png";
2216 set icon_z17;
2217 text: auto;
2218}
2219node[shop=pawnbroker] {
2220 icon-image: "presets/pawnbroker.svg";
2221 set icon_z17;
2222 text: auto;
2223}
2224node[shop=seafood] {
2225 icon-image: "shop/groceries/seafood.png";
2226 set icon_z17;
2227 text: auto;
2228}
2229node[shop=shoes] {
2230 icon-image: "shop/shoes.png";
2231 set icon_z17;
2232 text: auto;
2233}
2234node[shop=sports] {
2235 icon-image: "sport/multi.png";
2236 set icon_z17;
2237 text: auto;
2238}
2239node[shop=stationery] {
2240 icon-image: "shop/stationery.png";
2241 set icon_z17;
2242 text: auto;
2243}
2244node[shop=tailor] {
2245 icon-image: "shop/tailor.png";
2246 set icon_z17;
2247 text: auto;
2248}
2249node[shop=travel_agency] {
2250 icon-image: "presets/travel.png";
2251 icon-width: 16;
2252 set icon_z17;
2253 text: auto;
2254}
2255node[shop=toys] {
2256 icon-image: "shop/toys.png";
2257 set icon_z17;
2258 text: auto;
2259}
2260node[shop=vacuum_cleaner] {
2261 icon-image: "shop/vacuum_cleaner.png";
2262 set icon_z17;
2263 text: auto;
2264}
2265node[shop=variety_store] {
2266 icon-image: "shop/variety_store.png";
2267 set icon_z17;
2268 text: auto;
2269}
2270node[shop=video] {
2271 icon-image: "shop/video.png";
2272 set icon_z17;
2273 text: auto;
2274}
2275node[shop=bookmaker] {
2276 icon-image: "presets/lottery.svg";
2277 set icon_z17;
2278 text: auto;
2279}
2280node[shop=lottery] {
2281 icon-image: "presets/lottery.svg";
2282 set icon_z17;
2283 text: auto;
2284}
2285/* duplicate of shopping_centre? */
2286node[shop=shopping_centre] {
2287 icon-image: "shop/mall.png";
2288 set icon_z17;
2289 text: auto;
2290}
2291node[shop=pet] {
2292 icon-image: "shop/pet.svg";
2293 set icon_z17;
2294 text: auto;
2295}
2296node[shop=photo] {
2297 icon-image: "shop/photo.svg";
2298 set icon_z17;
2299 text: auto;
2300}
2301node[shop=ticket] {
2302 icon-image: "shop/ticket.svg";
2303 set icon_z17;
2304 text: auto;
2305}
2306node[shop=interior_decoration] {
2307 icon-image: "shop/interior_decoration.svg";
2308 set icon_z17;
2309 text: auto;
2310}
2311node[shop=car_parts] {
2312 icon-image: "vehicle/car_parts.svg";
2313 set icon_z17;
2314 text: auto;
2315}
2316node[shop=video_games] {
2317 icon-image: "shop/video_games.png";
2318 set icon_z17;
2319 text: auto;
2320}
2321node[shop=bed] {
2322 icon-image: "shop/bed.svg";
2323 set icon_z17;
2324 text: auto;
2325}
2326node[shop=beauty] {
2327 icon-image: "shop/beauty.svg";
2328 set icon_z17;
2329 text: auto;
2330}
2331node[shop=tea] {
2332 icon-image: "shop/groceries/tea.svg";
2333 set icon_z17;
2334 text: auto;
2335}
2336node[shop=coffee] {
2337 icon-image: "shop/groceries/coffee.svg";
2338 set icon_z17;
2339 text: auto;
2340}
2341node[shop=antiques] {
2342 icon-image: "shop/antique.svg";
2343 set icon_z17;
2344 text: auto;
2345}
2346node[shop=music] {
2347 icon-image: "shop/music.svg";
2348 set icon_z17;
2349 text: auto;
2350}
2351node[shop=funeral_directors] {
2352 icon-image: "shop/funeral_directors.svg";
2353 set icon_z17;
2354 text: auto;
2355}
2356node[shop=wine] {
2357 icon-image: "shop/wine.svg";
2358 set icon_z17;
2359 text: auto;
2360}
2361node[shop=farm] {
2362 icon-image: "presets/apple.png";
2363 set icon_z17;
2364 text: auto;
2365}
2366node[shop=tattoo] {
2367 icon-image: "shop/tattoo.svg";
2368 set icon_z17;
2369 text: auto;
2370}
2371node[shop=art] {
2372 icon-image: "shop/art.svg";
2373 set icon_z17;
2374 text: auto;
2375}
2376node[shop=bag] {
2377 icon-image: "shop/bag.svg";
2378 set icon_z17;
2379 text: auto;
2380}
2381
2382/****************/
2383/* amenity tags */
2384/****************/
2385
2386area[amenity=pub],
2387area[amenity=biergarten],
2388area[amenity=nightclub],
2389area[amenity=stripclub],
2390area[amenity=casino],
2391area[amenity=brothel],
2392area[amenity=cafe],
2393area[amenity=restaurant],
2394area[amenity=food_court],
2395area[amenity=fast_food],
2396area[amenity=bar],
2397area[amenity=ice_cream] {
2398 fill-color: amenity#ecba52;
2399}
2400node[amenity=pub] {
2401 icon-image: "food/pub.png";
2402 set icon_z17;
2403 text: auto;
2404}
2405node[amenity=biergarten] {
2406 icon-image: "food/biergarten.png";
2407 set icon_z17;
2408 text: auto;
2409}
2410node[amenity=nightclub] {
2411 icon-image: "leisure/discoball.svg";
2412 set icon_z17;
2413 text: auto;
2414}
2415node[amenity=stripclub] {
2416 icon-image: "leisure/nightclub.png";
2417 set icon_z17;
2418 text: auto;
2419}
2420node[amenity=casino] {
2421 icon-image: "leisure/casino.svg";
2422 set icon_z17;
2423 text: auto;
2424}
2425node[amenity=brothel] {
2426 icon-image: "leisure/stripclub.png";
2427 set icon_z17;
2428 text: auto;
2429}
2430node[amenity=cafe] {
2431 icon-image: "food/cafe.png";
2432 set icon_z17;
2433 text: auto;
2434}
2435node[amenity=restaurant] {
2436 icon-image: "food/restaurant.svg";
2437 set icon_z17;
2438 text: auto;
2439}
2440node[amenity=food_court] {
2441 icon-image: "food/restaurant.png";
2442 set icon_z17;
2443 text: auto;
2444}
2445node[amenity=fast_food] {
2446 icon-image: "food/fastfood.png";
2447 set icon_z17;
2448 text: auto;
2449}
2450node[amenity=bar] {
2451 icon-image: "food/bar.png";
2452 set icon_z17;
2453 text: auto;
2454}
2455node[amenity=ice_cream] {
2456 icon-image: "food/icecream.png";
2457 set icon_z17;
2458 text: auto;
2459}
2460area[amenity=bicycle_parking]:closed {
2461 fill-color: amenity_traffic#f7efb7;
2462}
2463way[amenity=bicycle_parking] {
2464 width: 2;
2465 color: amenity_traffic#f7efb7;
2466}
2467area[amenity=parking_space],
2468area[amenity=parking],
2469area[amenity=motorcycle_parking],
2470area[amenity=bicycle_rental],
2471area[amenity=bicycle_repair_station],
2472area[amenity=car_rental],
2473area[amenity=car_sharing],
2474area[amenity=car_wash],
2475area[amenity=taxi],
2476area[amenity=fuel] {
2477 fill-color: amenity_traffic#f7efb7;
2478}
2479node[amenity=parking_space] {
2480 icon-image: "vehicle/parking/parking_space.svg";
2481 set icon_z17;
2482 text: auto;
2483}
2484node[amenity=parking] {
2485 icon-image: "vehicle/parking.png";
2486 set icon_z17;
2487 text: auto;
2488}
2489node[amenity=parking_entrance] {
2490 icon-image: "vehicle/parking.png";
2491 set icon_z17;
2492 text: auto;
2493}
2494node[amenity=parking_entrance][parking=multi-storey],
2495node[amenity=parking][parking=multi-storey] {
2496 icon-image: "vehicle/parking/multi-storey.png";
2497 set icon_z17;
2498 text: auto;
2499}
2500node[amenity=parking_entrance][parking=underground],
2501node[amenity=parking][parking=underground] {
2502 icon-image: "vehicle/parking/underground.png";
2503 set icon_z17;
2504 text: auto;
2505}
2506node[amenity=motorcycle_parking] {
2507 icon-image: "vehicle/parking/motorbike.png";
2508 set icon_z17;
2509 text: auto;
2510}
2511node[amenity=bicycle_parking] {
2512 icon-image: "vehicle/parking/bicycle.png";
2513 set icon_z17;
2514 text: auto;
2515}
2516node[park_ride][park_ride!=no] {
2517 icon-image: "vehicle/parking/park_ride.svg";
2518 set icon_z17;
2519 text: auto;
2520}
2521node[amenity=parking_space][wheelchair?] {
2522 icon-image: "vehicle/parking/handicapped.png";
2523 set icon_z17;
2524 text: auto;
2525}
2526node[amenity=bicycle_rental] {
2527 icon-image: "vehicle/rental/bicycle.png";
2528 set icon_z17;
2529 text: auto;
2530}
2531node[amenity=bicycle_repair_station] {
2532 icon-image: "vehicle/bicycle_repair_station.svg";
2533 set icon_z17;
2534 text: auto;
2535}
2536node[amenity=car_rental] {
2537 icon-image: "vehicle/rental/car.png";
2538 set icon_z17;
2539 text: auto;
2540}
2541node[amenity=car_sharing] {
2542 icon-image: "vehicle/car_sharing.png";
2543 set icon_z17;
2544 text: auto;
2545}
2546node[amenity=car_wash] {
2547 icon-image: "vehicle/car_wash.png";
2548 set icon_z17;
2549 text: auto;
2550}
2551node[amenity=taxi] {
2552 icon-image: "transport/taxi.png";
2553 set icon_z17;
2554 text: auto;
2555}
2556node[amenity=fuel] {
2557 icon-image: "vehicle/fuel.png";
2558 set icon_z17;
2559 text: auto;
2560}
2561node[amenity=charging_station] {
2562 icon-image: "vehicle/fuel/charging_station.png";
2563 set icon_z17;
2564 text: auto;
2565}
2566node[amenity=grit_bin] {
2567 icon-image: "misc/grit_bin.svg";
2568 set icon_z17;
2569 text: auto;
2570}
2571node[amenity=telephone] {
2572 icon-image: "service/telephone.png";
2573 set icon_z17;
2574 text: auto;
2575}
2576node[amenity=clock] {
2577 icon-image: "service/clock.svg";
2578 set icon_z17;
2579 text: auto;
2580}
2581area[amenity=toilets],
2582area[amenity=shower],
2583area[amenity=recycling],
2584area[amenity=sanitary_dump_station] {
2585 fill-color: amenity_light#f7efb7;
2586}
2587node[emergency=phone] {
2588 icon-image: "vehicle/emergency_phone.png";
2589 set icon_z17;
2590 text: auto;
2591}
2592node[emergency=defibrillator] {
2593 icon-image: "presets/aed.svg";
2594 set icon_z17;
2595 text: auto;
2596}
2597node[amenity=toilets] {
2598 icon-image: "service/toilets.png";
2599 set icon_z17;
2600 text: auto;
2601}
2602node[amenity=shower] {
2603 icon-image: "service/shower.svg";
2604 set icon_z17;
2605 text: auto;
2606}
2607node[amenity=recycling] {
2608 icon-image: "service/recycling/recycling.svg";
2609 set icon_z17;
2610 text: auto;
2611}
2612node[amenity=recycling][recycling_type=container] {
2613 icon-image: "service/recycling/recycling_container.svg";
2614}
2615node[amenity=recycling][recycling_type=centre] {
2616 icon-image: "service/recycling/recycling_centre.svg";
2617}
2618node[amenity=waste_basket] {
2619 icon-image: "service/recycling/trash-bin.png";
2620 set icon_z17;
2621 text: auto;
2622}
2623node[amenity=waste_disposal] {
2624 icon-image: "service/recycling/waste_disposal.png";
2625 set icon_z17;
2626 text: auto;
2627}
2628node[amenity=sanitary_dump_station] {
2629 icon-image: "service/recycling/sanitary_dump_station.svg";
2630 set icon_z17;
2631 text: auto;
2632}
2633area[amenity=public_building],
2634area[amenity=townhall],
2635area[amenity=embassy],
2636area[amenity=community_centre] {
2637 fill-color: amenity_light#f7efb7;
2638}
2639node[amenity=public_building] {
2640 icon-image: "service.png";
2641 set icon_z17;
2642 text: auto;
2643}
2644node[amenity=townhall] {
2645 icon-image: "presets/townhall.png";
2646 set icon_z17;
2647 text: auto;
2648}
2649node[amenity=embassy] {
2650 icon-image: "service/administration/embassy.png";
2651 set icon_z17;
2652 text: auto;
2653}
2654node[amenity=community_centre] {
2655 icon-image: "service/community_centre.png";
2656 set icon_z17;
2657 text: auto;
2658}
2659area[amenity=water_point],
2660area[amenity=fountain] {
2661 fill-color: light_water#00005f;
2662}
2663node[amenity=drinking_water] {
2664 icon-image: "food/drinking_water.png";
2665 set icon_z17;
2666 text: auto;
2667}
2668node[amenity=water_point] {
2669 icon-image: "accommodation/camping/water.png";
2670 set icon_z17;
2671 text: auto;
2672}
2673node[amenity=fountain] {
2674 icon-image: "misc/fountain.png";
2675 set icon_z17;
2676 text: auto;
2677}
2678area[amenity=place_of_worship],
2679area[amenity=grave_yard],
2680area[amenity=crematorium],
2681area[amenity=post_office],
2682area[amenity=studio],
2683area[amenity=school],
2684area[amenity=university],
2685area[amenity=college],
2686area[amenity=kindergarten],
2687area[amenity=driving_school] {
2688 fill-color: amenity_light#f7efb7;
2689}
2690node[amenity=place_of_worship] {
2691 icon-image: "religion.png";
2692 set icon_z17;
2693 text: auto;
2694}
2695node[amenity=place_of_worship][religion=bahai] {
2696 icon-image: "religion/bahai.png";
2697 set icon_z17;
2698 text: auto;
2699}
2700node[amenity=place_of_worship][religion=buddhist] {
2701 icon-image: "religion/buddhism.png";
2702 set icon_z17;
2703 text: auto;
2704}
2705node[amenity=place_of_worship][religion=christian] {
2706 icon-image: "religion/church.png";
2707 set icon_z17;
2708 text: auto;
2709}
2710node[amenity=place_of_worship][religion=hindu] {
2711 icon-image: "religion/hinduism.png";
2712 set icon_z17;
2713 text: auto;
2714}
2715node[amenity=place_of_worship][religion=jain] {
2716 icon-image: "religion/jainism.png";
2717 set icon_z17;
2718 text: auto;
2719}
2720node[amenity=place_of_worship][religion=jewish] {
2721 icon-image: "religion/jewish.png";
2722 set icon_z17;
2723 text: auto;
2724}
2725node[amenity=place_of_worship][religion=muslim] {
2726 icon-image: "religion/muslim.png";
2727 set icon_z17;
2728 text: auto;
2729}
2730node[amenity=place_of_worship][religion=sikh] {
2731 icon-image: "religion/sikhism.png";
2732 set icon_z17;
2733 text: auto;
2734}
2735node[amenity=place_of_worship][religion=shinto] {
2736 icon-image: "religion/shinto.png";
2737 set icon_z17;
2738 text: auto;
2739}
2740node[amenity=place_of_worship][religion=spiritualist] {
2741 icon-image: "misc/no_icon.png";
2742 set icon_z17;
2743 text: auto;
2744}
2745node[amenity=place_of_worship][religion=taoist] {
2746 icon-image: "religion/taoism.png";
2747 set icon_z17;
2748 text: auto;
2749}
2750node[amenity=place_of_worship][religion=unitarian] {
2751 icon-image: "misc/no_icon.png";
2752 set icon_z17;
2753 text: auto;
2754}
2755node[amenity=place_of_worship][religion=zoroastrian] {
2756 icon-image: "misc/no_icon.png";
2757 set icon_z17;
2758 text: auto;
2759}
2760node[amenity=grave_yard] {
2761 icon-image: "rendering/landuse/cemetery.png";
2762 set icon_z17;
2763 text: auto;
2764}
2765node[amenity=crematorium] {
2766 icon-image: "misc/no_icon.png";
2767 set icon_z17;
2768 text: auto;
2769}
2770node[amenity=post_office] {
2771 icon-image: "service/post_office.png";
2772 set icon_z17;
2773 text: auto;
2774}
2775node[amenity=post_box] {
2776 icon-image: "service/post_box.png";
2777 set icon_z17;
2778 text: auto;
2779}
2780node[amenity=studio] {
2781 icon-image: "service/studio.png";
2782 set icon_z17;
2783 text: auto;
2784}
2785node[amenity=school] {
2786 icon-image: "education/school.png";
2787 set icon_z17;
2788 text: auto;
2789}
2790node[amenity=university] {
2791 icon-image: "education/university.png";
2792 set icon_z17;
2793 text: auto;
2794}
2795node[amenity=college] {
2796 icon-image: "education/college.png";
2797 set icon_z17;
2798 text: auto;
2799}
2800node[amenity=kindergarten] {
2801 icon-image: "education/kindergarten.png";
2802 set icon_z17;
2803 text: auto;
2804}
2805node[amenity=driving_school] {
2806 icon-image: "education/driving_school.png";
2807 set icon_z17;
2808 text: auto;
2809}
2810area[amenity=pharmacy],
2811area[amenity=hospital],
2812area[amenity=clinic],
2813area[amenity=nursing_home],
2814area[amenity=social_facility],
2815area[amenity=baby_hatch],
2816area[amenity=doctors],
2817area[amenity=dentist],
2818area[amenity=veterinary] {
2819 fill-color: health#eeeeee;
2820}
2821node[amenity=pharmacy] {
2822 icon-image: "health/pharmacy.svg";
2823 set icon_z17;
2824 text: auto;
2825}
2826node[amenity=hospital] {
2827 icon-image: "health/hospital.svg";
2828 set icon_z17;
2829 text: auto;
2830}
2831node[amenity=clinic] {
2832 icon-image: "health/clinic.svg";
2833 set icon_z17;
2834 text: auto;
2835}
2836node[amenity=nursing_home] {
2837 icon-image: "social_facility/nursing_home.svg";
2838 set icon_z17;
2839 text: auto;
2840}
2841node[amenity=social_facility][social_facility=group_home] {
2842 icon-image: "social_facility/group_home.svg";
2843 set icon_z17;
2844 text: auto;
2845}
2846node[amenity=social_facility][social_facility=assisted_living] {
2847 icon-image: "social_facility/assisted_living.svg";
2848 set icon_z17;
2849 text: auto;
2850}
2851node[amenity=social_facility][social_facility=outreach] {
2852 icon-image: "social_facility/outreach.svg";
2853 set icon_z17;
2854 text: auto;
2855}
2856node[amenity=social_facility][social_facility=shelter] {
2857 icon-image: "social_facility/shelter.svg";
2858 set icon_z17;
2859 text: auto;
2860}
2861node[amenity=social_facility][social_facility=food_bank] {
2862 icon-image: "social_facility/food_bank.svg";
2863 set icon_z17;
2864 text: auto;
2865}
2866node[amenity=baby_hatch] {
2867 icon-image: "health/baby_hatch.svg";
2868 set icon_z17;
2869 text: auto;
2870}
2871node[amenity=doctors] {
2872 icon-image: "health/doctors.svg";
2873 set icon_z17;
2874 text: auto;
2875}
2876node[amenity=dentist] {
2877 icon-image: "health/dentist.svg";
2878 set icon_z17;
2879 text: auto;
2880}
2881node[amenity=veterinary] {
2882 icon-image: "health/veterinary.svg";
2883 set icon_z17;
2884 text: auto;
2885}
2886area[amenity=library],
2887area[amenity=police],
2888area[amenity=ranger_station],
2889area[amenity=fire_station],
2890area[amenity=bus_station],
2891area[amenity=ferry_terminal],
2892area[amenity=theatre],
2893area[amenity=cinema],
2894area[amenity=arts_centre],
2895area[amenity=courthouse],
2896area[amenity=prison],
2897area[amenity=bank],
2898area[amenity=bureau_de_change],
2899area[amenity=bbq] {
2900 fill-color: amenity_light#f7efb7;
2901}
2902node[amenity=library] {
2903 icon-image: "shop/library.png";
2904 set icon_z17;
2905 text: auto;
2906}
2907node[amenity=police] {
2908 icon-image: "service/police.png";
2909 set icon_z17;
2910 text: auto;
2911}
2912node[amenity=ranger_station] {
2913 icon-image: "service/ranger_station.svg";
2914 set icon_z17;
2915 text: auto;
2916}
2917node[amenity=fire_station] {
2918 icon-image: "service/firebrigade.png";
2919 set icon_z17;
2920 text: auto;
2921}
2922node[amenity=bus_station] {
2923 icon-image: "transport/bus.png";
2924 set icon_z17;
2925 text: auto;
2926}
2927node[amenity=ferry_terminal] {
2928 icon-image: "nautical/ferry.png";
2929 icon-width: 16;
2930 set icon_z17;
2931 text: auto;
2932}
2933node[amenity=theatre] {
2934 icon-image: "presets/theater.png";
2935 icon-width: 16;
2936 set icon_z17;
2937 text: auto;
2938}
2939node[amenity=cinema] {
2940 icon-image: "leisure/cinema.png";
2941 set icon_z17;
2942 text: auto;
2943}
2944node[amenity=arts_centre] {
2945 icon-image: "service/arts_centre.png";
2946 set icon_z17;
2947 text: auto;
2948}
2949node[amenity=courthouse] {
2950 icon-image: "service/administration/courthouse.svg";
2951 set icon_z17;
2952 text: auto;
2953}
2954node[amenity=prison] {
2955 icon-image: "service/administration/prison.svg";
2956 set icon_z17;
2957 text: auto;
2958}
2959node[amenity=bank] {
2960 icon-image: "money/bank.png";
2961 set icon_z17;
2962 text: auto;
2963}
2964node[amenity=bureau_de_change] {
2965 icon-image: "money/exchange.png";
2966 set icon_z17;
2967 text: auto;
2968}
2969node[amenity=atm] {
2970 icon-image: "money/atm.png";
2971 set icon_z17;
2972 text: auto;
2973}
2974way[amenity=bench] {
2975 width: 2;
2976 color: amenity_light#f7efb7;
2977}
2978node[amenity=bench] {
2979 icon-image: "leisure/bench.png";
2980 set icon_z17;
2981 text: auto;
2982}
2983node[amenity=bbq] {
2984 icon-image: "leisure/bbq.png";
2985 set icon_z17;
2986 text: auto;
2987}
2988node[emergency=fire_hydrant] {
2989 icon-image: "service/fire_hydrant.png";
2990 set icon_z17;
2991 text: auto;
2992}
2993node[amenity=compressed_air] {
2994 icon-image: "vehicle/compressed_air.svg";
2995 set icon_z17;
2996 text: auto;
2997}
2998area[amenity=shelter],
2999area[amenity=marketplace],
3000area[amenity=wlan] {
3001 fill-color: amenity_light#f7efb7;
3002}
3003node[amenity=shelter] {
3004 icon-image: "accommodation/shelter.png";
3005 set icon_z17;
3006 text: auto;
3007}
3008node[amenity=shelter][shelter_type=public_transport] {
3009 icon-image: "accommodation/shelter_public_transport_brown.png";
3010 set icon_z17;
3011 text: auto;
3012}
3013node[amenity=shelter][shelter_type=picnic_shelter] {
3014 icon-image: "accommodation/shelter_picnic_brown.png";
3015 set icon_z17;
3016 text: auto;
3017}
3018node[amenity=shelter][shelter_type=basic_hut] {
3019 icon-image: "accommodation/basic_hut_blue.png";
3020 set icon_z17;
3021 text: auto;
3022}
3023node[amenity=shelter][shelter_type=lean_to] {
3024 icon-image: "accommodation/shelter_lean_to.svg";
3025 set icon_z17;
3026 text: auto;
3027}
3028node[amenity=hunting_stand] {
3029 icon-image: "hunting_stand.png";
3030 set icon_z17;
3031 text: auto;
3032}
3033node[amenity=marketplace] {
3034 icon-image: "place/marketplace.png";
3035 set icon_z17;
3036 text: auto;
3037}
3038node[amenity=wlan] {
3039 icon-image: "wlan.png";
3040 set icon_z17;
3041 text: auto;
3042}
3043node[amenity=vending_machine] {
3044 icon-image: "transport/ticket-machine.png";
3045 set icon_z17;
3046}
3047node[vending=excrement_bags] {
3048 icon-image: "service/excrement_bags.png";
3049 set icon_z17;
3050 text: auto;
3051}
3052
3053/**************/
3054/* craft tags */
3055/**************/
3056
3057area[craft=painter],
3058area[craft=plumber],
3059area[craft=pottery],
3060area[craft=stonemason],
3061area[craft=tiler],
3062area[craft=window_construction] {
3063 fill-color: craft#999900;
3064}
3065node[craft=painter] {
3066 icon-image: "craft/painter.png";
3067 set icon_z17;
3068 text: auto;
3069}
3070node[craft=plumber] {
3071 icon-image: "craft/plumber.png";
3072 set icon_z17;
3073 text: auto;
3074}
3075node[craft=pottery] {
3076 icon-image: "craft/pottery.png";
3077 set icon_z17;
3078 text: auto;
3079}
3080node[craft=stonemason] {
3081 icon-image: "craft/stonemason.png";
3082 set icon_z17;
3083 text: auto;
3084}
3085node[craft=tiler] {
3086 icon-image: "craft/tiler.png";
3087 set icon_z17;
3088 text: auto;
3089}
3090node[craft=window_construction] {
3091 icon-image: "craft/window_construction.png";
3092 set icon_z17;
3093 text: auto;
3094}
3095
3096/****************/
3097/* tourism tags */
3098/****************/
3099
3100area[tourism=hotel],
3101area[tourism=motel],
3102area[tourism=guest_house],
3103area[tourism=hostel],
3104area[tourism=chalet],
3105area[tourism=alpine_hut],
3106area[tourism=wilderness_hut],
3107area[tourism=camp_site],
3108area[tourism=caravan_site] {
3109 fill-color: hotel#feced0;
3110}
3111node[tourism=hotel] {
3112 icon-image: "accommodation/hotel.svg";
3113 set icon_z17;
3114 text: auto;
3115}
3116node[tourism=motel] {
3117 icon-image: "accommodation/motel.svg";
3118 set icon_z17;
3119 text: auto;
3120}
3121node[tourism=guest_house] {
3122 icon-image: "accommodation/guest_house.png";
3123 set icon_z17;
3124 text: auto;
3125}
3126node[tourism=hostel] {
3127 icon-image: "accommodation/hostel.svg";
3128 set icon_z17;
3129 text: auto;
3130}
3131node[tourism=chalet] {
3132 icon-image: "accommodation/chalet.png";
3133 set icon_z17;
3134 text: auto;
3135}
3136node[tourism=alpine_hut] {
3137 icon-image: "accommodation/alpine_hut_blue.png";
3138 set icon_z17;
3139 text: auto;
3140}
3141node[tourism=wilderness_hut] {
3142 icon-image: "accommodation/wilderness_hut_blue.png";
3143 set icon_z17;
3144 text: auto;
3145}
3146node[tourism=camp_site] {
3147 icon-image: "accommodation/camping.png";
3148 set icon_z17;
3149 text: auto;
3150}
3151node[tourism=caravan_site] {
3152 icon-image: "accommodation/camping/caravan.png";
3153 set icon_z17;
3154 text: auto;
3155}
3156area[tourism=picnic_site],
3157area[tourism=viewpoint],
3158area[tourism=theme_park],
3159area[tourism=attraction],
3160area[tourism=zoo],
3161area[tourism=museum] {
3162 fill-color: tourism#e180a2;
3163}
3164node[tourism=picnic_site] {
3165 icon-image: "leisure/picnic.png";
3166 set icon_z17;
3167 text: auto;
3168}
3169node[tourism=viewpoint] {
3170 icon-image: "sightseeing/viewpoint.png";
3171 set icon_z17;
3172 text: auto;
3173}
3174node[tourism=theme_park] {
3175 icon-image: "leisure/theme_park.png";
3176 set icon_z17;
3177 text: auto;
3178}
3179node[tourism=attraction] {
3180 icon-image: "sightseeing.png";
3181 set icon_z17;
3182 text: auto;
3183}
3184node[tourism=zoo] {
3185 icon-image: "leisure/zoo.png";
3186 set icon_z17;
3187 text: auto;
3188}
3189area[tourism=artwork]:closed {
3190 fill-color: tourism#e180a2;
3191}
3192way[tourism=artwork] {
3193 width: 2;
3194 color: tourism#e180a2;
3195}
3196node[tourism=artwork] {
3197 icon-image: "service/arts_centre.png";
3198 set icon_z17;
3199 text: auto;
3200}
3201node[tourism=museum] {
3202 icon-image: "sightseeing/museum.svg";
3203 set icon_z17;
3204 text: auto;
3205}
3206
3207/********************/
3208/* information tags */
3209/********************/
3210
3211area[tourism=information] {
3212 fill-color: tourism#e180a2;
3213}
3214node[tourism=information] {
3215 icon-image: "misc/information.png";
3216 set icon_z17;
3217 text: auto;
3218}
3219node[tourism=information][information=guidepost] {
3220 icon-image: "misc/information/guidepost.png";
3221 set icon_z17;
3222 text: auto;
3223}
3224area[tourism=information][information=office] {
3225 fill-color: tourism#e180a2;
3226}
3227node[tourism=information][information=office] {
3228 icon-image: "misc/information/informationoffice.png";
3229 set icon_z17;
3230 text: auto;
3231}
3232node[tourism=information][information=map] {
3233 icon-image: "misc/information/map.png";
3234 set icon_z17;
3235 text: auto;
3236}
3237node[tourism=information][information=board] {
3238 icon-image: "misc/information/board.png";
3239 set icon_z17;
3240 text: auto;
3241}
3242
3243/*****************/
3244/* historic tags */
3245/*****************/
3246
3247area[historic=castle],
3248area[historic=monument],
3249area[historic=memorial],
3250area[historic=archaeological_site],
3251area[historic=ruins],
3252area[historic=battlefield],
3253area[geological=palaeontological_site],
3254area[historic=wayside_cross],
3255area[historic=wayside_shrine],
3256area[historic=boundary_stone] {
3257 fill-color: historic#663300;
3258}
3259node[historic=castle] {
3260 icon-image: "sightseeing/castle.svg";
3261 set icon_z17;
3262 text: auto;
3263}
3264node[historic=monument] {
3265 icon-image: "sightseeing/monument.png";
3266 set icon_z17;
3267 text: auto;
3268}
3269node[historic=memorial] {
3270 icon-image: "sightseeing/memorial.png";
3271 set icon_z17;
3272 text: auto;
3273}
3274node[historic=archaeological_site] {
3275 icon-image: "sightseeing/archaeological.png";
3276 set icon_z17;
3277 text: auto;
3278}
3279node[historic=ruins] {
3280 icon-image: "sightseeing/ruins.png";
3281 set icon_z17;
3282 text: auto;
3283}
3284node[historic=battlefield] {
3285 icon-image: "sightseeing/battlefield.png";
3286 set icon_z17;
3287 text: auto;
3288}
3289node[geological=palaeontological_site] {
3290 icon-image: "historic/palaeontological_site.png";
3291 set icon_z17;
3292 text: auto;
3293}
3294node[historic=wayside_cross] {
3295 icon-image: "religion/wayside_cross.png";
3296 set icon_z17;
3297 text: auto;
3298}
3299node[historic=wayside_shrine] {
3300 icon-image: "religion/wayside_shrine.png";
3301 set icon_z17;
3302 text: auto;
3303}
3304node[historic=boundary_stone] {
3305 icon-image: "historic/boundary_stone.png";
3306 set icon_z17;
3307 text: auto;
3308}
3309
3310/****************/
3311/* landuse tags */
3312/****************/
3313
3314area[landuse],
3315area[leisure],
3316area[amenity],
3317area[place],
3318area[natural],
3319area[man_made] {
3320 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3321}
3322area[landuse=farmland] {
3323 fill-color: farmland#b8e0b1;
3324}
3325area[landuse=meadow] {
3326 fill-color: meadow#b1e0b6;
3327}
3328area[landuse=vineyard],
3329area[landuse=orchard] {
3330 fill-color: green#b1e0c2;
3331}
3332area[landuse=quarry] {
3333 fill-color: quarry#888888;
3334}
3335area[landuse=landfill] {
3336 fill-color: landfill#663300;
3337}
3338area[landuse=basin],
3339area[landuse=reservoir] {
3340 fill-color: basin#0000bf;
3341}
3342area[landuse=forest] {
3343 fill-color: forest#b1efc8;
3344}
3345area[landuse=allotments] {
3346 fill-color: allotments#5dbf80;
3347}
3348area[landuse=greenhouse_horticulture],
3349area[landuse=plant_nursery] {
3350 fill-color: green#b1e0c2;
3351}
3352area[landuse=grass] {
3353 fill-color: grass#97ca96;
3354}
3355area[landuse=residential] {
3356 fill-color: residential#f0f0f0;
3357}
3358area[landuse=garages] {
3359 fill-color: garages#d6c8aa;
3360}
3361area[landuse=farmyard] {
3362 fill-color: farmyard#f0f0f0;
3363}
3364area[landuse=retail],
3365area[landuse=commercial] {
3366 fill-color: retail#ffc4ee;
3367}
3368area[landuse=industrial] {
3369 fill-color: industrial#ecd8ff;
3370}
3371area[landuse=brownfield] {
3372 fill-color: brownfield#ecba32;
3373}
3374area[landuse=greenfield] {
3375 fill-color: greenfield#b1ec5c;
3376}
3377area[landuse=railway] {
3378 fill-color: railland#888888;
3379}
3380area[landuse=construction] {
3381 fill-color: construction#ffff00;
3382}
3383way[landuse=construction] {
3384 width: 1;
3385 color: construction#ffff00;
3386 dashes: 9,9;
3387}
3388area[landuse=military] {
3389 fill-color: military#b62c2c;
3390}
3391area[landuse=religious] {
3392 fill-color: religious#ffd454;
3393}
3394area[landuse=cemetery] {
3395 fill-color: cemetery#b1efc8;
3396}
3397area[landuse=village_green] {
3398 fill-color: green#b1e0c2;
3399}
3400area[landuse=recreation_ground] {
3401 fill-color: green#b1e0c2;
3402}
3403node[landuse] {
3404 icon-image: "misc/deprecated.png";
3405 set icon_z17;
3406 text: auto;
3407}
3408
3409/*****************/
3410/* military tags */
3411/*****************/
3412
3413area[military=airfield],
3414area[military=bunker],
3415area[military=barracks],
3416area[military=danger_area],
3417area[military=range] {
3418 fill-color: military#b62c2c;
3419}
3420node[military=airfield] {
3421 icon-image: "transport/airport/airfield.png";
3422 set icon_z17;
3423 text: auto;
3424}
3425node[military=bunker] {
3426 icon-image: "misc/landmark/bunker.png";
3427 set icon_z17;
3428 text: auto;
3429}
3430node[military=barracks] {
3431 icon-image: "misc/no_icon.png";
3432 set icon_z17;
3433 text: auto;
3434}
3435node[military=danger_area] {
3436 icon-image: "misc/danger.png";
3437 set icon_z17;
3438 text: auto;
3439}
3440node[military=range] {
3441 icon-image: "misc/landmark/range.png";
3442 set icon_z17;
3443 text: auto;
3444}
3445
3446/*************************/
3447/* public_transport tags */
3448/*************************/
3449
3450node[public_transport=stop_position] {
3451 icon-image: "transport/railway_small.png";
3452 set icon_z17;
3453 text: auto;
3454}
3455node[highway=bus_stop] {
3456 icon-image: "transport/bus_small.png";
3457 set icon_z17;
3458 text: auto;
3459}
3460node[public_transport=stop_position][bus=yes] {
3461 icon-image: "transport/bus_small.png";
3462 set icon_z17;
3463 text: auto;
3464}
3465node[public_transport=stop_position][aerial=yes] {
3466 icon-image: "transport/aerialway.png";
3467 set icon_z17;
3468 text: auto;
3469}
3470node[public_transport=stop_position][ferry=yes] {
3471 icon-image: "transport/ferry.png";
3472 set icon_z17;
3473 text: auto;
3474}
3475node[public_transport=stop_position][tram=yes] {
3476 icon-image: "transport/tram.png";
3477 set icon_z17;
3478 text: auto;
3479}
3480node[public_transport=stop_position][train=yes] {
3481 icon-image: "transport/railway_small.png";
3482 set icon_z17;
3483 text: auto;
3484}
3485area[public_transport=platform]:closed {
3486 fill-color: service#809bc0;
3487}
3488way[public_transport=platform]!:closed {
3489 width: 3;
3490 color: service#809bc0;
3491 dashes: 12,3;
3492}
3493node[public_transport=platform] {
3494 icon-image: "transport/bus_small.png";
3495 set icon_z17;
3496 text: auto;
3497}
3498node[public_transport=platform][bus=yes] {
3499 icon-image: "transport/bus_small.png";
3500 set icon_z17;
3501 text: auto;
3502}
3503node[public_transport=platform][aerial=yes] {
3504 icon-image: "transport/aerialway/station.png";
3505 set icon_z17;
3506 text: auto;
3507}
3508node[public_transport=platform][ferry=yes] {
3509 icon-image: "transport/ferry.png";
3510 set icon_z17;
3511 text: auto;
3512}
3513node[public_transport=platform][tram=yes],
3514node[public_transport=platform][train=yes] {
3515 icon-image: "transport/railway_station.png";
3516 set icon_z17;
3517 text: auto;
3518}
3519
3520/****************/
3521/* railway tags */
3522/****************/
3523
3524area[railway=station],
3525area[railway=tram_station],
3526area[railway=subway_entrance] {
3527 fill-color: railwaypoint#f7efb7;
3528}
3529node[railway=station], node[railway=tram_station] {
3530 icon-image: "transport/railway_station.png";
3531 set icon_z17;
3532 text: auto;
3533}
3534node[railway=halt] {
3535 icon-image: "transport/railway_small.png";
3536 set icon_z17;
3537 text: auto;
3538}
3539node[railway=tram_stop] {
3540 icon-image: "transport/tram.png";
3541 set icon_z17;
3542 text: auto;
3543}
3544node[railway=subway_entrance] {
3545 icon-image: "transport/underground.png";
3546 set icon_z17;
3547 text: auto;
3548}
3549node[railway=crossing] {
3550 icon-image: "transport/railway/crossing.svg";
3551 set icon_z17;
3552 text: auto;
3553}
3554node[railway=level_crossing] {
3555 icon-image: "transport/railway/level_crossing.svg";
3556 icon-width: 16;
3557 set icon_z17;
3558 text: auto;
3559}
3560way[railway=rail] {
3561 width: 2;
3562 color: rail#404040;
3563 dashes: 9,9;
3564 dashes-background-color: raildashed#ffffff;
3565}
3566way[railway=rail][service=siding] {
3567 width: 1;
3568}
3569way[railway=rail][service=yard],
3570way[railway=rail][service=spur] {
3571 width: 1;
3572 color: railyard#552200
3573}
3574/* draw tram on top of other way (highway=*) or
3575 as a standalone style */
3576way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3577 object-z-index: 1;
3578 modifier: false; /* don't draw default way if there is no line on default layer */
3579 width: 1;
3580 color: railover#202020;
3581 dashes: 9,9;
3582 casing-width: 1;
3583 casing-color: otherrail#808080;
3584 casing-linecap: round;
3585 casing-dashes: 9,9;
3586}
3587way[railway=light_rail] {
3588 width: 2;
3589 color: otherrail#808080;
3590 dashes: 9,9;
3591}
3592way[railway=subway] {
3593 width: 1;
3594 color: subway#606060;
3595 dashes: 9,9;
3596}
3597way[railway=preserved] {
3598 width: 1;
3599 color: oldrail#404040;
3600 dashes: 9,9;
3601}
3602/* disused often appears together with highway=xy */
3603/* -> draw on separate layer with higher z-index, but use */
3604/* modifier: false; to suppress default line when used alone. */
3605/* use default layer when used without highway=* to display bridge correctly */
3606way[railway=disused][highway]::core_railway,
3607way[railway=disused][!highway],
3608way[railway=abandoned][highway]::core_railway,
3609way[railway=abandoned][!highway] {
3610 width: 1;
3611 modifier: false;
3612 z-index: 1;
3613 color: oldrail#404040;
3614 dashes: 9,9;
3615}
3616way[railway=narrow_gauge],
3617way[railway=monorail] {
3618 width: 1;
3619 color: rail#404040;
3620 dashes: 9,9;
3621}
3622area[railway=turntable] {
3623 fill-color: rail#404040;
3624}
3625node[railway=turntable] {
3626 icon-image: "transport/railway/turntable.svg";
3627 set icon_z17;
3628 text: auto;
3629}
3630node[railway=buffer_stop] {
3631 icon-image: "transport/railway/buffer_stop.svg";
3632 set icon_z17;
3633 text: auto;
3634}
3635area[railway=platform]:closed {
3636 fill-color: rail#404040;
3637}
3638way[railway=platform] {
3639 width: 2;
3640 color: rail#404040;
3641}
3642way[railway=funicular] {
3643 width: 1;
3644 color: rail#404040;
3645 dashes: 9,9;
3646}
3647node[railway=switch] {
3648 icon-image: "transport/railway/switch.svg";
3649 icon-width: 16;
3650 set icon_z17;
3651 text: auto;
3652}
3653node[railway=signal] {
3654 icon-image: "transport/railway/signal.svg";
3655 set icon_z17;
3656 text: auto;
3657}
3658node[railway=milestone] {
3659 icon-image: "transport/railway/milestone.svg";
3660 set icon_z17;
3661 text: auto;
3662}
3663node[railway=rail], node[railway=tram], node[railway=light_rail],
3664node[railway=subway], node[railway=preserved],
3665node[railway=disused], node[railway=abandoned],
3666node[railway=narrow_gauge], node[railway=monorail],
3667node[railway=platform], node[railway=funicular],
3668node[service=yard], node[service=siding], node[service=spur] {
3669 icon-image: "misc/deprecated.png";
3670 set icon_z17;
3671 text: auto;
3672}
3673way[railway=construction][!highway] {
3674 width: 1;
3675 color: construction#ffff00;
3676 dashes: 9,9;
3677}
3678way[railway=construction][construction=rail] {
3679 width: 2;
3680 color: rail#404040;
3681 dashes: 9,9;
3682 dashes-background-color: construction#ffff00;
3683}
3684way[railway=construction][construction=light_rail] {
3685 width: 2;
3686}
3687way[railway=construction][construction=tram][highway]::core_railway,
3688way[railway=construction][construction=tram][!highway] {
3689 z-index: 1;
3690 width: 1;
3691 color: railover#202020;
3692 dashes: 9,9;
3693 casing-width: 1;
3694 casing-color: construction#ffff00;
3695 casing-linecap: round;
3696 casing-dashes: 9,9;
3697}
3698
3699/****************/
3700/* aeroway tags */
3701/****************/
3702
3703area[aeroway=aerodrome] {
3704 fill-color: aeroway#660000;
3705 width: 2;
3706 dashes: 9,9;
3707}
3708node[aeroway=aerodrome][military!=airfield] {
3709 icon-image: "transport/airport.png";
3710 set icon_z17;
3711 text: auto;
3712}
3713area[aeroway=terminal] {
3714 fill-color: terminal#bb0000;
3715}
3716node[aeroway=terminal] {
3717 icon-image: "transport/airport/terminal.png";
3718 set icon_z17;
3719 text: auto;
3720}
3721area[aeroway=helipad] {
3722 fill-color: aeroway_dark#330000;
3723}
3724node[aeroway=helipad] {
3725 icon-image: "transport/airport/helipad.png";
3726 set icon_z17;
3727 text: auto;
3728}
3729area[aeroway=runway]:closed {
3730 fill-color: aeroway_dark#330000;
3731}
3732way[aeroway=runway] {
3733 width: 3;
3734 color: aeroway_dark#330000;
3735}
3736area[aeroway=taxiway]:closed {
3737 fill-color: aeroway#660000;
3738}
3739way[aeroway=taxiway] {
3740 width: 2;
3741 color: aeroway#660000;
3742}
3743way[aeroway=parking_position] {
3744 width: 1;
3745 color: aeroway#660000;
3746}
3747node[aeroway=parking_position] {
3748 icon-image: "transport/airport/parking_position.png";
3749 set icon_z17;
3750 text: auto;
3751}
3752area[aeroway=apron],
3753area[aeroway=hangar] {
3754 fill-color: aeroway_light#990000;
3755}
3756node[aeroway=apron],
3757node[aeroway=runway],
3758node[aeroway=taxiway] {
3759 icon-image: "misc/deprecated.png";
3760 set icon_z17;
3761 text: auto;
3762}
3763node[aeroway=hangar] {
3764 icon-image: "transport/airport/hangar.png";
3765 set icon_z17;
3766 text: auto;
3767}
3768node[aeroway=gate] {
3769 icon-image: "transport/airport/gate.png";
3770 set icon_z17;
3771 text: auto;
3772}
3773node[aeroway=windsock] {
3774 icon-image: "transport/airport/windsock.png";
3775 set icon_z17;
3776 text: auto;
3777}
3778
3779/******************/
3780/* aerialway tags */
3781/******************/
3782
3783way[aerialway=cable_car],
3784way[aerialway=gondola] {
3785 width: 1;
3786 color: aerialway#663300;
3787 dashes: 9,9;
3788}
3789way[aerialway=chair_lift] {
3790 width: 1;
3791 color: aerialway#663300;
3792 dashes: 6,6;
3793}
3794way[aerialway=mixed_lift] {
3795 width: 1;
3796 color: aerialway#663300;
3797 dashes: 6,6,9,6;
3798}
3799way[aerialway=j-bar],
3800way[aerialway=t-bar],
3801way[aerialway=platter],
3802way[aerialway=rope_tow],
3803way[aerialway=drag_lift] {
3804 width: 1;
3805 color: aerialway#663300;
3806 dashes: 3,3;
3807}
3808way[aerialway=magic_carpet] {
3809 width: 1;
3810 color: aerialway#663300;
3811 dashes: 3,3;
3812}
3813way[aerialway=goods] {
3814 width: 1;
3815 color: aerialway#663300;
3816 dashes: 2,2;
3817}
3818area[aerialway=station] {
3819 fill-color: aerialway#663300;
3820}
3821node[aerialway=station] {
3822 icon-image: "transport/aerialway/station.png";
3823 set icon_z17;
3824 text: auto;
3825}
3826node[aerialway=pylon] {
3827 icon-image: "transport/aerialway/pylon.svg";
3828 set icon_z17;
3829 text: auto;
3830}
3831node[aerialway=cable_car],
3832node[aerialway=gondola],
3833node[aerialway=chair_lift],
3834node[aerialway=mixed_lift],
3835node[aerialway=drag_lift],
3836node[aerialway=t-bar],
3837node[aerialway=j-bar],
3838node[aerialway=platter],
3839node[aerialway=magic_carpet],
3840node[aerialway=rope_tow],
3841node[aerialway=goods] {
3842 icon-image: "misc/deprecated.png";
3843 set icon_z17;
3844 text: auto;
3845}
3846
3847/**************/
3848/* sport tags */
3849/**************/
3850
3851area[sport="9pin"],
3852area[sport="10pin"],
3853area[sport=athletics],
3854area[sport=running],
3855area[sport=soccer],
3856area[sport=australian_football],
3857area[sport=american_football],
3858area[sport=canadian_football],
3859area[sport=gaelic_games],
3860area[sport=rugby_league],
3861area[sport=rugby_union] {
3862 fill-color: sport#bde3cb;
3863}
3864node[sport="9pin"] {
3865 icon-image: "sport/10pin.png";
3866 set icon_z17;
3867 text: auto;
3868}
3869node[sport="10pin"] {
3870 icon-image: "sport/10pin.png";
3871 set icon_z17;
3872 text: auto;
3873}
3874node[sport=athletics] {
3875 icon-image: "sport/athletics.png";
3876 set icon_z17;
3877 text: auto;
3878}
3879node[sport=running] {
3880 icon-image: "sport/running.svg";
3881 set icon_z17;
3882 text: auto;
3883}
3884node[sport=soccer],
3885node[sport=gaelic_games] {
3886 icon-image: "sport/soccer.png";
3887 set icon_z17;
3888 text: auto;
3889}
3890node[sport=australian_football],
3891node[sport=american_football],
3892node[sport=canadian_football],
3893node[sport=rugby_league],
3894node[sport=rugby_union] {
3895 icon-image: "sport/football.png";
3896 set icon_z17;
3897 text: auto;
3898}
3899area[sport=baseball],
3900area[sport=basketball],
3901area[sport=boules],
3902area[sport=bowls],
3903area[sport=canoe],
3904area[sport=chess],
3905area[sport=climbing]:closed,
3906area[sport=cricket],
3907area[sport=croquet] {
3908 fill-color: sport#bde3cb;
3909}
3910node[sport=baseball] {
3911 icon-image: "sport/baseball.png";
3912 set icon_z17;
3913 text: auto;
3914}
3915node[sport=basketball] {
3916 icon-image: "sport/basketball.png";
3917 set icon_z17;
3918 text: auto;
3919}
3920node[sport=boules] {
3921 icon-image: "sport/boule.png";
3922 set icon_z17;
3923 text: auto;
3924}
3925node[sport=bowls] {
3926 icon-image: "sport/boule.png";
3927 set icon_z17;
3928 text: auto;
3929}
3930node[sport=canoe] {
3931 icon-image: "sport/canoe.svg";
3932 set icon_z17;
3933 text: auto;
3934}
3935node[sport=chess] {
3936 icon-image: "sport/chess.png";
3937 set icon_z17;
3938 text: auto;
3939}
3940node[sport=climbing] {
3941 icon-image: "sport/climbing.png";
3942 set icon_z17;
3943 text: auto;
3944}
3945node[sport=cricket] {
3946 icon-image: "sport/cricket.png";
3947 set icon_z17;
3948 text: auto;
3949}
3950node[sport=croquet] {
3951 icon-image: "sport/croquet.png";
3952 set icon_z17;
3953 text: auto;
3954}
3955area[sport=cycling],
3956area[sport=dog_racing],
3957area[sport=equestrian],
3958area[sport=golf],
3959area[sport=gymnastics],
3960area[sport=field_hockey],
3961area[sport=ice_hockey],
3962area[sport=horse_racing],
3963area[sport=karting][highway!=raceway],
3964area[sport=karting][highway=raceway][area=yes],
3965area[sport=motocross][highway!=raceway],
3966area[sport=motocross][highway=raceway][area=yes],
3967area[sport=motor][highway!=raceway],
3968area[sport=motor][highway=raceway][area=yes] {
3969 fill-color: sport#bde3cb;
3970}
3971node[sport=cycling] {
3972 icon-image: "sport/cycling.png";
3973 set icon_z17;
3974 text: auto;
3975}
3976node[sport=dog_racing] {
3977 icon-image: "leisure/dog.png";
3978 set icon_z17;
3979 text: auto;
3980}
3981node[sport=equestrian] {
3982 icon-image: "presets/equestrian.png";
3983 icon-width: 16;
3984 set icon_z17;
3985 text: auto;
3986}
3987node[sport=golf] {
3988 icon-image: "sport/golf.svg";
3989 set icon_z17;
3990 text: auto;
3991}
3992node[sport=gymnastics] {
3993 icon-image: "presets/gymnastics.png";
3994 icon-width: 16;
3995 set icon_z17;
3996 text: auto;
3997}
3998node[sport=field_hockey] {
3999 icon-image: "sport/field_hockey.png";
4000 set icon_z17;
4001 text: auto;
4002}
4003node[sport=ice_hockey] {
4004 icon-image: "sport/ice_hockey.png";
4005 set icon_z17;
4006 text: auto;
4007}
4008node[sport=horse_racing] {
4009 icon-image: "sport/riding.png";
4010 set icon_z17;
4011 text: auto;
4012}
4013node[sport=karting] {
4014 icon-image: "sport/karting.png";
4015 set icon_z17;
4016 text: auto;
4017}
4018node[sport=motocross] {
4019 icon-image: "sport/motocross.png";
4020 set icon_z17;
4021 text: auto;
4022}
4023node[sport=motor] {
4024 icon-image: "sport/motor.png";
4025 set icon_z17;
4026 text: auto;
4027}
4028area[sport=multi],
4029area[sport=pelota],
4030area[sport=racquet],
4031area[sport=skating],
4032area[sport=skateboard] {
4033 fill-color: sport#bde3cb;
4034}
4035node[sport=multi] {
4036 icon-image: "sport/multi.png";
4037 set icon_z17;
4038 text: auto;
4039}
4040node[sport=pelota] {
4041 icon-image: "sport/pelota.png";
4042 set icon_z17;
4043 text: auto;
4044}
4045node[sport=racquet] {
4046 icon-image: "sport/racquetball.png";
4047 set icon_z17;
4048 text: auto;
4049}
4050node[sport=skating] {
4051 icon-image: "sport/skating.png";
4052 set icon_z17;
4053 text: auto;
4054}
4055node[sport=skateboard] {
4056 icon-image: "sport/skateboard.png";
4057 set icon_z17;
4058 text: auto;
4059}
4060area[sport=swimming] {
4061 fill-color: swimming_pool#51c4ef;
4062}
4063node[sport=swimming] {
4064 icon-image: "sport/pool.png";
4065 set icon_z17;
4066 text: auto;
4067}
4068area[sport=table_tennis],
4069area[sport=tennis],
4070area[sport=paintball] {
4071 fill-color: sport#bde3cb;
4072}
4073node[sport=table_tennis] {
4074 icon-image: "sport/table_tennis.png";
4075 set icon_z17;
4076 text: auto;
4077}
4078node[sport=tennis] {
4079 icon-image: "sport/tennis.png";
4080 set icon_z17;
4081 text: auto;
4082}
4083node[sport=paintball] {
4084 icon-image: "misc/no_icon.png";
4085 set icon_z17;
4086 text: auto;
4087}
4088area[sport=squash],
4089area[sport=shooting],
4090area[sport=volleyball],
4091area[sport=beachvolleyball],
4092area[sport=billiards],
4093area[sport=bowling],
4094area[sport=handball],
4095area[sport=rowing],
4096area[sport=sailing],
4097area[sport=scuba_diving],
4098area[sport=badminton] {
4099 fill-color: sport#bde3cb;
4100}
4101node[sport=squash] {
4102 icon-image: "misc/no_icon.png";
4103 set icon_z17;
4104 text: auto;
4105}
4106node[sport=shooting] {
4107 icon-image: "presets/range.png";
4108 icon-width: 16;
4109 set icon_z17;
4110 text: auto;
4111}
4112node[sport=volleyball] {
4113 icon-image: "sport/volleyball.png";
4114 set icon_z17;
4115 text: auto;
4116}
4117node[sport=beachvolleyball] {
4118 icon-image: "sport/beachvolleyball.png";
4119 set icon_z17;
4120 text: auto;
4121}
4122node[sport=billiards] {
4123 icon-image: "sport/billiards.svg";
4124 set icon_z17;
4125 text: auto;
4126}
4127node[sport=bowling] {
4128 icon-image: "sport/10pin.png";
4129 set icon_z17;
4130 text: auto;
4131}
4132node[sport=handball] {
4133 icon-image: "sport/handball.png";
4134 set icon_z17;
4135 text: auto;
4136}
4137node[sport=rowing] {
4138 icon-image: "sport/rowing.png";
4139 set icon_z17;
4140 text: auto;
4141}
4142node[sport=sailing] {
4143 icon-image: "misc/no_icon.png";
4144 set icon_z17;
4145 text: auto;
4146}
4147node[sport=scuba_diving] {
4148 icon-image: "sport/scuba_diving.svg";
4149 set icon_z17;
4150 text: auto;
4151}
4152node[sport=badminton] {
4153 icon-image: "misc/no_icon.png";
4154 set icon_z17;
4155 text: auto;
4156}
4157area[sport=archery],
4158area[sport=fishing],
4159area[sport=model_aerodrome],
4160area[sport=rc_car] {
4161 fill-color: sport#bde3cb;
4162}
4163node[sport=archery] {
4164 icon-image: "sport/archery.png";
4165 set icon_z17;
4166 text: auto;
4167}
4168node[sport=fishing] {
4169 icon-image: "sport/fishing.png";
4170 set icon_z17;
4171 text: auto;
4172}
4173node[sport=model_aerodrome] {
4174 icon-image: "transport/airport.png";
4175 set icon_z17;
4176 text: auto;
4177}
4178node[sport=rc_car] {
4179 icon-image: "transport/car.png";
4180 set icon_z17;
4181 text: auto;
4182}
4183
4184/****************/
4185/* natural tags */
4186/****************/
4187
4188area[natural=spring] {
4189 fill-color: light_water#00005f;
4190}
4191node[natural=spring] {
4192 icon-image: "misc/landmark/spring.svg";
4193 set icon_z17;
4194 text: auto;
4195}
4196node[natural=saddle] {
4197 icon-image: "presets/saddle.svg";
4198 set icon_z0;
4199 text: auto;
4200 set text_z0;
4201}
4202node[natural=peak] {
4203 icon-image: "presets/peak.svg";
4204 set icon_z0;
4205 text: auto;
4206 set text_z0;
4207}
4208node[natural=peak][tourism=viewpoint] {
4209 icon-image: "sightseeing/peak_viewpoint.svg";
4210 set icon_z0;
4211 text: auto;
4212 set text_z0;
4213}
4214area[natural=glacier] {
4215 fill-color: glacier#ffffff;
4216}
4217node[natural=volcano] {
4218 icon-image: "misc/landmark/volcano_small.png";
4219 set icon_z0;
4220 text: auto;
4221 set text_z0;
4222}
4223area[natural=cliff]:closed {
4224 fill-color: natural#002f00;
4225}
4226way[natural=cliff] {
4227 repeat-image: "misc/cliff-pattern.png";
4228 repeat-image-align: top;
4229 width: 1;
4230 color: #b2b2b2;
4231}
4232node[natural=cliff] {
4233 icon-image: "misc/cliff.svg";
4234 set icon_z17;
4235 text: auto;
4236}
4237way[natural=ridge] {
4238 width: 1;
4239 color: natural#002f00;
4240}
4241way[natural=valley] {
4242 width: 1;
4243 color: natural#002f00;
4244}
4245area[natural=scree] {
4246 fill-color: natural#002f00;
4247}
4248area[natural=scrub] {
4249 fill-color: scrub#007000;
4250}
4251area[natural=fell] {
4252 fill-color: natural#002f00;
4253}
4254area[natural=heath] {
4255 fill-color: heath#ffffc0;
4256}
4257way[natural=tree_row] {
4258 width: 2;
4259 color: woodarea#008000;
4260}
4261area[natural=wood] {
4262 fill-color: woodarea#008000;
4263}
4264area[natural=grassland] {
4265 fill-color: green#b1e0c2;
4266}
4267area[natural=wetland] {
4268 fill-color: marsh#4f4ff3;
4269}
4270area[natural=water] {
4271 fill-color: water#0000ff;
4272}
4273way[natural=coastline] {
4274 width: 2;
4275 color: water#0000ff;
4276 right-casing-color: water#0000ff;
4277 right-casing-width: 5;
4278 right-casing-opacity: 0.30;
4279}
4280area[natural=mud] {
4281 fill-color: mud#cba762;
4282}
4283area[natural=beach] {
4284 fill-color: beach#f8dba2;
4285}
4286area[natural=sand] {
4287 fill-color: sand#f8dba2;
4288}
4289area[natural=bare_rock] {
4290 fill-color: bare_rock#f8f8c7;
4291}
4292area[natural=rock] {
4293 fill-color: stone#f8f8c7;
4294}
4295node[natural=rock] {
4296 icon-image: "misc/rock.svg";
4297 set icon_z17;
4298 text: auto;
4299}
4300area[natural=stone] {
4301 fill-color: stone#f8f8c7;
4302}
4303node[natural=stone] {
4304 icon-image: "misc/stone.svg";
4305 set icon_z17;
4306 text: auto;
4307}
4308area[natural=bay],
4309area[natural=cave_entrance] {
4310 fill-color: natural#002f00;
4311}
4312node[natural=bay] {
4313 icon-image: "nautical/bay.svg";
4314 set icon_z17;
4315 text: auto;
4316}
4317node[natural=cave_entrance] {
4318 icon-image: "misc/landmark/cave_entrance.png";
4319 set icon_z17;
4320 text: auto;
4321}
4322node[natural=tree] {
4323 icon-image: "misc/landmark/trees.png";
4324 set icon_z17;
4325 text: auto;
4326}
4327node[natural=tree][type=conifer],
4328node[natural=tree][leaf_type=needleleaved] {
4329 icon-image: "misc/landmark/trees_conifer.png";
4330 set icon_z17;
4331 text: auto;
4332}
4333node[natural=tree][type=broad_leaved],
4334node[natural=tree][leaf_type=broadleaved] {
4335 icon-image: "misc/landmark/trees_broad_leaved.png";
4336 set icon_z17;
4337 text: auto;
4338}
4339node[natural=tree][type=palm] {
4340 icon-image: "misc/landmark/trees_palm.png";
4341 set icon_z17;
4342 text: auto;
4343}
4344node[natural=glacier],
4345node[natural=scree],
4346node[natural=scrub],
4347node[natural=fell],
4348node[natural=heath],
4349node[natural=tree_row],
4350node[natural=wood],
4351node[natural=grassland],
4352node[natural=wetland],
4353node[natural=water],
4354node[natural=coastline],
4355node[natural=mud],
4356node[natural=beach],
4357node[natural=sand],
4358node[natural=land],
4359node[natural=bare_rock],
4360node[natural=ridge],
4361node[natural=valley] {
4362 icon-image: "misc/deprecated.png";
4363 set icon_z17;
4364 text: auto;
4365}
4366/*****************/
4367/* waterway tags */
4368/*****************/
4369
4370way[waterway=river] {
4371 width: 2;
4372 color: water#0000ff;
4373}
4374area[waterway=riverbank] {
4375 fill-color: riverbank#0000cf;
4376 width: 1;
4377 color: riverbank#0000cf;
4378}
4379way[waterway=canal] {
4380 width: 2;
4381 color: water#0000ff;
4382}
4383way[waterway=stream] {
4384 width: 1;
4385 color: stream#6600cc;
4386}
4387way[waterway=ditch], way[waterway=drain] {
4388 width: 1;
4389 color: water#0000ff;
4390}
4391area[waterway=dock] {
4392 fill-color: dock#0000cf;
4393}
4394node[waterway=dock] {
4395 icon-image: "nautical/boatyard.png";
4396 set icon_z17;
4397 text: auto;
4398}
4399node[waterway=lock_gate] {
4400 icon-image: "nautical/lock_gate.png";
4401 set icon_z17;
4402 text: auto;
4403}
4404node[waterway=turning_point] {
4405 icon-image: "nautical/turning.png";
4406 set icon_z17;
4407 text: auto;
4408}
4409area[waterway=boatyard] {
4410 fill-color: manmade#d8d8d8;
4411}
4412node[waterway=boatyard] {
4413 icon-image: "nautical/boatyard.png";
4414 set icon_z17;
4415 text: auto;
4416}
4417node[waterway=water_point],
4418node[waterway=waste_disposal],
4419node[waterway=mooring] {
4420 icon-image: "misc/deprecated.png";
4421 set icon_z17;
4422 text: auto;
4423}
4424node[mooring] {
4425 icon-image: "nautical/marina.png";
4426 set icon_z17;
4427 text: auto;
4428}
4429area[waterway=fuel] {
4430 fill-color: amenity_traffic#f7efb7;
4431}
4432node[waterway=fuel] {
4433 icon-image: "nautical/marine_fuel.png";
4434 icon-width: 16;
4435 set icon_z17;
4436 text: auto;
4437}
4438way[waterway=weir] {
4439 width: 2;
4440 color: manmade#d8d8d8;
4441}
4442node[waterway=weir] {
4443 icon-image: "nautical/weir.svg";
4444 set icon_z17;
4445 text: auto;
4446}
4447area[waterway=dam]:closed {
4448 fill-color: manmade#d8d8d8;
4449}
4450way[waterway=dam] {
4451 width: 2;
4452 color: manmade#d8d8d8;
4453}
4454node[waterway=dam] {
4455 icon-image: "nautical/dam.svg";
4456 set icon_z17;
4457 text: auto;
4458}
4459/* it's not possible to have both line and area, line seems more likely */
4460way[waterway=waterfall] {
4461 width: 2;
4462 color: manmade#d8d8d8;
4463}
4464node[waterway=waterfall] {
4465 icon-image: "nautical/waterfall.svg";
4466 set icon_z17;
4467 text: auto;
4468}
4469node[waterway=river], node[waterway=riverbank],
4470node[waterway=canal], node[waterway=wadi],
4471node[waterway=stream],
4472node[waterway=ditch], node[waterway=drain] {
4473 icon-image: "misc/deprecated.png";
4474 set icon_z17;
4475 text: auto;
4476}
4477
4478/**************/
4479/* route tags */
4480/**************/
4481
4482way[route=ferry] {
4483 width: 1;
4484 color: ferry#809bc0;
4485 dashes: 9,9;
4486}
4487node[route=bus],
4488node[route=ferry],
4489node[route=flight],
4490node[route=ncn],
4491node[route=subsea],
4492node[route=ski],
4493node[route=tour],
4494node[route=pub_crawl] {
4495 icon-image: "misc/deprecated.png";
4496 set icon_z17;
4497 text: auto;
4498}
4499
4500/*******************/
4501/* properties tags */
4502/*******************/
4503
4504node[mountain_pass?] {
4505 icon-image: "misc/landmark/mountain_pass.svg";
4506 set icon_z0;
4507 text: auto;
4508 set text_z0;
4509}
4510
4511/*****************/
4512/* boundary tags */
4513/*****************/
4514
4515way[boundary=protected_area]::core_boundary,
4516way[boundary=administrative]::core_boundary,
4517way[boundary=postal_code]::core_boundary,
4518way[boundary=political]::core_boundary,
4519way[boundary=maritime]::core_boundary,
4520way[boundary=national_park]::core_boundary {
4521 z-index: 2;
4522 modifier: false;
4523 width: 1;
4524 color: boundary#FF6600;
4525 dashes: 9,9;
4526}
4527way[admin_level=9]::core_boundary,
4528relation[admin_level=9] > way::core_boundary,
4529way[admin_level=10]::core_boundary,
4530relation[admin_level=10] > way::core_boundary {
4531 z-index: 2;
4532 modifier: false;
4533 width: 1;
4534 color: boundary#FF6600;
4535 dashes: 9,9;
4536}
4537way[admin_level=7]::core_boundary,
4538relation[admin_level=7] > way::core_boundary,
4539way[admin_level=8]::core_boundary,
4540relation[admin_level=8] > way::core_boundary {
4541 z-index: 2;
4542 modifier: false;
4543 width: 2;
4544 color: boundary#FF6600;
4545 dashes: 9,9;
4546}
4547way[admin_level=5]::core_boundary,
4548relation[admin_level=5] > way::core_boundary,
4549way[admin_level=6]::core_boundary,
4550relation[admin_level=6] > way::core_boundary {
4551 z-index: 2;
4552 modifier: false;
4553 width: 3;
4554 color: boundary#FF6600;
4555 dashes: 9,9;
4556}
4557way[admin_level=3]::core_boundary,
4558relation[admin_level=3] > way::core_boundary,
4559way[admin_level=4]::core_boundary,
4560relation[admin_level=4] > way::core_boundary {
4561 z-index: 2;
4562 modifier: false;
4563 width: 4;
4564 color: boundary#FF6600;
4565 dashes: 9,9;
4566}
4567way[admin_level=1]::core_boundary,
4568relation[admin_level=1] > way::core_boundary,
4569way[admin_level=2]::core_boundary,
4570relation[admin_level=2] > way::core_boundary {
4571 z-index: 2;
4572 modifier: false;
4573 width: 5;
4574 color: boundary#FF6600;
4575 dashes: 9,9;
4576}
4577node[boundary=national],
4578node[boundary=administrative],
4579node[boundary=postal_code],
4580node[boundary=political],
4581node[boundary=national_park] {
4582 icon-image: "misc/deprecated.png";
4583 set icon_z17;
4584 text: auto;
4585}
4586
4587/******************/
4588/* maxspeed nodes */
4589/******************/
4590node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4591 icon-image: "vehicle/restriction/maxspeed_none.svg";
4592 set icon_z17;
4593}
4594node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4595 maxspeedprop: tag(maxspeed);
4596 set maxspeedclass;
4597}
4598node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4599 maxspeedprop: " ?";
4600 set maxspeedclass;
4601}
4602node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4603 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4604 set maxspeedclass;
4605}
4606node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4607 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4608 set maxspeedclass;
4609}
4610node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4611 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4612 set maxspeedclass;
4613}
4614node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4615 /* background (white) */
4616 symbol-shape: circle;
4617 symbol-size: 17;
4618 symbol-fill-color: white;
4619 major-z-index: 4.2;
4620}
4621node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4622node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4623 /* background (black) */
4624 symbol-fill-color: black;
4625}
4626node[prop(maxspeedclass, default)]::core_maxnodefg {
4627 /* foreground (black text and red circle) */
4628 symbol-shape: circle;
4629 symbol-size: 15;
4630 symbol-stroke-color: crimson;
4631 symbol-stroke-width: 2;
4632 text: prop(maxspeedprop, default);
4633 font-size: 8;
4634 font-weight: bold;
4635 text-color: black;
4636 text-anchor-horizontal: center;
4637 text-anchor-vertical: center;
4638 text-offset-x: 0;
4639 text-offset-y: -1;
4640 major-z-index: 4.2;
4641}
4642node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4643node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4644 /* foreground (white text) */
4645 text-color: white;
4646}
4647node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4648 symbol-shape: none;
4649}
4650node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4651 text: none;
4652 symbol-shape: none;
4653}
4654
4655/**************/
4656/* place tags */
4657/**************/
4658
4659/* lot's of "openGeoDB:..." tags can be found in germany */
4660node["openGeoDB:type"=Stadt],
4661node["openGeoDB:type"=Kreis],
4662node["openGeoDB:type"=Gemeinde],
4663node["openGeoDB:type"=Ort],
4664node["openGeoDB:type"=District],
4665node["openGeoDB:location"=locality] {
4666 icon-image: "place/settlement/openGeoDB.png";
4667 set icon_z0;
4668 text: auto;
4669 set text_z0;
4670 font-size: 10;
4671 font-weight: bold;
4672 text-color:black;
4673 text-halo-color: white;
4674 text-halo-radius: 1;
4675}
4676area[setting("place_fill_colour")][place=continent],
4677area[setting("place_fill_colour")][place=country],
4678area[setting("place_fill_colour")][place=state],
4679area[setting("place_fill_colour")][place=region],
4680area[setting("place_fill_colour")][place=county],
4681area[setting("place_fill_colour")][place=city],
4682area[setting("place_fill_colour")][place=town],
4683area[setting("place_fill_colour")][place=village],
4684area[setting("place_fill_colour")][place=hamlet],
4685area[setting("place_fill_colour")][place=farm],
4686area[setting("place_fill_colour")][place=isolated_dwelling],
4687area[setting("place_fill_colour")][place=neighbourhood],
4688area[setting("place_fill_colour")][place=suburb],
4689area[setting("place_fill_colour")][place=locality],
4690area[setting("place_fill_colour")][place=island],
4691area[setting("place_fill_colour")][place=islet] {
4692 fill-color: place#8de3cb;
4693}
4694node[place=continent],
4695node[place=country],
4696node[place=state],
4697node[place=region],
4698node[place=county] {
4699 icon-image: "place/settlement/capital.png";
4700 set icon_z0;
4701 text: auto;
4702 set text_z0;
4703 font-size: 10;
4704 font-weight: bold;
4705 text-color:black;
4706 text-halo-color: white;
4707 text-halo-radius: 1;
4708 z-index: 2.9;
4709}
4710node[place=city] {
4711 icon-image: "place/settlement/city.png";
4712 set icon_z0;
4713 text: auto;
4714 set text_z0;
4715 font-size: 10;
4716 font-weight: bold;
4717 text-color:black;
4718 text-halo-color: white;
4719 text-halo-radius: 1;
4720 z-index: 2.8;
4721}
4722node[place=town] {
4723 icon-image: "place/settlement/town.png";
4724 set icon_z0;
4725 text: auto;
4726 set text_z0;
4727 font-size: 10;
4728 font-weight: bold;
4729 text-color:black;
4730 text-halo-color: white;
4731 text-halo-radius: 1;
4732 z-index: 2.7;
4733}
4734node[place=suburb] {
4735 icon-image: "place/settlement/suburb.png";
4736 set icon_z0;
4737 text: auto;
4738 set text_z0;
4739 font-size: 10;
4740 font-weight: bold;
4741 text-color:black;
4742 text-halo-color: white;
4743 text-halo-radius: 1;
4744 z-index: 2.6;
4745}
4746node[place=village] {
4747 icon-image: "place/settlement/village.png";
4748 set icon_z0;
4749 text: auto;
4750 set text_z0;
4751 font-size: 10;
4752 font-weight: bold;
4753 text-color:black;
4754 text-halo-color: white;
4755 text-halo-radius: 1;
4756 z-index: 2.5;
4757}
4758node[place=neighbourhood] {
4759 icon-image: "place/settlement/neighbourhood.png";
4760 set icon_z0;
4761 text: auto;
4762 set text_z0;
4763 font-size: 10;
4764 font-weight: bold;
4765 text-color:black;
4766 text-halo-color: white;
4767 text-halo-radius: 1;
4768 z-index: 2.4;
4769}
4770node[place=hamlet] {
4771 icon-image: "place/settlement/hamlet.png";
4772 set icon_z0;
4773 text: auto;
4774 set text_z0;
4775 font-size: 10;
4776 font-weight: bold;
4777 text-color:black;
4778 text-halo-color: white;
4779 text-halo-radius: 1;
4780 z-index: 2.3;
4781}
4782node[place=isolated_dwelling] {
4783 icon-image: "place/settlement/isolated_dwelling.png";
4784 set icon_z0;
4785 text: auto;
4786 set text_z0;
4787 font-size: 10;
4788 font-weight: bold;
4789 text-color:black;
4790 text-halo-color: white;
4791 text-halo-radius: 1;
4792 z-index: 2.2;
4793}
4794node[place=farm] {
4795 icon-image: "place/settlement/farm.png";
4796 set icon_z0;
4797 text: auto;
4798 set text_z0;
4799 font-size: 10;
4800 font-weight: bold;
4801 text-color:black;
4802 text-halo-color: white;
4803 text-halo-radius: 1;
4804 z-index: 2.1;
4805}
4806node|z15-[place=locality],
4807node|z-14[place=locality][!setting("hide_icons")] {
4808 icon-image: "place/locality.png";
4809 text: auto;
4810 font-size: 10;
4811 font-weight: bold;
4812 text-color:black;
4813 text-halo-color: white;
4814 text-halo-radius: 1;
4815}
4816node[place=island] {
4817 icon-image: "place/island.png";
4818 set icon_z0;
4819 text: auto;
4820 set text_z0;
4821 font-size: 10;
4822 font-weight: bold;
4823 text-color:black;
4824 text-halo-color: white;
4825 text-halo-radius: 1;
4826}
4827node[place=islet] {
4828 icon-image: "place/islet.png";
4829 set icon_z0;
4830 text: auto;
4831 set text_z0;
4832 font-size: 10;
4833 font-weight: bold;
4834 text-color:black;
4835 text-halo-color: white;
4836 text-halo-radius: 1;
4837}
4838
4839/***************************/
4840/* "work in progress" tags */
4841/***************************/
4842
4843node|z16-[fixme]::core_note_fixme,
4844node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
4845node|z16-[FIXME]::core_note_fixme,
4846node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
4847 object-z-index: 10;
4848 icon-image: "misc/fixme-annotation.png";
4849}
4850node|z16-[note]::core_note_fixme,
4851node|z-15[note][!setting("hide_icons")]::core_note_fixme {
4852 object-z-index: 10;
4853 icon-image: "misc/note-annotation.png";
4854}
4855node|z16-[note][fixme]::core_note_fixme,
4856node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
4857node|z16-[note][FIXME]::core_note_fixme,
4858node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
4859 icon-image: "misc/note-fixme-annotation.png";
4860}
4861
4862/* special display of unreviewed tiger data (USA) */
4863way["tiger:reviewed"=no]::core_tiger {
4864 major-z-index: -10;
4865 width: 11;
4866 color: tiger_data#808000;
4867 opacity: 0.6;
4868}
4869
4870/****************************************/
4871/* zoom levels and general node display */
4872/****************************************/
4873
4874/*
4875Summary of different zoom levels:
4876 (any zoom) place=* (except locality) and a few natural icons with their text is shown
4877 |z-15 untagged way nodes are hidden completely
4878 |z15 place=locality icon
4879 |z16- fixme=* and note=* symbols; place=locality text
4880 |z17- normal POI icons (without text),
4881 street name along highway=* ways
4882 |z18- text for normal POI icons is shown
4883
4884 * text size and node size is adapted according to zoom level (see style source below)
4885 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
4886
4887*/
4888
4889node {
4890 text: auto;
4891}
4892node|z-16[setting("hide_icons")],
4893node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
4894node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
4895 symbol-size: 2;
4896 symbol-shape: square;
4897 symbol-stroke-color: node_standard#ffff00;
4898 major-z-index: 4.95; /* put node squares above line text */
4899}
4900way > node|z-15[setting("shrink_nodes")]!:tagged {
4901 symbol-shape: none;
4902}
4903node:connection {
4904 symbol-stroke-color: node_connection#ffff00;
4905}
4906node:tagged {
4907 symbol-stroke-color: none;
4908 symbol-fill-color: node_tagged#00ffff;
4909}
4910
4911way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
4912
4913node|z17[setting("shrink_nodes")] { symbol-size: 4; }
4914way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
4915node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
4916
4917node|z18[setting("shrink_nodes")] { symbol-size: 4; }
4918way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
4919node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
4920
4921node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4922way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
4923node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
4924
4925node[!setting("shrink_nodes")] { symbol-size: 4; }
4926way > node[!setting("shrink_nodes")] { symbol-size: 4; }
4927node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
4928
4929node:selected {
4930 symbol-shape: square;
4931 symbol-size: 6;
4932 symbol-fill-color: node_selected#ff0000;
4933 symbol-stroke-color: node_selected#ff0000;
4934}
4935
4936node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
4937relation|z-16[type=restriction][setting("hide_icons")] {
4938 icon-image: none;
4939}
4940node|z-17[setting("hide_icons")]!.text_z0 {
4941 text: none;
4942}
4943node|z16-17[setting("hide_icons")][place=locality] {
4944 text: auto;
4945}
4946
4947node|z19,area|z19 { font-size: 9; }
4948node|z20-,area|z20- { font-size: 10; }
4949
4950/*******************/
4951/* way text labels */
4952/*******************/
4953
4954way|z17-[highway^=motorway][setting("highway_labels")],
4955way|z17-[highway^=trunk][setting("highway_labels")],
4956way|z17-[highway^=primary][setting("highway_labels")],
4957way|z17-[highway^=secondary][setting("highway_labels")],
4958way|z17-[highway^=tertiary][setting("highway_labels")],
4959way|z17-[highway=unclassified][setting("highway_labels")],
4960way|z17-[highway=residential][setting("highway_labels")],
4961way|z17-[highway=living_street][setting("highway_labels")],
4962way|z17-[highway=escape][setting("highway_labels")],
4963way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
4964way|z17-[highway=steps][setting("highway_labels")],
4965way|z17-[highway=footway][setting("highway_labels")],
4966way|z17-[highway=path][setting("highway_labels")],
4967way|z17-[highway=service][setting("highway_labels")],
4968way|z17-[highway=track][setting("highway_labels")],
4969way|z17-[highway=cycleway][setting("highway_labels")],
4970way|z17-[highway=bridleway][setting("highway_labels")],
4971way|z17-[highway=bus_guideway][setting("highway_labels")],
4972way|z17-[highway=raceway][setting("highway_labels")],
4973way|z17-[highway=construction][setting("highway_labels")],
4974way|z17-[highway=road][setting("highway_labels")] {
4975 text: auto;
4976 text-color: black;
4977 font-size: 9;
4978 text-position: line;
4979 text-halo-opacity: 1;
4980 text-halo-radius: 1.5;
4981}
4982way|z17-[highway^=motorway][setting("highway_labels")] {
4983 text-halo-color: motorway#809bc0;
4984}
4985way|z17-[highway^=trunk][setting("highway_labels")] {
4986 text-halo-color: trunk#7fc97f;
4987}
4988way|z17-[highway^=primary][setting("highway_labels")] {
4989 text-halo-color: primary#fb805f;
4990}
4991way|z17-[highway^=secondary][setting("highway_labels")] {
4992 text-halo-color: secondary#fdbf6f;
4993}
4994way|z17-[highway^=tertiary][setting("highway_labels")] {
4995 text-halo-color: tertiary#f7f496;
4996}
4997way|z17-[highway=unclassified][setting("highway_labels")],
4998way|z17-[highway=residential][setting("highway_labels")],
4999way|z17-[highway=living_street][setting("highway_labels")],
5000way|z17-[highway=escape][setting("highway_labels")] {
5001 text-halo-color: street#c0c0c0;
5002}
5003way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
5004way|z17-[highway=steps][setting("highway_labels")],
5005way|z17-[highway=footway][setting("highway_labels")],
5006way|z17-[highway=path][setting("highway_labels")] {
5007 text-halo-color: foot#00ff00;
5008}
5009way|z17-[highway=service][setting("highway_labels")] {
5010 text-halo-color: service#809bc0;
5011}
5012way|z17-[highway=track][setting("highway_labels")] {
5013 text-halo-color: highway_track#6e541c;
5014}
5015way|z17-[highway=cycleway][setting("highway_labels")],
5016way|z17-[highway=path][setting("highway_labels")].cyclecolor {
5017 text-halo-color: bicycle#b100ff;
5018}
5019way|z17-[highway=bridleway][setting("highway_labels")] {
5020 text-halo-color: horse#a18559;
5021}
5022way|z17-[highway=bus_guideway][setting("highway_labels")] {
5023 text-halo-color: rail#404040;
5024}
5025way|z17-[highway=raceway][setting("highway_labels")] {
5026 text-halo-color: raceway#ff80ff;
5027}
5028way|z17-[highway=construction][setting("highway_labels")] {
5029 text-halo-color: construction#ffff00;
5030}
5031way|z17-[highway=road][setting("highway_labels")] {
5032 text-halo-color: highway_road#770000;
5033}
5034way|z17-[highway][railway=platform][setting("highway_labels")] {
5035 text-halo-color: rail#404040;
5036}
5037way|z17-[highway][public_transport=platform][setting("highway_labels")] {
5038 text-halo-color: service#809bc0;
5039}
5040way|z18[highway][setting("highway_labels")] {
5041 font-size: 10;
5042}
5043way|z19[highway][setting("highway_labels")] {
5044 font-size: 11;
5045}
5046way|z20-[highway][setting("highway_labels")] {
5047 font-size: 12;
5048}
5049
5050/*************/
5051/* Area fill */
5052/*************/
5053
5054/* small extent for unclosed area (see below for closed) */
5055area[setting("partial_fill")] {
5056 fill-extent: 15;
5057}
5058
5059/* Turn partial fill off and use plain fill, when the partial fill covers about
5060 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5061 Switching between full and partial fill while drawing an area might be irritating,
5062 so only do this at low zoom. */
5063area|z-13[setting("partial_fill")] {
5064 fill-extent-threshold: 1.0;
5065}
5066
5067/* Larger extent for closed areas.
5068 Turn partial fill off, when it covers more than about 50% of the area. This avoids
5069 areas with small unfilled patches in the center. */
5070area[setting("partial_fill")]:closed2 {
5071 fill-extent: 25;
5072 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5073}
5074
Note: See TracBrowser for help on using the repository browser.