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

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

see #10835 - icon unification and geometry consistency for some transport related tags (railway, aeroway,...). add validator warnings

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