Fixed per https://github.com/OSGeo/gdal/pull/10709 in 3.9 branch, and more extensive fix in master in https://github.com/OSGeo/gdal/pull/10708 Even -- http://www.spatialys.com My software is free, but my time generally not.