開放街圖標誌 OpenStreetMap 開放街圖

Changeset age / ID Confusion

於 2022年十月 4日 由 mvexelEnglish發表。

I was visiting my HDYC page today. I always get sentimental looking at my first changeset, a neat feature on HDYC. Here it is with ID 90313. This makes sense to me; I lived in that part of Amsterdam at the time and the timestamp coincides with the day I created my OSM account (while participating in a weekend-long mapping party).

But, when I scroll to the bottom of the changeset page info panel, I see there’s a previous changeset:

previous changeset?!

How is that possible? If I click on the previous changeset until there is no more previous changesets, I end up at this one, with ID 7671. But that changeset was opened and closed 10 months later, in April 2008.

I always assumed that changesets with a higher ID would also be newer, but that’s obviously not always true. My best guess is that the database got reshuffled in the early OSM API days. Perhaps coinciding with the disabling of anonymous edits in late 2007?

Mysterious. How will I be able to sleep now?

位置: Central City, Salt Lake City, Salt Lake County, Utah, 84111, United States
電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

SimonPoole2022年10月 4日 06時26分 發表的評論

It is just an artifact from when changesets were introduced in March 2009 and they were automatically created from the existing edits at the time.

With other words you are being sentimental about something you never actually did, that is create a changeset in 2007.

mvexel2022年10月 4日 14時02分 發表的評論

@SimonPoole What were “uploads” called before they were called changesets? I don’t remember.

mmd2022年10月 4日 14時37分 發表的評論

An upload is not a changeset… you can have multiple uploads all belonging to the same changeset, as long as you don’t close the changeset.

Before changesets existed, you could still upload one change at a time (which by the way is much slower than the 0.6 diff upload).

SimonPoole2022年10月 4日 14時42分 發表的評論

@mvexel prior to 0.6 there was no grouping of edits. The objects versions had timestamps just as they had now, but as @mmd points out that is all independent of the concept of an “upload” which is not reflected (including in 0.6) in the data model.

mvexel2022年10月 4日 14時46分 發表的評論

Thanks for the history lesson, both!

amapanda ᚛ᚐᚋᚐᚅᚇᚐ᚜ 🏳️‍🌈2022年10月 4日 16時55分 發表的評論

I always assumed that changesets with a higher ID would also be newer

hahahahahahahahahahahahaha Never look at the history of OSM objects and presume there is logic there. 🤣🤣🤣

If you want a real mind bender, there are OSM objects where a version is created before a lower number version (like an object was created before it’s previous version)

mmd2022年10月 4日 17時24分 發表的評論

[…] like an object was created before it’s previous version

That’s exactly the reason why CGImap doesn’t trust the frontend (or former backend) servers to provide accurate timestamps, and delegates all that to the database instead.

jimkats2022年10月 4日 18時23分 發表的評論

“With other words you are being sentimental about something you never actually did”

This is so deep and philosophical xd

登入 來留下評論