Changes between Version 67 and Version 68 of Styles/Coloured_Streets
- Timestamp:
- 2014-08-18T16:56:20+02:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Coloured_Streets
v67 v68 12 12 Coloured 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. 13 13 14 There are ''' 3options''' 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.14 There 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. 15 15 16 16 * 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). 17 17 * 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. 18 18 * 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. 19 20 20 21 You 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). … … 53 54 === Changelog === 54 55 ^(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. 55 58 ==== Version 3.27.xx to 3.29.xx ==== 56 59 * All ways with barrier=* are now diyplayed thinner, not just for selected values like before. … … 168 171 { 169 172 title: "Coloured Streets"; 170 version: "3. 29.[[revision]]_[[date]]";173 version: "3.30.[[revision]]_[[date]]"; 171 174 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."; 172 175 icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png"; … … 199 202 support_prefix_and_suffix: JOSM_pref(coloured_streets_setting_support_prefix_and_suffix_on_highway_names, false); 200 203 /* 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. */ 201 206 } 202 207 … … 1441 1446 1442 1447 /* have street, miss housenumber */ 1443 area[addr:street][!addr:housenumber][!highway][!addr:interpolation], 1444 area[addr:place][!addr:housenumber][!highway][!addr:interpolation] 1448 area|z18-[addr:street][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=false], 1449 area|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 } 1456 node|z18-["addr:street"][!"addr:housenumber"][prop(show_missing_number_message, default)=false]::halo, 1457 node|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 } 1463 area[addr:street][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=true], 1464 area[addr:place][!addr:housenumber][!highway][!addr:interpolation][prop(show_missing_number_message)=true] 1445 1465 { 1446 1466 width: 3; … … 1455 1475 casing-color: #FFFF00; 1456 1476 } 1457 node["addr:street"][!"addr:housenumber"]::halo, 1458 node["addr:place"][!"addr:housenumber"]::halo 1477 node["addr:street"][!"addr:housenumber"][prop(show_missing_number_message, default)=true]::halo, 1478 node["addr:place"][!"addr:housenumber"][prop(show_missing_number_message, default)=true]::halo 1459 1479 { 1460 1480 text: eval("number?");
