Re: [gdal-dev] GDAL appears to ignore NoDataValue

2012-02-29 Thread Ophir Yoktan
padfSrcNoDataReal = new double(0); On Feb 29, 2012 11:03 AM, "Even Rouault" wrote: > 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 SimpleS

[gdal-dev] GDAL appears to ignore NoDataValue

2012-02-28 Thread Ophir Yoktan
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