[gdal-dev] Unable to open KMZ datasource using libkml

Johannes Paul johannespaul92 at gmail.com
Thu Apr 25 05:44:16 PDT 2024


Nice, thanks !

On Thu, 25 Apr 2024 at 14:38, Even Rouault <even.rouault at spatialys.com>
wrote:

> Hi,
>
> you can try something kike ogrinfo /vsizip/your.kmz/your.kml
>
> Even
> Le 25/04/2024 à 14:32, Johannes Paul via gdal-dev a écrit :
>
> Hello,
> using GDAL 3.8.3 compiled with libkml, I'm unable to read a specific KMZ
> file, using ogrinfo (error "unable to open datasource ...")
> However if I extract the .kml index file for the kmz archive, GDAL can
> provide ogrinfo on this .kml index file.
> I noticed from the LIBKML driver documentation that GDAL will default to
> look for a *doc.kml* index file which is not the case here, so I tried to
> rename my index file and I also tried to use
> *--config LIBKML_USE_DOC.KML=NO* without success.
> Any idea to get GDAL to read the kmz file without unarchiving the kml
> index ?
> Thanks
> Johannes
>
> _______________________________________________
> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240425/fe6815de/attachment.htm>


More information about the gdal-dev mailing list