0

I've followed the directions at the Geoserver website here for installing the GDAL Image formats on Linux. However, afterwards there don't seem to be any entries to add ECW, MrSID, or JP2 rasters.

GDAL 3.0.4 is installed:

GDAL 3.0.4, released 2020/01/28

and the .jar files coped to the lib directory of GeoServer, and it has been restarted. Other GDAL raster formats now appear in the list of stores to add, but not the three I require the most. There is no error in the logs indicating an issue, either.

Is there possibly as step I missed?

lcrumb
  • 51
  • 5

1 Answers1

0

The manual clearly states that only GDAL 2.x is supported.

Starting GeoServer 2.16.x the imageio-ext plugin needs a GDAL version 2.x (tested in particular with 2.2.x and 2.4.x)

Ian Turton
  • 10,018
  • 1
  • 28
  • 47
  • You know, I saw that and figured it was just outdated docs because our Windows installation of GeoServer uses GDAL 3.1.4 and the GDAL Extension works perfectly. – lcrumb Oct 22 '21 at 13:33
  • It might work or it might not - as far as I know the docs are up to date - maybe you should ask on the user list – Ian Turton Oct 26 '21 at 14:38
  • 1
    It's tested against GDAL 2, what happens to GDAL 3 is unknown. – Andrea Aime Oct 27 '21 at 14:04
  • FWIW, the GDAL Extension works great on our Windows Geosever 2.19.2 (Platform Independent Binary installation) with GDAL 3.1.4. On the Ubuntu JAR installation, the functionality exposed by the GDAL extension works fine, but it doesn't expose the ability to create stores from ECW, SID, or JP2 sources. The frustrating things is that there doesn't seem to be a way to use an earlier version of GDAL on Ubuntu 20.04. At least not a way I can figure out. – lcrumb Oct 28 '21 at 14:01
  • I'm not entirely sure that ECW & SID etc are ever built in to GDAL on unix – Ian Turton Oct 28 '21 at 14:09
  • Well, golly....that might be the answer. A simple gdalinfo --formats show that ECW and SID files are not supported. However, strangely JP2 is. I wonder what THAT one isn't presented as an available store option. – lcrumb Oct 28 '21 at 14:31
  • Only the JP2OpenJPEG driver which I've never managed to make work – Ian Turton Oct 28 '21 at 14:36
  • Just to confirm: gdalinfo --formats | grep -i 'Jp.\|sid\|ECW' shows: JPEG -raster- (rwv): JPEG JFIF JP2OpenJPEG -raster,vector- (rwv): JPEG-2000 driver based on OpenJPEG library JPEGLS -raster- (rwv): JPEGLS – lcrumb Oct 28 '21 at 14:36
  • OK, thanks guys, I think we have our answer to why it doesn't work. – lcrumb Oct 28 '21 at 14:37