wiki:Rules/SourceObjectTag
meta
{
    title: "Source object tag";
    version: "1.1_2020-11-13";
    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 < way[source],
node:modified < relation[source],
way:modified < relation[source],
relation:modified < relation[source] {
    throwWarning: tr("Modified child of an objet with source tag");
    fixRemove: "source";
}

Rules_SourceObjectTag.validator.mapcss, Rules_SourceObjectTag.zip

Last modified 2 weeks ago Last modified on 2020-11-13T16:07:39+01:00