[OSM-dev] Changeset attribute in diff files

80n 80n80n at gmail.com
Sun Apr 26 08:36:31 BST 2009

On Sun, Apr 26, 2009 at 8:30 AM, Brett Henderson <brett at bretth.com> wrote:

> 80n wrote:
>> Brett
>> The diff files do not appear to contain the changeset attribute for nodes,
>> ways and relations.  Do you have any plans to include this?
>> For example, this node from the 0.6 API includes the changeset:
>> <node id="306233222" lat="45.7514757" lon="8.5623437" version="2"
>> changeset="923123" user="Martin Larcher" uid="51927" visible="true"
>> timestamp="2009-04-24T06:37:03Z"/>
>> For the same node in the corresponding diff files the changeset is
>> missing:
>> <node id="306233222" version="2" timestamp="2009-04-24T06:37:03Z"
>> uid="51927" user="Martin Larcher" lat="45.7514757" lon="8.5623437"/>
>> 80n
> I have plans but don't know when I'll get them done.
> I would like to include the actual changeset details along with diffs (ie.
> including changeset tags and bounding box info) rather than just the
> changeset ids and this will take a fair amount of work.  It requires the
> addition of a new entity type to the osmosis pipeline and this involves
> updating many tasks to support it.
> However, including just the changeset id sounds much simpler and will take
> less time.  I'll add it as another enhancement request in trac.  I doubt if
> it will happen in the next week but hopefully it won't be too far away.
>  Patches welcome.

It would be great to have just the changeset id against each element.  The
rest of the changeset header details are not such a priority, they can
easily be harvested from the main api once we have the relevant changeset

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090426/633c67bb/attachment.html>

More information about the dev mailing list