Closed ethan-nelson closed 8 years ago
Right now I'm unsure that any deleted tags show up in the change stream. I think the files only show the tags that are to be reapplied to the object--anything missing is assumed deleted. This would therefore require the use of an a priori OSM database.
Just to reiterate my second comment, it is the case that diff files contain all the tags that should be on a modified object. So, if X and Y are tags on the object originally and a user both deletes Y and adds Z, only X and Z will be present in the diff file.
A similar rationale follows if an object is deleted. Only the object and the object-level attributes are included in the diff file--keys are excluded from the file.
Certain key values may deserve more scrutiny than others...for example, high admin level numbers.