I have a large number of NITF JP2K files. These files have IGEOLO metadata to
the second accuracy so reprojecting these images leads to poor results. The
images also have rpc metadata and using the -rpc option in gdalwarp reprojects
them quite well. These files are source epsg:4326 and need to
Le dimanche 17 juin 2012 18:24:29, Smith, Michael ERDC-RDE-CRREL-NH a écrit :
I have a large number of NITF JP2K files. These files have IGEOLO metadata
to the second accuracy so reprojecting these images leads to poor results.
The images also have rpc metadata and using the -rpc option in
I did originally use -dstalpha. I had dropped it when creating the
geotiffs as I used PHOTOMETRIC=YCBCR as a creation option.
I'll try with -dstalpha and dropping the YCBCR.
Is there a known issue with using the vrts inside a tileindex that makes
it so slow?
--
This is what I used to convert
Le dimanche 17 juin 2012 18:45:01, Smith, Michael ERDC-RDE-CRREL-NH a écrit :
I did originally use -dstalpha. I had dropped it when creating the
geotiffs as I used PHOTOMETRIC=YCBCR as a creation option.
I'll try with -dstalpha and dropping the YCBCR.
Ah, ok, JPEG compression is indeed
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
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