Changeset 15758 in josm


Ignore:
Timestamp:
2020-01-25T16:21:19+01:00 (4 months ago)
Author:
Klumbumbus
Message:
  • fix #18612 - autofix building=other|unclassified|undefined|unknown|unidentified to building=yes
  • fix #18603 - deprecate bicycle:oneway in favor of oneway:bicycle
  • fix #18605 - deprecate building:height and building:min_height in favor of height and min_height
  • fix #18607, see #18464 - fix validator rule text
Location:
trunk/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r15722 r15758  
    660660/* #18203 */
    661661way[construction][construction!=yes][construction!=minor][highway][highway!=construction] {
    662   throwWarning: tr("{0} together with {1}", "{2.tag}", "{0.tag}");
     662  throwWarning: tr("{0} together with {1}", "{3.tag}", "{0.tag}");
    663663  group: tr("suspicious tag combination");
    664664}
  • trunk/data/validator/deprecated.mapcss

    r15722 r15758  
    12941294}
    12951295
    1296 /* #17786 */
     1296/* #17786, #18612 */
    12971297*[building=abandoned],
    12981298*[building=address],
     
    13041304*[building=fixme],
    13051305*[building=occupied],
     1306*[building=razed] {
     1307  throwWarning: tr("{0} is not a building type.", "{0.tag}");
     1308  group: tr("deprecated tagging");
     1309}
    13061310*[building=other],
    1307 *[building=razed],
    13081311*[building=unclassified],
    13091312*[building=undefined],
     
    13121315  throwWarning: tr("{0} is not a building type.", "{0.tag}");
    13131316  group: tr("deprecated tagging");
     1317  fixAdd: "building=yes";
    13141318}
    13151319
     
    18921896  throwWarning: tr("unusual value of {0}", "{0.key}");
    18931897}
     1898
     1899/* #18603 */
     1900way[bicycle:oneway] {
     1901  throwWarning: tr("{0} is deprecated", "{0.key}");
     1902  suggestAlternative: "oneway:bicycle";
     1903  fixChangeKey: "bicycle:oneway => oneway:bicycle";
     1904  group: tr("deprecated tagging");
     1905}
     1906
     1907/* #18605 */
     1908*[building:height] {
     1909  throwWarning: tr("{0} is deprecated", "{0.key}");
     1910  suggestAlternative: "height";
     1911  fixChangeKey: "building:height => height";
     1912  group: tr("deprecated tagging");
     1913}
     1914*[building:min_height] {
     1915  throwWarning: tr("{0} is deprecated", "{0.key}");
     1916  suggestAlternative: "min_height";
     1917  fixChangeKey: "building:min_height => min_height";
     1918  group: tr("deprecated tagging");
     1919}
Note: See TracChangeset for help on using the changeset viewer.