ethan-nelson / osm_hall_monitor

Passive changeset surveillance for OpenStreetMap
MIT License
29 stars 3 forks source link

Add certain tag monitors #3

Closed ethan-nelson closed 8 years ago

ethan-nelson commented 9 years ago

Certain key values may deserve more scrutiny than others...for example, high admin level numbers.

ethan-nelson commented 9 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.

ethan-nelson commented 8 years ago

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.