[OSM-dev] Writing PBF

Jochen Topf jochen at remote.org
Tue Dec 13 14:04:20 GMT 2011

On Tue, Dec 13, 2011 at 12:39:55PM +0100, marqqs at gmx.eu wrote:
> If you limit the number of objects only to maximum block size (32 MiB), you will get smaller PBF files. I noticed this effect when writing the PBF-write module for osmconvert. The files are much smaller although I did not care about sorting the string table (which had been recommended by PBF format description).

Has anybody any data on how much smaller the files get with sorted vs. unsorted
string table? Sorting the string table means there is a lot more work and a lot
more main memory needed for the PBF writer.

Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298

More information about the dev mailing list