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

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

see #10963 - add white place icon for openGeoDB:type

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