[OSM-talk] bz2-format of the planet-latest file
shaun at shaunmcdonald.me.uk
Tue Apr 6 23:17:14 BST 2010
The planet is compressed with a multi-threaded bz2 to make the generation faster.
On 6 Apr 2010, at 23:09, Werner Hoch wrote:
> Hi there,
> I'm currently playing on a random access tool for compressed osm files.
> While my tool works fine for all files from
> http://download.geofabrik.de/osm/europe/, I've problems with the latest
> planet file.
> While all files from geofabrik are only single bz2 streams it seems that
> the planet consists of several independant streams that have many "end
> of stream" in the middle of the bz2 file.
> After recompressing the planet with
> bzcat planet-latest.osm.bz2 |bzip2 >planet-recoded.osm.bz2
> I can read the created planet-recoded with my script now.
> Does anyone know what is in the planet?
> Which tool is used to compress the planet?
> Fileformat of bz2: http://en.wikipedia.org/wiki/Bzip2#File_format
> Werner (werner2101)
> talk mailing list
> talk at openstreetmap.org
More information about the talk