[OSM-dev] osmosis - planet import pgsql simple schema

Florian Lohoff flo at rfc822.org
Thu May 7 09:58:43 BST 2009

On Thu, May 07, 2009 at 10:56:01AM +0200, Frederik Ramm wrote:
> Subject: Re: [OSM-dev] osmosis - planet import pgsql simple schema
> Hi,
> Florian Lohoff wrote:
>> i tried to import the current planet into a psql simple schema 0.6 and it
>> fails with osmosis 0.30 and 0.31.1 - and i dont get it:
> It might be a similar problem to what we recently saw with osm2pgsql,  
> namely the planet file having been packed using a multithreaded variant  
> of bzip2 which yields slightly different results. bzcat and bunzip2  
> process these files correctly, but osm2pgsql (initially) did not;  
> perhaps a similar problem exists with Osmosis.
> I have tonight unpacked the planet file with bzcat and processed it with  
> Osmosis without trouble, so the file is definitely ok...


bzcat planet | osmosis --read-xml-0.6 file=- 

works ... *grmpf* And i even read the thread about multithreaded bzip2 ...

Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090507/f479cf99/attachment.pgp>

More information about the dev mailing list