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

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

see #11006 - rework of public transport mappaint style and presets, mainly icon improvements, prioritise ptv2 over legacy, drop transport types for platform

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