jeudi 04 juin 2015 16:04:32, Mathieu Coudert a écrit :
> > Hello,
> >
> >
> >
> > I am using GDAL 1.11.2 on linux Centos and here is one of my function :
> >
> >
> >
> > {
> >
> > OGRSpatialReference sr;
> >
> >
Hello,
I am using GDAL 1.11.2 on linux Centos and here is one of my function :
{
OGRSpatialReference sr;
if (sr.SetFromUserInput(proj.c_str()) != OGRERR_NONE)
throw InvalidInput();
char *wkt;
sr.exportToWkt(&wkt);
string srs (wkt);
OGRFree(wkt);
return srs;
}
This code wor
Hi,
This error was due to the "--without-libtool" option compiling GDAL.
I found that I had to build GDAL *with* libtool to get java bindings
working (contrarily to what's written in section "Configure and Build GDAL"
from http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix)
Cheer
`pwd`/gdal.jar:`pwd`:`pwd`/build/apps gdalinfo
$ export LD_LIBRARY_PATH=`pwd`:/usr/local/lib
Any idea please?
Mathieu
On Fri, Aug 3, 2012 at 1:25 PM, Even Rouault
wrote:
> Selon Mathieu Coudert :
>
> Your LD_LIBRARY_PATH should also include the path to l
Hi,
Running GDAL with Java binding I am facing an issue with an undefined
symbol: CPLLoggingErrorHandler in libgdaljni.so.
First I compiled GDAL 1.9.1 with Java support.
Then I followed the Java building instructions on Unix [1].
Everything seems to be correct, my ant build is successful.
However