[gdal-dev] How to use RPC Metadata from NITF Files in a MapServer TileIndex

Smith, Michael ERDC-RDE-CRREL-NH Michael.Smith at erdc.dren.mil
Sun Jun 17 11:54:33 PDT 2012


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.rouault at 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.



More information about the gdal-dev mailing list