[OSM-dev] Planetfile with ChangeSet

Frederik Ramm frederik at remote.org
Wed Jun 3 13:12:04 BST 2009


Hi,

m2huber at hsr.ch wrote:
> But with bzcat and the direct piping into Osmosis worked well.
> We tried on our project to read the bz2 File directly, which didn't work with the same exception as in osmosis.

There seems to be an issue with the libbz2 library and the way the 
planet files are bzipped (they use a multi-threaded bz2 program that 
creates slightly different bz2 files which *should* be fully compatible 
but seem to be not).

I am sure you could work around that problem by doing a "bzcat 
planet.osm.bz2|bzip2 > planet-new.osm.bz2" and then use the new file, 
but that process would probably take the better part of a day ;-)

Bye
Frederik





More information about the dev mailing list