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

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

see #10963 - add more colored place icons and improve paint order

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