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

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

fix #6363 - downgrade "Style for inner way equals multipolygon" validator warning to info level as this is no data error. Make the message more clear. Use own fill color for some landuses.

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