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

Last change on this file since 7737 was 7737, checked in by Klumbumbus, 10 years ago

Add validator warnings for linear waterway=* features on nodes. Deprecate waterway=water_point,waterway=waste_disposal and watermay=mooring in favor of amenity=water_point, amenity=waste_disposal and mooring=yes.

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