OpenStreetMap 로고 OpenStreetMap

Changeset age / ID Confusion

mvexel님이 English로 2022년 10월 4일에 게시함.

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
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2022년 10월 4일 06:26SimonPoole님의 의견

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.

2022년 10월 4일 14:02mvexel님의 의견

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

2022년 10월 4일 14:37mmd님의 의견

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).

2022년 10월 4일 14:42SimonPoole님의 의견

@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.

2022년 10월 4일 14:46mvexel님의 의견

Thanks for the history lesson, both!

2022년 10월 4일 16:55amapanda ᚛ᚐᚋᚐᚅᚇᚐ᚜ 🏳️‍🌈님의 의견

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)

2022년 10월 4일 17:24mmd님의 의견

[…] 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.

2022년 10월 4일 18:23jimkats님의 의견

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

This is so deep and philosophical xd

댓글을 남기려면 로그인하세요