Changes between Version 15 and Version 16 of Styles/Coloured_Streets
- Timestamp:
- 2014-02-26T17:35:24+01:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Coloured_Streets
v15 v16 1 '''xxxxxx Diese Seite ist derzeit in Bearbeitung! xxxxxx'''2 1 = Coloured Streets = 3 2 [[TOC(inline)]] … … 172 171 { 173 172 title: "Coloured Streets"; 174 version: "1.0[[revision]]_[[date]]"; 175 description: "Coloring of buildings in the color of the street"; 176 author: "geozeisig"; 177 link: "http://josm.openstreetmap.de/wiki/Styles/Coloured_Streets"; 173 version: "2.0.[[revision]]_[[date]]"; 174 description: "Colouring of streets, buildings and address nodes with the same first letter of the street name in the same colour. (Let me know if you miss special characters. I will add them.)"; 175 icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png"; 176 author: "geozeisig, Klumbumbus"; 177 link: "http://josm.openstreetmap.de/wiki/Styles/Coloured_Streets"; 178 178 watch-modified: true; 179 } 180 181 182 /* highlight buildings */ 183 area["addr:street"^="A"], relation[type=multipolygon]["addr:street"^="A"] 184 { 185 fill-color: #00FFFF; 186 color: #00FFFF; 179 /* This mapcss mappaint style was created for JOSM 6767. I try to support future versions of JOSM as long as I'm able to.*/ 180 } 181 182 meta[lang=de] 183 { 184 title: "Coloured Streets"; 185 description: "Einfärben von Straßen, Gebäuden und Adressnodes mit gleichem Anfangsbuchstabe des Straßennamens in der gleichen Farbe. (Gib mir Bescheid, wenn Sonderzeichen fehlen. Ich werde sie hinzufügen.)"; 186 } 187 188 189 /* highlight areas, ways and nodes*/ 190 /* all unknown characters in white color and all rules, which apply to all colors; different rules for different zoom*/ 191 area|z18-["addr:street"], 192 relation[type="associatedStreet"] > area|z18-["addr:housenumber"] 193 { 194 fill-color: #ffffff; 195 color: #ffffff; 187 196 width: 3; 188 fill-opacity:0.2; 189 } 190 node["addr:street"^="A"]::halo 191 { 192 symbol-fill-color: #00FFFF; 197 fill-opacity:0.2; 198 text-halo-radius: 3; 199 text-halo-color: #ffffff; 200 text: eval(cond(has_tag_key(name), concat(tag("addr:housenumber"), " | ", tag("name")), tag("addr:housenumber"))); 201 } 202 area|z-17["addr:street"], 203 relation[type="associatedStreet"] > area|z-17["addr:housenumber"] 204 { 205 fill-color: #ffffff; 206 color: #ffffff; 207 width: 3; 208 fill-opacity:0.2; 209 text: ; 210 } 211 node|z18-["addr:street"]::halo, 212 relation[type="associatedStreet"] > node|z18-["addr:housenumber"]::halo 213 { 214 symbol-fill-color: #ffffff; 193 215 symbol-shape: circle; 194 symbol-size: 20; 216 symbol-size: 22; 217 symbol-fill-opacity: 0.8; 195 218 z-index: -1; 196 } 197 way["highway"]["name"^="A"] 198 { 199 color: #00FFFF; 219 text: eval(tag("addr:housenumber")); 220 font-size: 12; 221 text-color: black; 222 text-anchor-vertical: center; 223 text-offset-x: -3; 224 text-halo-color: #ffffff; 225 text-halo-radius: 2; 226 text-halo-opacity: 0.8; 227 } 228 node|z-17["addr:street"]::halo, 229 relation[type="associatedStreet"] > node|z-17["addr:housenumber"]::halo 230 { 231 symbol-fill-color: #ffffff; 232 symbol-shape: circle; 233 symbol-size: 22; 234 symbol-fill-opacity: 0.8; 235 z-index: -1; 236 text: ; 237 font-size: 12; 238 text-color: black; 239 text-anchor-vertical: center; 240 text-offset-x: -3; 241 text-halo-color: #ffffff; 242 text-halo-radius: 2; 243 text-halo-opacity: 0.8; 244 } 245 way|z18-["highway"]["name"] 246 { 247 color: #ffffff; 200 248 width: 3; 201 249 font-size: 12; 202 250 text-color: #000000; 203 251 text-position: line; 204 text: "name";252 text: eval(tag("name")); 205 253 text-offset: 0; 206 text-halo-color: #00FFFF; 207 text-halo-radius:2 208 } 209 210 area["addr:street"^="B"], relation[type=multipolygon]["addr:street"^="B"] 254 text-halo-color: #ffffff; 255 text-halo-radius: 2; 256 } 257 way|z-17["highway"]["name"] 258 { 259 color: #ffffff; 260 width: 3; 261 text: ; 262 } 263 264 /* all known characters in different colors */ 265 266 area["addr:street"=~/^[AАΑ]/], 267 relation[type="associatedStreet"][name=~/^[AАΑ]/] > area["addr:housenumber"] 268 { 269 fill-color: #81c0ff; 270 color: #81c0ff; 271 text-halo-color: #81c0ff; 272 } 273 node["addr:street"=~/^[AАΑ]/]::halo, 274 relation[type="associatedStreet"][name=~/^[AАΑ]/] > node["addr:housenumber"]::halo 275 { 276 symbol-fill-color: #81c0ff; 277 text-halo-color: #81c0ff; 278 } 279 way["highway"]["name"=~/^[AАΑ]/] 280 { 281 color: #81c0ff; 282 text-halo-color: #81c0ff; 283 } 284 285 area["addr:street"=~/^[Ä1БΒÁÀÂÆ]/], 286 relation[type="associatedStreet"][name=~/^[Ä1БΒÁÀÂÆ]/] > area["addr:housenumber"] 287 { 288 fill-color: #e1bd6a; 289 color: #e1bd6a; 290 text-halo-color: #e1bd6a; 291 } 292 node["addr:street"=~/^[Ä1БΒÁÀÂÆ]/]::halo, 293 relation[type="associatedStreet"][name=~/^[Ä1БΒÁÀÂÆ]/] > node["addr:housenumber"]::halo 294 { 295 symbol-fill-color: #e1bd6a; 296 text-halo-color: #e1bd6a; 297 } 298 way["highway"]["name"=~/^[Ä1БΒÁÀÂÆ]/] 299 { 300 color: #e1bd6a; 301 text-halo-color: #e1bd6a; 302 } 303 304 area["addr:street"=~/^[BВΓ]/], 305 relation[type="associatedStreet"][name=~/^[BВΓ]/] > area["addr:housenumber"] 211 306 { 212 307 fill-color: #7fffd4; 213 308 color: #7fffd4; 214 width: 3; 215 fill-opacity:0.2; 216 217 } 218 node["addr:street"^="B"]::halo 309 text-halo-color: #7fffd4; 310 } 311 node["addr:street"=~/^[BВΓ]/]::halo, 312 relation[type="associatedStreet"][name=~/^[BВΓ]/] > node["addr:housenumber"]::halo 219 313 { 220 314 symbol-fill-color: #7fffd4; 221 symbol-shape: circle; 222 symbol-size: 20; 223 z-index: -1; 224 } 225 way["highway"]["name"^="B"] 315 text-halo-color: #7fffd4; 316 } 317 way["highway"]["name"=~/^[BВΓ]/] 226 318 { 227 319 color: #7fffd4; 228 width: 3;229 font-size: 12;230 text-color: #000000;231 text-position: line;232 text: "name";233 text-offset: 0;234 320 text-halo-color: #7fffd4; 235 text-halo-radius:2 236 }237 238 area["addr:street"^="C"],relation[type=multipolygon]["addr:street"^="C"]321 } 322 323 area["addr:street"=~/^[CГΔÇČ]/], 324 relation[type="associatedStreet"][name=~/^[CГΔÇČ]/] > area["addr:housenumber"] 239 325 { 240 326 fill-color: #8a2be2; 241 327 color: #8a2be2; 242 width: 3;243 fill-opacity:0.2; 244 } 245 node["addr: street"^="C"]::halo328 text-halo-color: #8a2be2; 329 } 330 node["addr:street"=~/^[CГΔÇČ]/]::halo, 331 relation[type="associatedStreet"][name=~/^[CГΔÇČ]/] > node["addr:housenumber"]::halo 246 332 { 247 333 symbol-fill-color: #8a2be2; 248 symbol-shape: circle; 249 symbol-size: 20; 250 z-index: -1; 251 } 252 way["highway"]["name"^="C"] 334 text-halo-color: #8a2be2; 335 } 336 way["highway"]["name"=~/^[CГΔÇČ]/] 253 337 { 254 338 color: #8a2be2; 255 width: 3;256 font-size: 12;257 text-color: #000000;258 text-position: line;259 text: "name";260 text-offset: 0;261 339 text-halo-color: #8a2be2; 262 text-halo-radius:2 263 }264 265 area["addr:street"^="D"],relation[type=multipolygon]["addr:street"^="D"]340 } 341 342 area["addr:street"=~/^[DДΕ]/], 343 relation[type="associatedStreet"][name=~/^[DДΕ]/] > area["addr:housenumber"] 266 344 { 267 345 fill-color: #a52a2a; 268 346 color: #a52a2a; 269 width: 3;270 fill-opacity:0.2; 271 } 272 node["addr: street"^="D"]::halo347 text-halo-color: #a52a2a; 348 } 349 node["addr:street"=~/^[DДΕ]/]::halo, 350 relation[type="associatedStreet"][name=~/^[DДΕ]/] > node["addr:housenumber"]::halo 273 351 { 274 352 symbol-fill-color: #a52a2a; 275 symbol-shape: circle; 276 symbol-size: 20; 277 z-index: -1; 278 } 279 way["highway"]["name"^="D"] 353 text-halo-color: #a52a2a; 354 } 355 way["highway"]["name"=~/^[DДΕ]/] 280 356 { 281 357 color: #a52a2a; 282 width: 3;283 font-size: 12;284 text-color: #000000;285 text-position: line;286 text: "name";287 text-offset: 0;288 358 text-halo-color: #a52a2a; 289 text-halo-radius:2 290 } 291 292 area["addr:street"^="E"], relation[type=multipolygon]["addr:street"^="E"] 293 { 294 fill-color: #e9967a; 295 color: #e9967a; 296 width: 3; 297 fill-opacity:0.2; 298 } 299 300 node["addr:street"^="E"]::halo 301 { 302 symbol-fill-color: #e9967a; 303 symbol-shape: circle; 304 symbol-size: 20; 305 z-index: -1; 306 } 307 way["highway"]["name"^="E"] 308 { 309 color: #e9967a; 310 width: 3; 311 font-size: 12; 312 text-color: #000000; 313 text-position: line; 314 text: "name"; 315 text-offset: 0; 316 text-halo-color: #e9967a; 317 text-halo-radius:2 318 } 319 320 area["addr:street"^="F"], relation[type=multipolygon]["addr:street"^="F"] 359 } 360 361 area["addr:street"=~/^[EЕЁΖÊÉÈË]/], 362 relation[type="associatedStreet"][name=~/^[EЕЁΖÊÉÈË]/] > area["addr:housenumber"] 363 { 364 fill-color: #f0b9a6; 365 color: #f0b9a6; 366 text-halo-color: #f0b9a6; 367 } 368 node["addr:street"=~/^[EЕЁΖÊÉÈË]/]::halo, 369 relation[type="associatedStreet"][name=~/^[EЕЁΖÊÉÈË]/] > node["addr:housenumber"]::halo 370 { 371 symbol-fill-color: #f0b9a6; 372 text-halo-color: #f0b9a6; 373 } 374 way["highway"]["name"=~/^[EЕЁΖÊÉÈË]/] 375 { 376 color: #f0b9a6; 377 text-halo-color: #f0b9a6; 378 } 379 380 area["addr:street"=~/^[FЖΗ]/], 381 relation[type="associatedStreet"][name=~/^[FЖΗ]/] > area["addr:housenumber"] 321 382 { 322 383 fill-color: #8fbc8f; 323 384 color: #8fbc8f; 324 width: 3;325 fill-opacity:0.2; 326 } 327 node["addr: street"^="F"]::halo385 text-halo-color: #8fbc8f; 386 } 387 node["addr:street"=~/^[FЖΗ]/]::halo, 388 relation[type="associatedStreet"][name=~/^[FЖΗ]/] > node["addr:housenumber"]::halo 328 389 { 329 390 symbol-fill-color: #8fbc8f; 330 symbol-shape: circle; 331 symbol-size: 20; 332 z-index: -1; 333 } 334 way["highway"]["name"^="F"] 391 text-halo-color: #8fbc8f; 392 } 393 way["highway"]["name"=~/^[FЖΗ]/] 335 394 { 336 395 color: #8fbc8f; 337 width: 3;338 font-size: 12;339 text-color: #000000;340 text-position: line;341 text: "name";342 text-offset: 0;343 396 text-halo-color: #8fbc8f; 344 text-halo-radius:2 345 } 346 347 area["addr:street"^="G"], relation[type=multipolygon]["addr:street"^="G"] 348 { 349 fill-color: #2f4f4f; 350 color: #2f4f4f; 351 width: 3; 352 fill-opacity:0.2; 353 } 354 node["addr:street"^="G"]::halo 355 { 356 symbol-fill-color: #2f4f4f; 357 symbol-shape: circle; 358 symbol-size: 20; 359 z-index: -1; 360 } 361 way["highway"]["name"^="G"] 362 { 363 color: #2f4f4f; 364 width: 3; 365 font-size: 12; 366 text-color: #000000; 367 text-position: line; 368 text: "name"; 369 text-offset: 0; 370 text-halo-color: #2f4f4f; 371 text-halo-radius:2 372 } 373 374 area["addr:street"^="H"], relation[type=multipolygon]["addr:street"^="H"] 397 } 398 399 area["addr:street"=~/^[GЗĞ]/], 400 relation[type="associatedStreet"][name=~/^[GЗĞ]/] > area["addr:housenumber"] 401 { 402 fill-color: #1b7777; 403 color: #1b7777; 404 text-halo-color: #1b7777; 405 } 406 node["addr:street"=~/^[GЗĞ]/]::halo, 407 relation[type="associatedStreet"][name=~/^[GЗĞ]/] > node["addr:housenumber"]::halo 408 { 409 symbol-fill-color: #1b7777; 410 text-halo-color: #1b7777; 411 } 412 way["highway"]["name"=~/^[GЗĞ]/] 413 { 414 color: #1b7777; 415 text-halo-color: #1b7777; 416 } 417 418 area["addr:street"=~/^[HИΘ]/], 419 relation[type="associatedStreet"][name=~/^[HИΘ]/] > area["addr:housenumber"] 375 420 { 376 421 fill-color: #ff1493; 377 422 color: #ff1493; 378 width: 3;379 fill-opacity:0.2; 380 } 381 node["addr: street"^="H"]::halo423 text-halo-color: #ff1493; 424 } 425 node["addr:street"=~/^[HИΘ]/]::halo, 426 relation[type="associatedStreet"][name=~/^[HИΘ]/] > node["addr:housenumber"]::halo 382 427 { 383 428 symbol-fill-color: #ff1493; 384 symbol-shape: circle; 385 symbol-size: 20; 386 z-index: -1; 387 } 388 way["highway"]["name"^="H"] 429 text-halo-color: #ff1493; 430 } 431 way["highway"]["name"=~/^[HИΘ]/] 389 432 { 390 433 color: #ff1493; 391 width: 3;392 font-size: 12;393 text-color: #000000;394 text-position: line;395 text: "name";396 text-offset: 0;397 434 text-halo-color: #ff1493; 398 text-halo-radius:2 399 } 400 401 area["addr:street"^="I"], relation[type=multipolygon]["addr:street"^="I"] 402 { 403 fill-color: #1e90ff; 404 color: #1e90ff; 405 width: 3; 406 fill-opacity:0.2; 407 } 408 node["addr:street"^="I"]::halo 409 { 410 symbol-fill-color: #1e90ff; 411 symbol-shape: circle; 412 symbol-size: 20; 413 z-index: -1; 414 } 415 way["highway"]["name"^="I"] 416 { 417 color: #1e90ff; 418 width: 3; 419 font-size: 12; 420 text-color: #000000; 421 text-position: line; 422 text: "name"; 423 text-offset: 0; 424 text-halo-color: #1e90ff; 425 text-halo-radius:2 426 } 427 428 area["addr:street"^="J"], relation[type=multipolygon]["addr:street"^="J"] 435 } 436 437 area["addr:street"=~/^[IЙΙÎ]/], 438 relation[type="associatedStreet"][name=~/^[IЙΙÎ]/] > area["addr:housenumber"] 439 { 440 fill-color: #0072e2; 441 color: #0072e2; 442 text-halo-color: #0072e2; 443 } 444 node["addr:street"=~/^[IЙΙÎ]/]::halo, 445 relation[type="associatedStreet"][name=~/^[IЙΙÎ]/] > node["addr:housenumber"]::halo 446 { 447 symbol-fill-color: #0072e2; 448 text-halo-color: #0072e2; 449 } 450 way["highway"]["name"=~/^[IЙΙÎ]/] 451 { 452 color: #0072e2; 453 text-halo-color: #0072e2; 454 } 455 456 area["addr:street"=~/^[J2КΚ]/], 457 relation[type="associatedStreet"][name=~/^[J2КΚ]/] > area["addr:housenumber"] 429 458 { 430 459 fill-color: #228b22; 431 460 color: #228b22; 432 width: 3;433 fill-opacity:0.2; 434 } 435 node["addr: street"^="J"]::halo461 text-halo-color: #228b22; 462 } 463 node["addr:street"=~/^[J2КΚ]/]::halo, 464 relation[type="associatedStreet"][name=~/^[J2КΚ]/] > node["addr:housenumber"]::halo 436 465 { 437 466 symbol-fill-color: #228b22; 438 symbol-shape: circle; 439 symbol-size: 20; 440 z-index: -1; 441 } 442 way["highway"]["name"^="J"] 467 text-halo-color: #228b22; 468 } 469 way["highway"]["name"=~/^[J2КΚ]/] 443 470 { 444 471 color: #228b22; 445 width: 3;446 font-size: 12;447 text-color: #000000;448 text-position: line;449 text: "name";450 text-offset: 0;451 472 text-halo-color: #228b22; 452 text-halo-radius:2 453 }454 455 area["addr:street"^="K"],relation[type=multipolygon]["addr:street"^="K"]473 } 474 475 area["addr:street"=~/^[KЛΛ]/], 476 relation[type="associatedStreet"][name=~/^[KЛΛ]/] > area["addr:housenumber"] 456 477 { 457 478 fill-color: #ffd700; 458 479 color: #ffd700; 459 width: 3;460 fill-opacity:0.2; 461 } 462 node["addr: street"^="K"]::halo480 text-halo-color: #ffd700; 481 } 482 node["addr:street"=~/^[KЛΛ]/]::halo, 483 relation[type="associatedStreet"][name=~/^[KЛΛ]/] > node["addr:housenumber"]::halo 463 484 { 464 485 symbol-fill-color: #ffd700; 465 symbol-shape: circle; 466 symbol-size: 20; 467 z-index: -1; 468 } 469 way["highway"]["name"^="K"] 486 text-halo-color: #ffd700; 487 } 488 way["highway"]["name"=~/^[KЛΛ]/] 470 489 { 471 490 color: #ffd700; 472 width: 3;473 font-size: 12;474 text-color: #000000;475 text-position: line;476 text: "name";477 text-offset: 0;478 491 text-halo-color: #ffd700; 479 text-halo-radius:2 480 }481 482 area["addr:street"^="L"],relation[type=multipolygon]["addr:street"^="L"]492 } 493 494 area["addr:street"=~/^[LМΜŁ]/], 495 relation[type="associatedStreet"][name=~/^[LМΜŁ]/] > area["addr:housenumber"] 483 496 { 484 497 fill-color: #BF9017; 485 498 color: #BF9017; 486 width: 3;487 fill-opacity:0.2; 488 } 489 node["addr: street"^="L"]::halo499 text-halo-color: #BF9017; 500 } 501 node["addr:street"=~/^[LМΜŁ]/]::halo, 502 relation[type="associatedStreet"][name=~/^[LМΜŁ]/] > node["addr:housenumber"]::halo 490 503 { 491 504 symbol-fill-color: #BF9017; 492 symbol-shape: circle; 493 symbol-size: 20; 494 z-index: -1; 495 } 496 way["highway"]["name"^="L"] 505 text-halo-color: #BF9017; 506 } 507 way["highway"]["name"=~/^[LМΜŁ]/] 497 508 { 498 509 color: #BF9017; 499 width: 3;500 font-size: 12;501 text-color: #000000;502 text-position: line;503 text: "name";504 text-offset: 0;505 510 text-halo-color:#BF9017; 506 text-halo-radius:2 507 }508 509 area["addr:street"^="M"],relation[type=multipolygon]["addr:street"^="M"]511 } 512 513 area["addr:street"=~/^[MНΝ]/], 514 relation[type="associatedStreet"][name=~/^[MНΝ]/] > area["addr:housenumber"] 510 515 { 511 516 fill-color: #adff2f; 512 517 color: #adff2f; 513 width: 3;514 fill-opacity:0.2; 515 } 516 node["addr: street"^="M"]::halo518 text-halo-color: #adff2f; 519 } 520 node["addr:street"=~/^[MНΝ]/]::halo, 521 relation[type="associatedStreet"][name=~/^[MНΝ]/] > node["addr:housenumber"]::halo 517 522 { 518 523 symbol-fill-color: #adff2f; 519 symbol-shape: circle; 520 symbol-size: 20; 521 z-index: -1; 522 } 523 way["highway"]["name"^="M"] 524 text-halo-color: #adff2f; 525 } 526 way["highway"]["name"=~/^[MНΝ]/] 524 527 { 525 528 color: #adff2f; 526 width: 3;527 font-size: 12;528 text-color: #000000;529 text-position: line;530 text: "name";531 text-offset: 0;532 529 text-halo-color: #adff2f; 533 text-halo-radius:2 534 }535 536 area["addr:street"^="N"],relation[type=multipolygon]["addr:street"^="N"]530 } 531 532 area["addr:street"=~/^[NОΞÑ]/], 533 relation[type="associatedStreet"][name=~/^[NОΞÑ]/] > area["addr:housenumber"] 537 534 { 538 535 fill-color: #ff69b4; 539 536 color: #ff69b4; 540 width: 3;541 fill-opacity:0.2; 542 } 543 node["addr: street"^="N"]::halo537 text-halo-color: #ff69b4; 538 } 539 node["addr:street"=~/^[NОΞÑ]/]::halo, 540 relation[type="associatedStreet"][name=~/^[NОΞÑ]/] > node["addr:housenumber"]::halo 544 541 { 545 542 symbol-fill-color: #ff69b4; 546 symbol-shape: circle; 547 symbol-size: 20; 548 z-index: -1; 549 } 550 way["highway"]["name"^="N"] 543 text-halo-color: #ff69b4; 544 } 545 way["highway"]["name"=~/^[NОΞÑ]/] 551 546 { 552 547 color: #ff69b4; 553 width: 3;554 font-size: 12;555 text-color: #000000;556 text-position: line;557 text: "name";558 text-offset: 0;559 548 text-halo-color: #ff69b4; 560 text-halo-radius:2 561 }562 563 area["addr:street"^="O"],relation[type=multipolygon]["addr:street"^="O"]549 } 550 551 area["addr:street"=~/^[OПΟ]/], 552 relation[type="associatedStreet"][name=~/^[OПΟ]/] > area["addr:housenumber"] 564 553 { 565 554 fill-color: #cd5c5c; 566 555 color: #cd5c5c; 567 width: 3;568 fill-opacity:0.2; 569 } 570 node["addr: street"^="O"]::halo556 text-halo-color: #cd5c5c; 557 } 558 node["addr:street"=~/^[OПΟ]/]::halo, 559 relation[type="associatedStreet"][name=~/^[OПΟ]/] > node["addr:housenumber"]::halo 571 560 { 572 561 symbol-fill-color: #cd5c5c; 573 symbol-shape: circle; 574 symbol-size: 20; 575 z-index: -1; 576 } 577 way["highway"]["name"^="O"] 562 text-halo-color: #cd5c5c; 563 } 564 way["highway"]["name"=~/^[OПΟ]/] 578 565 { 579 566 color: #cd5c5c; 580 width: 3;581 font-size: 12;582 text-color: #000000;583 text-position: line;584 text: "name";585 text-offset: 0;586 567 text-halo-color: #cd5c5c; 587 text-halo-radius:2 588 } 589 590 area["addr:street"^="P"], relation[type=multipolygon]["addr:street"^="P"] 591 { 592 fill-color: #4b0082; 593 color: #4b0082; 594 width: 3; 595 fill-opacity:0.2; 596 } 597 node["addr:street"^="P"]::halo 598 { 599 symbol-fill-color: #4b0082; 600 symbol-shape: circle; 601 symbol-size: 20; 602 z-index: -1; 603 } 604 way["highway"]["name"^="P"] 605 { 606 color: #4b0082; 607 width: 3; 608 font-size: 12; 609 text-color: #000000; 610 text-position: line; 611 text: "name"; 612 text-offset: 0; 613 text-halo-color: #4b0082; 614 text-halo-radius:2 615 } 616 617 area["addr:street"^="Q"], relation[type=multipolygon]["addr:street"^="Q"] 568 } 569 570 area["addr:street"=~/^[Ö3РΠØÓÔŒ]/], 571 relation[type="associatedStreet"][name=~/^[Ö3РΠØÓÔŒ]/] > area["addr:housenumber"] 572 { 573 fill-color: #81621a; 574 color: #81621a; 575 text-halo-color: #81621a; 576 } 577 node["addr:street"=~/^[Ö3РΠØÓÔŒ]/]::halo, 578 relation[type="associatedStreet"][name=~/^[Ö3РΠØÓÔŒ]/] > node["addr:housenumber"]::halo 579 { 580 symbol-fill-color: #81621a; 581 text-halo-color: #81621a; 582 } 583 way["highway"]["name"=~/^[Ö3РΠØÓÔŒ]/] 584 { 585 color: #81621a; 586 text-halo-color: #81621a; 587 } 588 589 area["addr:street"=~/^[PС]/], 590 relation[type="associatedStreet"][name=~/^[PС]/] > area["addr:housenumber"] 591 { 592 fill-color: #824b00; 593 color: #824b00; 594 text-halo-color: #824b00; 595 } 596 node["addr:street"=~/^[PС]/]::halo, 597 relation[type="associatedStreet"][name=~/^[PС]/] > node["addr:housenumber"]::halo 598 { 599 symbol-fill-color: #824b00; 600 text-halo-color: #824b00; 601 } 602 way["highway"]["name"=~/^[PС]/] 603 { 604 color: #824b00; 605 text-halo-color: #824b00; 606 } 607 608 area["addr:street"=~/^[Q4ТΡ]/], 609 relation[type="associatedStreet"][name=~/^[Q4ТΡ]/] > area["addr:housenumber"] 618 610 { 619 611 fill-color: #f08080; 620 612 color: #f08080; 621 width: 3;622 fill-opacity:0.2; 623 } 624 node["addr: street"^="Q"]::halo613 text-halo-color: #f08080; 614 } 615 node["addr:street"=~/^[Q4ТΡ]/]::halo, 616 relation[type="associatedStreet"][name=~/^[Q4ТΡ]/] > node["addr:housenumber"]::halo 625 617 { 626 618 symbol-fill-color: #f08080; 627 symbol-shape: circle; 628 symbol-size: 20; 629 z-index: -1; 630 } 631 way["highway"]["name"^="Q"] 619 text-halo-color: #f08080; 620 } 621 way["highway"]["name"=~/^[Q4ТΡ]/] 632 622 { 633 623 color: #f08080; 634 width: 3;635 font-size: 12;636 text-color: #000000;637 text-position: line;638 text: "name";639 text-offset: 0;640 624 text-halo-color: #f08080; 641 text-halo-radius:2642 }643 644 area["addr:street"^="R"],relation[type=multipolygon]["addr:street"^="R"]625 } 626 627 area["addr:street"=~/^[RУΣ]/], 628 relation[type="associatedStreet"][name=~/^[RУΣ]/] > area["addr:housenumber"] 645 629 { 646 630 fill-color: #F75617; 647 631 color: #F75617; 648 width: 3;649 fill-opacity:0.2; 650 } 651 node["addr: street"^="R"]::halo632 text-halo-color: #F75617; 633 } 634 node["addr:street"=~/^[RУΣ]/]::halo, 635 relation[type="associatedStreet"][name=~/^[RУΣ]/] > node["addr:housenumber"]::halo 652 636 { 653 637 symbol-fill-color: #F75617; 654 symbol-shape: circle; 655 symbol-size: 20; 656 z-index: -1; 657 } 658 way["highway"]["name"^="R"] 638 text-halo-color: #F75617; 639 } 640 way["highway"]["name"=~/^[RУΣ]/] 659 641 { 660 642 color: #F75617; 661 width: 3;662 font-size: 12;663 text-color: #000000;664 text-position: line;665 text: "name";666 text-offset: 0;667 643 text-halo-color: #F75617; 668 text-halo-radius:2669 644 } 670 645 671 area["addr:street"^="S"], relation[type=multipolygon]["addr:street"^="S"] 646 area["addr:street"=~/^[SХΤŞ]/], 647 relation[type="associatedStreet"][name=~/^[SХΤŞ]/] > area["addr:housenumber"] 672 648 { 673 649 fill-color: #32cd32; 674 650 color: #32cd32; 675 width: 3;676 fill-opacity:0.2; 677 } 678 node["addr: street"^="S"]::halo651 text-halo-color: #32cd32; 652 } 653 node["addr:street"=~/^[SХΤŞ]/]::halo, 654 relation[type="associatedStreet"][name=~/^[SХΤŞ]/] > node["addr:housenumber"]::halo 679 655 { 680 656 symbol-fill-color: #32cd32; 681 symbol-shape: circle; 682 symbol-size: 20; 683 z-index: -1; 684 } 685 way["highway"]["name"^="S"] 657 text-halo-color: #32cd32; 658 } 659 way["highway"]["name"=~/^[SХΤŞ]/] 686 660 { 687 661 color: #32cd32; 688 width: 3;689 font-size: 12;690 text-color: #000000;691 text-position: line;692 text: "name";693 text-offset: 0;694 662 text-halo-color: #32cd32; 695 text-halo-radius:2696 663 } 697 664 698 area["addr:street"^="T"], relation[type=multipolygon]["addr:street"^="T"] 665 area["addr:street"=~/^[TЦΥ]/], 666 relation[type="associatedStreet"][name=~/^[TЦΥ]/] > area["addr:housenumber"] 699 667 { 700 668 fill-color: #ba55d3; 701 669 color: #ba55d3; 702 width: 3;703 fill-opacity:0.2; 704 } 705 node["addr: street"^="T"]::halo670 text-halo-color: #ba55d3; 671 } 672 node["addr:street"=~/^[TЦΥ]/]::halo, 673 relation[type="associatedStreet"][name=~/^[TЦΥ]/] > node["addr:housenumber"]::halo 706 674 { 707 675 symbol-fill-color: #ba55d3; 708 symbol-shape: circle; 709 symbol-size: 20; 710 z-index: -1; 711 } 712 way["highway"]["name"^="T"] 676 text-halo-color: #ba55d3; 677 } 678 way["highway"]["name"=~/^[TЦΥ]/] 713 679 { 714 680 color: #ba55d3; 715 width: 3;716 font-size: 12;717 text-color: #000000;718 text-position: line;719 text: "name";720 text-offset: 0;721 681 text-halo-color: #ba55d3; 722 text-halo-radius:2723 682 } 724 683 725 area["addr:street"^="U"], relation[type=multipolygon]["addr:street"^="U"] 684 area["addr:street"=~/^[UЧ]/], 685 relation[type="associatedStreet"][name=~/^[UЧ]/] > area["addr:housenumber"] 726 686 { 727 687 fill-color: #9370db; 728 688 color: #9370db; 729 width: 3;730 fill-opacity:0.2; 731 } 732 node["addr: street"^="U"]::halo689 text-halo-color: #9370db; 690 } 691 node["addr:street"=~/^[UЧ]/]::halo, 692 relation[type="associatedStreet"][name=~/^[UЧ]/] > node["addr:housenumber"]::halo 733 693 { 734 694 symbol-fill-color: #9370db; 735 symbol-shape: circle; 736 symbol-size: 20; 737 z-index: -1; 738 } 739 way["highway"]["name"^="U"] 695 text-halo-color: #9370db; 696 } 697 way["highway"]["name"=~/^[UЧ]/] 740 698 { 741 699 color: #9370db; 742 width: 3;743 font-size: 12;744 text-color: #000000;745 text-position: line;746 text: "name";747 text-offset: 0;748 700 text-halo-color: #9370db; 749 text-halo-radius:2750 701 } 751 702 752 area["addr:street"^="V"], relation[type=multipolygon]["addr:street"^="V"] 703 area["addr:street"=~/^[Ü5ШЩΦÚÙÛ]/], 704 relation[type="associatedStreet"][name=~/^[Ü5ШЩΦÚÙÛ]/] > area["addr:housenumber"] 705 { 706 fill-color: #ff7c00; 707 color: #ff7c00; 708 text-halo-color: #ff7c00; 709 } 710 node["addr:street"=~/^[Ü5ШЩΦÚÙÛ]/]::halo, 711 relation[type="associatedStreet"][name=~/^[Ü5ШЩΦÚÙÛ]/] > node["addr:housenumber"]::halo 712 { 713 symbol-fill-color: #ff7c00; 714 text-halo-color: #ff7c00; 715 } 716 way["highway"]["name"=~/^[Ü5ШЩΦÚÙÛ]/] 717 { 718 color: #ff7c00; 719 text-halo-color: #ff7c00; 720 } 721 722 area["addr:street"=~/^[V6Ы]/], 723 relation[type="associatedStreet"][name=~/^[V6Ы]/] > area["addr:housenumber"] 753 724 { 754 725 fill-color: #3cb371; 755 726 color: #3cb371; 756 width: 3;757 fill-opacity:0.2; 758 } 759 node["addr: street"^="V"]::halo727 text-halo-color: #3cb371; 728 } 729 node["addr:street"=~/^[V6Ы]/]::halo, 730 relation[type="associatedStreet"][name=~/^[V6Ы]/] > node["addr:housenumber"]::halo 760 731 { 761 732 symbol-fill-color: #3cb371; 762 symbol-shape: circle; 763 symbol-size: 20; 764 z-index: -1; 765 } 766 way["highway"]["name"^="V"] 733 text-halo-color: #3cb371; 734 } 735 way["highway"]["name"=~/^[V6Ы]/] 767 736 { 768 737 color: #3cb371; 769 width: 3;770 font-size: 12;771 text-color: #000000;772 text-position: line;773 text: "name";774 text-offset: 0;775 738 text-halo-color: #3cb371; 776 text-halo-radius:2777 739 } 778 740 779 area["addr:street"^="W"], relation[type=multipolygon]["addr:street"^="W"] 741 area["addr:street"=~/^[W7ЬΧ]/], 742 relation[type="associatedStreet"][name=~/^[W7ЬΧ]/] > area["addr:housenumber"] 780 743 { 781 744 fill-color: #808000; 782 745 color: #808000; 783 width: 3;784 fill-opacity:0.2; 785 } 786 node["addr: street"^="W"]::halo746 text-halo-color: #808000; 747 } 748 node["addr:street"=~/^[W7ЬΧ]/]::halo, 749 relation[type="associatedStreet"][name=~/^[W7ЬΧ]/] > node["addr:housenumber"]::halo 787 750 { 788 751 symbol-fill-color: #808000; 789 symbol-shape: circle; 790 symbol-size: 20; 791 z-index: -1; 792 } 793 way["highway"]["name"^="W"] 752 text-halo-color: #808000; 753 754 } 755 way["highway"]["name"=~/^[W7ЬΧ]/] 794 756 { 795 757 color: #808000; 796 width: 3;797 font-size: 12;798 text-color: #000000;799 text-position: line;800 text: "name";801 text-offset: 0;802 758 text-halo-color: #808000; 803 text-halo-radius:2 804 } 805 806 area["addr:street"^="X"],relation[type=multipolygon]["addr:street"^="X"]759 } 760 761 area["addr:street"=~/^[X8ЭФΨ]/], 762 relation[type="associatedStreet"][name=~/^[X8ЭФΨ]/] > area["addr:housenumber"] 807 763 { 808 764 fill-color: #7cfc00 ; 809 765 color: #7cfc00 ; 810 width: 3;811 fill-opacity:0.2; 812 } 813 node["addr: street"^="X"]::halo766 text-halo-color: #7cfc00; 767 } 768 node["addr:street"=~/^[X8ЭФΨ]/]::halo, 769 relation[type="associatedStreet"][name=~/^[X8ЭФΨ]/] > node["addr:housenumber"]::halo 814 770 { 815 771 symbol-fill-color: #7cfc00; 816 symbol-shape: circle; 817 symbol-size: 20; 818 z-index: -1; 819 } 820 way["highway"]["name"^="X"] 772 text-halo-color: #7cfc00; 773 774 } 775 way["highway"]["name"=~/^[X8ЭФΨ]/] 821 776 { 822 777 color: #7cfc00; 823 width: 3;824 font-size: 12;825 text-color: #000000;826 text-position: line;827 text: "name";828 text-offset: 0;829 778 text-halo-color: #7cfc00; 830 text-halo-radius:2831 779 } 832 780 833 area["addr:street"^="Y"], relation[type=multipolygon]["addr:street"^="Y"] 781 area["addr:street"=~/^[Y9ЮЪΩ]/], 782 relation[type="associatedStreet"][name=~/^[Y9ЮЪΩ]/] > area["addr:housenumber"] 834 783 { 835 784 fill-color: #6b8e23; 836 785 color: #6b8e23; 837 width: 3;838 fill-opacity:0.2; 839 } 840 node["addr: street"^="Y"]::halo841 { 786 text-halo-color: #6b8e23; 787 } 788 node["addr:street"=~/^[Y9ЮЪΩ]/]::halo, 789 relation[type="associatedStreet"][name=~/^[Y9ЮЪΩ]/] > node["addr:housenumber"]::halo 790 { 842 791 symbol-fill-color: #6b8e23; 843 symbol-shape: circle; 844 symbol-size: 20; 845 z-index: -1; 846 } 847 way["highway"]["name"^="Y"] 792 text-halo-color: #6b8e23; 793 } 794 way["highway"]["name"=~/^[Y9ЮЪΩ]/] 848 795 { 849 796 color: #6b8e23; 850 width: 3;851 font-size: 12;852 text-color: #000000;853 text-position: line;854 text: "name";855 text-offset: 0;856 797 text-halo-color: #6b8e23; 857 text-halo-radius:2858 798 } 859 799 860 area["addr:street"^="Z"], relation[type=multipolygon]["addr:street"^="Z"] 861 { 862 fill-color: #ff4500; 863 color: #ff4500; 864 width: 3; 865 fill-opacity:0.2; 866 } 867 node["addr:street"^="Z"]::halo 868 { 869 symbol-fill-color: #ff4500; 870 symbol-shape: circle; 871 symbol-size: 20; 872 z-index: -1; 873 } 874 way["highway"]["name"^="Z"] 875 { 876 color: #ff4500; 877 width: 3; 878 font-size: 12; 879 text-color: #000000; 880 text-position: line; 881 text: "name"; 882 text-offset: 0; 883 text-halo-color: #ff4500; 884 text-halo-radius:2 800 area["addr:street"=~/^[Z0ЯŽ]/], 801 relation[type="associatedStreet"][name=~/^[Z0ЯŽ]/] > area["addr:housenumber"] 802 { 803 fill-color: #ff4444; 804 color: #ff4444; 805 text-halo-color: #ff4444; 806 } 807 node["addr:street"=~/^[Z0ЯŽ]/]::halo, 808 relation[type="associatedStreet"][name=~/^[Z0ЯŽ]/] > node["addr:housenumber"]::halo 809 { 810 symbol-fill-color: #ff4444; 811 text-halo-color: #ff4444; 812 } 813 way["highway"]["name"=~/^[Z0ЯŽ]/] 814 { 815 color: #ff4444; 816 text-halo-color: #ff4444; 885 817 } 886 818 887 819 888 820 /* have housenumber, miss street */ 889 area[building][addr:housenumber][!addr:street] 890 { 891 text: eval("street?"); 892 width: 2; 821 node[addr:housenumber][!addr:street], 822 area[addr:housenumber][!addr:street] 823 { 824 isinassociatedstreetrelation: eval(cond(parent_tag(type)="associatedStreet",true,false)); 825 } 826 area[addr:housenumber][!addr:street][prop(isinassociatedstreetrelation)=false] 827 { 828 text: eval(cond(has_tag_key(name), concat("street? ", tag("addr:housenumber"), " | ", tag("name")),concat("street? ", tag("addr:housenumber")))); 829 text-halo-color: red; 830 text-halo-radius: 2; 831 text-halo-opacity: 0.8; 832 width: 2; 893 833 fill-color: #FF0000; 894 fill-opacity:0. 9;834 fill-opacity:0.7; 895 835 text-color: #000000; 896 836 font-size: 10; … … 899 839 900 840 } 901 node[addr:housenumber][!addr:street]::halo 902 { 903 text: eval("street?"); 841 node[addr:housenumber][!addr:street][prop(isinassociatedstreetrelation)=false]::halo 842 { 843 text: eval(concat("street? ", tag("addr:housenumber"))); 844 font-size: 12; 845 text-color: black; 846 text-halo-color: red; 847 text-halo-radius: 2; 848 text-halo-opacity: 0.8; 849 text-anchor-vertical: center; 904 850 symbol-shape: triangle; 905 851 symbol-fill-opacity:0.7; … … 911 857 912 858 /* have street, miss housenumber */ 913 area[addr:street][!addr:housenumber] 914 { 915 width: 2; 859 area[addr:street][!addr:housenumber][!highway] 860 { 861 width: 3; 862 text-halo-radius: 2; 916 863 fill-color: #FF0000; 917 fill-opacity:0.9; 918 text: eval("number?"); 864 fill-opacity:0.7; 865 text: eval(cond(has_tag_key(name), concat("number? | ", tag("name")), "number?")); 866 text-position: center; 919 867 text-color: #000000; 920 font-size: 1 0;868 font-size: 12; 921 869 casing-width: 1; 922 870 casing-color: #FFFF00; 923 871 } 924 node["addr:street"][!"addr:housenumber"] [!amenity]::halo872 node["addr:street"][!"addr:housenumber"]::halo 925 873 { 926 874 text: eval("number?"); 927 text-color: #FF0000;875 text-color: black; 928 876 font-size: 12; 929 877 symbol-shape: triangle; … … 939 887 way["highway"]["addr:postcode"], 940 888 way["highway"]["addr:city"], 941 way["highway"]["addr:street"] 889 way["highway"]["addr:street"], 890 way["highway"]["addr:housenumber"] 942 891 { 943 892 text: eval("no addr!"); … … 947 896 dashes-background-color: #FFFF00; 948 897 object-z-index:-1.0; 949 } 950 951 /* all marked housenumber in black color */ 898 text-halo-color: red; 899 text-halo-radius: 2; 900 } 901 902 /* names of nodes */ 952 903 node["addr:housenumber"] 953 904 { 954 905 font-size: 10; 955 text-color: black; 906 text-color: white; 907 text-anchor-vertical: center; 908 text-offset-y: -10; 909 text-offset-x: 8; 910 } 911 912 /* disable double numbers */ 913 node["addr:housenumber"][!name] 914 { 915 font-size: 0; 956 916 } 957 area[building]["addr:housenumber"] 917 918 /* names for adress nodes without number */ 919 node[!"addr:housenumber"][name][addr:street] 920 { 921 font-size: 10; 922 text-color: white; 923 text-anchor-vertical: center; 924 text-offset-y: -10; 925 text-offset-x: 8; 926 } 927 928 /* text style of areas with number */ 929 way:closed["addr:housenumber"], 930 relation[type=multipolygon]["addr:housenumber"], 931 relation[type="associatedStreet"] > area["addr:housenumber"] 958 932 { 959 933 text-color: black; 960 font-size: 10; 961 } 962 963 /* higway=residetial without name */ 934 font-size: 12; 935 text-position: center; 936 937 } 938 939 /* text style of highways and false addr */ 940 941 way[highway] 942 { 943 text-color: black; 944 font-size: 12; 945 } 946 947 /* higway=residential without name */ 964 948 way[highway=residential][!name] 965 949 { … … 972 956 text-offset: 0; 973 957 text-halo-color: #FF0000; 974 text-halo-radius:2; 958 text-halo-radius: 2; 975 959 dashes: 20,4; 976 960 dashes-background-color: #FFFF00; 977 961 978 962 } 963 /* tone down garages and other "small" buildings, as they usually do not have addr:*=* tags. */ 964 965 area[building=bunker][!"addr:housenumber"][!"addr:street"], 966 area[building=cabin][!"addr:housenumber"][!"addr:street"], 967 area[building=farm_auxiliary][!"addr:housenumber"][!"addr:street"], 968 area[building=garage][!"addr:housenumber"][!"addr:street"], 969 area[building=garages][!"addr:housenumber"][!"addr:street"], 970 area[building=hut][!"addr:housenumber"][!"addr:street"], 971 area[building=roof][!"addr:housenumber"][!"addr:street"], 972 area[building=shed][!"addr:housenumber"][!"addr:street"] 973 { 974 fill-color: #ffddf1; 975 width: 1; 976 } 979 977 }}}
