logo separator

[mkgmap-dev] [PATCH] splitter now reads directly .osm.bz2 files

From Johann Gail johann.gail at gmx.de on Thu Mar 26 12:29:06 GMT 2009

Hi,

I've just created a patch, which enables splitter to read .bz2 
compressed files directly without need for external decompressing. This 
eases live for me, as I generally get my osm data from geofabrik, which 
is bzip2 compressed.

It uses the CBzip2InputStream class from org.apache.tools.bzip2.*

If you apply only part a of the patch, then you will need a jar file 
with this class in your classpath. You can get it e.g. at 
http://www.kohsuke.org/bzip2/

If you apply part b additionally, then it contains all you need. But I 
absolutely don't know if the apache license, which is valid for the 
CBzip2InputStream class allows including in other projects. Therefore I 
have splitted the patch into two parts.

Please comment, should this patch be commited to svn?

Greetings,
Johann



More information about the mkgmap-dev mailing list