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

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

fix #11549 - support cycleway=shared_lane, cycleway:left=shared_lane and cycleway:right=shared_lane in mapview

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