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

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

see #10835 - update boundary preset and mappaint

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