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

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

New unified icon for golf

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