[gdal-dev] Re: NITF JPEG2000 read support?

Sven Geggus usenet at fuchsschwanzdomain.de
Mon Jun 9 05:03:52 EDT 2008


Frank Warmerdam <warmerdam at pobox.com> wrote:

> Well, this is something that could be examined in more detail.  JPEG2000
> in NITF *can* work with the ECW based driver.  With the FWTools build
> you can set the GDAL_SKIP environment variable to JP2KAK to avoid the
> Kakadu driver if you want to see how the ECW SDK based driver works.

This is going to get real strange now:

 bin/ > ./gdalinfo ~/geoimages/test_jpg2000.nsf
ERROR 1: Kakadu Core Error: Main code-stream header appears corrupt!
ERROR 1: Unable to open JPEG2000 image within NITF file.
Is the JP2KAK driver available?
gdalinfo failed - unable to open '/home/geg/geoimages/test_jpg2000.nsf'.
--[ geg at venus ]---[ /home/geg/tmp/FWTools-2.0.6/bin
]---------------------------
 bin/ > export GDAL_SKIP=JP2KAK
--[ geg at venus ]---[ /home/geg/tmp/FWTools-2.0.6/bin
]---------------------------
 bin/ > ./gdalinfo ~/geoimages/test_jpg2000.nsf
ERROR 1: An error has occurred: Error 86 "File is invalid or corrupt"  file "" line 0
ERROR 1: Unable to open JPEG2000 image within NITF file.
Is the JP2KAK driver available?
gdalinfo failed - unable to open '/home/geg/geoimages/test_jpg2000.nsf'.

Probably my file is corrupted somehow.

Is there any nitf/j2k test-file available for download somewhere on the net?

Regards

Sven

-- 
"We don't know the OS that God uses, but the Vatican uses Linux"
                               (Sister Judith Zoebelein, Vatican Webmaster)

/me is giggls at ircnet, http://sven.gegg.us/ on the Web


More information about the gdal-dev mailing list