Changeset 8204 in josm


Ignore:
Timestamp:
2015-04-17T22:18:26+02:00 (9 years ago)
Author:
Klumbumbus
Message:

see #11245 - remove controversial clothes tag; fix #10329 - improve color validator warning; fix #11330 - improve uncommon short key validator warning; fix #11344 - add validator warning for 'tower|pole=air_to_ground'

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8188 r8204  
    62756275            <combo key="second_hand" text="Second hand" values="only,yes,no" />
    62766276            <combo key="organic" text="Organic" values="only,yes,no" />
    6277             <multiselect key="clothes" text="Clothes" values="babies;children;costumes;denim;fashion;fur;hats;leather;maternity;men;motorcycle;oversize;schoolwear;sports;suits;swimwear;traditional;underwear;wedding;women;workwear" values_context="clothes" values_searchable="true" />
    62786277            <reference ref="link_contact_address_payment" />
    62796278        </item> <!-- Clothes -->
  • trunk/data/validator/deprecated.mapcss

    r8192 r8204  
    437437  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    438438}
     439*[/:color/]{
     440  throwWarning: tr("{0} is deprecated", "{0.key}");
     441  suggestAlternative: ":colour";
     442}
     443*[/color:/] {
     444  throwWarning: tr("{0} is deprecated", "{0.key}");
     445  suggestAlternative: "colour:";
     446}
    439447
    440448/* see #11234 */
     
    445453/* see #11330 */
    446454*[/^.$/],
    447 *[/^..$/][!to] {
     455node[/^..$/],
     456way[/^..$/],
     457relation[/^..$/][!to] {
    448458  throwWarning: tr("uncommon short key");
    449459}
     460
     461/* see #11344 */
     462*[tower=air_to_ground] {
     463  throwWarning: tr("{0} is deprecated", "{0.tag}");
     464  suggestAlternative: "tower=transition";
     465  fixAdd: "tower=transition";
     466}
     467*[pole=air_to_ground] {
     468  throwWarning: tr("{0} is deprecated", "{0.tag}");
     469  suggestAlternative: "pole=transition";
     470  fixAdd: "pole=transition";
     471}
Note: See TracChangeset for help on using the changeset viewer.