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