Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Paolo Corti
Hi Even On Fri, Apr 28, 2017 at 1:40 PM, Even Rouault wrote: > > Heck, latest GeoServer still using such an ancient version of GDAL... Or > perhaps the doc is not up-to-date. > I have this doubt as well, that is why I sent an email to the geoserver list. Let's see what it comes out. https://sour

Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Even Rouault
On vendredi 28 avril 2017 10:13:41 CEST Paolo Corti wrote: > Hi Even > > On Fri, Apr 28, 2017 at 4:13 AM, Even Rouault > > wrote: > > Yes much likely this error is typical of a mismatch between SWIG 1.3 and > > SWIG 2 or 3. It is likely that the gdal.jar in GeoServer was produced with > > SWIG 1

Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Paolo Corti
Hi Even On Fri, Apr 28, 2017 at 4:13 AM, Even Rouault wrote: > Yes much likely this error is typical of a mismatch between SWIG 1.3 and > SWIG 2 or 3. It is likely that the gdal.jar in GeoServer was produced with > SWIG 1.3, so you'll need to generate the native part (libgdalconstjni.so, > etc...

Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Even Rouault
Paolo, > I am wondering if this could be caused by the SWIG version which I am using? Yes much likely this error is typical of a mismatch between SWIG 1.3 and SWIG 2 or 3. It is likely that the gdal.jar in GeoServer was produced with SWIG 1.3, so you'll need to generate the native part (libgd

[gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-27 Thread Paolo Corti
Dear list I am trying to build the Java bindings for GDAL 2.1.3, for Java 1.7.0_80, using SWIG 3.0.8, in Ubuntu 16.04LTS, following these instructions [1]. The aim is to use the gdal GeoServer plugin with gdal 2.1.3. The GeoServer I am using is a very old version (2.3) and I don't have the possib