Thanks! it works
a follow up "bonus" question
I get the same problem when trying to create a mosaic by warping to images
to a new dataset.
my code is basically copied from the "GDAL Warp API Tutorial" page
http://www.gdal.org/warptut.html
and adding:
psWarpOptions->padfSrcNoDataReal = new double
Selon Ophir Yoktan :
Several errors :
1) The NoDataValue and HideNoDataValue elements are only valid under the
VRTRasterBand element, not SimpleSource
2) You want to change SimpleSource to ComplexSource, and add a
0 element in it. (well basically rename your current
NoDataValue to NODATA.
> I'm
I'm trying to build a mosaic, and I rely on the NoDataValue feature to
treat some parts of the image as transparent.
However, it appears that GDAL doesn't work as expected.
I also created a very simple test case using a vrt dataset and
gdal_translate - and I get the same results (that is - the 2nd