| | 1 | This style makes landcover and some additional landuse tags visible. The exact list of tags is - as this style - work in progress and can be found at http://wiki.openstreetmap.org/wiki/User:Imagic/landcover . |
| | 2 | |
| | 3 | {{{ |
| | 4 | #!style type="mapcss" |
| | 5 | |
| | 6 | meta |
| | 7 | { |
| | 8 | title: "Landcover tags"; |
| | 9 | description: "Show landcover and some additional landuse tags"; |
| | 10 | version: "0.1-2013-01-22"; |
| | 11 | author: "Martin Vonwald"; |
| | 12 | watch-modified: true; |
| | 13 | } |
| | 14 | |
| | 15 | meta[lang=de] |
| | 16 | { |
| | 17 | title: "Landcover Tags"; |
| | 18 | description: "Zeige landcover und einige zusätzliche landuse Tags"; |
| | 19 | } |
| | 20 | |
| | 21 | /***************************************************************************************/ |
| | 22 | /* Land cover values */ |
| | 23 | /***************************************************************************************/ |
| | 24 | /* Border for all land cover areas */ |
| | 25 | way[landcover][!landuse]:closed |
| | 26 | { |
| | 27 | width: 2; opacity: 0.5; dashes: 2,2; |
| | 28 | } |
| | 29 | |
| | 30 | area[landcover=trees][!landuse], area[landcover=tree][!landuse] |
| | 31 | { |
| | 32 | fill-color: #008000; |
| | 33 | } |
| | 34 | |
| | 35 | |
| | 36 | area[landcover=water][!landuse] |
| | 37 | { |
| | 38 | fill-color: #0000FF; |
| | 39 | } |
| | 40 | |
| | 41 | |
| | 42 | area[landcover=beach][!landuse] |
| | 43 | { |
| | 44 | fill-color: #F8DBA2; |
| | 45 | } |
| | 46 | area[landcover=beach][beach=rock][!landuse] |
| | 47 | { |
| | 48 | fill-color: lightgray; |
| | 49 | } |
| | 50 | area[landcover=beach][beach=gravel][!landuse] |
| | 51 | { |
| | 52 | fill-color: gray; |
| | 53 | } |
| | 54 | |
| | 55 | area[landcover="developed_area"][!landuse] |
| | 56 | { |
| | 57 | fill-color: #111111; |
| | 58 | } |
| | 59 | |
| | 60 | |
| | 61 | area[landcover=ice][!landuse] |
| | 62 | { |
| | 63 | fill-color: #FFFFFF; |
| | 64 | } |
| | 65 | area[landcover=ice][ice=glacier][!landuse] |
| | 66 | { |
| | 67 | fill-color: #DDDDFF; |
| | 68 | } |
| | 69 | |
| | 70 | |
| | 71 | area[landcover=grass][!landuse] |
| | 72 | { |
| | 73 | fill-color: #B1E0C2; |
| | 74 | } |
| | 75 | |
| | 76 | |
| | 77 | area[landcover=scrub][!landuse] |
| | 78 | { |
| | 79 | fill-color: #FFFFC0; |
| | 80 | } |
| | 81 | |
| | 82 | |
| | 83 | area[landcover=wetland][!landuse] |
| | 84 | { |
| | 85 | fill-color: #4faaf3; |
| | 86 | } |
| | 87 | area[landcover=wetland][wetland=mud][!landuse] |
| | 88 | { |
| | 89 | fill-color: brown; |
| | 90 | } |
| | 91 | |
| | 92 | |
| | 93 | area[landcover=sand][!landuse] |
| | 94 | { |
| | 95 | fill-color: #F8DBA2; |
| | 96 | } |
| | 97 | |
| | 98 | |
| | 99 | area[landcover="bare_rock"][!landuse] |
| | 100 | { |
| | 101 | fill-color: #888888; |
| | 102 | } |
| | 103 | area[landcover="bare_rock"]["bare_rock"=scree][!landuse] |
| | 104 | { |
| | 105 | fill-color: #666666; |
| | 106 | } |
| | 107 | area[landcover="bare_rock"]["bare_rock"=bedrock][!landuse] |
| | 108 | { |
| | 109 | fill-color: #AAAAAA; |
| | 110 | } |
| | 111 | |
| | 112 | /***************************************************************************************/ |
| | 113 | /* Land use values */ |
| | 114 | /***************************************************************************************/ |
| | 115 | area[landuse=shelterbelt] |
| | 116 | { |
| | 117 | color: #002000; |
| | 118 | width: 3; |
| | 119 | opacity: 0.5; |
| | 120 | } |
| | 121 | |
| | 122 | |
| | 123 | area[landuse=reservoir]["reservoir_type"=sewage] |
| | 124 | { |
| | 125 | fill-color: brown; |
| | 126 | } |
| | 127 | |
| | 128 | |
| | 129 | area[landuse=plantation] |
| | 130 | { |
| | 131 | fill-color: #B1E0C2; |
| | 132 | } |
| | 133 | area[landuse=plantation][plantation=vineyard] |
| | 134 | { |
| | 135 | width: 2; color: #B1E0C2; |
| | 136 | fill-image: "shop/groceries/fruits.png"; |
| | 137 | fill-opacity: 0.5; |
| | 138 | } |
| | 139 | }}} |