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

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

allow waterway=lockgate on ways and add mappaint style, add mappaint style also for lock=yes on river and canal

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