BTW, the "dataset" in previous message is created as ds = Gdal.create("", driver=getdriver("MEM"), width=width, height=height, nbands=size(GI,3), dtype=eltype(GI[1])) https://github.com/GenericMappingTools/GMT.jl/blob/master/src/gdal_utils.jl#L530
where "G" is a 2D grid and size(GI,3) = 1 and the Gdal.create is defined in https://github.com/GenericMappingTools/GMT.jl/blob/master/src/gdal.jl#L1194 From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Joaquim Manuel Freire Luís via gdal-dev Sent: Monday, May 12, 2025 12:05 AM To: gdal-dev <gdal-dev@lists.osgeo.org> Subject: [gdal-dev] GDAL 3.11 broke part of the Julia wrapper 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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev