Changes between Version 124 and Version 127 of Styles/Coloured_Streets


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Coloured_Streets

    v124 v127  
    99The mappaint style "Coloured Streets" makes '''working with addresses easier.'''
    1010
    11 Streets, buildings and address nodes with the same street name are highlighted in the '''same colour'''. Thereby you can quickly recognize, which house belongs to which street. It analyzes for streets the key "name" and for addresses the key "addr:street" resp. for associatedStreet relations for the housenumber the key "name" of the relation. Furthermore it indicates missing or incorrect data. If addr:street is missing then it shows "street?". If addr:housenumber is missing it shows "number?". (`nohousenumber=yes` is taken into account.) If there are streets (ways with highway=*) with an addr:*=* tag, then it shows "no addr!".
     11Streets, buildings and address nodes with the same street name are highlighted in the '''same colour'''. Thereby you can quickly recognize, which house belongs to which street. It analyzes for streets the key `name` and for addresses the key `addr:street` resp. for associatedStreet relations for the housenumber the key `name` of the relation. Furthermore it indicates missing or incorrect data. If `addr:street` is missing then it shows "street?". If `addr:housenumber` is missing it shows "number?". (`nohousenumber=yes` is taken into account.) If there are streets (ways with `highway=*`) with an `addr:*=*` tag, then it shows "no addr!".
    1212
    1313Coloured 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.
     
    1717
    1818 Allow addr:postcode on streets::
    19   You can choose if you want to allow "addr:postcode=*" on streets and don't want to see a warning message for these cases. The default setting is: ''unchecked'' = not allowed = warning is displayed.
     19  You can choose if you want to allow `addr:postcode=*` on streets and don't want to see a warning message for these cases. The default setting is: ''unchecked'' = not allowed = warning is displayed.
    2020 Support prefix and suffix on street names::
    21   You can choose if [osmwiki:Proposed_features/Directional_Prefix_%26_Suffix_Indication name:prefix and name:suffix] for names of streets and associatedStreet relations are taken into account. The default setting is: ''unchecked'' = 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.
     21  You can choose if [osmwiki:Proposed_features/Directional_Prefix_%26_Suffix_Indication name:prefix and name:suffix] for names of streets and associatedStreet relations are taken into account. The default setting is: ''unchecked'' = 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.
    2222 Display cycleway dashes::
    23   You can choose 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 The default setting is: ''unchecked'' = the dashes are hidden because they can confuse you in Coloured Streets.
     23  You can choose 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 The default setting is: ''unchecked'' = the dashes are hidden because they can confuse you in Coloured Streets.
    2424 Display missing number message::
    25   You can choose if you want to deactivate the error message for addresses with addr:street or addr:place but without addr:housenumber ("number?). The default setting is: ''checked'' = the error message is displayed. If you unchek this, 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.
     25  You can choose if you want to deactivate the error message for addresses with `addr:street` or `addr:place` but without `addr:housenumber` ("number?"). The default setting is: ''checked'' = the error message is displayed. If you unchek this, 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.
    2626 Support associatedStreet relations::
    2727  You can choose if associatedStreet relations are supported. The default setting is: ''checked'' = they are supported.
     
    6868== Changelog ==
    6969^(Latest change first)^
     70==== Version 3.53 ====
     71* Fix one more display bug of version 3.51
     72==== Version 3.52 ====
     73* Fix some display bugs of version 3.51 when "Display missing number message" was disabled
    7074==== Version 3.51 ====
    71 * Add full support for nohousenumber=yes: If there is addr:street or addr:place present or if the object is part of a associated street relation (and associated street relation support is activated) then the object is displayed like a normal housenumber with "no" as number. If there is no such connection to a street then the object is toned down like minor buildings (e.g. building=garage).
     75* Add full support for `nohousenumber=yes`: If there is `addr:street` or `addr:place` present or if the object is part of a associatedStreet relation (and associatedStreet relation support is activated) then the object is displayed like a normal housenumber with "no" as number. If there is no such connection to a street then the object is toned down like minor buildings (e.g. `building=garage`).
    7276==== Version 3.50 ====
    7377* Improved icon with transparent background, more sharpness on different sizes and reduced filesize
     
    242246meta {
    243247    title: "Coloured Streets";
    244     version: "3.51.[[revision]]_[[date]]";
     248    version: "3.53.[[revision]]_[[date]]";
    245249    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.";
    246250    icon: "ColouredStreetsIcon.svg";
     
    535539    /* all rules, which apply to all colors and different rules for different zoom */
    536540        /* address areas */
     541area|z18-["addr:street"], /* needed later for display of "?" if display_missing_number_message is disabled */
     542area|z18-["addr:place"],
     543relation[type="associatedStreet"] > area|z18-["addr:housenumber"][setting("support_associatedstreet")] {
     544    width: 3;
     545    fill-opacity:0.2;   
     546    text-halo-radius: 3;
     547    z-index: 1;
     548}
     549
    537550area|z18-["addr:street"][nohousenumber=yes],
    538551area|z18-["addr:place"][nohousenumber=yes],
     
    15791592    font-size: 12;
    15801593}
    1581 node|z18-["addr:street"][!"addr:housenumber"][!"addr:housename"][!setting("display_missing_number_message")]::halo,
    1582 node|z18-["addr:place"][!"addr:housenumber"][!"addr:housename"][!setting("display_missing_number_message")]::halo,
    1583 node|z18-["addr:street"][!"addr:housenumber"][!setting("display_missing_number_message")][!setting("allow_housename")]::halo,
    1584 node|z18-["addr:place"][!"addr:housenumber"][!setting("display_missing_number_message")][!setting("allow_housename")]::halo {
     1594node|z18-["addr:street"][!"addr:housenumber"][nohousenumber!=yes][!"addr:housename"][!setting("display_missing_number_message")]::halo,
     1595node|z18-["addr:place"][!"addr:housenumber"][nohousenumber!=yes][!"addr:housename"][!setting("display_missing_number_message")]::halo,
     1596node|z18-["addr:street"][!"addr:housenumber"][nohousenumber!=yes][!setting("display_missing_number_message")][!setting("allow_housename")]::halo,
     1597node|z18-["addr:place"][!"addr:housenumber"][nohousenumber!=yes][!setting("display_missing_number_message")][!setting("allow_housename")]::halo {
    15851598    text: eval("?"); /* "?" (no warning) */
    15861599    text-color: black;
     
    16611674way:closed[!"addr:housenumber"][nohousenumber=yes][addr:place],
    16621675relation[type=multipolygon]["addr:housenumber"],
    1663 relation[type=multipolygon][!"addr:housenumber"][nohousenumber=yes],
     1676relation[type=multipolygon][!"addr:housenumber"][nohousenumber=yes][addr:street],
     1677relation[type=multipolygon][!"addr:housenumber"][nohousenumber=yes][addr:place],
    16641678relation[type="associatedStreet"] > area["addr:housenumber"][setting("support_associatedstreet")],
    16651679relation[type="associatedStreet"] > area[!"addr:housenumber"][nohousenumber=yes][setting("support_associatedstreet")] {
     
    16721686way|z-18:closed[!"addr:housenumber"][nohousenumber=yes][addr:place],
    16731687relation|z-18[type=multipolygon]["addr:housenumber"],
    1674 relation|z-18[type=multipolygon][!"addr:housenumber"][nohousenumber=yes],
     1688relation|z-18[type=multipolygon][!"addr:housenumber"][nohousenumber=yes][addr:street],
     1689relation|z-18[type=multipolygon][!"addr:housenumber"][nohousenumber=yes][addr:place],
    16751690relation[type="associatedStreet"] > area|z-18["addr:housenumber"][setting("support_associatedstreet")],
    16761691relation[type="associatedStreet"] > area|z-18[!"addr:housenumber"][nohousenumber=yes][setting("support_associatedstreet")] {