[Geocoding] Local Mirror of OSM Data...

Frederik Ramm frederik at remote.org
Fri Oct 23 11:11:58 BST 2009


Hi,

Peter Childs wrote:
> Currently I'm importing planet.osm into a postgres database using 
> osmosis so see how big it is, But its been going all night, and looks 
> like its only done about 5% where as decompressing the planet takes 
> about 2 hours, so I was expecting it done in kind of say 6?

You aren't using

osmosis --wx planet.osm.bz2

by any chance? It is a known fact that the Java .bz2 implementation is 
crap. You need to do

bzcat planet.osm.bz2 | osmosis --wx -

which will probably triple (treble?) performance.

Bye
Frederik




More information about the Geocoding mailing list