[OSM-dev] Reading OSM History dumps

Anthony osm at inbox.org
Mon Aug 23 22:42:16 BST 2010

On Mon, Aug 23, 2010 at 10:29 AM, Scott Crosby <scrosby at cs.rice.edu> wrote:
> Pretending changsets are atomic lets me
> define/construct one such ordering, using changeset numbers or ending
> timestamps.

Just so you're aware, the closing time for changesets does change,
though it usually does so within a short period of time.  If you look
at the historical changeset dumps, you'll notice this.

On Mon, Aug 23, 2010 at 11:40 AM, Scott Crosby <scrosby at cs.rice.edu> wrote:
> An upload by 'POST /api/0.6/changeset/#id/upload' is guaranteed to be atomic.

You can make more than one upload for a single changeset, though.

> If the history is to obey the atomicity constraints and be immutable,
> the only feasible way for timestamps to be used for ordering, is if
> they are set by the server, upon upload of the OsmChange, and the same
> for each element. They must be set by the server because only the
> server can create timestamps that are guaranteed to never be in the
> past.

They're not the same for each element.  But why do they need to be?
As long as a way does not refer to a node with a later timestamp, this
should be fine, right?

Yes, it would be nice if changesets were truly atomic.  But they just
aren't.  Changesets aren't really useful for anything other than
assigning tags (like "comment" and "created_by") to multiple element

The fact that they're called "changesets" is basically a misnomer.

More information about the dev mailing list