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

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

fix #12551 - add leisure=fitness_station to preset and mappaint style, icon see [o32080]

  • Property svn:eol-style set to native
File size: 118.6 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=fitness_station],
1896area[leisure=miniature_golf],
1897area[leisure=dog_park],
1898area[leisure=ice_rink],
1899area[leisure=sauna] {
1900 fill-color: leisure#c7f1a3;
1901}
1902node[leisure=fitness_station] {
1903 icon-image: "leisure/fitness_station.svg";
1904 set icon_z17;
1905 text: auto;
1906}
1907node[leisure=miniature_golf] {
1908 icon-image: "sport/miniature_golf.svg";
1909 set icon_z17;
1910 text: auto;
1911}
1912node[leisure=dog_park] {
1913 icon-image: "presets/dogpark.png";
1914 icon-width: 16;
1915 set icon_z17;
1916 text: auto;
1917}
1918node[leisure=ice_rink] {
1919 icon-image: "sport/ice_hockey.png";
1920 set icon_z17;
1921 text: auto;
1922}
1923node[leisure=sauna] {
1924 icon-image: "leisure/sauna.png";
1925 set icon_z17;
1926 text: auto;
1927}
1928area[leisure=golf_course] {
1929 fill-color: leisure#c7f1a3;
1930}
1931node[leisure=golf_course] {
1932 icon-image: "sport/golf/golf.svg";
1933 set icon_z17;
1934 text: auto;
1935}
1936
1937/*************/
1938/* golf tags */
1939/*************/
1940area[golf=tee] {
1941 fill-color: golf#c7f1a3;
1942}
1943node[golf=tee] {
1944 icon-image: "sport/golf/tee.svg";
1945 set icon_z17;
1946 text: auto;
1947}
1948way[golf=hole] {
1949 width: 1;
1950 dashes: 10,10;
1951 color: golf_hole#808080;
1952}
1953node[golf=pin] {
1954 icon-image: "sport/golf/pin.svg";
1955 set icon_z17;
1956 text: auto;
1957}
1958area[golf=bunker] {
1959 fill-color: golf_bunker#ffab00;
1960}
1961area[golf=water_hazard],
1962area[golf=lateral_water_hazard] {
1963 fill-color: golf_water_hazard#0000ff;
1964}
1965area[golf=green] {
1966 fill-color: golf_green#00e700;
1967}
1968area[golf=fairway] {
1969 fill-color: golf_fairway#009a00;
1970}
1971area[golf=rough] {
1972 fill-color: golf_rough#006700;
1973}
1974area[golf=driving_range] {
1975 fill-color: golf_driving_range#c7f1a3;
1976}
1977node[golf=driving_range] {
1978 icon-image: "sport/golf/driving_range.svg";
1979 set icon_z17;
1980 text: auto;
1981}
1982
1983/********************/
1984/* advertising tags */
1985/********************/
1986
1987node[advertising=column] {
1988 icon-image: "leisure/advertising_column.svg";
1989 set icon_z17;
1990 text: auto;
1991}
1992node[advertising=billboard] {
1993 icon-image: "leisure/billboard.svg";
1994 set icon_z17;
1995 text: auto;
1996}
1997
1998/*************/
1999/* shop tags */
2000/*************/
2001
2002area[shop=supermarket],
2003area[shop=convenience],
2004area[shop=bakery],
2005area[shop=butcher],
2006area[shop=bicycle],
2007area[shop=doityourself],
2008area[shop=dry_cleaning],
2009area[shop=laundry],
2010area[shop=outdoor],
2011area[shop=kiosk],
2012area[shop=alcohol],
2013area[shop=beverages],
2014area[shop=books],
2015area[shop=boutique],
2016area[shop=car],
2017area[shop=car_dealer],
2018area[shop=car_repair],
2019area[shop=tyres],
2020area[shop=chemist],
2021area[shop=tobacco],
2022area[shop=clothes],
2023area[shop=computer],
2024area[shop=confectionery],
2025area[shop=copyshop],
2026area[shop=curtain],
2027area[shop=cycle_repair],
2028area[shop=department_store],
2029area[shop=deli],
2030area[shop=electronics],
2031area[shop=erotic],
2032area[shop=furniture],
2033area[shop=fabric],
2034area[shop=florist],
2035area[shop=frame],
2036area[shop=gift],
2037area[shop=greengrocer],
2038area[shop=garden_centre],
2039area[shop=hairdresser],
2040area[shop=hardware],
2041area[shop=hearing_aids],
2042area[shop=hifi],
2043area[shop=houseware],
2044area[shop=jewelry],
2045area[shop=kitchen],
2046area[shop=mall],
2047area[shop=mobile_phone],
2048area[shop=motorcycle],
2049area[shop=musical_instrument],
2050area[shop=newsagent],
2051area[shop=optician],
2052area[shop=medical_supply],
2053area[shop=paint],
2054area[shop=pawnbroker],
2055area[shop=seafood],
2056area[shop=shoes],
2057area[shop=sports],
2058area[shop=stationery],
2059area[shop=tailor],
2060area[shop=travel_agency],
2061area[shop=toys],
2062area[shop=vacuum_cleaner],
2063area[shop=variety_store],
2064area[shop=video],
2065area[shop=bookmaker],
2066area[shop=lottery],
2067area[shop=shopping_centre],
2068area[shop=pet],
2069area[shop=photo],
2070area[shop=ticket],
2071area[shop=interior_decoration],
2072area[shop=car_parts],
2073area[shop=video_games],
2074area[shop=bed],
2075area[shop=beauty],
2076area[shop=cosmetics],
2077area[shop=perfumery],
2078area[shop=tea],
2079area[shop=coffee],
2080area[shop=antiques],
2081area[shop=music],
2082area[shop=funeral_directors],
2083area[shop=wine],
2084area[shop=farm],
2085area[shop=tattoo],
2086area[shop=art],
2087area[shop=bag] {
2088 fill-color: shop#00005f;
2089}
2090node[shop=supermarket] {
2091 icon-image: "shop/supermarket.svg";
2092 set icon_z17;
2093 text: auto;
2094}
2095node[shop=convenience] {
2096 icon-image: "shop/convenience.png";
2097 set icon_z17;
2098 text: auto;
2099}
2100node[shop=bakery] {
2101 icon-image: "shop/groceries/bakery.png";
2102 set icon_z17;
2103 text: auto;
2104}
2105node[shop=butcher] {
2106 icon-image: "shop/groceries/butcher.png";
2107 set icon_z17;
2108 text: auto;
2109}
2110node[shop=bicycle] {
2111 icon-image: "sport/bicycle.png";
2112 set icon_z17;
2113 text: auto;
2114}
2115node[shop=doityourself] {
2116 icon-image: "shop/diy_store.png";
2117 set icon_z17;
2118 text: auto;
2119}
2120node[shop=dry_cleaning],
2121node[shop=laundry] {
2122 icon-image: "shop/laundry.png";
2123 set icon_z17;
2124 text: auto;
2125}
2126node[shop=outdoor] {
2127 icon-image: "shop/outdoor.png";
2128 set icon_z17;
2129 text: auto;
2130}
2131node[shop=kiosk] {
2132 icon-image: "shop/kiosk.png";
2133 set icon_z17;
2134 text: auto;
2135}
2136node[shop=beverages] {
2137 icon-image: "shop/beverages.png";
2138 set icon_z17;
2139 text: auto;
2140}
2141node[shop=alcohol] {
2142 icon-image: "shop/alcohol.png";
2143 set icon_z17;
2144 text: auto;
2145}
2146node[shop=books] {
2147 icon-image: "shop/book.svg";
2148 set icon_z17;
2149 text: auto;
2150}
2151node[shop=boutique] {
2152 icon-image: "shop/boutique.png";
2153 set icon_z17;
2154 text: auto;
2155}
2156node[shop=car],
2157node[shop=car_dealer] {
2158 icon-image: "vehicle.png";
2159 set icon_z17;
2160 text: auto;
2161}
2162node[shop=car_repair] {
2163 icon-image: "vehicle/repair_shop.png";
2164 set icon_z17;
2165 text: auto;
2166}
2167node[shop=tyres] {
2168 icon-image: "vehicle/tyres.png";
2169 set icon_z17;
2170 text: auto;
2171}
2172node[shop=chemist] {
2173 icon-image: "shop/chemist.png";
2174 set icon_z17;
2175 text: auto;
2176}
2177node[shop=tobacco] {
2178 icon-image: "shop/tobacco.svg";
2179 set icon_z17;
2180 text: auto;
2181}
2182node[shop=clothes] {
2183 icon-image: "shop/clothes.png";
2184 set icon_z17;
2185 text: auto;
2186}
2187node[shop=computer] {
2188 icon-image: "shop/computer.png";
2189 set icon_z17;
2190 text: auto;
2191}
2192node[shop=confectionery] {
2193 icon-image: "shop/groceries/confectionery.png";
2194 set icon_z17;
2195 text: auto;
2196}
2197node[shop=copyshop] {
2198 icon-image: "shop/copyshop.png";
2199 set icon_z17;
2200 text: auto;
2201}
2202node[shop=curtain] {
2203 icon-image: "shop/curtain.png";
2204 set icon_z17;
2205 text: auto;
2206}
2207node[shop=cycle_repair] {
2208 icon-image: "sport/bicycle.png";
2209 set icon_z17;
2210 text: auto;
2211}
2212node[shop=department_store] {
2213 icon-image: "shop/mall.png";
2214 set icon_z17;
2215 text: auto;
2216}
2217node[shop=deli] {
2218 icon-image: "shop/groceries/deli.png";
2219 set icon_z17;
2220 text: auto;
2221}
2222node[shop=electronics] {
2223 icon-image: "shop/electronics.png";
2224 set icon_z17;
2225 text: auto;
2226}
2227node[shop=erotic] {
2228 icon-image: "shop/erotic.png";
2229 set icon_z17;
2230 text: auto;
2231}
2232node[shop=furniture] {
2233 icon-image: "shop/furniture.png";
2234 set icon_z17;
2235 text: auto;
2236}
2237node[shop=fabric] {
2238 icon-image: "shop/fabric.png";
2239 set icon_z17;
2240 text: auto;
2241}
2242node[shop=florist] {
2243 icon-image: "shop/florist.png";
2244 set icon_z17;
2245 text: auto;
2246}
2247node[shop=frame] {
2248 icon-image: "shop/frame.png";
2249 set icon_z17;
2250 text: auto;
2251}
2252node[shop=gift] {
2253 icon-image: "presets/present.svg";
2254 set icon_z17;
2255 text: auto;
2256}
2257node[shop=greengrocer] {
2258 icon-image: "shop/groceries/greengrocer.png";
2259 set icon_z17;
2260 text: auto;
2261}
2262node[shop=garden_centre] {
2263 icon-image: "shop/garden_centre.png";
2264 set icon_z17;
2265 text: auto;
2266}
2267node[shop=hairdresser] {
2268 icon-image: "shop/hairdresser.png";
2269 set icon_z17;
2270 text: auto;
2271}
2272node[shop=hardware] {
2273 icon-image: "shop/hardware.png";
2274 set icon_z17;
2275 text: auto;
2276}
2277node[shop=hearing_aids] {
2278 icon-image: "shop/hearing_aids.png";
2279 set icon_z17;
2280 text: auto;
2281}
2282node[shop=hifi] {
2283 icon-image: "shop/hifi.svg";
2284 set icon_z17;
2285 text: auto;
2286}
2287node[shop=houseware] {
2288 icon-image: "shop/houseware.svg";
2289 set icon_z17;
2290 text: auto;
2291}
2292node[shop=jewelry] {
2293 icon-image: "shop/jewelry.png";
2294 set icon_z17;
2295 text: auto;
2296}
2297node[shop=kitchen] {
2298 icon-image: "shop/kitchen.png";
2299 set icon_z17;
2300 text: auto;
2301}
2302node[shop=mall] {
2303 icon-image: "shop/mall.png";
2304 set icon_z17;
2305 text: auto;
2306}
2307node[shop=mobile_phone] {
2308 icon-image: "shop/mobile_phone.png";
2309 set icon_z17;
2310 text: auto;
2311}
2312node[shop=motorcycle] {
2313 icon-image: "vehicle/motorbike.png";
2314 set icon_z17;
2315 text: auto;
2316}
2317node[shop=musical_instrument] {
2318 icon-image: "shop/musical_instrument.png";
2319 set icon_z17;
2320 text: auto;
2321}
2322node[shop=newsagent] {
2323 icon-image: "shop/news.svg";
2324 set icon_z17;
2325 text: auto;
2326}
2327node[shop=optician] {
2328 icon-image: "shop/optician.svg";
2329 set icon_z17;
2330 text: auto;
2331}
2332node[shop=medical_supply] {
2333 icon-image: "shop/medical_supply.svg";
2334 set icon_z17;
2335 text: auto;
2336}
2337node[shop=paint] {
2338 icon-image: "shop/paint.png";
2339 set icon_z17;
2340 text: auto;
2341}
2342node[shop=pawnbroker] {
2343 icon-image: "presets/pawnbroker.svg";
2344 set icon_z17;
2345 text: auto;
2346}
2347node[shop=seafood] {
2348 icon-image: "shop/groceries/seafood.png";
2349 set icon_z17;
2350 text: auto;
2351}
2352node[shop=shoes] {
2353 icon-image: "shop/shoes.png";
2354 set icon_z17;
2355 text: auto;
2356}
2357node[shop=sports] {
2358 icon-image: "sport/multi.png";
2359 set icon_z17;
2360 text: auto;
2361}
2362node[shop=stationery] {
2363 icon-image: "shop/stationery.png";
2364 set icon_z17;
2365 text: auto;
2366}
2367node[shop=tailor] {
2368 icon-image: "shop/tailor.png";
2369 set icon_z17;
2370 text: auto;
2371}
2372node[shop=travel_agency] {
2373 icon-image: "presets/travel.png";
2374 icon-width: 16;
2375 set icon_z17;
2376 text: auto;
2377}
2378node[shop=toys] {
2379 icon-image: "shop/toys.png";
2380 set icon_z17;
2381 text: auto;
2382}
2383node[shop=vacuum_cleaner] {
2384 icon-image: "shop/vacuum_cleaner.png";
2385 set icon_z17;
2386 text: auto;
2387}
2388node[shop=variety_store] {
2389 icon-image: "shop/variety_store.png";
2390 set icon_z17;
2391 text: auto;
2392}
2393node[shop=video] {
2394 icon-image: "shop/video.png";
2395 set icon_z17;
2396 text: auto;
2397}
2398node[shop=bookmaker] {
2399 icon-image: "presets/lottery.svg";
2400 set icon_z17;
2401 text: auto;
2402}
2403node[shop=lottery] {
2404 icon-image: "presets/lottery.svg";
2405 set icon_z17;
2406 text: auto;
2407}
2408/* duplicate of shopping_centre? */
2409node[shop=shopping_centre] {
2410 icon-image: "shop/mall.png";
2411 set icon_z17;
2412 text: auto;
2413}
2414node[shop=pet] {
2415 icon-image: "shop/pet.svg";
2416 set icon_z17;
2417 text: auto;
2418}
2419node[shop=photo] {
2420 icon-image: "shop/photo.svg";
2421 set icon_z17;
2422 text: auto;
2423}
2424node[shop=ticket] {
2425 icon-image: "shop/ticket.svg";
2426 set icon_z17;
2427 text: auto;
2428}
2429node[shop=interior_decoration] {
2430 icon-image: "shop/interior_decoration.svg";
2431 set icon_z17;
2432 text: auto;
2433}
2434node[shop=car_parts] {
2435 icon-image: "vehicle/car_parts.svg";
2436 set icon_z17;
2437 text: auto;
2438}
2439node[shop=video_games] {
2440 icon-image: "shop/video_games.png";
2441 set icon_z17;
2442 text: auto;
2443}
2444node[shop=bed] {
2445 icon-image: "shop/bed.svg";
2446 set icon_z17;
2447 text: auto;
2448}
2449node[shop=beauty] {
2450 icon-image: "shop/beauty.svg";
2451 set icon_z17;
2452 text: auto;
2453}
2454node[shop=cosmetics] {
2455 icon-image: "shop/cosmetics.svg";
2456 set icon_z17;
2457 text: auto;
2458}
2459node[shop=perfumery] {
2460 icon-image: "shop/perfumery.svg";
2461 set icon_z17;
2462 text: auto;
2463}
2464node[shop=tea] {
2465 icon-image: "shop/groceries/tea.svg";
2466 set icon_z17;
2467 text: auto;
2468}
2469node[shop=coffee] {
2470 icon-image: "shop/groceries/coffee.svg";
2471 set icon_z17;
2472 text: auto;
2473}
2474node[shop=antiques] {
2475 icon-image: "shop/antique.svg";
2476 set icon_z17;
2477 text: auto;
2478}
2479node[shop=music] {
2480 icon-image: "shop/music.svg";
2481 set icon_z17;
2482 text: auto;
2483}
2484node[shop=funeral_directors] {
2485 icon-image: "shop/funeral_directors.svg";
2486 set icon_z17;
2487 text: auto;
2488}
2489node[shop=wine] {
2490 icon-image: "shop/wine.svg";
2491 set icon_z17;
2492 text: auto;
2493}
2494node[shop=farm] {
2495 icon-image: "presets/apple.png";
2496 set icon_z17;
2497 text: auto;
2498}
2499node[shop=tattoo] {
2500 icon-image: "shop/tattoo.svg";
2501 set icon_z17;
2502 text: auto;
2503}
2504node[shop=art] {
2505 icon-image: "shop/art.svg";
2506 set icon_z17;
2507 text: auto;
2508}
2509node[shop=bag] {
2510 icon-image: "shop/bag.svg";
2511 set icon_z17;
2512 text: auto;
2513}
2514
2515/******************/
2516/* emergency tags */
2517/******************/
2518area[emergency=ambulance_station],
2519area[emergency=water_tank] {
2520 fill-color: emergency#eeeeee;
2521}
2522node[emergency=ambulance_station] {
2523 icon-image: "emergency/ambulance_station.svg";
2524 set icon_z17;
2525 text: auto;
2526}
2527node[emergency=water_tank] {
2528 icon-image: "emergency/water_tank.svg";
2529 set icon_z17;
2530 text: auto;
2531}
2532node[emergency=phone] {
2533 icon-image: "vehicle/emergency_phone.png";
2534 set icon_z17;
2535 text: auto;
2536}
2537node[emergency=defibrillator] {
2538 icon-image: "presets/aed.svg";
2539 set icon_z17;
2540 text: auto;
2541}
2542node[emergency=fire_hydrant] {
2543 icon-image: "service/fire_hydrant.png";
2544 set icon_z17;
2545 text: auto;
2546}
2547node[emergency=fire_extinguisher] {
2548 icon-image: "emergency/fire_extinguisher.svg";
2549 set icon_z17;
2550 text: auto;
2551}
2552node[emergency=fire_hose] {
2553 icon-image: "emergency/fire_hose.svg";
2554 set icon_z17;
2555 text: auto;
2556}
2557node[emergency=assembly_point] {
2558 icon-image: "emergency/assembly_point.svg";
2559 set icon_z17;
2560 text: auto;
2561}
2562node[emergency=siren] {
2563 icon-image: "emergency/siren.svg";
2564 set icon_z17;
2565 text: auto;
2566}
2567
2568/****************/
2569/* amenity tags */
2570/****************/
2571
2572area[amenity=pub],
2573area[amenity=biergarten],
2574area[amenity=nightclub],
2575area[amenity=stripclub],
2576area[amenity=casino],
2577area[amenity=brothel],
2578area[amenity=cafe],
2579area[amenity=restaurant],
2580area[amenity=food_court],
2581area[amenity=fast_food],
2582area[amenity=bar],
2583area[amenity=ice_cream] {
2584 fill-color: amenity#ecba52;
2585}
2586node[amenity=pub] {
2587 icon-image: "food/pub.png";
2588 set icon_z17;
2589 text: auto;
2590}
2591node[amenity=biergarten] {
2592 icon-image: "food/biergarten.png";
2593 set icon_z17;
2594 text: auto;
2595}
2596node[amenity=nightclub] {
2597 icon-image: "leisure/discoball.svg";
2598 set icon_z17;
2599 text: auto;
2600}
2601node[amenity=stripclub] {
2602 icon-image: "leisure/nightclub.png";
2603 set icon_z17;
2604 text: auto;
2605}
2606node[amenity=casino] {
2607 icon-image: "leisure/casino.svg";
2608 set icon_z17;
2609 text: auto;
2610}
2611node[amenity=brothel] {
2612 icon-image: "leisure/stripclub.png";
2613 set icon_z17;
2614 text: auto;
2615}
2616node[amenity=cafe] {
2617 icon-image: "food/cafe.png";
2618 set icon_z17;
2619 text: auto;
2620}
2621node[amenity=restaurant] {
2622 icon-image: "food/restaurant.svg";
2623 set icon_z17;
2624 text: auto;
2625}
2626node[amenity=food_court] {
2627 icon-image: "food/restaurant.png";
2628 set icon_z17;
2629 text: auto;
2630}
2631node[amenity=fast_food] {
2632 icon-image: "food/fastfood.png";
2633 set icon_z17;
2634 text: auto;
2635}
2636node[amenity=bar] {
2637 icon-image: "food/bar.png";
2638 set icon_z17;
2639 text: auto;
2640}
2641node[amenity=ice_cream] {
2642 icon-image: "food/icecream.png";
2643 set icon_z17;
2644 text: auto;
2645}
2646area[amenity=bicycle_parking]:closed {
2647 fill-color: amenity_traffic#f7efb7;
2648}
2649way[amenity=bicycle_parking] {
2650 width: 2;
2651 color: amenity_traffic#f7efb7;
2652}
2653area[amenity=parking_space],
2654area[amenity=parking],
2655area[amenity=motorcycle_parking],
2656area[amenity=bicycle_rental],
2657area[amenity=bicycle_repair_station],
2658area[amenity=car_rental],
2659area[amenity=car_sharing],
2660area[amenity=car_wash],
2661area[amenity=taxi],
2662area[amenity=fuel] {
2663 fill-color: amenity_traffic#f7efb7;
2664}
2665node[amenity=parking_space] {
2666 icon-image: "vehicle/parking/parking_space.svg";
2667 set icon_z17;
2668 text: auto;
2669}
2670node[amenity=parking] {
2671 icon-image: "vehicle/parking.png";
2672 set icon_z17;
2673 text: auto;
2674}
2675node[amenity=parking_entrance] {
2676 icon-image: "vehicle/parking.png";
2677 set icon_z17;
2678 text: auto;
2679}
2680node[amenity=parking_entrance][parking=multi-storey],
2681node[amenity=parking][parking=multi-storey] {
2682 icon-image: "vehicle/parking/multi-storey.png";
2683 set icon_z17;
2684 text: auto;
2685}
2686node[amenity=parking_entrance][parking=underground],
2687node[amenity=parking][parking=underground] {
2688 icon-image: "vehicle/parking/underground.png";
2689 set icon_z17;
2690 text: auto;
2691}
2692node[amenity=motorcycle_parking] {
2693 icon-image: "vehicle/parking/motorbike.png";
2694 set icon_z17;
2695 text: auto;
2696}
2697node[amenity=bicycle_parking] {
2698 icon-image: "vehicle/parking/bicycle.png";
2699 set icon_z17;
2700 text: auto;
2701}
2702node[park_ride][park_ride!=no] {
2703 icon-image: "vehicle/parking/park_ride.svg";
2704 set icon_z17;
2705 text: auto;
2706}
2707node[amenity=parking_space][wheelchair?] {
2708 icon-image: "vehicle/parking/handicapped.png";
2709 set icon_z17;
2710 text: auto;
2711}
2712node[amenity=bicycle_rental] {
2713 icon-image: "vehicle/rental/bicycle.png";
2714 set icon_z17;
2715 text: auto;
2716}
2717node[amenity=bicycle_repair_station] {
2718 icon-image: "vehicle/bicycle_repair_station.svg";
2719 set icon_z17;
2720 text: auto;
2721}
2722node[amenity=car_rental] {
2723 icon-image: "vehicle/rental/car.png";
2724 set icon_z17;
2725 text: auto;
2726}
2727node[amenity=car_sharing] {
2728 icon-image: "vehicle/car_sharing.png";
2729 set icon_z17;
2730 text: auto;
2731}
2732node[amenity=car_wash] {
2733 icon-image: "vehicle/car_wash.png";
2734 set icon_z17;
2735 text: auto;
2736}
2737node[amenity=taxi] {
2738 icon-image: "transport/taxi.png";
2739 set icon_z17;
2740 text: auto;
2741}
2742node[amenity=fuel] {
2743 icon-image: "vehicle/fuel.png";
2744 set icon_z17;
2745 text: auto;
2746}
2747node[amenity=charging_station] {
2748 icon-image: "vehicle/fuel/charging_station.png";
2749 set icon_z17;
2750 text: auto;
2751}
2752node[amenity=grit_bin] {
2753 icon-image: "misc/grit_bin.svg";
2754 set icon_z17;
2755 text: auto;
2756}
2757node[amenity=telephone] {
2758 icon-image: "service/telephone.png";
2759 set icon_z17;
2760 text: auto;
2761}
2762node[amenity=clock] {
2763 icon-image: "service/clock.svg";
2764 set icon_z17;
2765 text: auto;
2766}
2767area[amenity=toilets],
2768area[amenity=shower],
2769area[amenity=recycling],
2770area[amenity=sanitary_dump_station] {
2771 fill-color: amenity_light#f7efb7;
2772}
2773node[amenity=toilets] {
2774 icon-image: "service/toilets.png";
2775 set icon_z17;
2776 text: auto;
2777}
2778node[amenity=shower] {
2779 icon-image: "service/shower.svg";
2780 set icon_z17;
2781 text: auto;
2782}
2783node[amenity=recycling] {
2784 icon-image: "service/recycling/recycling.svg";
2785 set icon_z17;
2786 text: auto;
2787}
2788node[amenity=recycling][recycling_type=container] {
2789 icon-image: "service/recycling/recycling_container.svg";
2790}
2791node[amenity=recycling][recycling_type=centre] {
2792 icon-image: "service/recycling/recycling_centre.svg";
2793}
2794node[amenity=waste_basket] {
2795 icon-image: "service/recycling/trash-bin.png";
2796 set icon_z17;
2797 text: auto;
2798}
2799node[amenity=waste_disposal] {
2800 icon-image: "service/recycling/waste_disposal.png";
2801 set icon_z17;
2802 text: auto;
2803}
2804node[amenity=sanitary_dump_station] {
2805 icon-image: "service/recycling/sanitary_dump_station.svg";
2806 set icon_z17;
2807 text: auto;
2808}
2809area[amenity=public_building],
2810area[amenity=townhall],
2811area[amenity=embassy],
2812area[amenity=community_centre] {
2813 fill-color: amenity_light#f7efb7;
2814}
2815node[amenity=public_building] {
2816 icon-image: "service.png";
2817 set icon_z17;
2818 text: auto;
2819}
2820node[amenity=townhall] {
2821 icon-image: "presets/townhall.png";
2822 set icon_z17;
2823 text: auto;
2824}
2825node[amenity=embassy] {
2826 icon-image: "service/administration/embassy.png";
2827 set icon_z17;
2828 text: auto;
2829}
2830node[amenity=community_centre] {
2831 icon-image: "service/community_centre.png";
2832 set icon_z17;
2833 text: auto;
2834}
2835area[amenity=water_point],
2836area[amenity=fountain] {
2837 fill-color: light_water#00005f;
2838}
2839node[amenity=drinking_water] {
2840 icon-image: "food/drinking_water.png";
2841 set icon_z17;
2842 text: auto;
2843}
2844node[amenity=water_point] {
2845 icon-image: "accommodation/camping/water.png";
2846 set icon_z17;
2847 text: auto;
2848}
2849node[amenity=fountain] {
2850 icon-image: "misc/fountain.png";
2851 set icon_z17;
2852 text: auto;
2853}
2854area[amenity=place_of_worship],
2855area[amenity=grave_yard],
2856area[amenity=crematorium],
2857area[amenity=post_office],
2858area[amenity=studio],
2859area[amenity=school],
2860area[amenity=university],
2861area[amenity=college],
2862area[amenity=kindergarten],
2863area[amenity=driving_school] {
2864 fill-color: amenity_light#f7efb7;
2865}
2866node[amenity=place_of_worship] {
2867 icon-image: "religion.png";
2868 set icon_z17;
2869 text: auto;
2870}
2871node[amenity=place_of_worship][religion=bahai] {
2872 icon-image: "religion/bahai.png";
2873 set icon_z17;
2874 text: auto;
2875}
2876node[amenity=place_of_worship][religion=buddhist] {
2877 icon-image: "religion/buddhism.png";
2878 set icon_z17;
2879 text: auto;
2880}
2881node[amenity=place_of_worship][religion=christian] {
2882 icon-image: "religion/church.png";
2883 set icon_z17;
2884 text: auto;
2885}
2886node[amenity=place_of_worship][religion=hindu] {
2887 icon-image: "religion/hinduism.png";
2888 set icon_z17;
2889 text: auto;
2890}
2891node[amenity=place_of_worship][religion=jain] {
2892 icon-image: "religion/jainism.png";
2893 set icon_z17;
2894 text: auto;
2895}
2896node[amenity=place_of_worship][religion=jewish] {
2897 icon-image: "religion/jewish.png";
2898 set icon_z17;
2899 text: auto;
2900}
2901node[amenity=place_of_worship][religion=muslim] {
2902 icon-image: "religion/muslim.png";
2903 set icon_z17;
2904 text: auto;
2905}
2906node[amenity=place_of_worship][religion=sikh] {
2907 icon-image: "religion/sikhism.png";
2908 set icon_z17;
2909 text: auto;
2910}
2911node[amenity=place_of_worship][religion=shinto] {
2912 icon-image: "religion/shinto.png";
2913 set icon_z17;
2914 text: auto;
2915}
2916node[amenity=place_of_worship][religion=spiritualist] {
2917 icon-image: "misc/no_icon.png";
2918 set icon_z17;
2919 text: auto;
2920}
2921node[amenity=place_of_worship][religion=taoist] {
2922 icon-image: "religion/taoism.png";
2923 set icon_z17;
2924 text: auto;
2925}
2926node[amenity=place_of_worship][religion=unitarian] {
2927 icon-image: "misc/no_icon.png";
2928 set icon_z17;
2929 text: auto;
2930}
2931node[amenity=place_of_worship][religion=zoroastrian] {
2932 icon-image: "misc/no_icon.png";
2933 set icon_z17;
2934 text: auto;
2935}
2936node[amenity=grave_yard] {
2937 icon-image: "rendering/landuse/cemetery.png";
2938 set icon_z17;
2939 text: auto;
2940}
2941node[amenity=crematorium] {
2942 icon-image: "misc/no_icon.png";
2943 set icon_z17;
2944 text: auto;
2945}
2946node[amenity=post_office] {
2947 icon-image: "service/post_office.png";
2948 set icon_z17;
2949 text: auto;
2950}
2951node[amenity=post_box] {
2952 icon-image: "service/post_box.png";
2953 set icon_z17;
2954 text: auto;
2955}
2956node[amenity=studio] {
2957 icon-image: "service/studio.png";
2958 set icon_z17;
2959 text: auto;
2960}
2961node[amenity=school] {
2962 icon-image: "education/school.png";
2963 set icon_z17;
2964 text: auto;
2965}
2966node[amenity=university] {
2967 icon-image: "education/university.png";
2968 set icon_z17;
2969 text: auto;
2970}
2971node[amenity=college] {
2972 icon-image: "education/college.png";
2973 set icon_z17;
2974 text: auto;
2975}
2976node[amenity=kindergarten] {
2977 icon-image: "education/kindergarten.png";
2978 set icon_z17;
2979 text: auto;
2980}
2981node[amenity=driving_school] {
2982 icon-image: "education/driving_school.png";
2983 set icon_z17;
2984 text: auto;
2985}
2986area[amenity=pharmacy],
2987area[amenity=hospital],
2988area[amenity=clinic],
2989area[amenity=nursing_home],
2990area[amenity=social_facility],
2991area[amenity=baby_hatch],
2992area[amenity=doctors],
2993area[amenity=dentist],
2994area[amenity=veterinary] {
2995 fill-color: health#eeeeee;
2996}
2997node[amenity=pharmacy] {
2998 icon-image: "health/pharmacy.svg";
2999 set icon_z17;
3000 text: auto;
3001}
3002node[amenity=hospital] {
3003 icon-image: "health/hospital.svg";
3004 set icon_z17;
3005 text: auto;
3006}
3007node[amenity=clinic] {
3008 icon-image: "health/clinic.svg";
3009 set icon_z17;
3010 text: auto;
3011}
3012node[amenity=nursing_home] {
3013 icon-image: "social_facility/nursing_home.svg";
3014 set icon_z17;
3015 text: auto;
3016}
3017node[amenity=social_facility][social_facility=group_home] {
3018 icon-image: "social_facility/group_home.svg";
3019 set icon_z17;
3020 text: auto;
3021}
3022node[amenity=social_facility][social_facility=assisted_living] {
3023 icon-image: "social_facility/assisted_living.svg";
3024 set icon_z17;
3025 text: auto;
3026}
3027node[amenity=social_facility][social_facility=outreach] {
3028 icon-image: "social_facility/outreach.svg";
3029 set icon_z17;
3030 text: auto;
3031}
3032node[amenity=social_facility][social_facility=shelter] {
3033 icon-image: "social_facility/shelter.svg";
3034 set icon_z17;
3035 text: auto;
3036}
3037node[amenity=social_facility][social_facility=food_bank] {
3038 icon-image: "social_facility/food_bank.svg";
3039 set icon_z17;
3040 text: auto;
3041}
3042node[amenity=baby_hatch] {
3043 icon-image: "health/baby_hatch.svg";
3044 set icon_z17;
3045 text: auto;
3046}
3047node[amenity=doctors] {
3048 icon-image: "health/doctors.svg";
3049 set icon_z17;
3050 text: auto;
3051}
3052node[amenity=dentist] {
3053 icon-image: "health/dentist.svg";
3054 set icon_z17;
3055 text: auto;
3056}
3057node[amenity=veterinary] {
3058 icon-image: "health/veterinary.svg";
3059 set icon_z17;
3060 text: auto;
3061}
3062area[amenity=library],
3063area[amenity=police],
3064area[amenity=ranger_station],
3065area[amenity=fire_station],
3066area[amenity=bus_station],
3067area[amenity=ferry_terminal],
3068area[amenity=theatre],
3069area[amenity=cinema],
3070area[amenity=arts_centre],
3071area[amenity=courthouse],
3072area[amenity=prison],
3073area[amenity=bank],
3074area[amenity=bureau_de_change],
3075area[amenity=bbq] {
3076 fill-color: amenity_light#f7efb7;
3077}
3078node[amenity=library] {
3079 icon-image: "shop/library.png";
3080 set icon_z17;
3081 text: auto;
3082}
3083node[amenity=police] {
3084 icon-image: "service/police.png";
3085 set icon_z17;
3086 text: auto;
3087}
3088node[amenity=ranger_station] {
3089 icon-image: "service/ranger_station.svg";
3090 set icon_z17;
3091 text: auto;
3092}
3093node[amenity=fire_station] {
3094 icon-image: "service/firebrigade.png";
3095 set icon_z17;
3096 text: auto;
3097}
3098node[amenity=bus_station] {
3099 icon-image: "transport/bus.png";
3100 set icon_z17;
3101 text: auto;
3102}
3103node[amenity=ferry_terminal] {
3104 icon-image: "nautical/ferry.png";
3105 icon-width: 16;
3106 set icon_z17;
3107 text: auto;
3108}
3109node[amenity=theatre] {
3110 icon-image: "presets/theater.png";
3111 icon-width: 16;
3112 set icon_z17;
3113 text: auto;
3114}
3115node[amenity=cinema] {
3116 icon-image: "leisure/cinema.png";
3117 set icon_z17;
3118 text: auto;
3119}
3120node[amenity=arts_centre] {
3121 icon-image: "service/arts_centre.png";
3122 set icon_z17;
3123 text: auto;
3124}
3125node[amenity=courthouse] {
3126 icon-image: "service/administration/courthouse.svg";
3127 set icon_z17;
3128 text: auto;
3129}
3130node[amenity=prison] {
3131 icon-image: "service/administration/prison.svg";
3132 set icon_z17;
3133 text: auto;
3134}
3135node[amenity=bank] {
3136 icon-image: "money/bank.png";
3137 set icon_z17;
3138 text: auto;
3139}
3140node[amenity=bureau_de_change] {
3141 icon-image: "money/exchange.png";
3142 set icon_z17;
3143 text: auto;
3144}
3145node[amenity=atm] {
3146 icon-image: "money/atm.png";
3147 set icon_z17;
3148 text: auto;
3149}
3150way[amenity=bench] {
3151 width: 2;
3152 color: amenity_light#f7efb7;
3153}
3154node[amenity=bench] {
3155 icon-image: "leisure/bench.png";
3156 set icon_z17;
3157 text: auto;
3158}
3159node[amenity=bbq] {
3160 icon-image: "leisure/bbq.png";
3161 set icon_z17;
3162 text: auto;
3163}
3164node[amenity=compressed_air] {
3165 icon-image: "vehicle/compressed_air.svg";
3166 set icon_z17;
3167 text: auto;
3168}
3169area[amenity=shelter],
3170area[amenity=marketplace],
3171area[amenity=wlan] {
3172 fill-color: amenity_light#f7efb7;
3173}
3174node[amenity=shelter] {
3175 icon-image: "accommodation/shelter.png";
3176 set icon_z17;
3177 text: auto;
3178}
3179node[amenity=shelter][shelter_type=public_transport] {
3180 icon-image: "accommodation/shelter_public_transport_brown.png";
3181 set icon_z17;
3182 text: auto;
3183}
3184node[amenity=shelter][shelter_type=picnic_shelter] {
3185 icon-image: "accommodation/shelter_picnic_brown.png";
3186 set icon_z17;
3187 text: auto;
3188}
3189node[amenity=shelter][shelter_type=basic_hut] {
3190 icon-image: "accommodation/basic_hut_blue.png";
3191 set icon_z17;
3192 text: auto;
3193}
3194node[amenity=shelter][shelter_type=lean_to] {
3195 icon-image: "accommodation/shelter_lean_to.svg";
3196 set icon_z17;
3197 text: auto;
3198}
3199node[amenity=hunting_stand] {
3200 icon-image: "hunting_stand.png";
3201 set icon_z17;
3202 text: auto;
3203}
3204node[amenity=marketplace] {
3205 icon-image: "place/marketplace.png";
3206 set icon_z17;
3207 text: auto;
3208}
3209node[amenity=wlan] {
3210 icon-image: "wlan.png";
3211 set icon_z17;
3212 text: auto;
3213}
3214node[amenity=vending_machine] {
3215 icon-image: "transport/ticket-machine.png";
3216 set icon_z17;
3217}
3218node[vending=excrement_bags] {
3219 icon-image: "service/excrement_bags.png";
3220 set icon_z17;
3221 text: auto;
3222}
3223
3224/**************/
3225/* craft tags */
3226/**************/
3227
3228area[craft=carpenter],
3229area[craft=shoemaker],
3230area[craft=photographer],
3231area[craft=metal_construction],
3232area[craft=electrician],
3233area[craft=brewery],
3234area[craft=plumber],
3235area[craft=sawmill],
3236area[craft=gardener],
3237area[craft=winery],
3238area[craft=hvac],
3239area[craft=painter],
3240area[craft=stonemason],
3241area[craft=handicraft],
3242area[craft=pottery],
3243area[craft=key_cutter],
3244area[craft=caterer],
3245area[craft=roofer],
3246area[craft=beekeeper],
3247area[craft=blacksmith],
3248area[craft=locksmith],
3249area[craft=window_construction],
3250area[craft=upholsterer],
3251area[craft=tiler] {
3252 fill-color: craft#999900;
3253}
3254node[craft=carpenter] {
3255 icon-image: "misc/no_icon.png";
3256 set icon_z17;
3257 text: auto;
3258}
3259node[craft=shoemaker] {
3260 icon-image: "misc/no_icon.png";
3261 set icon_z17;
3262 text: auto;
3263}
3264node[craft=photographer] {
3265 icon-image: "misc/no_icon.png";
3266 set icon_z17;
3267 text: auto;
3268}
3269node[craft=metal_construction] {
3270 icon-image: "misc/no_icon.png";
3271 set icon_z17;
3272 text: auto;
3273}node[craft=electrician] {
3274 icon-image: "misc/no_icon.png";
3275 set icon_z17;
3276 text: auto;
3277}
3278node[craft=brewery] {
3279 icon-image: "misc/no_icon.png";
3280 set icon_z17;
3281 text: auto;
3282}
3283node[craft=plumber] {
3284 icon-image: "craft/plumber.png";
3285 set icon_z17;
3286 text: auto;
3287}
3288node[craft=sawmill] {
3289 icon-image: "misc/no_icon.png";
3290 set icon_z17;
3291 text: auto;
3292}
3293node[craft=gardener] {
3294 icon-image: "misc/no_icon.png";
3295 set icon_z17;
3296 text: auto;
3297}
3298node[craft=winery] {
3299 icon-image: "misc/no_icon.png";
3300 set icon_z17;
3301 text: auto;
3302}
3303node[craft=hvac] {
3304 icon-image: "misc/no_icon.png";
3305 set icon_z17;
3306 text: auto;
3307}
3308node[craft=painter] {
3309 icon-image: "craft/painter.png";
3310 set icon_z17;
3311 text: auto;
3312}
3313node[craft=stonemason] {
3314 icon-image: "craft/stonemason.png";
3315 set icon_z17;
3316 text: auto;
3317}
3318node[craft=handicraft] {
3319 icon-image: "misc/no_icon.png";
3320 set icon_z17;
3321 text: auto;
3322}
3323node[craft=pottery] {
3324 icon-image: "craft/pottery.png";
3325 set icon_z17;
3326 text: auto;
3327}
3328node[craft=key_cutter] {
3329 icon-image: "misc/no_icon.png";
3330 set icon_z17;
3331 text: auto;
3332}
3333node[craft=caterer] {
3334 icon-image: "misc/no_icon.png";
3335 set icon_z17;
3336 text: auto;
3337}
3338node[craft=roofer] {
3339 icon-image: "misc/no_icon.png";
3340 set icon_z17;
3341 text: auto;
3342}
3343node[craft=beekeeper] {
3344 icon-image: "misc/no_icon.png";
3345 set icon_z17;
3346 text: auto;
3347}
3348node[craft=blacksmith] {
3349 icon-image: "misc/no_icon.png";
3350 set icon_z17;
3351 text: auto;
3352}
3353node[craft=locksmith] {
3354 icon-image: "misc/no_icon.png";
3355 set icon_z17;
3356 text: auto;
3357}
3358node[craft=window_construction] {
3359 icon-image: "craft/window_construction.png";
3360 set icon_z17;
3361 text: auto;
3362}
3363node[craft=upholsterer] {
3364 icon-image: "misc/no_icon.png";
3365 set icon_z17;
3366 text: auto;
3367}
3368node[craft=tiler] {
3369 icon-image: "craft/tiler.png";
3370 set icon_z17;
3371 text: auto;
3372}
3373
3374/****************/
3375/* tourism tags */
3376/****************/
3377
3378area[tourism=hotel],
3379area[tourism=motel],
3380area[tourism=guest_house],
3381area[tourism=hostel],
3382area[tourism=chalet],
3383area[tourism=alpine_hut],
3384area[tourism=wilderness_hut],
3385area[tourism=camp_site],
3386area[tourism=caravan_site] {
3387 fill-color: hotel#feced0;
3388}
3389node[tourism=hotel] {
3390 icon-image: "accommodation/hotel.svg";
3391 set icon_z17;
3392 text: auto;
3393}
3394node[tourism=motel] {
3395 icon-image: "accommodation/motel.svg";
3396 set icon_z17;
3397 text: auto;
3398}
3399node[tourism=guest_house] {
3400 icon-image: "accommodation/guest_house.png";
3401 set icon_z17;
3402 text: auto;
3403}
3404node[tourism=hostel] {
3405 icon-image: "accommodation/hostel.svg";
3406 set icon_z17;
3407 text: auto;
3408}
3409node[tourism=chalet] {
3410 icon-image: "accommodation/chalet.png";
3411 set icon_z17;
3412 text: auto;
3413}
3414node[tourism=alpine_hut] {
3415 icon-image: "accommodation/alpine_hut_blue.png";
3416 set icon_z17;
3417 text: auto;
3418}
3419node[tourism=wilderness_hut] {
3420 icon-image: "accommodation/wilderness_hut_blue.png";
3421 set icon_z17;
3422 text: auto;
3423}
3424node[tourism=camp_site] {
3425 icon-image: "accommodation/camping.png";
3426 set icon_z17;
3427 text: auto;
3428}
3429node[tourism=caravan_site] {
3430 icon-image: "accommodation/camping/caravan.png";
3431 set icon_z17;
3432 text: auto;
3433}
3434area[tourism=picnic_site],
3435area[tourism=viewpoint],
3436area[tourism=theme_park],
3437area[tourism=attraction],
3438area[tourism=zoo],
3439area[tourism=museum] {
3440 fill-color: tourism#e180a2;
3441}
3442node[tourism=picnic_site] {
3443 icon-image: "leisure/picnic.png";
3444 set icon_z17;
3445 text: auto;
3446}
3447node[tourism=viewpoint] {
3448 icon-image: "sightseeing/viewpoint.png";
3449 set icon_z17;
3450 text: auto;
3451}
3452node[tourism=theme_park] {
3453 icon-image: "leisure/theme_park.png";
3454 set icon_z17;
3455 text: auto;
3456}
3457node[tourism=attraction] {
3458 icon-image: "sightseeing.png";
3459 set icon_z17;
3460 text: auto;
3461}
3462node[tourism=zoo] {
3463 icon-image: "leisure/zoo.png";
3464 set icon_z17;
3465 text: auto;
3466}
3467area[tourism=artwork]:closed {
3468 fill-color: tourism#e180a2;
3469}
3470way[tourism=artwork] {
3471 width: 2;
3472 color: tourism#e180a2;
3473}
3474node[tourism=artwork] {
3475 icon-image: "service/arts_centre.png";
3476 set icon_z17;
3477 text: auto;
3478}
3479node[tourism=museum] {
3480 icon-image: "sightseeing/museum.svg";
3481 set icon_z17;
3482 text: auto;
3483}
3484
3485/********************/
3486/* information tags */
3487/********************/
3488
3489area[tourism=information] {
3490 fill-color: tourism#e180a2;
3491}
3492node[tourism=information] {
3493 icon-image: "misc/information.png";
3494 set icon_z17;
3495 text: auto;
3496}
3497node[tourism=information][information=guidepost] {
3498 icon-image: "misc/information/guidepost.png";
3499 set icon_z17;
3500 text: auto;
3501}
3502area[tourism=information][information=office] {
3503 fill-color: tourism#e180a2;
3504}
3505node[tourism=information][information=office] {
3506 icon-image: "misc/information/informationoffice.png";
3507 set icon_z17;
3508 text: auto;
3509}
3510node[tourism=information][information=map] {
3511 icon-image: "misc/information/map.png";
3512 set icon_z17;
3513 text: auto;
3514}
3515node[tourism=information][information=board] {
3516 icon-image: "misc/information/board.png";
3517 set icon_z17;
3518 text: auto;
3519}
3520
3521/*****************/
3522/* historic tags */
3523/*****************/
3524
3525area[historic=castle],
3526area[historic=monument],
3527area[historic=memorial],
3528area[historic=archaeological_site],
3529area[historic=ruins],
3530area[historic=battlefield],
3531area[geological=palaeontological_site],
3532area[historic=wayside_cross],
3533area[historic=wayside_shrine],
3534area[historic=boundary_stone] {
3535 fill-color: historic#663300;
3536}
3537node[historic=castle] {
3538 icon-image: "sightseeing/castle.svg";
3539 set icon_z17;
3540 text: auto;
3541}
3542node[historic=monument] {
3543 icon-image: "sightseeing/monument.png";
3544 set icon_z17;
3545 text: auto;
3546}
3547node[historic=memorial] {
3548 icon-image: "sightseeing/memorial.png";
3549 set icon_z17;
3550 text: auto;
3551}
3552node[historic=archaeological_site] {
3553 icon-image: "sightseeing/archaeological.png";
3554 set icon_z17;
3555 text: auto;
3556}
3557node[historic=ruins] {
3558 icon-image: "sightseeing/ruins.png";
3559 set icon_z17;
3560 text: auto;
3561}
3562node[historic=battlefield] {
3563 icon-image: "sightseeing/battlefield.png";
3564 set icon_z17;
3565 text: auto;
3566}
3567node[geological=palaeontological_site] {
3568 icon-image: "historic/palaeontological_site.png";
3569 set icon_z17;
3570 text: auto;
3571}
3572node[historic=wayside_cross] {
3573 icon-image: "religion/wayside_cross.png";
3574 set icon_z17;
3575 text: auto;
3576}
3577node[historic=wayside_shrine] {
3578 icon-image: "religion/wayside_shrine.png";
3579 set icon_z17;
3580 text: auto;
3581}
3582node[historic=boundary_stone] {
3583 icon-image: "historic/boundary_stone.png";
3584 set icon_z17;
3585 text: auto;
3586}
3587
3588/****************/
3589/* landuse tags */
3590/****************/
3591
3592area[landuse],
3593area[leisure],
3594area[amenity],
3595area[place],
3596area[natural],
3597area[man_made] {
3598 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3599}
3600area[landuse=farmland] {
3601 fill-color: farmland#b8e0b1;
3602}
3603area[landuse=meadow] {
3604 fill-color: meadow#b1e0b6;
3605}
3606area[landuse=vineyard],
3607area[landuse=orchard] {
3608 fill-color: green#b1e0c2;
3609}
3610area[landuse=quarry] {
3611 fill-color: quarry#888888;
3612}
3613area[landuse=landfill] {
3614 fill-color: landfill#663300;
3615}
3616area[landuse=basin],
3617area[landuse=reservoir] {
3618 fill-color: basin#0000bf;
3619}
3620area[landuse=forest] {
3621 fill-color: forest#b1efc8;
3622}
3623area[landuse=allotments] {
3624 fill-color: allotments#5dbf80;
3625}
3626area[landuse=greenhouse_horticulture],
3627area[landuse=plant_nursery] {
3628 fill-color: green#b1e0c2;
3629}
3630area[landuse=grass] {
3631 fill-color: grass#97ca96;
3632}
3633area[landuse=residential] {
3634 fill-color: residential#f0f0f0;
3635}
3636area[landuse=garages] {
3637 fill-color: garages#d6c8aa;
3638}
3639area[landuse=farmyard] {
3640 fill-color: farmyard#f0f0f0;
3641}
3642area[landuse=retail],
3643area[landuse=commercial] {
3644 fill-color: retail#ffc4ee;
3645}
3646area[landuse=industrial] {
3647 fill-color: industrial#ecd8ff;
3648}
3649area[landuse=brownfield] {
3650 fill-color: brownfield#ecba32;
3651}
3652area[landuse=greenfield] {
3653 fill-color: greenfield#b1ec5c;
3654}
3655area[landuse=railway] {
3656 fill-color: railland#888888;
3657}
3658area[landuse=construction] {
3659 fill-color: construction#ffff00;
3660}
3661way[landuse=construction] {
3662 width: 1;
3663 color: construction#ffff00;
3664 dashes: 9,9;
3665}
3666area[landuse=military] {
3667 fill-color: military#b62c2c;
3668}
3669area[landuse=religious] {
3670 fill-color: religious#ffd454;
3671}
3672area[landuse=cemetery] {
3673 fill-color: cemetery#b1efc8;
3674}
3675area[landuse=village_green] {
3676 fill-color: green#b1e0c2;
3677}
3678area[landuse=recreation_ground] {
3679 fill-color: green#b1e0c2;
3680}
3681node[landuse] {
3682 icon-image: "misc/deprecated.png";
3683 set icon_z17;
3684 text: auto;
3685}
3686
3687/*****************/
3688/* military tags */
3689/*****************/
3690
3691area[military=airfield],
3692area[military=bunker],
3693area[military=barracks],
3694area[military=danger_area],
3695area[military=range] {
3696 fill-color: military#b62c2c;
3697}
3698node[military=airfield] {
3699 icon-image: "transport/airport/airfield.png";
3700 set icon_z17;
3701 text: auto;
3702}
3703node[military=bunker] {
3704 icon-image: "misc/landmark/bunker.png";
3705 set icon_z17;
3706 text: auto;
3707}
3708node[military=barracks] {
3709 icon-image: "misc/no_icon.png";
3710 set icon_z17;
3711 text: auto;
3712}
3713node[military=danger_area] {
3714 icon-image: "misc/danger.png";
3715 set icon_z17;
3716 text: auto;
3717}
3718node[military=range] {
3719 icon-image: "misc/landmark/range.png";
3720 set icon_z17;
3721 text: auto;
3722}
3723
3724/*************************/
3725/* public_transport tags */
3726/*************************/
3727
3728node[public_transport=stop_position] {
3729 icon-image: "transport/railway_small.png";
3730 set icon_z17;
3731 text: auto;
3732}
3733node[highway=bus_stop] {
3734 icon-image: "transport/bus_small.png";
3735 set icon_z17;
3736 text: auto;
3737}
3738node[public_transport=stop_position][bus=yes] {
3739 icon-image: "transport/bus_small.png";
3740 set icon_z17;
3741 text: auto;
3742}
3743node[public_transport=stop_position][aerial=yes] {
3744 icon-image: "transport/aerialway.png";
3745 set icon_z17;
3746 text: auto;
3747}
3748node[public_transport=stop_position][ferry=yes] {
3749 icon-image: "transport/ferry.png";
3750 set icon_z17;
3751 text: auto;
3752}
3753node[public_transport=stop_position][tram=yes] {
3754 icon-image: "transport/tram.png";
3755 set icon_z17;
3756 text: auto;
3757}
3758node[public_transport=stop_position][train=yes] {
3759 icon-image: "transport/railway_small.png";
3760 set icon_z17;
3761 text: auto;
3762}
3763area[public_transport=platform]:closed {
3764 fill-color: service#809bc0;
3765}
3766way[public_transport=platform]!:closed {
3767 width: 3;
3768 color: service#809bc0;
3769 dashes: 12,3;
3770}
3771node[public_transport=platform] {
3772 icon-image: "transport/bus_small.png";
3773 set icon_z17;
3774 text: auto;
3775}
3776node[public_transport=platform][bus=yes] {
3777 icon-image: "transport/bus_small.png";
3778 set icon_z17;
3779 text: auto;
3780}
3781node[public_transport=platform][aerial=yes] {
3782 icon-image: "transport/aerialway/station.png";
3783 set icon_z17;
3784 text: auto;
3785}
3786node[public_transport=platform][ferry=yes] {
3787 icon-image: "transport/ferry.png";
3788 set icon_z17;
3789 text: auto;
3790}
3791node[public_transport=platform][tram=yes],
3792node[public_transport=platform][train=yes] {
3793 icon-image: "transport/railway_station.png";
3794 set icon_z17;
3795 text: auto;
3796}
3797
3798/****************/
3799/* railway tags */
3800/****************/
3801
3802area[railway=station],
3803area[railway=tram_station],
3804area[railway=subway_entrance] {
3805 fill-color: railwaypoint#f7efb7;
3806}
3807node[railway=station], node[railway=tram_station] {
3808 icon-image: "transport/railway_station.png";
3809 set icon_z17;
3810 text: auto;
3811}
3812node[railway=halt] {
3813 icon-image: "transport/railway_small.png";
3814 set icon_z17;
3815 text: auto;
3816}
3817node[railway=tram_stop] {
3818 icon-image: "transport/tram.png";
3819 set icon_z17;
3820 text: auto;
3821}
3822node[railway=subway_entrance] {
3823 icon-image: "transport/underground.png";
3824 set icon_z17;
3825 text: auto;
3826}
3827node[railway=crossing] {
3828 icon-image: "transport/railway/crossing.svg";
3829 set icon_z17;
3830 text: auto;
3831}
3832node[railway=level_crossing] {
3833 icon-image: "transport/railway/level_crossing.svg";
3834 icon-width: 16;
3835 set icon_z17;
3836 text: auto;
3837}
3838way[railway=rail] {
3839 width: 2;
3840 color: rail#404040;
3841 dashes: 9,9;
3842 dashes-background-color: raildashed#ffffff;
3843}
3844way[railway=rail][service=siding] {
3845 width: 1;
3846}
3847way[railway=rail][service=yard],
3848way[railway=rail][service=spur] {
3849 width: 1;
3850 color: railyard#552200
3851}
3852/* draw tram on top of other way (highway=*) or
3853 as a standalone style */
3854way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
3855 object-z-index: 1;
3856 modifier: false; /* don't draw default way if there is no line on default layer */
3857 width: 1;
3858 color: railover#202020;
3859 dashes: 9,9;
3860 casing-width: 1;
3861 casing-color: otherrail#808080;
3862 casing-linecap: round;
3863 casing-dashes: 9,9;
3864}
3865way[railway=light_rail] {
3866 width: 2;
3867 color: otherrail#808080;
3868 dashes: 9,9;
3869}
3870way[railway=subway] {
3871 width: 1;
3872 color: subway#606060;
3873 dashes: 9,9;
3874}
3875way[railway=preserved] {
3876 width: 1;
3877 color: oldrail#404040;
3878 dashes: 9,9;
3879}
3880/* disused often appears together with highway=xy */
3881/* -> draw on separate layer with higher z-index, but use */
3882/* modifier: false; to suppress default line when used alone. */
3883/* use default layer when used without highway=* to display bridge correctly */
3884way[railway=disused][highway]::core_railway,
3885way[railway=disused][!highway],
3886way[railway=abandoned][highway]::core_railway,
3887way[railway=abandoned][!highway] {
3888 width: 1;
3889 modifier: false;
3890 z-index: 1;
3891 color: oldrail#404040;
3892 dashes: 9,9;
3893}
3894way[railway=narrow_gauge],
3895way[railway=monorail] {
3896 width: 1;
3897 color: rail#404040;
3898 dashes: 9,9;
3899}
3900area[railway=turntable] {
3901 fill-color: rail#404040;
3902}
3903node[railway=turntable] {
3904 icon-image: "transport/railway/turntable.svg";
3905 set icon_z17;
3906 text: auto;
3907}
3908node[railway=buffer_stop] {
3909 icon-image: "transport/railway/buffer_stop.svg";
3910 set icon_z17;
3911 text: auto;
3912}
3913area[railway=platform]:closed {
3914 fill-color: rail#404040;
3915}
3916way[railway=platform] {
3917 width: 2;
3918 color: rail#404040;
3919}
3920way[railway=funicular] {
3921 width: 1;
3922 color: rail#404040;
3923 dashes: 9,9;
3924}
3925node[railway=switch] {
3926 icon-image: "transport/railway/switch.svg";
3927 icon-width: 16;
3928 set icon_z17;
3929 text: auto;
3930}
3931node[railway=signal] {
3932 icon-image: "transport/railway/signal.svg";
3933 set icon_z17;
3934 text: auto;
3935}
3936node[railway=milestone] {
3937 icon-image: "transport/railway/milestone.svg";
3938 set icon_z17;
3939 text: auto;
3940}
3941node[railway=rail], node[railway=tram], node[railway=light_rail],
3942node[railway=subway], node[railway=preserved],
3943node[railway=disused], node[railway=abandoned],
3944node[railway=narrow_gauge], node[railway=monorail],
3945node[railway=platform], node[railway=funicular],
3946node[service=yard], node[service=siding], node[service=spur] {
3947 icon-image: "misc/deprecated.png";
3948 set icon_z17;
3949 text: auto;
3950}
3951way[railway=construction][!highway] {
3952 width: 1;
3953 color: construction#ffff00;
3954 dashes: 9,9;
3955}
3956way[railway=construction][construction=rail] {
3957 width: 2;
3958 color: rail#404040;
3959 dashes: 9,9;
3960 dashes-background-color: construction#ffff00;
3961}
3962way[railway=construction][construction=light_rail] {
3963 width: 2;
3964}
3965way[railway=construction][construction=tram][highway]::core_railway,
3966way[railway=construction][construction=tram][!highway] {
3967 z-index: 1;
3968 width: 1;
3969 color: railover#202020;
3970 dashes: 9,9;
3971 casing-width: 1;
3972 casing-color: construction#ffff00;
3973 casing-linecap: round;
3974 casing-dashes: 9,9;
3975}
3976
3977/****************/
3978/* aeroway tags */
3979/****************/
3980
3981area[aeroway=aerodrome] {
3982 fill-color: aeroway#660000;
3983 width: 2;
3984 dashes: 9,9;
3985}
3986node[aeroway=aerodrome][military!=airfield] {
3987 icon-image: "transport/airport.png";
3988 set icon_z17;
3989 text: auto;
3990}
3991area[aeroway=terminal] {
3992 fill-color: terminal#bb0000;
3993}
3994node[aeroway=terminal] {
3995 icon-image: "transport/airport/terminal.png";
3996 set icon_z17;
3997 text: auto;
3998}
3999area[aeroway=helipad] {
4000 fill-color: aeroway_dark#330000;
4001}
4002node[aeroway=helipad] {
4003 icon-image: "transport/airport/helipad.png";
4004 set icon_z17;
4005 text: auto;
4006}
4007area[aeroway=runway]:closed {
4008 fill-color: aeroway_dark#330000;
4009}
4010way[aeroway=runway] {
4011 width: 3;
4012 color: aeroway_dark#330000;
4013}
4014area[aeroway=taxiway]:closed {
4015 fill-color: aeroway#660000;
4016}
4017way[aeroway=taxiway] {
4018 width: 2;
4019 color: aeroway#660000;
4020}
4021way[aeroway=parking_position] {
4022 width: 1;
4023 color: aeroway#660000;
4024}
4025node[aeroway=parking_position] {
4026 icon-image: "transport/airport/parking_position.png";
4027 set icon_z17;
4028 text: auto;
4029}
4030area[aeroway=apron],
4031area[aeroway=hangar] {
4032 fill-color: aeroway_light#990000;
4033}
4034node[aeroway=apron],
4035node[aeroway=runway],
4036node[aeroway=taxiway] {
4037 icon-image: "misc/deprecated.png";
4038 set icon_z17;
4039 text: auto;
4040}
4041node[aeroway=hangar] {
4042 icon-image: "transport/airport/hangar.png";
4043 set icon_z17;
4044 text: auto;
4045}
4046node[aeroway=gate] {
4047 icon-image: "transport/airport/gate.png";
4048 set icon_z17;
4049 text: auto;
4050}
4051node[aeroway=windsock] {
4052 icon-image: "transport/airport/windsock.png";
4053 set icon_z17;
4054 text: auto;
4055}
4056
4057/******************/
4058/* aerialway tags */
4059/******************/
4060
4061way[aerialway=cable_car],
4062way[aerialway=gondola] {
4063 width: 1;
4064 color: aerialway#663300;
4065 dashes: 9,9;
4066}
4067way[aerialway=chair_lift] {
4068 width: 1;
4069 color: aerialway#663300;
4070 dashes: 6,6;
4071}
4072way[aerialway=mixed_lift] {
4073 width: 1;
4074 color: aerialway#663300;
4075 dashes: 6,6,9,6;
4076}
4077way[aerialway=j-bar],
4078way[aerialway=t-bar],
4079way[aerialway=platter],
4080way[aerialway=rope_tow],
4081way[aerialway=drag_lift] {
4082 width: 1;
4083 color: aerialway#663300;
4084 dashes: 3,3;
4085}
4086way[aerialway=magic_carpet] {
4087 width: 1;
4088 color: aerialway#663300;
4089 dashes: 3,3;
4090}
4091way[aerialway=goods] {
4092 width: 1;
4093 color: aerialway#663300;
4094 dashes: 2,2;
4095}
4096area[aerialway=station] {
4097 fill-color: aerialway#663300;
4098}
4099node[aerialway=station] {
4100 icon-image: "transport/aerialway/station.png";
4101 set icon_z17;
4102 text: auto;
4103}
4104node[aerialway=pylon] {
4105 icon-image: "transport/aerialway/pylon.svg";
4106 set icon_z17;
4107 text: auto;
4108}
4109node[aerialway=cable_car],
4110node[aerialway=gondola],
4111node[aerialway=chair_lift],
4112node[aerialway=mixed_lift],
4113node[aerialway=drag_lift],
4114node[aerialway=t-bar],
4115node[aerialway=j-bar],
4116node[aerialway=platter],
4117node[aerialway=magic_carpet],
4118node[aerialway=rope_tow],
4119node[aerialway=goods] {
4120 icon-image: "misc/deprecated.png";
4121 set icon_z17;
4122 text: auto;
4123}
4124
4125/**************/
4126/* sport tags */
4127/**************/
4128
4129area[sport="9pin"],
4130area[sport="10pin"],
4131area[sport=athletics],
4132area[sport=running],
4133area[sport=soccer],
4134area[sport=australian_football],
4135area[sport=american_football],
4136area[sport=canadian_football],
4137area[sport=gaelic_games],
4138area[sport=rugby_league],
4139area[sport=rugby_union] {
4140 fill-color: sport#bde3cb;
4141}
4142node[sport="9pin"] {
4143 icon-image: "sport/10pin.png";
4144 set icon_z17;
4145 text: auto;
4146}
4147node[sport="10pin"] {
4148 icon-image: "sport/10pin.png";
4149 set icon_z17;
4150 text: auto;
4151}
4152node[sport=athletics] {
4153 icon-image: "sport/athletics.png";
4154 set icon_z17;
4155 text: auto;
4156}
4157node[sport=running] {
4158 icon-image: "sport/running.svg";
4159 set icon_z17;
4160 text: auto;
4161}
4162node[sport=soccer],
4163node[sport=gaelic_games] {
4164 icon-image: "sport/soccer.png";
4165 set icon_z17;
4166 text: auto;
4167}
4168node[sport=australian_football],
4169node[sport=american_football],
4170node[sport=canadian_football],
4171node[sport=rugby_league],
4172node[sport=rugby_union] {
4173 icon-image: "sport/football.png";
4174 set icon_z17;
4175 text: auto;
4176}
4177area[sport=baseball],
4178area[sport=basketball],
4179area[sport=boules],
4180area[sport=bowls],
4181area[sport=canoe],
4182area[sport=chess],
4183area[sport=climbing]:closed,
4184area[sport=cricket],
4185area[sport=croquet] {
4186 fill-color: sport#bde3cb;
4187}
4188node[sport=baseball] {
4189 icon-image: "sport/baseball.png";
4190 set icon_z17;
4191 text: auto;
4192}
4193node[sport=basketball] {
4194 icon-image: "sport/basketball.png";
4195 set icon_z17;
4196 text: auto;
4197}
4198node[sport=boules] {
4199 icon-image: "sport/boule.png";
4200 set icon_z17;
4201 text: auto;
4202}
4203node[sport=bowls] {
4204 icon-image: "sport/boule.png";
4205 set icon_z17;
4206 text: auto;
4207}
4208node[sport=canoe] {
4209 icon-image: "sport/canoe.svg";
4210 set icon_z17;
4211 text: auto;
4212}
4213node[sport=chess] {
4214 icon-image: "sport/chess.png";
4215 set icon_z17;
4216 text: auto;
4217}
4218node[sport=climbing] {
4219 icon-image: "sport/climbing.png";
4220 set icon_z17;
4221 text: auto;
4222}
4223node[sport=cricket] {
4224 icon-image: "sport/cricket.png";
4225 set icon_z17;
4226 text: auto;
4227}
4228node[sport=croquet] {
4229 icon-image: "sport/croquet.png";
4230 set icon_z17;
4231 text: auto;
4232}
4233area[sport=cycling],
4234area[sport=dog_racing],
4235area[sport=equestrian],
4236area[sport=golf],
4237area[sport=gymnastics],
4238area[sport=field_hockey],
4239area[sport=ice_hockey],
4240area[sport=horse_racing],
4241area[sport=karting][highway!=raceway],
4242area[sport=karting][highway=raceway][area=yes],
4243area[sport=motocross][highway!=raceway],
4244area[sport=motocross][highway=raceway][area=yes],
4245area[sport=motor][highway!=raceway],
4246area[sport=motor][highway=raceway][area=yes] {
4247 fill-color: sport#bde3cb;
4248}
4249node[sport=cycling] {
4250 icon-image: "sport/cycling.png";
4251 set icon_z17;
4252 text: auto;
4253}
4254node[sport=dog_racing] {
4255 icon-image: "leisure/dog.png";
4256 set icon_z17;
4257 text: auto;
4258}
4259node[sport=equestrian] {
4260 icon-image: "presets/equestrian.png";
4261 icon-width: 16;
4262 set icon_z17;
4263 text: auto;
4264}
4265node[sport=golf] {
4266 icon-image: "sport/golf.svg";
4267 set icon_z17;
4268 text: auto;
4269}
4270node[sport=gymnastics] {
4271 icon-image: "presets/gymnastics.png";
4272 icon-width: 16;
4273 set icon_z17;
4274 text: auto;
4275}
4276node[sport=field_hockey] {
4277 icon-image: "sport/field_hockey.png";
4278 set icon_z17;
4279 text: auto;
4280}
4281node[sport=ice_hockey] {
4282 icon-image: "sport/ice_hockey.png";
4283 set icon_z17;
4284 text: auto;
4285}
4286node[sport=horse_racing] {
4287 icon-image: "sport/riding.png";
4288 set icon_z17;
4289 text: auto;
4290}
4291node[sport=karting] {
4292 icon-image: "sport/karting.png";
4293 set icon_z17;
4294 text: auto;
4295}
4296node[sport=motocross] {
4297 icon-image: "sport/motocross.png";
4298 set icon_z17;
4299 text: auto;
4300}
4301node[sport=motor] {
4302 icon-image: "sport/motor.png";
4303 set icon_z17;
4304 text: auto;
4305}
4306area[sport=multi],
4307area[sport=pelota],
4308area[sport=racquet],
4309area[sport=ice_skating],
4310area[sport=roller_skating],
4311area[sport=skateboard] {
4312 fill-color: sport#bde3cb;
4313}
4314node[sport=multi] {
4315 icon-image: "sport/multi.png";
4316 set icon_z17;
4317 text: auto;
4318}
4319node[sport=pelota] {
4320 icon-image: "sport/pelota.png";
4321 set icon_z17;
4322 text: auto;
4323}
4324node[sport=racquet] {
4325 icon-image: "sport/racquetball.png";
4326 set icon_z17;
4327 text: auto;
4328}
4329node[sport=ice_skating] {
4330 icon-image: "sport/skating.png";
4331 set icon_z17;
4332 text: auto;
4333}
4334node[sport=roller_skating] {
4335 icon-image: "sport/roller_skating.svg";
4336 set icon_z17;
4337 text: auto;
4338}
4339node[sport=skating] {
4340 icon-image: "misc/deprecated.png";
4341 set icon_z17;
4342 text: auto;
4343}
4344node[sport=skateboard] {
4345 icon-image: "sport/skateboard.png";
4346 set icon_z17;
4347 text: auto;
4348}
4349area[sport=swimming] {
4350 fill-color: swimming_pool#51c4ef;
4351}
4352node[sport=swimming] {
4353 icon-image: "sport/pool.png";
4354 set icon_z17;
4355 text: auto;
4356}
4357area[sport=table_tennis],
4358area[sport=tennis],
4359area[sport=paintball] {
4360 fill-color: sport#bde3cb;
4361}
4362node[sport=table_tennis] {
4363 icon-image: "sport/table_tennis.png";
4364 set icon_z17;
4365 text: auto;
4366}
4367node[sport=tennis] {
4368 icon-image: "sport/tennis.png";
4369 set icon_z17;
4370 text: auto;
4371}
4372node[sport=paintball] {
4373 icon-image: "misc/no_icon.png";
4374 set icon_z17;
4375 text: auto;
4376}
4377area[sport=squash],
4378area[sport=shooting],
4379area[sport=volleyball],
4380area[sport=beachvolleyball],
4381area[sport=billiards],
4382area[sport=bowling],
4383area[sport=handball],
4384area[sport=rowing],
4385area[sport=sailing],
4386area[sport=scuba_diving],
4387area[sport=badminton] {
4388 fill-color: sport#bde3cb;
4389}
4390node[sport=squash] {
4391 icon-image: "misc/no_icon.png";
4392 set icon_z17;
4393 text: auto;
4394}
4395node[sport=shooting] {
4396 icon-image: "presets/range.png";
4397 icon-width: 16;
4398 set icon_z17;
4399 text: auto;
4400}
4401node[sport=volleyball] {
4402 icon-image: "sport/volleyball.png";
4403 set icon_z17;
4404 text: auto;
4405}
4406node[sport=beachvolleyball] {
4407 icon-image: "sport/beachvolleyball.png";
4408 set icon_z17;
4409 text: auto;
4410}
4411node[sport=billiards] {
4412 icon-image: "sport/billiards.svg";
4413 set icon_z17;
4414 text: auto;
4415}
4416node[sport=bowling] {
4417 icon-image: "sport/10pin.png";
4418 set icon_z17;
4419 text: auto;
4420}
4421node[sport=handball] {
4422 icon-image: "sport/handball.png";
4423 set icon_z17;
4424 text: auto;
4425}
4426node[sport=rowing] {
4427 icon-image: "sport/rowing.png";
4428 set icon_z17;
4429 text: auto;
4430}
4431node[sport=sailing] {
4432 icon-image: "misc/no_icon.png";
4433 set icon_z17;
4434 text: auto;
4435}
4436node[sport=scuba_diving] {
4437 icon-image: "sport/scuba_diving.svg";
4438 set icon_z17;
4439 text: auto;
4440}
4441node[sport=badminton] {
4442 icon-image: "misc/no_icon.png";
4443 set icon_z17;
4444 text: auto;
4445}
4446area[sport=archery],
4447area[sport=fishing],
4448area[sport=model_aerodrome],
4449area[sport=rc_car] {
4450 fill-color: sport#bde3cb;
4451}
4452node[sport=archery] {
4453 icon-image: "sport/archery.png";
4454 set icon_z17;
4455 text: auto;
4456}
4457node[sport=fishing] {
4458 icon-image: "sport/fishing.png";
4459 set icon_z17;
4460 text: auto;
4461}
4462node[sport=model_aerodrome] {
4463 icon-image: "transport/airport.png";
4464 set icon_z17;
4465 text: auto;
4466}
4467node[sport=rc_car] {
4468 icon-image: "transport/car.png";
4469 set icon_z17;
4470 text: auto;
4471}
4472
4473/****************/
4474/* natural tags */
4475/****************/
4476
4477area[natural=spring] {
4478 fill-color: light_water#00005f;
4479}
4480node[natural=spring] {
4481 icon-image: "misc/landmark/spring.svg";
4482 set icon_z17;
4483 text: auto;
4484}
4485node[natural=saddle] {
4486 icon-image: "presets/saddle.svg";
4487 set icon_z0;
4488 text: auto;
4489 set text_z0;
4490}
4491node[natural=peak] {
4492 icon-image: "presets/peak.svg";
4493 set icon_z0;
4494 text: auto;
4495 set text_z0;
4496}
4497node[natural=peak][tourism=viewpoint] {
4498 icon-image: "sightseeing/peak_viewpoint.svg";
4499 set icon_z0;
4500 text: auto;
4501 set text_z0;
4502}
4503area[natural=glacier] {
4504 fill-color: glacier#ffffff;
4505}
4506node[natural=volcano] {
4507 icon-image: "misc/landmark/volcano_small.png";
4508 set icon_z0;
4509 text: auto;
4510 set text_z0;
4511}
4512area[natural=cliff]:closed {
4513 fill-color: natural#002f00;
4514}
4515way[natural=cliff] {
4516 repeat-image: "misc/cliff-pattern.png";
4517 repeat-image-align: top;
4518 width: 1;
4519 color: #b2b2b2;
4520}
4521node[natural=cliff] {
4522 icon-image: "misc/cliff.svg";
4523 set icon_z17;
4524 text: auto;
4525}
4526way[natural=ridge] {
4527 width: 1;
4528 color: natural#002f00;
4529}
4530way[natural=valley] {
4531 width: 1;
4532 color: natural#002f00;
4533}
4534area[natural=scree] {
4535 fill-color: natural#002f00;
4536}
4537area[natural=scrub] {
4538 fill-color: scrub#007000;
4539}
4540area[natural=fell] {
4541 fill-color: natural#002f00;
4542}
4543area[natural=heath] {
4544 fill-color: heath#ffffc0;
4545}
4546way[natural=tree_row] {
4547 width: 2;
4548 color: woodarea#008000;
4549}
4550area[natural=wood] {
4551 fill-color: woodarea#008000;
4552}
4553area[natural=grassland] {
4554 fill-color: green#b1e0c2;
4555}
4556area[natural=wetland] {
4557 fill-color: marsh#4f4ff3;
4558}
4559area[natural=water] {
4560 fill-color: water#0000ff;
4561}
4562way[natural=coastline] {
4563 width: 2;
4564 color: water#0000ff;
4565 right-casing-color: water#0000ff;
4566 right-casing-width: 5;
4567 right-casing-opacity: 0.30;
4568}
4569area[natural=mud] {
4570 fill-color: mud#cba762;
4571}
4572area[natural=beach] {
4573 fill-color: beach#f8dba2;
4574}
4575area[natural=sand] {
4576 fill-color: sand#f8dba2;
4577}
4578area[natural=bare_rock] {
4579 fill-color: bare_rock#f8f8c7;
4580}
4581area[natural=rock] {
4582 fill-color: stone#f8f8c7;
4583}
4584node[natural=rock] {
4585 icon-image: "misc/rock.svg";
4586 set icon_z17;
4587 text: auto;
4588}
4589area[natural=stone] {
4590 fill-color: stone#f8f8c7;
4591}
4592node[natural=stone] {
4593 icon-image: "misc/stone.svg";
4594 set icon_z17;
4595 text: auto;
4596}
4597area[natural=bay],
4598area[natural=cave_entrance] {
4599 fill-color: natural#002f00;
4600}
4601node[natural=bay] {
4602 icon-image: "nautical/bay.svg";
4603 set icon_z17;
4604 text: auto;
4605}
4606node[natural=cave_entrance] {
4607 icon-image: "misc/landmark/cave_entrance.png";
4608 set icon_z17;
4609 text: auto;
4610}
4611node[natural=tree] {
4612 icon-image: "misc/landmark/trees.png";
4613 set icon_z17;
4614 text: auto;
4615}
4616node[natural=tree][type=conifer],
4617node[natural=tree][leaf_type=needleleaved] {
4618 icon-image: "misc/landmark/trees_conifer.png";
4619 set icon_z17;
4620 text: auto;
4621}
4622node[natural=tree][type=broad_leaved],
4623node[natural=tree][leaf_type=broadleaved] {
4624 icon-image: "misc/landmark/trees_broad_leaved.png";
4625 set icon_z17;
4626 text: auto;
4627}
4628node[natural=tree][type=palm] {
4629 icon-image: "misc/landmark/trees_palm.png";
4630 set icon_z17;
4631 text: auto;
4632}
4633node[natural=glacier],
4634node[natural=scree],
4635node[natural=scrub],
4636node[natural=fell],
4637node[natural=heath],
4638node[natural=tree_row],
4639node[natural=wood],
4640node[natural=grassland],
4641node[natural=wetland],
4642node[natural=water],
4643node[natural=coastline],
4644node[natural=mud],
4645node[natural=beach],
4646node[natural=sand],
4647node[natural=land],
4648node[natural=bare_rock],
4649node[natural=ridge],
4650node[natural=valley] {
4651 icon-image: "misc/deprecated.png";
4652 set icon_z17;
4653 text: auto;
4654}
4655/*****************/
4656/* waterway tags */
4657/*****************/
4658
4659way[waterway=river] {
4660 width: 2;
4661 color: water#0000ff;
4662}
4663area[waterway=riverbank] {
4664 fill-color: riverbank#0000cf;
4665 width: 1;
4666 color: riverbank#0000cf;
4667}
4668way[waterway=canal] {
4669 width: 2;
4670 color: water#0000ff;
4671}
4672way[waterway=stream] {
4673 width: 1;
4674 color: stream#6600cc;
4675}
4676way[waterway=ditch], way[waterway=drain] {
4677 width: 1;
4678 color: water#0000ff;
4679}
4680area[waterway=dock] {
4681 fill-color: dock#0000cf;
4682}
4683node[waterway=dock] {
4684 icon-image: "nautical/boatyard.png";
4685 set icon_z17;
4686 text: auto;
4687}
4688node[waterway=lock_gate] {
4689 icon-image: "nautical/lock_gate.png";
4690 set icon_z17;
4691 text: auto;
4692}
4693node[waterway=turning_point] {
4694 icon-image: "nautical/turning.png";
4695 set icon_z17;
4696 text: auto;
4697}
4698area[waterway=boatyard] {
4699 fill-color: manmade#d8d8d8;
4700}
4701node[waterway=boatyard] {
4702 icon-image: "nautical/boatyard.png";
4703 set icon_z17;
4704 text: auto;
4705}
4706node[waterway=water_point],
4707node[waterway=waste_disposal],
4708node[waterway=mooring] {
4709 icon-image: "misc/deprecated.png";
4710 set icon_z17;
4711 text: auto;
4712}
4713node[mooring] {
4714 icon-image: "nautical/marina.png";
4715 set icon_z17;
4716 text: auto;
4717}
4718area[waterway=fuel] {
4719 fill-color: amenity_traffic#f7efb7;
4720}
4721node[waterway=fuel] {
4722 icon-image: "nautical/marine_fuel.png";
4723 icon-width: 16;
4724 set icon_z17;
4725 text: auto;
4726}
4727way[waterway=weir] {
4728 width: 2;
4729 color: manmade#d8d8d8;
4730}
4731node[waterway=weir] {
4732 icon-image: "nautical/weir.svg";
4733 set icon_z17;
4734 text: auto;
4735}
4736area[waterway=dam]:closed {
4737 fill-color: manmade#d8d8d8;
4738}
4739way[waterway=dam] {
4740 width: 2;
4741 color: manmade#d8d8d8;
4742}
4743node[waterway=dam] {
4744 icon-image: "nautical/dam.svg";
4745 set icon_z17;
4746 text: auto;
4747}
4748/* it's not possible to have both line and area, line seems more likely */
4749way[waterway=waterfall] {
4750 width: 2;
4751 color: manmade#d8d8d8;
4752}
4753node[waterway=waterfall] {
4754 icon-image: "nautical/waterfall.svg";
4755 set icon_z17;
4756 text: auto;
4757}
4758node[waterway=river], node[waterway=riverbank],
4759node[waterway=canal], node[waterway=wadi],
4760node[waterway=stream],
4761node[waterway=ditch], node[waterway=drain] {
4762 icon-image: "misc/deprecated.png";
4763 set icon_z17;
4764 text: auto;
4765}
4766
4767/**************/
4768/* route tags */
4769/**************/
4770
4771way[route=ferry] {
4772 width: 1;
4773 color: ferry#809bc0;
4774 dashes: 9,9;
4775}
4776node[route=bus],
4777node[route=ferry],
4778node[route=flight],
4779node[route=ncn],
4780node[route=subsea],
4781node[route=ski],
4782node[route=tour],
4783node[route=pub_crawl] {
4784 icon-image: "misc/deprecated.png";
4785 set icon_z17;
4786 text: auto;
4787}
4788
4789/*******************/
4790/* properties tags */
4791/*******************/
4792
4793node[mountain_pass?] {
4794 icon-image: "misc/landmark/mountain_pass.svg";
4795 set icon_z0;
4796 text: auto;
4797 set text_z0;
4798}
4799
4800/*****************/
4801/* boundary tags */
4802/*****************/
4803
4804way[boundary=protected_area]::core_boundary,
4805way[boundary=administrative]::core_boundary,
4806way[boundary=postal_code]::core_boundary,
4807way[boundary=political]::core_boundary,
4808way[boundary=maritime]::core_boundary,
4809way[boundary=national_park]::core_boundary {
4810 z-index: 2;
4811 modifier: false;
4812 width: 1;
4813 color: boundary#FF6600;
4814 dashes: 9,9;
4815}
4816way[admin_level=9]::core_boundary,
4817relation[admin_level=9] > way::core_boundary,
4818way[admin_level=10]::core_boundary,
4819relation[admin_level=10] > way::core_boundary {
4820 z-index: 2;
4821 modifier: false;
4822 width: 1;
4823 color: boundary#FF6600;
4824 dashes: 9,9;
4825}
4826way[admin_level=7]::core_boundary,
4827relation[admin_level=7] > way::core_boundary,
4828way[admin_level=8]::core_boundary,
4829relation[admin_level=8] > way::core_boundary {
4830 z-index: 2;
4831 modifier: false;
4832 width: 2;
4833 color: boundary#FF6600;
4834 dashes: 9,9;
4835}
4836way[admin_level=5]::core_boundary,
4837relation[admin_level=5] > way::core_boundary,
4838way[admin_level=6]::core_boundary,
4839relation[admin_level=6] > way::core_boundary {
4840 z-index: 2;
4841 modifier: false;
4842 width: 3;
4843 color: boundary#FF6600;
4844 dashes: 9,9;
4845}
4846way[admin_level=3]::core_boundary,
4847relation[admin_level=3] > way::core_boundary,
4848way[admin_level=4]::core_boundary,
4849relation[admin_level=4] > way::core_boundary {
4850 z-index: 2;
4851 modifier: false;
4852 width: 4;
4853 color: boundary#FF6600;
4854 dashes: 9,9;
4855}
4856way[admin_level=1]::core_boundary,
4857relation[admin_level=1] > way::core_boundary,
4858way[admin_level=2]::core_boundary,
4859relation[admin_level=2] > way::core_boundary {
4860 z-index: 2;
4861 modifier: false;
4862 width: 5;
4863 color: boundary#FF6600;
4864 dashes: 9,9;
4865}
4866node[boundary=national],
4867node[boundary=administrative],
4868node[boundary=postal_code],
4869node[boundary=political],
4870node[boundary=national_park] {
4871 icon-image: "misc/deprecated.png";
4872 set icon_z17;
4873 text: auto;
4874}
4875
4876/******************/
4877/* maxspeed nodes */
4878/******************/
4879node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
4880 icon-image: "vehicle/restriction/maxspeed_none.svg";
4881 set icon_z17;
4882}
4883node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
4884 maxspeedprop: tag(maxspeed);
4885 set maxspeedclass;
4886}
4887node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
4888 maxspeedprop: " ?";
4889 set maxspeedclass;
4890}
4891node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
4892 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
4893 set maxspeedclass;
4894}
4895node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
4896 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
4897 set maxspeedclass;
4898}
4899node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
4900 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
4901 set maxspeedclass;
4902}
4903node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
4904 /* background (white) */
4905 symbol-shape: circle;
4906 symbol-size: 17;
4907 symbol-fill-color: white;
4908 major-z-index: 4.2;
4909}
4910node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
4911node[traffic_sign][maxspeed=signals]::core_maxnodebg {
4912 /* background (black) */
4913 symbol-fill-color: black;
4914}
4915node[prop(maxspeedclass, default)]::core_maxnodefg {
4916 /* foreground (black text and red circle) */
4917 symbol-shape: circle;
4918 symbol-size: 15;
4919 symbol-stroke-color: crimson;
4920 symbol-stroke-width: 2;
4921 text: prop(maxspeedprop, default);
4922 font-size: 8;
4923 font-weight: bold;
4924 text-color: black;
4925 text-anchor-horizontal: center;
4926 text-anchor-vertical: center;
4927 text-offset-x: 0;
4928 text-offset-y: -1;
4929 major-z-index: 4.2;
4930}
4931node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
4932node[traffic_sign][maxspeed=signals]::core_maxnodefg {
4933 /* foreground (white text) */
4934 text-color: white;
4935}
4936node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
4937 symbol-shape: none;
4938}
4939node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
4940 text: none;
4941 symbol-shape: none;
4942}
4943
4944/**************/
4945/* place tags */
4946/**************/
4947
4948/* lot's of "openGeoDB:..." tags can be found in germany */
4949node["openGeoDB:type"=Stadt],
4950node["openGeoDB:type"=Kreis],
4951node["openGeoDB:type"=Gemeinde],
4952node["openGeoDB:type"=Ort],
4953node["openGeoDB:type"=District],
4954node["openGeoDB:location"=locality] {
4955 icon-image: "place/settlement/openGeoDB.png";
4956 set icon_z0;
4957 text: auto;
4958 set text_z0;
4959 font-size: 10;
4960 font-weight: bold;
4961 text-color:black;
4962 text-halo-color: white;
4963 text-halo-radius: 1;
4964}
4965area[setting("place_fill_colour")][place=continent],
4966area[setting("place_fill_colour")][place=country],
4967area[setting("place_fill_colour")][place=state],
4968area[setting("place_fill_colour")][place=region],
4969area[setting("place_fill_colour")][place=county],
4970area[setting("place_fill_colour")][place=city],
4971area[setting("place_fill_colour")][place=town],
4972area[setting("place_fill_colour")][place=village],
4973area[setting("place_fill_colour")][place=hamlet],
4974area[setting("place_fill_colour")][place=farm],
4975area[setting("place_fill_colour")][place=isolated_dwelling],
4976area[setting("place_fill_colour")][place=neighbourhood],
4977area[setting("place_fill_colour")][place=suburb],
4978area[setting("place_fill_colour")][place=locality],
4979area[setting("place_fill_colour")][place=island],
4980area[setting("place_fill_colour")][place=islet] {
4981 fill-color: place#8de3cb;
4982}
4983node[place=continent],
4984node[place=country],
4985node[place=state],
4986node[place=region],
4987node[place=county] {
4988 icon-image: "place/settlement/capital.png";
4989 set icon_z0;
4990 text: auto;
4991 set text_z0;
4992 font-size: 10;
4993 font-weight: bold;
4994 text-color:black;
4995 text-halo-color: white;
4996 text-halo-radius: 1;
4997 z-index: 2.9;
4998}
4999node[place=city] {
5000 icon-image: "place/settlement/city.png";
5001 set icon_z0;
5002 text: auto;
5003 set text_z0;
5004 font-size: 10;
5005 font-weight: bold;
5006 text-color:black;
5007 text-halo-color: white;
5008 text-halo-radius: 1;
5009 z-index: 2.8;
5010}
5011node[place=town] {
5012 icon-image: "place/settlement/town.png";
5013 set icon_z0;
5014 text: auto;
5015 set text_z0;
5016 font-size: 10;
5017 font-weight: bold;
5018 text-color:black;
5019 text-halo-color: white;
5020 text-halo-radius: 1;
5021 z-index: 2.7;
5022}
5023node[place=suburb] {
5024 icon-image: "place/settlement/suburb.png";
5025 set icon_z0;
5026 text: auto;
5027 set text_z0;
5028 font-size: 10;
5029 font-weight: bold;
5030 text-color:black;
5031 text-halo-color: white;
5032 text-halo-radius: 1;
5033 z-index: 2.6;
5034}
5035node[place=village] {
5036 icon-image: "place/settlement/village.png";
5037 set icon_z0;
5038 text: auto;
5039 set text_z0;
5040 font-size: 10;
5041 font-weight: bold;
5042 text-color:black;
5043 text-halo-color: white;
5044 text-halo-radius: 1;
5045 z-index: 2.5;
5046}
5047node[place=neighbourhood] {
5048 icon-image: "place/settlement/neighbourhood.png";
5049 set icon_z0;
5050 text: auto;
5051 set text_z0;
5052 font-size: 10;
5053 font-weight: bold;
5054 text-color:black;
5055 text-halo-color: white;
5056 text-halo-radius: 1;
5057 z-index: 2.4;
5058}
5059node[place=hamlet] {
5060 icon-image: "place/settlement/hamlet.png";
5061 set icon_z0;
5062 text: auto;
5063 set text_z0;
5064 font-size: 10;
5065 font-weight: bold;
5066 text-color:black;
5067 text-halo-color: white;
5068 text-halo-radius: 1;
5069 z-index: 2.3;
5070}
5071node[place=isolated_dwelling] {
5072 icon-image: "place/settlement/isolated_dwelling.png";
5073 set icon_z0;
5074 text: auto;
5075 set text_z0;
5076 font-size: 10;
5077 font-weight: bold;
5078 text-color:black;
5079 text-halo-color: white;
5080 text-halo-radius: 1;
5081 z-index: 2.2;
5082}
5083node[place=farm] {
5084 icon-image: "place/settlement/farm.png";
5085 set icon_z0;
5086 text: auto;
5087 set text_z0;
5088 font-size: 10;
5089 font-weight: bold;
5090 text-color:black;
5091 text-halo-color: white;
5092 text-halo-radius: 1;
5093 z-index: 2.1;
5094}
5095node|z15-[place=locality],
5096node|z-14[place=locality][!setting("hide_icons")] {
5097 icon-image: "place/locality.png";
5098 text: auto;
5099 font-size: 10;
5100 font-weight: bold;
5101 text-color:black;
5102 text-halo-color: white;
5103 text-halo-radius: 1;
5104}
5105node[place=island] {
5106 icon-image: "place/island.png";
5107 set icon_z0;
5108 text: auto;
5109 set text_z0;
5110 font-size: 10;
5111 font-weight: bold;
5112 text-color:black;
5113 text-halo-color: white;
5114 text-halo-radius: 1;
5115}
5116node[place=islet] {
5117 icon-image: "place/islet.png";
5118 set icon_z0;
5119 text: auto;
5120 set text_z0;
5121 font-size: 10;
5122 font-weight: bold;
5123 text-color:black;
5124 text-halo-color: white;
5125 text-halo-radius: 1;
5126}
5127
5128/***************************/
5129/* "work in progress" tags */
5130/***************************/
5131
5132node|z16-[fixme]::core_note_fixme,
5133node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
5134node|z16-[FIXME]::core_note_fixme,
5135node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
5136 object-z-index: 10;
5137 icon-image: "misc/fixme-annotation.png";
5138}
5139node|z16-[note]::core_note_fixme,
5140node|z-15[note][!setting("hide_icons")]::core_note_fixme {
5141 object-z-index: 10;
5142 icon-image: "misc/note-annotation.png";
5143}
5144node|z16-[note][fixme]::core_note_fixme,
5145node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
5146node|z16-[note][FIXME]::core_note_fixme,
5147node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
5148 icon-image: "misc/note-fixme-annotation.png";
5149}
5150
5151/* special display of unreviewed tiger data (USA) */
5152way["tiger:reviewed"=no]::core_tiger {
5153 major-z-index: -10;
5154 width: 11;
5155 color: tiger_data#808000;
5156 opacity: 0.6;
5157}
5158
5159/****************************************/
5160/* zoom levels and general node display */
5161/****************************************/
5162
5163/*
5164Summary of different zoom levels:
5165 (any zoom) place=* (except locality) and a few natural icons with their text is shown
5166 |z-15 untagged way nodes are hidden completely
5167 |z15 place=locality icon
5168 |z16- fixme=* and note=* symbols; place=locality text
5169 |z17- normal POI icons (without text),
5170 street name along highway=* ways
5171 |z18- text for normal POI icons is shown
5172
5173 * text size and node size is adapted according to zoom level (see style source below)
5174 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5175
5176*/
5177
5178node {
5179 text: auto;
5180}
5181node|z-16[setting("hide_icons")],
5182node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5183node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5184 symbol-size: 2;
5185 symbol-shape: square;
5186 symbol-stroke-color: node_standard#ffff00;
5187 major-z-index: 4.95; /* put node squares above line text */
5188}
5189way > node|z-15[setting("shrink_nodes")]!:tagged {
5190 symbol-shape: none;
5191}
5192node:connection {
5193 symbol-stroke-color: node_connection#ffff00;
5194}
5195node:tagged {
5196 symbol-stroke-color: none;
5197 symbol-fill-color: node_tagged#00ffff;
5198}
5199
5200way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5201
5202node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5203way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5204node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5205
5206node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5207way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5208node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5209
5210node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5211way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5212node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5213
5214node[!setting("shrink_nodes")] { symbol-size: 4; }
5215way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5216node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5217
5218node:selected {
5219 symbol-shape: square;
5220 symbol-size: 6;
5221 symbol-fill-color: node_selected#ff0000;
5222 symbol-stroke-color: node_selected#ff0000;
5223}
5224
5225node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5226relation|z-16[type=restriction][setting("hide_icons")] {
5227 icon-image: none;
5228}
5229node|z-17[setting("hide_icons")]!.text_z0 {
5230 text: none;
5231}
5232node|z16-17[setting("hide_icons")][place=locality] {
5233 text: auto;
5234}
5235
5236node|z19,area|z19 { font-size: 9; }
5237node|z20-,area|z20- { font-size: 10; }
5238
5239/*******************/
5240/* way text labels */
5241/*******************/
5242
5243way|z17-[highway^=motorway][setting("highway_labels")],
5244way|z17-[highway^=trunk][setting("highway_labels")],
5245way|z17-[highway^=primary][setting("highway_labels")],
5246way|z17-[highway^=secondary][setting("highway_labels")],
5247way|z17-[highway^=tertiary][setting("highway_labels")],
5248way|z17-[highway=unclassified][setting("highway_labels")],
5249way|z17-[highway=residential][setting("highway_labels")],
5250way|z17-[highway=living_street][setting("highway_labels")],
5251way|z17-[highway=escape][setting("highway_labels")],
5252way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
5253way|z17-[highway=steps][setting("highway_labels")],
5254way|z17-[highway=footway][setting("highway_labels")],
5255way|z17-[highway=path][setting("highway_labels")],
5256way|z17-[highway=service][setting("highway_labels")],
5257way|z17-[highway=track][setting("highway_labels")],
5258way|z17-[highway=cycleway][setting("highway_labels")],
5259way|z17-[highway=bridleway][setting("highway_labels")],
5260way|z17-[highway=bus_guideway][setting("highway_labels")],
5261way|z17-[highway=raceway][setting("highway_labels")],
5262way|z17-[highway=construction][setting("highway_labels")],
5263way|z17-[highway=road][setting("highway_labels")] {
5264 text: auto;
5265 text-color: black;
5266 font-size: 9;
5267 text-position: line;
5268 text-halo-opacity: 1;
5269 text-halo-radius: 1.5;
5270}
5271way|z17-[highway^=motorway][setting("highway_labels")] {
5272 text-halo-color: motorway#809bc0;
5273}
5274way|z17-[highway^=trunk][setting("highway_labels")] {
5275 text-halo-color: trunk#7fc97f;
5276}
5277way|z17-[highway^=primary][setting("highway_labels")] {
5278 text-halo-color: primary#fb805f;
5279}
5280way|z17-[highway^=secondary][setting("highway_labels")] {
5281 text-halo-color: secondary#fdbf6f;
5282}
5283way|z17-[highway^=tertiary][setting("highway_labels")] {
5284 text-halo-color: tertiary#f7f496;
5285}
5286way|z17-[highway=unclassified][setting("highway_labels")],
5287way|z17-[highway=residential][setting("highway_labels")],
5288way|z17-[highway=living_street][setting("highway_labels")],
5289way|z17-[highway=escape][setting("highway_labels")] {
5290 text-halo-color: street#c0c0c0;
5291}
5292way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
5293way|z17-[highway=steps][setting("highway_labels")],
5294way|z17-[highway=footway][setting("highway_labels")],
5295way|z17-[highway=path][setting("highway_labels")] {
5296 text-halo-color: foot#00ff00;
5297}
5298way|z17-[highway=service][setting("highway_labels")] {
5299 text-halo-color: service#809bc0;
5300}
5301way|z17-[highway=track][setting("highway_labels")] {
5302 text-halo-color: highway_track#6e541c;
5303}
5304way|z17-[highway=cycleway][setting("highway_labels")],
5305way|z17-[highway=path][setting("highway_labels")].cyclecolor {
5306 text-halo-color: bicycle#b100ff;
5307}
5308way|z17-[highway=bridleway][setting("highway_labels")] {
5309 text-halo-color: horse#a18559;
5310}
5311way|z17-[highway=bus_guideway][setting("highway_labels")] {
5312 text-halo-color: rail#404040;
5313}
5314way|z17-[highway=raceway][setting("highway_labels")] {
5315 text-halo-color: raceway#ff80ff;
5316}
5317way|z17-[highway=construction][setting("highway_labels")] {
5318 text-halo-color: construction#ffff00;
5319}
5320way|z17-[highway=road][setting("highway_labels")] {
5321 text-halo-color: highway_road#770000;
5322}
5323way|z17-[highway][railway=platform][setting("highway_labels")] {
5324 text-halo-color: rail#404040;
5325}
5326way|z17-[highway][public_transport=platform][setting("highway_labels")] {
5327 text-halo-color: service#809bc0;
5328}
5329way|z18[highway][setting("highway_labels")] {
5330 font-size: 10;
5331}
5332way|z19[highway][setting("highway_labels")] {
5333 font-size: 11;
5334}
5335way|z20-[highway][setting("highway_labels")] {
5336 font-size: 12;
5337}
5338
5339/*************/
5340/* Area fill */
5341/*************/
5342
5343/* small extent for unclosed area (see below for closed) */
5344area[setting("partial_fill")] {
5345 fill-extent: 15;
5346}
5347
5348/* Turn partial fill off and use plain fill, when the partial fill covers about
5349 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5350 Switching between full and partial fill while drawing an area might be irritating,
5351 so only do this at low zoom. */
5352area|z-13[setting("partial_fill")] {
5353 fill-extent-threshold: 1.0;
5354}
5355
5356/* Larger extent for closed areas.
5357 Turn partial fill off, when it covers more than about 50% of the area. This avoids
5358 areas with small unfilled patches in the center. */
5359area[setting("partial_fill")]:closed2 {
5360 fill-extent: 25;
5361 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5362}
5363
Note: See TracBrowser for help on using the repository browser.