Changes between Version 46 and Version 47 of Styles/Coloured_Streets
- Timestamp:
- 2014-04-29T15:42:02+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Coloured_Streets
v46 v47 138 138 { 139 139 title: "Coloured Streets"; 140 version: "3. 11.[[revision]]_[[date]]";140 version: "3.20.[[revision]]_[[date]]"; 141 141 description: "Colouring of buildings, address nodes and streets with the same street name in the same colour. Makes working with addresses a lot easier. Check out the linked page to read how to change some settings of this mappaint style. Min. JOSM version is 6909."; 142 142 icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png"; … … 310 310 /* tone down garages and other "small" buildings, as they usually do not have addr:*=* tags. */ 311 311 312 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=barn], 312 313 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=bunker], 313 314 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=cabin], 315 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=cowshed], 316 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=farm], 314 317 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=farm_auxiliary], 315 318 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garage], 316 319 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garages], 320 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=greenhouse], 317 321 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=hut], 318 322 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=roof], 319 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=shed] 323 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=shed], 324 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=stable], 325 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=static_caravan], 326 area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=sty] 320 327 { 321 328 fill-color: #ffddf1; … … 416 423 } 417 424 /* streets */ 425 /* different widths */ 426 way["highway"]["name"][highway!="platform"] 427 { 428 width: 4; 429 } 430 way["highway"="path"]["name"], 431 way["highway"="footway"]["name"], 432 way["highway"="steps"]["name"], 433 way["highway"="pedestrian"]["name"], 434 way["highway"="cycleway"]["name"], 435 way["highway"="bridleway"]["name"], 436 way["highway"="track"]["name"], 437 way["highway"="escape"]["name"], 438 way["highway"="bus_guideway"]["name"], 439 way["highway"="service"]["name"] 440 { 441 width: 3; 442 } 443 way["highway"^="tertiary"]["name"], 444 way["highway"^="secondary"]["name"], 445 way["highway"^="primary"]["name"], 446 way["highway"^="trunk"]["name"], 447 way["highway"^="motorway"]["name"] 448 { 449 width: 5; 450 } 451 /* other rules */ 418 452 way|z18-["highway"]["name"][highway!="platform"] 419 453 { 420 width: 3;421 454 font-size: 12; 422 455 text-color: #000000; … … 428 461 way|z-17["highway"]["name"][highway!="platform"] 429 462 { 430 width: 3;431 463 text: ; 432 464 } … … 553 585 area["highway"="pedestrian"]["name"][prop(crc)>=1212][prop(crc)<1515]:closed 554 586 { 555 color: #f cff5c;556 fill-color: #f cff5c;557 text-halo-color: #f cff5c;587 color: #f4ff6b; 588 fill-color: #f4ff6b; 589 text-halo-color: #f4ff6b; 558 590 } 559 591 node["addr:street"][prop(crc)>=1212][prop(crc)<1515]::halo, … … 561 593 relation[type="associatedStreet"][prop(crc)>=1212][prop(crc)<1515] > node["addr:housenumber"]::halo 562 594 { 563 symbol-fill-color: #f cff5c;564 text-halo-color: #f cff5c;595 symbol-fill-color: #f4ff6b; 596 text-halo-color: #f4ff6b; 565 597 } 566 598 way["highway"]["name"][prop(crc)>=1212][prop(crc)<1515] 567 599 { 568 color: #f cff5c;569 text-halo-color: #f cff5c;600 color: #f4ff6b; 601 text-halo-color: #f4ff6b; 570 602 } 571 603 /* --------- */ … … 839 871 area["highway"="pedestrian"]["name"][prop(crc)>=5151][prop(crc)<5454]:closed 840 872 { 841 color: #ff e400;842 fill-color: #ff e400;843 text-halo-color: #ff e400;873 color: #ffcc00; 874 fill-color: #ffcc00; 875 text-halo-color: #ffcc00; 844 876 } 845 877 node["addr:street"][prop(crc)>=5151][prop(crc)<5454]::halo, … … 847 879 relation[type="associatedStreet"][prop(crc)>=5151][prop(crc)<5454] > node["addr:housenumber"]::halo 848 880 { 849 symbol-fill-color: #ff e400;850 text-halo-color: #ff e400;881 symbol-fill-color: #ffcc00; 882 text-halo-color: #ffcc00; 851 883 } 852 884 way["highway"]["name"][prop(crc)>=5151][prop(crc)<5454] 853 885 { 854 color: #ff e400;855 text-halo-color: #ff e400;886 color: #ffcc00; 887 text-halo-color: #ffcc00; 856 888 } 857 889 /* --------- */ … … 1347 1379 } 1348 1380 1349 /* higway=residential without name */ 1350 way[highway=residential][!name][noname!=yes][unnamed!=yes][name:absent!=yes] 1381 /* higway=residential and highway=living_street without name */ 1382 way[highway=residential][!name][noname!=yes][unnamed!=yes][name:absent!=yes], 1383 way[highway=living_street][!name][noname!=yes][unnamed!=yes][name:absent!=yes] 1351 1384 { 1352 1385 color: #FF0000;