[osmosis-dev] planet files appear truncated to osmosis, was: [OSM-talk] old planet files with 'nolt' in the name

Frederik Ramm frederik at remote.org
Sun Jan 15 18:49:55 GMT 2012


Hi,

On 01/15/2012 05:31 PM, Martijn van Exel wrote:
> It seems that the problem is not with the particular file. I tried the
> same process with a few other files, all give the same error around
> line 4000. I'm officially confused. I used osmosis a lot before on the
> same machine.

There are different ways to construct a bz2 file, and we did have issues 
in the past with Java's bz2 reading and the way we would create the bz2 
in a multi-threaded fashion. I was under the impression that this was 
fixed, but can you try to replace your

> mvexel at lima$  /osm/software/osmosis-0.39/bin/osmosis --rx
> /osm/planet/historical/planet-090701.osm.bz2 ...

with

bzcat /osm/planet/historical/planet-090701.osm.bz2 | 
/osm/software/osmosis-0.39/bin/osmosis --rx - ...

and see if the problem persists?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the osmosis-dev mailing list