Jay,<br><br>You are right. The NITF driver is not passing the creation options on to the jp2kak driver. The NITF driver uses jp2kak the IC=C8 creation option is set and both the ECW and Jasper drivers are unavailable.<br><br>
I think what you asked for can be implemented easily. Please create a new ticket [1] for this enhancement.<br><br>[1]: <a href="http://trac.osgeo.org/gdal/newticket">http://trac.osgeo.org/gdal/newticket</a><br><br><div class="gmail_quote">
On Wed, Jul 6, 2011 at 8:59 PM, Jay Jennings <span dir="ltr"><<a href="mailto:Jennings.Jay@geoeye.com">Jennings.Jay@geoeye.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi folks,<u></u><u></u></p>
<p class="MsoNormal">We are using a GDAL trunk snapshot from February 2011 (so 1.9dev ?) on a Windows 7 environment. We have a Kakadu JPEG-2000 license and can successfully make NITF files with JPEG-2000 compression. The compression appears to be the default
QUALITY=20 because the files are consistently reduced in size by 80% with high quality.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But is it possible to make *<b>lossless</b>* JP2KAK within NITF ? Using the GeoJP2 driver, we can do lossless using the QUALITY=100 creation option, but the same option on the NITF attempt is ignored, resulting in the same 80%-reduction-with-high-quality
version. I’m guessing this is due to the driver-within-driver issue (JP2KAK within NITF) so the NITF driver doesn’t know what to do with the QUALITY=100 request.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any ‘gdal_translate’ syntax that will currently achieve the NITF-with-JP2KAK-lossless goal ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 3pt; margin-left: 0in;">
<span style="color: rgb(31, 73, 125);">.........................................................</span><b><span style="font-size: 9pt; color: black;" lang="EN-GB"><u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 3pt; margin-left: 0in;">
<b><span style="font-size: 10pt; color: rgb(0, 64, 128);" lang="EN-GB">Jay Jennings</span></b><b><span style="font-size: 10pt; color: rgb(0, 64, 128);"><u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 3pt; margin-left: 0in;">
<span style="font-size: 10pt; color: rgb(0, 64, 128);" lang="EN-GB">GeoEye, Inc. <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 3pt; margin-left: 0in;">
<span style="font-size: 10pt; color: rgb(0, 64, 128);" lang="EN-GB">(NASDAQ: GEOY) <u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>