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

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

see #8978 - remove mappaint style of amenity=public_building

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