Changes between Version 67 and Version 68 of Styles/Coloured_Streets


Ignore:
Timestamp:
2014-08-18T16:56:20+02:00 (12 years ago)
Author:
Klumbumbus
Comment:

update to 3.30.xx code and wikitext

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Coloured_Streets

    v67 v68  
    1212Coloured Streets uses '''33 specially selected colours''', which are used on average equally often. In individual cases the same colour of adjacent streets may still occur. This is because of the limited number of clearly distinguishable colours and can not be completely eliminated.
    1313
    14 There are '''3 options''' for customizing the mappaint style. You can change the options in the advanced preferences of JOSM. (Menu: Edit → [[Image(source:/trunk/images/preference.png, 16px, bottom)]] Preferences → down left check Expert mode → [[Image(source:/trunk/images/dialogs/settings.png, 16px, bottom)]] Setting preference entries directly → search for {{{coloured_streets_setting}}}). Accepted values are {{{true}}} and {{{false}}}. After you changed a setting you need to deactivate and reactivate the mappaint style to apply the changes.
     14There are '''4 options''' for customizing the mappaint style. You can change the options in the advanced preferences of JOSM. (Menu: Edit → [[Image(source:/trunk/images/preference.png, 16px, bottom)]] Preferences → down left check Expert mode → [[Image(source:/trunk/images/dialogs/settings.png, 16px, bottom)]] Setting preference entries directly → search for {{{coloured_streets_setting}}}). Accepted values are {{{true}}} and {{{false}}}. After you changed a setting you need to deactivate and reactivate the mappaint style to apply the changes.
    1515
    1616* If you want to allow "addr:postcode=*" on streets (and don't want to see a warning message for these cases), then you change the value of {{{coloured_streets_setting_allow_postcode}}} to {{{true}}} (default is false = not allow = warning is displayed).
    1717* If you want that [osmwiki:Proposed_features/Directional_Prefix_%26_Suffix_Indication name:prefix and name:suffix] for names of streets and associatedStreet relations are taken into account, then you change the value of {{{coloured_streets_setting_support_prefix_and_suffix_on_highway_names}}} to {{{true}}} (default is false = prefix and suffix are ignored = only the key "name" is analyzed). At least in parts of the USA and of Greece names of streets are divided into these components. By activating this option you get better results with Coloured Streets in these areas.
    1818* If you want to see the coloured dashes of streets with cycleway=* and named cycle-/footways, which are part of the default internal mappaint style, then you change the value of {{{coloured_streets_setting_show_cycleway_dashes}}} to {{{true}}} (default is false = the dashes are hidden because they can confuse you in Coloured Streets.)
     19* If you want to deactivate the error message for addresses with addr:street or addr:place but without addr:housenumber ("number?), then you change the value of {{{coloured_streets_setting_display_missing_number_message}}} to {{{false}}} (default is true = the error message is displayed.) If set to false, the address is diplayed as if it has a housenumber but with a "?" instead of the number. This can be helpful in areas with a lot such cases and you are instead searching for missing addr:street.
    1920
    2021You should use Coloured Streets together with the default JOSM internal mappaint style. In the List of mappaint styles in the preferences Coloured Streets should be below the internal style (which means higher priority).
     
    5354=== Changelog ===
    5455^(Latest change first)^
     56==== Version 3.29.xx to 3.30.xx ====
     57* There is a new setting which allows to deactivate the error message for missing addr:housenumber. If deactivated, the address is diplayed as if it has an house number but with a "?" instead of the number.
    5558==== Version 3.27.xx to 3.29.xx ====
    5659* All ways with barrier=* are now diyplayed thinner, not just for selected values like before.
     
    168171{
    169172        title: "Coloured Streets";
    170         version: "3.29.[[revision]]_[[date]]";
     173        version: "3.30.[[revision]]_[[date]]";
    171174        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 7287.";
    172175        icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png";
     
    199202        support_prefix_and_suffix: JOSM_pref(coloured_streets_setting_support_prefix_and_suffix_on_highway_names, false);
    200203        /* Default is false, that means prefix and suffix are ignored. */
     204        show_missing_number_message: JOSM_pref(coloured_streets_setting_display_missing_number_message, true);
     205        /* Default is true, that means the message "number?" is displayed for adresses with addr:street or addr:place but without addr:housenumber. */
    201206}
    202207
     
    14411446
    14421447        /* have street, miss housenumber */
    1443 area[addr:street][!addr:housenumber][!highway][!addr:interpolation],
    1444 area[addr:place][!addr:housenumber][!highway][!addr:interpolation]
     1448area|z18-[addr:street][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=false],
     1449area|z18-[addr:place][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=false]
     1450{
     1451        text: eval(cond(has_tag_key(name), concat("? | ", tag("name")), "?"));
     1452        text-position: center;
     1453        text-color: #000000;
     1454        font-size: 12;
     1455}
     1456node|z18-["addr:street"][!"addr:housenumber"][prop(show_missing_number_message, default)=false]::halo,
     1457node|z18-["addr:place"][!"addr:housenumber"][prop(show_missing_number_message, default)=false]::halo
     1458{
     1459        text: eval("?");
     1460        text-color: black;
     1461        font-size: 12;
     1462}
     1463area[addr:street][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=true],
     1464area[addr:place][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=true]
    14451465{
    14461466        width: 3;
     
    14551475        casing-color: #FFFF00; 
    14561476}
    1457 node["addr:street"][!"addr:housenumber"]::halo,
    1458 node["addr:place"][!"addr:housenumber"]::halo
     1477node["addr:street"][!"addr:housenumber"][prop(show_missing_number_message, default)=true]::halo,
     1478node["addr:place"][!"addr:housenumber"][prop(show_missing_number_message, default)=true]::halo
    14591479{
    14601480        text: eval("number?");