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

Last change on this file since 7497 was 7470, checked in by bastiK, 10 years ago

see #10363 - show place=* and some of the natural=* tags at any zoom level and not just at |z11- (patch by Klumbumbus)

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