<div dir="ltr"><div>Thank you Even!</div><div><br></div><div>Probably the same is needed for FLIR, as DJI logic was based in FLIR code also in jpgdataset.cpp</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 3 Nov 2025 at 17:04, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Javier,<br>
<br>
.aux.xml file is no longer generated on opening per <br>
<a href="https://github.com/OSGeo/gdal/commit/2ad4ebf4ddcaa74af2d4cea212fb61f0ac382f20" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/commit/2ad4ebf4ddcaa74af2d4cea212fb61f0ac382f20</a><br>
<br>
Even<br>
<br>
Le 03/11/2025 à 10:13, Javier Jimenez Shaw via gdal-dev a écrit :<br>
> Hi<br>
><br>
> When I read some raster files (in particular thermal JPEG files), a <br>
> side car file .aux.xml appears next to it.<br>
><br>
> I would like to avoid the creation of this side car file, but I want <br>
> to use any .aux.xml file if it is already there. Yes, I could imagine <br>
> there is a performance impact if I read it several times, but I am <br>
> going to read the file only once.<br>
><br>
> The config option GDAL_PAM_ENABLED seems to be completely disabling <br>
> PAM functionality:<br>
> <a href="https://gdal.org/en/stable/user/configoptions.html#persistent-auxiliary-metadata-pam-options" rel="noreferrer" target="_blank">https://gdal.org/en/stable/user/configoptions.html#persistent-auxiliary-metadata-pam-options</a><br>
> Reading the documentation, I would imagine that the PAM is completely <br>
> disabled, not only the creation of the side car file while reading a <br>
> raster.<br>
><br>
> Is it posible to not create the .aux.xml, but use it if present?<br>
><br>
> Thank you<br>
><br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
</blockquote></div>