[gdal-dev] Not writing PAM files

Javier Jimenez Shaw j1 at jimenezshaw.com
Mon Nov 3 01:13:22 PST 2025


Hi

When I read some raster files (in particular thermal JPEG files), a side
car file .aux.xml appears next to it.

I would like to avoid the creation of this side car file, but I want to use
any .aux.xml file if it is already there. Yes, I could imagine there is a
performance impact if I read it several times, but I am going to read the
file only once.

The config option GDAL_PAM_ENABLED seems to be completely disabling PAM
functionality:
https://gdal.org/en/stable/user/configoptions.html#persistent-auxiliary-metadata-pam-options
Reading the documentation, I would imagine that the PAM is completely
disabled, not only the creation of the side car file while reading a raster.

Is it posible to not create the .aux.xml, but use it if present?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251103/693ffc6f/attachment.htm>


More information about the gdal-dev mailing list