[Geoserver-users] MrSID not being seen by GeoServer

I’m trying to get GeoServer to serve MrSID images with no success. I have installed the GDAL libraries and data correctly using the steps provided in the User Documentation (all x64) and the standard GDAL formats do show up as available in GeoServer, however when I install the library for MrSID support using the .msi (gdal-19-1600-x64-mrsid.msi) the MrSID format does not display as available in GeoServer and running the /javainfo/gdalinfo.bat file does not show MrSID as a supported format, but when i just run the gdalinfo.exe it does show as an available format. What do I need to do to get the java environment to see the MrSID format?

SETUP:
Win7 x64
Java JRE 7u25 x64
GeoServer Version 2.3.3
GEOSERVER_HOME = C:\Program Files\GeoServer
GEOSERVER_DATA_DIR=C:\MapData
GDAL_DATA=C:\Program Files\GDAL\gdal_data
PATH=…;C:\Program Files\GDAL\gdal_1.9.2;C:\Program Files\GDAL\gdal_1.9.2\gdalplugins

Ben

I believe you are missing GDAL_DRIVER_PATH env var (I notice the doc
needs to be improved, I'll do that on Monday).

Long story short:

- put the dlls for MrSID in a specific fir
- create an env var called GDAL_DRIVER_PATH and make it point to the
previous dir
- restart and cross fingers

Notice for other readers, this is neede _only_ on our builds for
windows. More info here:
http://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_DRIVER_PATH

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Thu, Jul 18, 2013 at 4:37 PM, Ben Johnson <weagle08@anonymised.com> wrote:

I'm trying to get GeoServer to serve MrSID images with no success. I have
installed the GDAL libraries and data correctly using the steps provided in
the User Documentation (all x64) and the standard GDAL formats do show up as
available in GeoServer, however when I install the library for MrSID support
using the .msi (gdal-19-1600-x64-mrsid.msi) the MrSID format does not
display as available in GeoServer and running the /javainfo/gdalinfo.bat
file does not show MrSID as a supported format, but when i just run the
gdalinfo.exe it does show as an available format. What do I need to do to
get the java environment to see the MrSID format?

SETUP:
Win7 x64
Java JRE 7u25 x64
GeoServer Version 2.3.3
GEOSERVER_HOME = C:\Program Files\GeoServer
GEOSERVER_DATA_DIR=C:\MapData
GDAL_DATA=C:\Program Files\GDAL\gdal_data
PATH=...;C:\Program Files\GDAL\gdal_1.9.2;C:\Program
Files\GDAL\gdal_1.9.2\gdalplugins

Ben

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users