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

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

see #11915 - add man_made=silo to preset and mappaint style, icon derived from gasometer icon

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