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

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

fix #6708 - Pistes can be drawn as area or linear. If linear they can be closed or not. So draw area style only if area=yes is tagged and oneway arrows only if area=yes is not tagged.

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