wiki:Rules/SourceObjectTag
meta
{
    title: "Source object tag";
    version: "1.2_2021-07-30";
    description: "Warn of source tags on objects that are obsolete, or will be in future edits";
    author: "gileri";
    link: "https://josm.openstreetmap.de/wiki/Rules/SourceObjectTag";
    baselanguage: "en";
    min-josm-version: 14481;
}

node[source]:modified,
way[source]:modified,
relation[source]:modified {
    throwWarning: tr("Modified object with a source tag");
    fixRemove: "source";
}

node:modified!:tagged[!source] < way[source],
node:modified!:tagged[!source] < relation[source],
way:modified!:tagged[!source] < relation[source],
relation:modified!:tagged[!source] < relation[source] {
    throwWarning: tr("Modified child of an objet with source tag");
    fixRemove: "source";
}

Rules_SourceObjectTag.validator.mapcss, Rules_SourceObjectTag.zip

Last modified 4 months ago Last modified on 2021-07-30T10:46:51+02:00