[OSM-dev] Using changesets-latest.osm

Brett Henderson brett at bretth.com
Wed Jan 25 11:15:54 GMT 2012


On 22 January 2012 11:08, Toby Murray <toby.murray at gmail.com> wrote:

>
> Yes, I am aware of this. I want to query the metadata. Comment tags,
> bboxes, users and such. I don't really care if it is in the apidb
> schema or not. My first thought was that this would "just work" with
> osmosis but that obviously isn't the case. I was just wondering if
> someone else already has something. It sounds like the answer is no.
> Which kind of makes me wonder why the changeset dump even exists if
> there are no standard tools to use it. But whatever. It's not like
> parsing XML is hard. I can write something to do what I need pretty
> quickly.
>

Osmosis doesn't support XML changeset records in OSM files.  It supports
the changeset id attribute on entities and will create dummy changeset
records in the database to satisfy referential integrity, but all the
metadata associated with a changeset is ignored.  If you process a file
with only changeset records then no processing will occur.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120125/300ebf45/attachment.html>


More information about the dev mailing list