[Gdal-dev] Writing NITF JPEG2000 files with gdal_translate

DeSpain, Ronald rdespain at harris.com
Tue Jun 13 12:53:34 EDT 2006


In trying to produce NITF2.1 JPEG2000 chip files from NITF2.0 and
NITF2.1 files, the following calls produced bad files.
 
gdal_translate --config GDAL_CACHEMAX 500 -of NITF -srcwin 2909 6648 400
400 -scale -co "IC=C8" Imagep1_nitf20.ntf Imagep1_nitf20ChipToNJp2.ntf
 
gdal_translate --config GDAL_CACHEMAX 500 -of NITF -srcwin 11780 21928
400 400 -scale -co "IC=C8" Image65PanNitf21U.NTF
Image65PanNitf21UgdalchipToIC8.NTF
 
In trying to procuce NITF 2.0 uncompressed files from NITF2.1
uncompressed files the following calls just produced NITF 2.1 files.
 
gdal_translate --config GDAL_CACHEMAX 800 -of NITF -quiet -co
"FVER=02.00" Image65PanNitf21U.NTF Image65PanNitf21UtoN20.NTF
 
gdal_translate --config GDAL_CACHEMAX 800 -of NITF -quiet -co
"FVER=NITF02.00" Image65PanNitf21U.NTF Image65PanNitf21UtoNITF0200.NTF
 
Does anyone see what I'm missing?
 
Thanks
Ron
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060613/7c198deb/attachment.html


More information about the Gdal-dev mailing list