Hi,
I am trying to read my *.jp2 images using kakadu-6.4 library, but with no luck (yet). Until now I have managed to load and read them using the open source library for jpeg2000, but it was really slow, so I would like to use the kakadu library.
My system:
Ubuntu server 14.04
Tomcat 8.0.26
GeoServer 2.7.2
Kakadu 6.4 (in /usr/local/lib/kakadu-6.4/)
I have compiled the kakadu sources and gdal with kakadu according to
https://trac.osgeo.org/gdal/wiki/JP2KAK
I have downloaded the jp2000 plugin for version 2.7.2 and placed it to webapps/geoserver/WEB-INF/lib/
I set the LD_LIBRARY_PATH in Tomcat, via …/tomcat/bin/setenv.sh by
… export LD_LIBRARY_PATH=“/usr/local/lib” …
But when I open the loaded images (loaded programmatically as external.worldimage) in openlayers, it is still slow as it was. When I try to load new images (manually) via Stores/Add new store/JP2K (Direct) … Where I input the image location, I get “Could not list layers for this store, an error occurred retrieving them: null”
I tried the geoserver.log, but all I found mentioning jp2 was:
2015-10-01 13:54:03,665 DEBUG [gdal.jp2ecw] - JP2ECWFormatFactory is not availaible.
2015-10-01 13:54:03,665 DEBUG [coverageio.jp2k] - JP2KFormatFactory is availaible.
2015-10-01 13:54:03,666 DEBUG [gdal.jp2k] - JP2KFormatFactory is not availaible.
2015-10-01 13:54:03,666 DEBUG [gdal.jp2mrisd] - JP2MrSIDFormatFactory is not availaible.
2015-10-01 13:54:03,666 DEBUG [coverageio.jp2k] - Creating a new JP2KFormat.
<<<
which seems ok to me…
Can anyone please point out where I could have made mistake? I would be grateful for any ideas…
Thank you
Jaroslav Urik