<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>you can try something kike ogrinfo /vsizip/your.kmz/your.kml</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 25/04/2024 à 14:32, Johannes Paul
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CACcmK9b09TiRkVOgv6nwDpbLuk4e4nbyCo_Z+Xye5ssjOFAO2Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,
<div>using GDAL 3.8.3 compiled with libkml, I'm unable to read a
specific KMZ file, using ogrinfo (error "unable to open
datasource ...")</div>
<div>However if I extract the .kml index file for the kmz
archive, GDAL can provide ogrinfo on this .kml index file.</div>
<div>I noticed from the LIBKML driver documentation that GDAL
will default to look for a <i>doc.kml</i> index file which is
not the case here, so I tried to rename my index file and I
also tried to use <i>--config LIBKML_USE_DOC.KML=NO</i>
without success.</div>
<div>Any idea to get GDAL to read the kmz file without
unarchiving the kml index ?</div>
<div>Thanks</div>
<div>Johannes</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>