This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Changeset ids vs creation date

0

Hi,

I was looking at my changesets history and I found that for a while, some changeset ids got smaller even if they were created later in time, until they got back to more reasonable values about two weeks later (!). I thought that both were increasing over time! Example is here ...

https://www.openstreetmap.org/api/0.6/changesets?user=101184&time=2009-03-30T00:00:00Z,2009-04-05T00:00:00Z https://www.openstreetmap.org/api/0.6/changesets?user=101184&time=2009-04-16T00:00:00Z,2009-04-23T00:00:00Z

The first request shows when my changesets ids dropped and the second when the ids seem to have jumped back to a reasonable value. Is it a problem that is spread all over ids for nodes, ways and relations or only on changesets? Any information about what caused this problem and if it is possible to know the range of ids that were affected?

Best regards, Daniel

asked 16 Jun '15, 01:01

jfd553's gravatar image

jfd553
389202332
accept rate: 0%

edited 16 Jun '15, 01:23


One Answer:

5

Changesets were new in API v0.6 which the wiki says was released 20th April 2009. Not sure what the algorithm was to assign changeset IDs to all earlier data was but I can imagine it might not process all edits in strict original date time order (I suspect individual nodes ways and relations would have been done in version order, but changesets that don't have any objects in common might cause what you see).

answered 16 Jun '15, 06:45

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

Source code available on GitHub .