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

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

fix #12423 - add shop=houseware to default presets and map paint style (icon by zermes, CC0/PD)

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