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

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

fix #10900 - add amenity=bicycle_repair_station to preset and mappaintstyle (patch by brycenesbitt, modified)

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