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

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

fix #11085 - add presets and mappaint style for aeroway=parking_position (modified patch by aighes)

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