I have created a ticket and attached a patch to resolve this.
http://trac.osgeo.org/gdal/ticket/5087
On Wed, May 15, 2013 at 11:12 AM, Etienne Tourigny
etourigny@gmail.comwrote:
I have just noticed that destination nodata value is not set when
-dstnodata option is not used in gdalwarp.
I have just noticed that destination nodata value is not set when
-dstnodata option is not used in gdalwarp.
This can be problematic when warping a dataset with no data values, as the
result can be different from expected, if -dstnodata is not set.
gdalwarp does use source nodata pixels if