[gdal-dev] difference between -a_nodata and -dstnodata?

Kyle Shannon ksshannon at gmail.com
Tue Jun 1 16:44:48 EDT 2010


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
kshannon at fs.fed.us
# ============================


On Tue, Jun 1, 2010 at 2:09 PM, Matt Wilkie <matt.wilkie at gov.yk.ca> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100601/a38e0ca0/attachment.html


More information about the gdal-dev mailing list