geoserver jetty gdal support

download gdal library and imageio-ext library
from https://java.net/projects/imageio-ext

extract gdal so files to /usr/lib/gdal
add /usr/lib/gdal to ldconfig path
ldconfig reload lib
ldconfig -print |grep gdal
make sure gdal so files loaded

extract imageio-ext jar files to geoserver/WEB-INF/lib

modify your script file for start jetty
add this option
-Djava.library.path=/usr/lib/gdal

that's all

after restart jetty you can see gdal support formats

留言