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

Last change on this file since 8190 was 8190, checked in by Klumbumbus, 9 years ago

fix #11268 - add mappaint style for amenity=sanitary_dump_station

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