[gdal-dev] Translating files with a external mask file

2011-10-27 Thread Travis Kirstine
I have a rgb geotiff with a external mask file rgb_withmaskfile.tif.msk, I would like to convert the files to a compressed GeoTiff using a command simalar to the one below. This command will generate a illegal band # error gdal_translate rgb_withmaskfile.tif results.tif -b 1 -b 2 -b 3 -mask 4

Re: [gdal-dev] Translating files with a external mask file

2011-10-27 Thread Chaitanya kumar CH
Travis, There might be a problem with the mask band's number. Try fiddling with it. http://www.gdal.org/gdal_translate.html On Thu, Oct 27, 2011 at 8:44 PM, Travis Kirstine traviskirst...@gmail.comwrote: I have a rgb geotiff with a external mask file rgb_withmaskfile.tif.msk, I would like to

Re: [gdal-dev] Translating files with a external mask file

2011-10-27 Thread Frank Warmerdam
On Thu, Oct 27, 2011 at 8:14 AM, Travis Kirstine traviskirst...@gmail.com wrote: I have a rgb geotiff with a external mask file rgb_withmaskfile.tif.msk, I would like to convert the files to a compressed GeoTiff using a command simalar to the one below.  This command will generate a illegal

Re: [gdal-dev] Translating files with a external mask file

2011-10-27 Thread Even Rouault
Le jeudi 27 octobre 2011 18:48:07, Frank Warmerdam a écrit : On Thu, Oct 27, 2011 at 8:14 AM, Travis Kirstine traviskirst...@gmail.com wrote: I have a rgb geotiff with a external mask file rgb_withmaskfile.tif.msk, I would like to convert the files to a compressed GeoTiff using a command