Hi Stefano,
please read below...
On Mon, Jul 21, 2014 at 12:08 PM, Stefano Iacovella <
[email protected]> wrote:
> Hi all,
>
> I am finding troubles getting the GDAL extension to work.
> I am working on an ubuntu machine with GDAL 1.11
>
> stefano@ubuntu1204x64vm:~/temp$ gdalinfo --version
> GDAL 1.11.0, released 2014/04/16
>
> I compiled them from source.
>
> GeoServer is instaleld as a war deployed on Tomcat 7.0.42 with this JRE:
>
> stefano@ubuntu1204x64vm:~/temp$ java -version
> java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
>
> I tried to follow the instructions here
> http://docs.geoserver.org/stable/en/user/data/raster/gdal.html, adapting
> them at my GDAL release.
> As stated I downloaded the GDAL extension and saved all the jar files in
> the lib folder under geoserver.
> Then downloaded the imageio-ext-1.1.10-jars.zip archive and copied the jar
> contained again in the lib folder. This step is a little confusing to me as
> most of the jar contained are already in the GDAL extension archive.
>
That step is not needed indeed. The documentation provides instructions to
install the CRS definitions and native libs since the JARs are already
available in the GeoServer extension.
That being said, the imageio-ext has been developed/tested against GDAL
1.9.2. Not sure if it will work against a newer version of GDAL (native
bindings/methods signature may have been changed since that version).
However, let's move to the next question...
>
> I modified the startup script for GeoServer, /etc/init.d/tomcat including
> this two variables:
>
> export GDAL_DATA=/usr/local/share/gdal
> export LD_LIBRARY_PATH=/usr/local/lib
>
> Then started again GeoServer. I can't find any error in the log, that is
> included at this message, but the GDAl formats are not shown in the web
> interface.
>
That's strange. You should have seen something like "GDAL version X has
been loaded" in case of success OR "WARNING: Unable to load GDAL native
libs" in case of failures.
Could you report us (through an "ls") the list of jars available on your
webapps/geoserver/WEB-INF/lib folder?
Cheers,
Daniele
> Am I missing something?
>
>
> Thank you for your hints
>
> Stefano
> ---------------------------------------------------
> 41.95581N 12.52854E
>
>
> http://www.linkedin.com/in/stefanoiacovella
>
> http://twitter.com/#!/Iacovellas
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users