Hi, I am exploring the history of contributions using the OSM history dump (see wiki Planet.osm/full). Looking at the provided data, I found 24707 changesets in which there were no edits. Someone has an idea about what happened with these datasets? asked 28 Oct '14, 18:54 jfd553 edited 28 Oct '14, 23:33 aseerel4c26 ♦ |
One Answer:
The API 0.6 method 'create changeset' allows you to create a changeset without doing any subsequent additions to that changeset. Reason might be anything from broken uploads (e.g. network issues), editor bugs, etc.. I even remember one case where a mapper created a huge number of such empty changesets to make hostile vandalism activities a bit more difficult to deal with. Yes, strange things happen some time, but all that got sorted out fairly quickly. Update: as Simon provided some editor specific insights, I thought I could add some statistics from by local DB. It's about half a year old, but you should get a rough impression, which editors created how many empty changesets (if they identify themselves by name). You could of course group the entries by editor type (ignoring different editor versions, languages) - this is left as an exercise to the reader.
Statement:
Tool used to populate the Postgres database was https://github.com/zhm/osmchanges-postgres Give it a try, it's not terribly difficult to set up and run this query. answered 28 Oct '14, 21:17 mmd edited 30 Oct '14, 18:35 |
see https://www.openstreetmap.org/user/SimonPoole/diary/23352 note that the editor GoMap!, at least in the version available up to a short time ago, created an empty changeset as method of checking if the authentication worked.
In the case of "Go Map!" at credentials-checking changesets are identifiable as such:
https://www.openstreetmap.org/changeset/16640349
Though it can create others:
https://www.openstreetmap.org/changeset/21804635
I also see quite a lot of empty changesets from other editors:
https://www.openstreetmap.org/changeset/26183795
https://www.openstreetmap.org/changeset/25568455
https://www.openstreetmap.org/changeset/24536371
but not id?
My apologies to the authors of all of the changesets above - you're not being singled out for any other reason than you happened to use a particular OSM editor!
Found an iD one too:
https://www.openstreetmap.org/changeset/26383946
I pointed it out in my blog post, it is probably helpful to think of a changeset as setting a "start* marker ..... uploading something ... setting a "stop" marker. If something goes wrong in the upload bit, for example a conflict or a crash or ... the changeset will autoclose after an hour and, hey presto, you have an empty changeset.
Given that opening the changeset is a seperate API operation and there is no way to cancel or otherwise undo it once you have opened one, empty changesets are not completely avoidable.