Changeset 14815 in josm


Ignore:
Timestamp:
2019-02-25T19:41:09+01:00 (8 months ago)
Author:
Klumbumbus
Message:
  • see #17383 - warn about natural=waterfall on ways and relations too
  • see #17379 - remove duplicate sidewalk warning
  • see #17379 - keep the correct tag in the validator message
File:
1 edited

Legend:

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

    r14814 r14815  
    470470}
    471471
    472 way[footway =~ /^(both|right|left|no|none)$/] {
    473   throwWarning: tr("{0} is deprecated", "{0.tag}");
    474   group: tr("deprecated tagging");
    475   fixChangeKey: "footway => sidewalk";
    476 }
    477472way[sidewalk=yes] {
    478473  throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
     
    979974}
    980975
    981 /* #12431, #17379 */
    982 *[amenity=swimming_pool],
     976/* #12431 */
     977*[amenity=swimming_pool] {
     978  throwWarning: tr("{0} is deprecated", "{0.tag}");
     979  suggestAlternative: "leisure=swimming_pool";
     980  group: tr("deprecated tagging");
     981  fixChangeKey: "amenity => leisure";
     982}
     983
     984/* #17379 */
    983985*[amenity=sauna] {
    984986  throwWarning: tr("{0} is deprecated", "{0.tag}");
     987  suggestAlternative: "leisure=sauna";
    985988  group: tr("deprecated tagging");
    986989  fixChangeKey: "amenity => leisure";
     
    13801383
    13811384/* #17383 */
    1382 node[natural=waterfall] {
     1385*[natural=waterfall] {
    13831386  throwWarning: tr("{0} is deprecated", "{0.tag}");
    13841387  suggestAlternative: "waterway=waterfall";
Note: See TracChangeset for help on using the changeset viewer.