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

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

add advertising=column and advertising=billboard to preset and MappaintStyle

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