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

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

see #13084 - fix preset icon path
see #13158 - fix viewbox of bird_hide icon and rename food court icon

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