[FWTools] gdal_merge no data values
Frank Warmerdam
warmerdam at pobox.com
Thu Jan 5 15:13:33 EST 2006
On 1/5/06, Travis Kirstine GIS Tech <tkirstine at jdbarnes.com> wrote:
> Hi all,
> Is there a way to assign a no data value for all bands in a RGB image using
> gdal_merge
> i.e. gdal_merge.bat -o merged.tif -of GTiff -n 0 0 0 rgb_image_1.tif
> rgb_image_2.tif
Travis,
I *believe* that if you specify a nodata value using the -n flag,
it will be used for all bands.
eg.
gdal_merge.bat -o merged.tif -of GTiff -n 0 rgb_image_1.tif rgb_image_2.tif
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the FWTools
mailing list