| 1 | [[TranslatedPages]] |
| 2 | [[PageOutline(2-10,Table of Content)]] |
| 3 | |
| 4 | = Coloured buildings = |
| 5 | |
| 6 | == Clasificación de edificios == |
| 7 | [[Image(Residential.jpg)]][[BR]] |
| 8 | Vivienda unifamiliar: building=detached[[BR]] |
| 9 | Adosados: building=terrace[[BR]] |
| 10 | Apartamentos: building=apartments[[BR]] |
| 11 | Garaje(s): building=garage(s)[[BR]] |
| 12 | |
| 13 | [[Image(House.jpg)]][[BR]] |
| 14 | ''Demasiado general, usa mejor los valores superiores''[[BR]] |
| 15 | Casa: building=house[[BR]] |
| 16 | Residencial: building=residential[[BR]] |
| 17 | |
| 18 | [[Image(Commercial.jpg)]][[BR]] |
| 19 | Hotel: building=hotel[[BR]] |
| 20 | Iglesia: building=church, building=cathedral[[BR]] |
| 21 | Comercial: building=retail[[BR]] |
| 22 | Hospital: building=hospital[[BR]] |
| 23 | Oficinas: building=commercial[[BR]] |
| 24 | Industrial: building=industrial[[BR]] |
| 25 | |
| 26 | [[Image(School.jpg)]][[BR]] |
| 27 | Escuela (únicamente el edificio): building=school[[BR]] |
| 28 | Área de la escuela: amenity=school[[BR]] |
| 29 | Universidad: building=university[[BR]] |
| 30 | Público: building=civc[[BR]] |
| 31 | Residencia: building=dormitory[[BR]] |
| 32 | |
| 33 | [[Image(amenity.jpg)]][[BR]] |
| 34 | [osmwiki:Key:amenity amenity] con el valor del equipamiento[[BR]] |
| 35 | [[Image(shop.jpg)]][[BR]] |
| 36 | [osmwiki:Key:shop shop] con el valor del establecimiento comercial[[BR]] |
| 37 | [[Image(Office.jpg)]][[BR]] |
| 38 | [osmwiki:Office office] con el valor de la oficina[[BR]] |
| 39 | |
| 40 | [osmwiki:ES:Key:building Wiki:building][[BR]] |
| 41 | |
| 42 | ''Útil para una visión general:'' |
| 43 | [http://www.itoworld.com/map/122# Clasificación ITO de edificios] |
| 44 | [http://www.itoworld.com/map/176 Varias etiquetas de edificios residenciales] |
| 45 | |
| 46 | == Código == |
| 47 | {{{ |
| 48 | #!style type="mapcss" |
| 49 | |
| 50 | |
| 51 | meta |
| 52 | { |
| 53 | title: "Coloured Buildings.de"; |
| 54 | author: "geozeisig"; |
| 55 | version: "1.012_2014-04-01"; |
| 56 | description: "Style to classify buildings (german)"; |
| 57 | link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_buildings"; |
| 58 | watch-modified: true; |
| 59 | } |
| 60 | meta[lang=de] |
| 61 | { |
| 62 | title: "Coloured Buildings.de"; |
| 63 | description: "Stil für Gebäudeklassifizierung"; |
| 64 | link: "https://josm.openstreetmap.de/wiki/De:Styles/Coloured_buildings"; |
| 65 | } |
| 66 | area[building=residential] |
| 67 | { |
| 68 | text: eval("Wohn"); |
| 69 | text-color: black; |
| 70 | font-size: 9; |
| 71 | z-index: 1; |
| 72 | color: #FFFFFF; |
| 73 | fill-color: #FFFFFF; |
| 74 | width: 3; |
| 75 | dashes: 10,2; |
| 76 | } |
| 77 | |
| 78 | area[building=house] |
| 79 | { |
| 80 | text: eval("Haus"); |
| 81 | text-color: black; |
| 82 | font-size: 9; |
| 83 | z-index: 1; |
| 84 | color: #FFF88B; |
| 85 | fill-color: #FFF88B; |
| 86 | width: 3; |
| 87 | dashes: 10,2; |
| 88 | } |
| 89 | |
| 90 | area[building=detached] |
| 91 | { |
| 92 | text: eval("Einzel"); |
| 93 | text-color: black; |
| 94 | font-size: 9; |
| 95 | z-index: 1; |
| 96 | color: #FFFD36; |
| 97 | fill-color: #FFFD36; |
| 98 | width: 3; |
| 99 | } |
| 100 | |
| 101 | area[building=terrace] |
| 102 | { |
| 103 | text: eval("Reihen"); |
| 104 | text-color: black; |
| 105 | font-size: 9; |
| 106 | z-index: 1; |
| 107 | color: #FFFC00; |
| 108 | fill-color: #FFFC00; |
| 109 | width: 3; |
| 110 | } |
| 111 | |
| 112 | area[building=apartments] |
| 113 | { |
| 114 | text: eval("Mehrf"); |
| 115 | text-color: black; |
| 116 | font-size: 9; |
| 117 | z-index: 1; |
| 118 | color: #FF9E00; |
| 119 | fill-color: #FF9E00; |
| 120 | width: 3; |
| 121 | } |
| 122 | |
| 123 | area[building=garage] |
| 124 | { |
| 125 | text: eval("Garage"); |
| 126 | text-color: black; |
| 127 | font-size: 9; |
| 128 | z-index: 1; |
| 129 | color: #A37237; |
| 130 | fill-color: #A37237; |
| 131 | width: 3; |
| 132 | } |
| 133 | |
| 134 | area[building=garages] |
| 135 | { |
| 136 | text: eval("Garagen"); |
| 137 | text-color: black; |
| 138 | font-size: 9; |
| 139 | z-index: 1; |
| 140 | color: #A37237; |
| 141 | fill-color: #A37237; |
| 142 | width: 3; |
| 143 | } |
| 144 | |
| 145 | area[building=hotel] |
| 146 | { |
| 147 | text: eval("Hotel"); |
| 148 | text-color: black; |
| 149 | font-size: 9; |
| 150 | z-index: 1; |
| 151 | color: #F26100; |
| 152 | fill-color: #F26100; |
| 153 | width: 3; |
| 154 | } |
| 155 | |
| 156 | area[building=commercial] |
| 157 | { |
| 158 | text: eval("gewerblich"); |
| 159 | text-color: black; |
| 160 | font-size: 9; |
| 161 | z-index: 1; |
| 162 | color: #D76EFF; |
| 163 | fill-color: #D76EFF; |
| 164 | width: 3; |
| 165 | } |
| 166 | |
| 167 | area[building=industrial] |
| 168 | { |
| 169 | text: eval("industriel"); |
| 170 | text-color: black; |
| 171 | font-size: 9; |
| 172 | z-index: 1; |
| 173 | color: #C224FF; |
| 174 | fill-color: #C224FF; |
| 175 | width: 3; |
| 176 | } |
| 177 | |
| 178 | area[building=church] |
| 179 | { |
| 180 | text: eval("Kirche"); |
| 181 | text-color: black; |
| 182 | font-size: 9; |
| 183 | z-index: 1; |
| 184 | color: #9224FF; |
| 185 | fill-color: #9224FF; |
| 186 | width: 3; |
| 187 | } |
| 188 | |
| 189 | area[building=cathedral] |
| 190 | { |
| 191 | text: eval("Dom"); |
| 192 | text-color: black; |
| 193 | font-size: 9; |
| 194 | z-index: 1; |
| 195 | color: #7D1DDD; |
| 196 | fill-color: #7D1DDD; |
| 197 | width: 3; |
| 198 | } |
| 199 | |
| 200 | area[building=retail] |
| 201 | { |
| 202 | text: eval("Einzelhandel"); |
| 203 | text-color: black; |
| 204 | font-size: 9; |
| 205 | z-index: 1; |
| 206 | color: #A5FC4E; |
| 207 | fill-color: #A5FC4E; |
| 208 | width: 3; |
| 209 | } |
| 210 | |
| 211 | area[building=roof] |
| 212 | { |
| 213 | text: eval("Dach"); |
| 214 | text-color: black; |
| 215 | font-size: 9; |
| 216 | z-index: 1; |
| 217 | color: #CBA371; |
| 218 | fill-color: #CBA371; |
| 219 | width: 3; |
| 220 | } |
| 221 | |
| 222 | area[building=hospital] |
| 223 | { |
| 224 | text: eval("Krankenhaus"); |
| 225 | text-color: black; |
| 226 | font-size:10; |
| 227 | z-index: 1; |
| 228 | color: #FF5566; |
| 229 | fill-color: #FF5566; |
| 230 | width: 3; |
| 231 | } |
| 232 | area[amenity=hospital] |
| 233 | { |
| 234 | color: #FF5566; |
| 235 | width: 3; |
| 236 | } |
| 237 | area[building=school] |
| 238 | { |
| 239 | text: eval("Schule"); |
| 240 | text-color: black; |
| 241 | font-size: 9; |
| 242 | z-index: 1; |
| 243 | color: #884CFF; |
| 244 | fill-color: #884CFF; |
| 245 | width: 3; |
| 246 | } |
| 247 | area[amenity=school] |
| 248 | { |
| 249 | color: #884CFF; |
| 250 | width: 3; |
| 251 | } |
| 252 | area[building=university] |
| 253 | { |
| 254 | text: eval("Uni"); |
| 255 | text-color: black; |
| 256 | font-size: 9; |
| 257 | z-index: 1; |
| 258 | color: #7834FF; |
| 259 | fill-color: #7834FF; |
| 260 | width: 2; |
| 261 | } |
| 262 | area[amenity=university] |
| 263 | { |
| 264 | color: #7834FF; |
| 265 | width: 3; |
| 266 | } |
| 267 | area[building=civic] |
| 268 | { |
| 269 | text: eval("Öffentlich"); |
| 270 | text-color: black; |
| 271 | font-size: 9; |
| 272 | z-index: 1; |
| 273 | color: #FF2238; |
| 274 | fill-color: #FF2238; |
| 275 | width: 3; |
| 276 | } |
| 277 | |
| 278 | |
| 279 | area[building=dormitory] |
| 280 | { |
| 281 | text: eval("Wohnheim"); |
| 282 | text-color: black; |
| 283 | font-size: 9; |
| 284 | z-index: 1; |
| 285 | color: #F07B2D; |
| 286 | fill-color: #F07B2D; |
| 287 | width: 3; |
| 288 | } |
| 289 | |
| 290 | area[building][amenity][building!=church][building!=cathedral] |
| 291 | { |
| 292 | text: "amenity"; |
| 293 | text-color: black; |
| 294 | dashes: 20,4; |
| 295 | font-size: 10; |
| 296 | z-index: 1; |
| 297 | color: #FF2238; |
| 298 | fill-color: #FF2238; |
| 299 | width: 3; |
| 300 | } |
| 301 | |
| 302 | area[building][shop] |
| 303 | { |
| 304 | text: "shop"; |
| 305 | text-color: black; |
| 306 | dashes: 20,4; |
| 307 | font-size: 10; |
| 308 | z-index: 1; |
| 309 | color: #3E43D2; |
| 310 | fill-color: #3E43D2; |
| 311 | width: 3; |
| 312 | } |
| 313 | |
| 314 | area[building][office] |
| 315 | { |
| 316 | text: "office"; |
| 317 | text-color: black; |
| 318 | font-size: 10; |
| 319 | z-index: 1; |
| 320 | color: #39D237; |
| 321 | fill-color: #39D237; |
| 322 | width: 3; |
| 323 | dashes: 20,4; |
| 324 | } |
| 325 | /* highlight wrong schoolbuildings */ |
| 326 | way[building=yes][amenity=school] |
| 327 | { |
| 328 | text: eval("set builing=school"); |
| 329 | font-size: 12; |
| 330 | z-index: 1; |
| 331 | color: red; |
| 332 | width: 5; |
| 333 | dashes: 20,4; |
| 334 | dashes-background-color: #FFFF00; |
| 335 | } |
| 336 | |
| 337 | /* highlight wrong church */ |
| 338 | way[building=yes][amenity=place_of_worship] |
| 339 | { |
| 340 | text: eval("set builing=church"); |
| 341 | font-size: 12; |
| 342 | z-index: 1; |
| 343 | color: red; |
| 344 | width: 5; |
| 345 | dashes: 20,4; |
| 346 | dashes-background-color: #FFFF00; |
| 347 | } |
| 348 | |
| 349 | }}} |