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

Even Rouault even.rouault at spatialys.com
Thu Apr 25 05:38:17 PDT 2024


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 list
> gdal-dev at lists.osgeo.org
> https://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/8aad49c2/attachment.htm>


More information about the gdal-dev mailing list