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

Last change on this file since 12997 was 12997, checked in by Don-vip, 7 years ago

fix #15365 - add "pole with switch" preset + new power icon & new validation rules

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