Thanks Even. This is working well. Mike
-- Michael Smith US Army Corps Remote Sensing GIS/Center On 6/17/12 1:10 PM, "Even Rouault" <even.roua...@mines-paris.org> wrote: >Actually, you'll need to add "--config GDAL_TIFF_INTERNAL_MASK YES" to >the 2 >following commands : > >gdal_translate -b 1 -b 2 -b 3 -mask 4 -co "TILED=YES" -co > "JPEG_QUALITY=95" - co "COMPRESS=JPEG" -co "PHOTOMETRIC=YCBCR" $1.vrt >$1.tif --config GDAL_TIFF_INTERNAL_MASK YES > >gdaladdo --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW >YCBCR --config INTERLEAVE_OVERVIEW PIXEL $1.tif 2 4 8 16 32 --config >GDAL_TIFF_INTERNAL_MASK YES > >Otherwise, an external .msk file will be produced. And you'll need to run >gdaladdo on it too. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev