[gdal-dev] GDAL 3.11 broke part of the Julia wrapper

Joaquim Manuel Freire Luís jluis at ualg.pt
Sun May 11 16:04:31 PDT 2025


Hi,

I'm afraid this one is not going to be easy, and I don't know how much help I can provide to find the issue. The think is that https://github.com/OSGeo/gdal/pull/12124 (which is a very big PR) broke my Julia wrapper.

For example, this used to write a png image but now it errors with

julia> gdalwrite("lixo.png", mat2img(UInt8.([1 2 3; 4 5 6; 7 8 9])))
ERROR 1: Cannot guess driver for lixo.png

But maybe more concrete is this failure where it tries to extract info from a gdal dataset (a pointer )


Gdal.GDALGetRasterYSize(dataset.ptr)
49
Gdal.GDALGetRasterCount(dataset.ptr)
1
Gdal.GDALDatasetGetLayerCount(dataset.ptr)
0

Here, first two are correct be the third is now wrong.

As I said above, I don't know how to provide more help on this and given the amount of cpp files changed I have no idea what to try.

Joaquim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250511/00d7708c/attachment.htm>


More information about the gdal-dev mailing list