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

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

see #13084 - move all (602) icons from osm svn to josm svn images/presets; adapt default style, potlatch2 style and internal preset

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