Changeset 16185 in josm


Ignore:
Timestamp:
2020-03-21T17:06:23+01:00 (5 years ago)
Author:
Klumbumbus
Message:

see #18951 - Add natural=water to autofix of water=river and do autofix only if no natural is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r16173 r16185  
    19551955
    19561956/* #18951 */
    1957 *[water=riverbank] {
    1958   throwWarning: tr("{0} is deprecated", "{0.tag}");
    1959   suggestAlternative: "water=river";
     1957*[water=riverbank][!natural] {
     1958  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1959  suggestAlternative: "natural=water + water=river";
    19601960  group: tr("deprecated tagging");
    19611961  fixAdd: "water=river";
    1962 }
     1962  fixAdd: "natural=water";
     1963}
     1964*[water=riverbank][natural] {
     1965  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1966  suggestAlternative: "natural=water + water=river";
     1967  group: tr("deprecated tagging");
     1968}
Note: See TracChangeset for help on using the changeset viewer.