[gdal-dev] Zip/Unzip

Even Rouault even.rouault at mines-paris.org
Fri Oct 23 13:08:16 EDT 2009


Selon Harsh Govind <harsh.govind at spadac.com>:

cpl_minizip_* is just a copy&paste from the corresponding files from the zlib
source package. So you'll probably find ressources/examples on their site. In
GDAL, we use zlib (gzip) compression & uncompression and zip (pkzip)
uncompression, but not zip compression, which is required to make KMZ from KML.

Otherwise you can look at libkml that has support for both KML and KMZ (and
which uses minizip also for that purpose!)

See http://lists.osgeo.org/pipermail/gdal-dev/2008-March/016664.html

Best regards,

Even

> I see a Zip/Unzip API in GDAL cpl_minizip_ioapi.h and cpl_minizip_unzip
> inside port directory and would like to use it for purpose of creating kmz.
> Has anyone used those for zip/unzip? Any example/literature that someone can
> point me to would really help.
>
> I would prefer going through the API rather than directly interact with
> minizip.
>
>
> Regards,
> Harsh Govind
>
>




More information about the gdal-dev mailing list