[gdal-dev] Zip/Unzip

Harsh Govind harsh.govind at spadac.com
Mon Oct 26 06:01:48 EDT 2009


Thanks for the info. I will give it a shot.

Regards,
Harsh Govind

-----Original Message-----
From: Even Rouault [mailto:even.rouault at mines-paris.org] 
Sent: Friday, October 23, 2009 1:08 PM
To: Harsh Govind
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Zip/Unzip

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