I believe -a_nodata in gdal_translate sets the no data value as in GDALRasterBand::SetNoDataValue(). -dstnodata in gdalwarp initializes the bands with the supplied value, but doesn't call GDALRasterBand::SetNoDataValue(). I think.
kss # ============================ Kyle Shannon Physical Science Technician RMRS Fire Sciences Lab Fire, Fuels & Smoke - RWU 4405 5775 Highway 10 W. Missoula, MT 59808 (406)829-6954 [email protected] # ============================ On Tue, Jun 1, 2010 at 2:09 PM, Matt Wilkie <[email protected]> wrote: > Dear GDAL, > > What is the difference between gdal_translate's "assign nodata" and > gdalwarp's "destination nodata"? > > thanks! > > -- > matt wilkie > -------------------------------------------- > Geomatics Analyst > Information Management and Technology > Yukon Department of Environment > 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 > 867-667-8133 Tel * 867-393-7003 > Faxhttp://environmentyukon.gov.yk.ca/geomatics/ > -------------------------------------------- > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
