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

Last change on this file since 7953 was 7953, checked in by Klumbumbus, 10 years ago

see #10835 - new icon for shop=books

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