[osmosis-dev] Another small Osmosis PBF problem
Frederik Ramm
frederik at remote.org
Mon Nov 29 20:40:32 GMT 2010
Hi,
whenever relations without userid are temporarily stored by Osmosis,
they end up changed somehow.
If I take this file:
<osm version="0.6">
<relation id="1" version="9" timestamp="2010-06-25T11:33:43Z"
changeset="1" />
</osm>
and convert it to PBF:
osmosis --rx test.osm --write-bin test.osm.pbf
I end up with a 58 byte file that can be converted back to the above
with either osmosis or pbf2osm.
But when I run
osmosis --rx test.osm --sort --write-bin test.osm.pbf
then the resulting file has 65 bytes. It can still be converted back to
the above with osmosis, but if I run pbf2osm on it I get:
<osm version="0.6" generator="pbf2osm">
<relation id="1" version="9" changeset="1" user="" uid="-1"
timestamp="2010-06-25T11:33:43Z"/>
</osm>
Somehow the information that user ID and user name were unset has been
lost when the relation was temporarily stored.
Can it be fixed?
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the osmosis-dev
mailing list