3.0-RC: ImageMosaic Fails On Missing Class

First, thanks to all that have been working on GeoServer 3! All of the effort to update the underlying tech stack is really going to reduce the security paperwork and approvals that my team has to go through.

We have begun investinging the 3.0 update and we can across an issue with ImageMosaic. We store our images in PNG format and have the SuggestedFormat set to org.geotools.gce.image.WorldImageFormat. In the current 3.0-RC builds, this class isn’t available. Its in the gt-image JAR that was included in earlier 2.x builds, but isn’t included in 3.x. There is an gt-image JAR for 35-RC and adding it in makes our existing ImageMosaic layers work again.

Was this library intentionally removed or is this a bug in the 3.x release process?

Hi,

support for “image + world file” has been intentionally removed from the GeoServer core deployment, as it’s no longer commonly used. PNG/JPEG is bad performance wise, althought it’s still an OK format for small images that would not benefit from overviews nor internal tiling.

However, support for these images is not gone, it has just been moved down to extension status, go look for the “worldimage” extension and install it.
You’ll see that it contains the same jar you looked for and added manually.

Cheers
Andrea

1 Like