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

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

fix #12098 - hide place=locality at low zoom

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