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

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

fix #12337 - add shop=tobacco to preset and mappaint style, icon (by Martin Koppenhoefer) see [o31978]

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