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

Last change on this file since 13091 was 13091, checked in by Klumbumbus, 7 years ago

fix #15523 - make kerb spikes in mappaint style smaller (icon derived from cliff_pattern.svg, CC0 and PD licensed)

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