[OSM-dev] Binary Format, Performance, osm2pbf

Scott Crosby scrosby at cs.rice.edu
Sun Oct 17 08:15:52 BST 2010

On Fri, Oct 15, 2010 at 8:56 AM, Frederik Ramm <frederik at remote.org> wrote:

> Hi,
>   a few weeks ago when I announced that I am planning to rely on the new
> binary format in the future, I caught some flak for claiming that an
> .osm.pbf was not only faster to produce, parse, and transmit than a .bz2 but
> it would also unpack faster.
> Kai did some measurements with osmosis and found unpacking the .osm.pbf to
> be slower.
> I have now done some tests and also included Stefan's pbf2osm (which is
> written in C). I used the current OSM file for the German state of Bavaria
> for testing:
> File sizes:
> .osm       2462778377
> .osm.pbf    134579577 (with compression=deflate and lossless)
> .osm.bz2    223006298
For completeness, would you be willing to also do a .osm.gz  and try
decompressing an osm.pbf with compression=none  with osmosis and pbf2osm?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20101017/cb89e10f/attachment.html>

More information about the dev mailing list