| | 1 | [[TranslatedPages(revision=12)]] |
| | 2 | [[PageOutline(2-10,Índice)]] |
| | 3 | |
| | 4 | = Coloured buildings = |
| | 5 | |
| | 6 | == Classificação de edifícios == |
| | 7 | [[Image(wiki:Styles/Coloured_buildings:Residential.jpg)]][[BR]] |
| | 8 | Casa Separada: building=detached[[BR]] |
| | 9 | Fileira de Casas: building=terrace[[BR]] |
| | 10 | Apartamentos: building=apartments[[BR]] |
| | 11 | Garagem(ns): building=garage(s)[[BR]] |
| | 12 | |
| | 13 | [[Image(wiki:Styles/Coloured_buildings:House.jpg)]][[BR]] |
| | 14 | ''Muito geral, melhor usar os valores superiores''[[BR]] |
| | 15 | Casa: building=house[[BR]] |
| | 16 | Residencial: building=residential[[BR]] |
| | 17 | |
| | 18 | [[Image(wiki:Styles/Coloured_buildings:Commercial.jpg)]][[BR]] |
| | 19 | Hotel: building=hotel[[BR]] |
| | 20 | Igreja: building=church, building=cathedral[[BR]] |
| | 21 | Lojas: building=retail[[BR]] |
| | 22 | Hospital: building=hospital[[BR]] |
| | 23 | Comercial: building=commercial[[BR]] |
| | 24 | Industrial: building=industrial[[BR]] |
| | 25 | |
| | 26 | [[Image(wiki:Styles/Coloured_buildings:School.jpg)]][[BR]] |
| | 27 | Escola (somente o edificio): building=school[[BR]] |
| | 28 | Área da escola: amenity=school[[BR]] |
| | 29 | Universidade: building=university[[BR]] |
| | 30 | Edifício Público: building=public[[BR]] |
| | 31 | Dormitório: building=dormitory[[BR]] |
| | 32 | |
| | 33 | [[Image(wiki:Styles/Coloured_buildings:amenity.jpg)]][[BR]] |
| | 34 | [osmwiki:Pt:Key:amenity amenity] com o valor da estrutura[[BR]] |
| | 35 | [[Image(wiki:Styles/Coloured_buildings:shop.jpg)]][[BR]] |
| | 36 | [osmwiki:Pt:Key:shop shop] com o valor do comércio[[BR]] |
| | 37 | [[Image(wiki:Styles/Coloured_buildings:Office.jpg)]][[BR]] |
| | 38 | [osmwiki:Pt:Office office] com o valor do escritório[[BR]] |
| | 39 | |
| | 40 | [osmwiki:Pt:Key:building Wiki:building][[BR]] |
| | 41 | |
| | 42 | == Código == |
| | 43 | {{{ |
| | 44 | #!style type="mapcss" |
| | 45 | meta |
| | 46 | { |
| | 47 | title: "Coloured Buildings.pt"; |
| | 48 | author: "geozeisig, matheusgomesms"; |
| | 49 | version: "1.014_2020-03-26"; |
| | 50 | description: "Style to classify buildings (Portuguese) from couloured buildings.de originally created by geozeisig"; |
| | 51 | link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_buildings"; |
| | 52 | watch-modified: true; |
| | 53 | } |
| | 54 | meta[lang=pt] |
| | 55 | { |
| | 56 | title: "Coloured Buildings.pt"; |
| | 57 | description: "Estilo para classificar edifícios"; |
| | 58 | link: "https://josm.openstreetmap.de/wiki/Pt:Styles/Coloured_buildings"; |
| | 59 | } |
| | 60 | area[building=residential] |
| | 61 | { |
| | 62 | text: eval("Residencial"); |
| | 63 | text-color: black; |
| | 64 | font-size: 9; |
| | 65 | z-index: 1; |
| | 66 | color: #FFFFFF; |
| | 67 | fill-color: #FFFFFF; |
| | 68 | width: 3; |
| | 69 | dashes: 10,2; |
| | 70 | } |
| | 71 | |
| | 72 | area[building=house] |
| | 73 | { |
| | 74 | text: eval("Casa"); |
| | 75 | text-color: black; |
| | 76 | font-size: 9; |
| | 77 | z-index: 1; |
| | 78 | color: #FFF88B; |
| | 79 | fill-color: #FFF88B; |
| | 80 | width: 3; |
| | 81 | dashes: 10,2; |
| | 82 | } |
| | 83 | |
| | 84 | area[building=detached] |
| | 85 | { |
| | 86 | text: eval("Casa Separada"); |
| | 87 | text-color: black; |
| | 88 | font-size: 9; |
| | 89 | z-index: 1; |
| | 90 | color: #FFFD36; |
| | 91 | fill-color: #FFFD36; |
| | 92 | width: 3; |
| | 93 | } |
| | 94 | area[building=semidetached_house] |
| | 95 | { |
| | 96 | text: eval("Casa Geminada"); |
| | 97 | text-color: black; |
| | 98 | font-size: 9; |
| | 99 | z-index: 1; |
| | 100 | color: #FFFC00; |
| | 101 | fill-color: #FFFC00; |
| | 102 | width: 3; |
| | 103 | } |
| | 104 | area[building=terrace] |
| | 105 | { |
| | 106 | text: eval("Fileira de Casas"); |
| | 107 | text-color: black; |
| | 108 | font-size: 9; |
| | 109 | z-index: 1; |
| | 110 | color: #FFFC00; |
| | 111 | fill-color: #FFFC00; |
| | 112 | width: 3; |
| | 113 | } |
| | 114 | area[building=apartments] |
| | 115 | { |
| | 116 | text: eval("Apartamentos"); |
| | 117 | text-color: black; |
| | 118 | font-size: 9; |
| | 119 | z-index: 1; |
| | 120 | color: #FF9E00; |
| | 121 | fill-color: #FF9E00; |
| | 122 | width: 3; |
| | 123 | } |
| | 124 | area[building=garage] |
| | 125 | { |
| | 126 | text: eval("Garagem"); |
| | 127 | text-color: black; |
| | 128 | font-size: 9; |
| | 129 | z-index: 1; |
| | 130 | color: #A37237; |
| | 131 | fill-color: #A37237; |
| | 132 | width: 3; |
| | 133 | } |
| | 134 | area[building=garages] |
| | 135 | { |
| | 136 | text: eval("Garagens"); |
| | 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=parking] |
| | 146 | { |
| | 147 | text: eval("Estacionamento"); |
| | 148 | text-color: black; |
| | 149 | font-size: 9; |
| | 150 | z-index: 1; |
| | 151 | color: #A37237; |
| | 152 | fill-color: #A37237; |
| | 153 | width: 3; |
| | 154 | } |
| | 155 | area[building=hotel] |
| | 156 | { |
| | 157 | text: eval("Hotel"); |
| | 158 | text-color: black; |
| | 159 | font-size: 9; |
| | 160 | z-index: 1; |
| | 161 | color: #F26100; |
| | 162 | fill-color: #F26100; |
| | 163 | width: 3; |
| | 164 | } |
| | 165 | |
| | 166 | area[building=commercial] |
| | 167 | { |
| | 168 | text: eval("Comercial"); |
| | 169 | text-color: black; |
| | 170 | font-size: 9; |
| | 171 | z-index: 1; |
| | 172 | color: #D76EFF; |
| | 173 | fill-color: #D76EFF; |
| | 174 | width: 3; |
| | 175 | } |
| | 176 | area[building=warehouse] |
| | 177 | { |
| | 178 | text: eval("Armazém"); |
| | 179 | text-color: black; |
| | 180 | font-size: 9; |
| | 181 | z-index: 1; |
| | 182 | color: #D76EFF; |
| | 183 | fill-color: #D76EFF; |
| | 184 | width: 3; |
| | 185 | } |
| | 186 | area[building=toilets] |
| | 187 | { |
| | 188 | text: eval("Banheiro"); |
| | 189 | text-color: black; |
| | 190 | font-size: 9; |
| | 191 | z-index: 1; |
| | 192 | color: #D76EFF; |
| | 193 | fill-color: #D76EFF; |
| | 194 | width: 3; |
| | 195 | } |
| | 196 | area[building=industrial] |
| | 197 | { |
| | 198 | text: eval("Industrial"); |
| | 199 | text-color: black; |
| | 200 | font-size: 9; |
| | 201 | z-index: 1; |
| | 202 | color: #C224FF; |
| | 203 | fill-color: #C224FF; |
| | 204 | width: 3; |
| | 205 | } |
| | 206 | |
| | 207 | area[building=church] |
| | 208 | { |
| | 209 | text: eval("Igreja"); |
| | 210 | text-color: black; |
| | 211 | font-size: 9; |
| | 212 | z-index: 1; |
| | 213 | color: #9224FF; |
| | 214 | fill-color: #9224FF; |
| | 215 | width: 3; |
| | 216 | } |
| | 217 | area[building=chapel] |
| | 218 | { |
| | 219 | text: eval("Capela"); |
| | 220 | text-color: black; |
| | 221 | font-size: 9; |
| | 222 | z-index: 1; |
| | 223 | color: #9224FF; |
| | 224 | fill-color: #9224FF; |
| | 225 | width: 3; |
| | 226 | } |
| | 227 | area[building=mosque] |
| | 228 | { |
| | 229 | text: eval("Mesquita"); |
| | 230 | text-color: black; |
| | 231 | font-size: 9; |
| | 232 | z-index: 1; |
| | 233 | color: #9224FF; |
| | 234 | fill-color: #9224FF; |
| | 235 | width: 3; |
| | 236 | } |
| | 237 | area[building=synagogue] |
| | 238 | { |
| | 239 | text: eval("Sinagoga"); |
| | 240 | text-color: black; |
| | 241 | font-size: 9; |
| | 242 | z-index: 1; |
| | 243 | color: #9224FF; |
| | 244 | fill-color: #9224FF; |
| | 245 | width: 3; |
| | 246 | } |
| | 247 | area[building=temple] |
| | 248 | { |
| | 249 | text: eval("Templo"); |
| | 250 | text-color: black; |
| | 251 | font-size: 9; |
| | 252 | z-index: 1; |
| | 253 | color: #9224FF; |
| | 254 | fill-color: #9224FF; |
| | 255 | width: 3; |
| | 256 | } |
| | 257 | area[building=cathedral] |
| | 258 | { |
| | 259 | text: eval("Catedral"); |
| | 260 | text-color: black; |
| | 261 | font-size: 9; |
| | 262 | z-index: 1; |
| | 263 | color: #7D1DDD; |
| | 264 | fill-color: #7D1DDD; |
| | 265 | width: 3; |
| | 266 | } |
| | 267 | |
| | 268 | area[building=retail] |
| | 269 | { |
| | 270 | text: eval("Loja"); |
| | 271 | text-color: black; |
| | 272 | font-size: 9; |
| | 273 | z-index: 1; |
| | 274 | color: #A5FC4E; |
| | 275 | fill-color: #A5FC4E; |
| | 276 | width: 3; |
| | 277 | } |
| | 278 | |
| | 279 | area[building=supermarket] |
| | 280 | { |
| | 281 | text: eval("Supermercado"); |
| | 282 | text-color: black; |
| | 283 | font-size: 9; |
| | 284 | z-index: 1; |
| | 285 | color: #A5FC4E; |
| | 286 | fill-color: #A5FC4E; |
| | 287 | width: 3; |
| | 288 | } |
| | 289 | area[building=kiosk] |
| | 290 | { |
| | 291 | text: eval("Quiosque"); |
| | 292 | text-color: black; |
| | 293 | font-size: 9; |
| | 294 | z-index: 1; |
| | 295 | color: #A5FC4E; |
| | 296 | fill-color: #A5FC4E; |
| | 297 | width: 3; |
| | 298 | } |
| | 299 | |
| | 300 | area[building=roof] |
| | 301 | { |
| | 302 | text: eval("Telhado"); |
| | 303 | text-color: black; |
| | 304 | font-size: 9; |
| | 305 | z-index: 1; |
| | 306 | color: #CBA371; |
| | 307 | fill-color: #CBA371; |
| | 308 | width: 3; |
| | 309 | } |
| | 310 | |
| | 311 | area[building=hospital] |
| | 312 | { |
| | 313 | text: eval("Hospital"); |
| | 314 | text-color: black; |
| | 315 | font-size:10; |
| | 316 | z-index: 1; |
| | 317 | color: #FF5566; |
| | 318 | fill-color: #FF5566; |
| | 319 | width: 3; |
| | 320 | } |
| | 321 | area[building=fire_station] |
| | 322 | { |
| | 323 | text: eval("Bombeiros"); |
| | 324 | text-color: black; |
| | 325 | font-size:10; |
| | 326 | z-index: 1; |
| | 327 | color: #FF5566; |
| | 328 | fill-color: #FF5566; |
| | 329 | width: 3; |
| | 330 | } |
| | 331 | area[amenity=hospital] |
| | 332 | { |
| | 333 | color: #FF5566; |
| | 334 | width: 3; |
| | 335 | } |
| | 336 | area[building=school] |
| | 337 | { |
| | 338 | text: eval("Escola"); |
| | 339 | text-color: black; |
| | 340 | font-size: 9; |
| | 341 | z-index: 1; |
| | 342 | color: #884CFF; |
| | 343 | fill-color: #884CFF; |
| | 344 | width: 3; |
| | 345 | } |
| | 346 | area[building=kindergarten] |
| | 347 | { |
| | 348 | text: eval("Jardim de Infância"); |
| | 349 | text-color: black; |
| | 350 | font-size: 9; |
| | 351 | z-index: 1; |
| | 352 | color: #884CFF; |
| | 353 | fill-color: #884CFF; |
| | 354 | width: 3; |
| | 355 | } |
| | 356 | area[amenity=school] |
| | 357 | { |
| | 358 | color: #884CFF; |
| | 359 | width: 3; |
| | 360 | } |
| | 361 | area[building=university] |
| | 362 | { |
| | 363 | text: eval("Universidade"); |
| | 364 | text-color: black; |
| | 365 | font-size: 9; |
| | 366 | z-index: 1; |
| | 367 | color: #7834FF; |
| | 368 | fill-color: #7834FF; |
| | 369 | width: 2; |
| | 370 | } |
| | 371 | area[amenity=university] |
| | 372 | { |
| | 373 | color: #7834FF; |
| | 374 | width: 3; |
| | 375 | } |
| | 376 | area[building=civic] |
| | 377 | { |
| | 378 | text: eval("Edifício Público"); |
| | 379 | text-color: black; |
| | 380 | font-size: 9; |
| | 381 | z-index: 1; |
| | 382 | color: #FF2238; |
| | 383 | fill-color: #FF2238; |
| | 384 | width: 3; |
| | 385 | dashes: 10,2; |
| | 386 | } |
| | 387 | area[building=train_station] |
| | 388 | { |
| | 389 | text: eval("Estação de Trem"); |
| | 390 | text-color: black; |
| | 391 | font-size: 9; |
| | 392 | z-index: 1; |
| | 393 | color: #FF2238; |
| | 394 | fill-color: #FF2238; |
| | 395 | width: 3; |
| | 396 | } |
| | 397 | |
| | 398 | area[building=dormitory] |
| | 399 | { |
| | 400 | text: eval("Dormitório"); |
| | 401 | text-color: black; |
| | 402 | font-size: 9; |
| | 403 | z-index: 1; |
| | 404 | color: #F07B2D; |
| | 405 | fill-color: #F07B2D; |
| | 406 | width: 3; |
| | 407 | } |
| | 408 | |
| | 409 | area[building=yes][amenity][building!=church][building!=cathedral] |
| | 410 | { |
| | 411 | text: "Equipamento"; |
| | 412 | text-color: black; |
| | 413 | dashes: 20,4; |
| | 414 | font-size: 10; |
| | 415 | z-index: 1; |
| | 416 | color: #FF2238; |
| | 417 | fill-color: #FF2238; |
| | 418 | width: 3; |
| | 419 | } |
| | 420 | |
| | 421 | area[building=yes][shop] |
| | 422 | { |
| | 423 | text: "Loja"; |
| | 424 | text-color: black; |
| | 425 | dashes: 20,4; |
| | 426 | font-size: 10; |
| | 427 | z-index: 1; |
| | 428 | color: #3E43D2; |
| | 429 | fill-color: #3E43D2; |
| | 430 | width: 3; |
| | 431 | } |
| | 432 | |
| | 433 | area[building=yes][office] |
| | 434 | { |
| | 435 | text: "Escritório"; |
| | 436 | text-color: black; |
| | 437 | font-size: 10; |
| | 438 | z-index: 1; |
| | 439 | color: #39D237; |
| | 440 | fill-color: #39D237; |
| | 441 | width: 3; |
| | 442 | dashes: 20,4; |
| | 443 | } |
| | 444 | /* highlight wrong schoolbuildings */ |
| | 445 | way[building=yes][amenity=school] |
| | 446 | { |
| | 447 | text: eval("Estabelecer como building=school"); |
| | 448 | font-size: 12; |
| | 449 | z-index: 1; |
| | 450 | color: red; |
| | 451 | width: 5; |
| | 452 | dashes: 20,4; |
| | 453 | dashes-background-color: #FFFF00; |
| | 454 | } |
| | 455 | |
| | 456 | /* highlight wrong church */ |
| | 457 | way[building=yes][amenity=place_of_worship] |
| | 458 | { |
| | 459 | text: eval("Estabelecer como building=church"); |
| | 460 | font-size: 12; |
| | 461 | z-index: 1; |
| | 462 | color: red; |
| | 463 | width: 5; |
| | 464 | dashes: 20,4; |
| | 465 | dashes-background-color: #FFFF00; |
| | 466 | } |
| | 467 | }}} |