Even,
I am actually trying to run the ogr2ogr.java from the link which you have
specified. In that if I don't load all the .so files individually it gives
me an exception at .AllRegister() method and the execution stops, but when I
load them individually it catches the exception and displays the
Hi Chaitanya,
Thanks for that, would you happen to know what is the work being done by the
function TranslateLayer in the code referenced in my previous message. I ask
this because after execution of this function my program displays the error
and then exists the system. To stop this from happen
Hi,
I am trying to modify the ogr2ogr.java found at the link
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ogr2ogr.java ,
to cater to multiple ".shp" files. The problem which I am facing is that
there are too many System.exit(1) statements which makes it a little
difficult to unde
Hi Even,
Thanks for that, that error has been resolved. But the following warning as
keeps coming , would you know what this means:
Native library load failed.
java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
I am loading all the .so files individually
S
After tweaking the path variable I got this exception:
Native library load failed.
java.lang.UnsatisfiedLinkError:
/home/gdal/gdal-1.7.2/swig/java/libgdaljni.so:
/home/gdal/gdal-1.7.2/swig/java/libgdaljni.so: wrong ELF class: ELFCLASS64
(Possible cause: architecture word width mismatch)
Exception
Ivan,
I have specified -Djava.library.path="~/home/gdal/gdal-1.7.2/swig/java". Is
there any other way to include the files which you had mentioned in the
reply. If so please let me know.
Thanks,
Sagar
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/GDAL-JAVA-problem-tp
Hi Ivan,
Can you please help me with compiling the GdalInfo class in Ubuntu with
Netbeans. My problem is that the program is throwing an exception when it
reaches the gdal.AllRegister() method and the exception says the following:
Native library load failed.
java.lang.UnsatisfiedLinkError: no gd