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

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

fix #11439 - split hockey into field_hockey and ice_hockey

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