Martin,
I bet you have GDAL_FORCE_CACHING=YES set. At least that was the only
way I could trigger the error.
I've queued in https://github.com/OSGeo/gdal/pull/6464 a fix for that.
The first commit is sufficient to fix the issue despite being a bit
hacky, but you could cherry-pick it without
Hi,
I have a PNG image RGB (3-band), and I want to set the background
transparent. How do I do it using GDAL ?
Regards,
Liglio
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
To get the result using command line, I found the 3 commands did the trick.
gdal_translate -b mask -of vrt -a_nodata 0 'path/to/input.tif' test.vrt
gdal_translate -b 1 -of vrt -a_nodata 0 test.vrt test2.vrt
gdal_polygonize.[bat/py] -q -8 test2.vrt -b 1 -f "ESRI Shapefile"
testdata.shp
This was o
All,
I have an ECRG dataset that fails when reading pixels from the
gdalrasterband object on one of the subdatasets. It appears that the
underlying proxy dataset has a macro check called
RB_PROXY_METHOD_WITH_RET_WITH_INIT_BLOCK that fails because the block sizes
are different. This happens fo