Hi,
I have on my computer GDAL 1.10 with these JPEG2000 drivers:
JP2ECW (rw+v): ERDAS JPEG2000 (SDK 3.x)
JP2OpenJPEG (rwv): JPEG-2000 driver based on OpenJPEG library
In addition I had an old FWTools 2.4.7 with JP2MrSID driver. I can only tell that I could read and convert the sample image into geotiff with all these three drivers.
If you find a GDAL with some other drivers to test with it may be worth knowing that when GDAL has several drivers for the same format the first on the list is selected. For using the latter drivers user must set a list of drivers to skip with a variable. In my case on Windows for testing with OpenJPEG I had to do:
set GDAL_SKIP=JP2ECW
Gdalinfo is a bit different with those two drivers but this is from JP2ECW
C:\Users\rahkonju\Downloads>gdalinfo CB_TM432.jp2
Driver: JP2ECW/ERDAS JPEG2000 (SDK 3.x)
Files: CB_TM432.jp2
Size is 361, 488
Coordinate System is `'
Metadata:
COLORSPACE=RGB
COMPRESSION_RATE_TARGET=1
VERSION=1
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 488.0)
Upper Right ( 361.0, 0.0)
Lower Right ( 361.0, 488.0)
Center ( 180.5, 244.0)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Description = Red
Overviews: 180x244
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Description = Green
Overviews: 180x244
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
Description = Blue
Overviews: 180x244
Image is created with Kakadu v.3.4 library and it is not at all odd. I do not know why you see a crash. I guess it is somehow specific to your system.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: GeoGEOrge [mailto:awmlamp@anonymised.com]
Lähetetty: 18. kesäkuuta 2013 14:44
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] JPEG2000 crashed GeoServerThank you for your reply. I downloaded a sample .jp2 from here:
http://www.microimages.com/gallery/jp2/CB_TM432.jp2
to see if it was my image that was the problem, but i get the same error.
I have tried it with and without accompanying .xml .prj .j2w files without
success.
I put the .jp2 file in the same directory as the native libraries and ran gdalinfo
from there without success.--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JPEG2000-
crashed-GeoServer-tp5059217p5060845.html
Sent from the GeoServer - User mailing list archive at Nabble.com.------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users