Changes between Version 40 and Version 41 of Styles/Coloured_Streets


Ignore:
Timestamp:
2014-04-14T18:52:28+02:00 (11 years ago)
Author:
Klumbumbus
Comment:

code update to version 3.10.xx

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Coloured_Streets

    v40 v41  
    125125{
    126126        title: "Coloured Streets";
    127         version: "3.01.[[revision]]_[[date]]";
    128         description: "Colouring of streets, buildings and address nodes with the same street name in the same colour. Works now worldwide! Check out http://josm.openstreetmap.de/wiki/Styles/Coloured_Streets to read how to change the settings of this mappaint style (allow postcode on street, support of name:prefix and name:suffix). Min. JOSM version is 6909.";
     127        version: "3.10.[[revision]]_[[date]]";
     128        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.";
    129129        icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png";
    130130        author: "geozeisig, Klumbumbus";
     
    138138{
    139139        title: "Coloured Streets";
    140         description: "Einfärben von Straßen, Gebäuden und Adressnodes mit gleichem Straßennamen in der gleichen Farbe. Schau dir http://josm.openstreetmap.de/wiki/Styles/Coloured_Streets an, um zu lesen, wie man die Einstellungen dieses mappaint styles ändert (postcode an Straßen erlauben, Berücksichtigung von name:prefix und name:suffix) Min. JOSM-Version ist 6909.";
     140        description: "Einfärben von Gebäuden, Adressnodes und Straßen mit gleichem Straßennamen in der gleichen Farbe. Macht die Arbeit mit Adressen wesentlich leichter. Schau dir die verlinkte Seite an, um zu lesen, wie man einige Einstellungen dieses MapMaint-Stils ändert. Min. JOSM-Version ist 6909.";
    141141        link: "http://josm.openstreetmap.de/wiki/De:Styles/Coloured_Streets";
    142142}
    143143
    144 /* create "settings" with boolean properties style_... */
     144/* create "settings" with the help of colours: boolean properties with style_... */
    145145
    146146*
     
    158158}
    159159
    160 /* create crc32checksum */
     160/* create crc32checksums */
    161161        /* streets and pedestrian areas */
    162162way[highway][name][highway!="platform"][!prop(style_support_prefix_and_suffix_on_highway_names)],
     
    227227/* ------------------------------------------------------------------------------------------------------------------------ */
    228228
     229/* General display rules for nodes and areas on lower and higher zoom levels for better view. This section is inspired by the mappaint style "Less obtrusive nodes". */
     230        /* smaller nodes on low zoom levels and hiding text and icons */
     231canvas
     232{
     233        default-points: false;
     234}
     235
     236node
     237{
     238        text: auto;
     239}
     240
     241node|z17-
     242{
     243        symbol-size:1;
     244        symbol-shape: square;
     245        symbol-stroke-color: #ffff00;
     246}
     247
     248node|z17                                { symbol-size: 2; }
     249way > node|z17                  { symbol-size: 1; }
     250node|z17:connection             { symbol-size: 2; }
     251
     252node|z18                                { symbol-size: 4; }
     253way > node|z18                  { symbol-size: 2; }
     254node|z18:connection             { symbol-size: 4; }
     255
     256node|z19                                { symbol-size: 5; }
     257way > node|z19                  { symbol-size: 3; }
     258node|z19:connection             { symbol-size: 5; }
     259
     260node|z20-                               { symbol-size: 6; }
     261way > node|z20-                 { symbol-size: 4; }
     262node|z20-:connection    { symbol-size: 6; }
     263
     264
     265node|z-16, relation|z-16[type=restriction]
     266{
     267        icon-image: none;
     268}
     269
     270node|z-17
     271{
     272        text: eval("");
     273}
     274
     275        /* bigger text of nodes and areas on high zoom levels */
     276
     277node|z20,area|z20       { font-size: 9; }
     278node|z21,area|z21       { font-size: 10; }
     279node|z22-,area|z22-     { font-size: 11; }
     280
     281/* ------------------------------------------------------------------------------------------------------------------------ */
     282
    229283/* tone down landuse fill-color */
    230284
     
    243297/* tone down garages and other "small" buildings, as they usually do not have addr:*=* tags. */
    244298
    245 area[building=bunker][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    246 area[building=cabin][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    247 area[building=farm_auxiliary][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    248 area[building=garage][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    249 area[building=garages][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    250 area[building=hut][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    251 area[building=roof][!"addr:housenumber"][!"addr:street"][!"addr:place"],
    252 area[building=shed][!"addr:housenumber"][!"addr:street"][!"addr:place"]
     299area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=bunker],
     300area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=cabin],
     301area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=farm_auxiliary],
     302area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garage],
     303area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garages],
     304area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=hut],
     305area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=roof],
     306area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=shed]
    253307{
    254308        fill-color: #ffddf1;
     
    279333}
    280334                /* address nodes */
     335
     336node|z17-["addr:street"]::halo,
     337node|z17-["addr:place"]::halo,
     338relation[type="associatedStreet"] > node|z17-["addr:housenumber"]::halo
     339{
     340        symbol-size: 22;
     341}
     342node|z16["addr:street"]::halo,
     343node|z16["addr:place"]::halo,
     344relation[type="associatedStreet"] > node|z16["addr:housenumber"]::halo
     345{
     346        symbol-size: 12;
     347}
     348node|z15["addr:street"]::halo,
     349node|z15["addr:place"]::halo,
     350relation[type="associatedStreet"] > node|z15["addr:housenumber"]::halo
     351{
     352        symbol-size: 8;
     353}
     354node|z14["addr:street"]::halo,
     355node|z14["addr:place"]::halo,
     356relation[type="associatedStreet"] > node|z14["addr:housenumber"]::halo
     357{
     358        symbol-size: 6;
     359}
     360node|z13["addr:street"]::halo,
     361node|z13["addr:place"]::halo,
     362relation[type="associatedStreet"] > node|z13["addr:housenumber"]::halo
     363{
     364        symbol-size: 4;
     365}
     366node|z-12["addr:street"]::halo,
     367node|z-12["addr:place"]::halo,
     368relation[type="associatedStreet"] > node|z-12["addr:housenumber"]::halo
     369{
     370        symbol-size: 2;
     371}
     372
     373                        /* --- */
    281374node|z18-["addr:street"]::halo,
    282375node|z18-["addr:place"]::halo,
     
    284377{
    285378        symbol-shape: circle;
    286         symbol-size: 22;
    287         symbol-fill-opacity: 0.8;
     379        symbol-fill-opacity: 0.85;
    288380        z-index: -1;
    289381        text: eval(tag("addr:housenumber"));
     
    300392{
    301393        symbol-shape: circle;
    302         symbol-size: 22;
    303         symbol-fill-opacity: 0.8;
     394        symbol-fill-opacity: 0.85;
    304395        z-index: -1;
    305396        text: ;
     
    12031294}
    12041295
     1296node|z22-["addr:housenumber"]
     1297{
     1298        font-size: 11;
     1299}
    12051300        /* disable double numbers */
    12061301node["addr:housenumber"][!name]