Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoTIFF with JPEG compression store fails after GDAL ImageIO-Ext installed #31

Closed
emxsys opened this issue May 18, 2017 · 1 comment
Closed
Labels
Milestone

Comments

@emxsys
Copy link
Contributor

emxsys commented May 18, 2017

In GeoServer 2.10.0, after copying the GDAL ImageIO-Ext jars into geoserver's lib folder, GeoServer was unable to open or create a store from a GeoTIFF that uses JPEG compression.
java.io.IOException: Failed to create reader from file

@emxsys emxsys added the bug label May 18, 2017
@emxsys emxsys added this to the 0.2.1 milestone May 18, 2017
@emxsys
Copy link
Contributor Author

emxsys commented May 18, 2017

Issue

There appears to be a conflict between GeoServer's native GeoTIFF reader and the GDAL GeoTIFF reader.

Resolution

The resolution for this issue is to remove select GDAL ImageIO-Ext jars from GeoServer's lib folder (webapps/geoserver/WEB-INF/lib). The offending jars were identified through experimentation and testing. The underlying cause was not determined. Following is the list of jars by platform:

Windows

  • imageio-ext-gdalgeotiff-1.1.16.jar

Linux

  • imageio-ext-gdalgeotiff-1.1.16.jar
  • imageio-ext-gdaljpeg-1.1.16.jar

WWSK v0.2.1 preempts the inclusion of the aforementioned jars in the Windows, Ubuntu and CentOS distributions. In Windows, this is addressed in the gdal-win64.xml assembly component. In the Linux distributions, this is addressed in the setup-gdal.sh script.

@emxsys emxsys closed this as completed May 18, 2017
emxsys added a commit that referenced this issue May 18, 2017
emxsys added a commit that referenced this issue May 19, 2017
…mbly.

- Required after upgrading ImageIO-Ext to 1.1.17
- Re: issues #31 and #24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant