[gdal-dev] Classification Accuracy Utility

2011-04-24 Thread Angelos Tzotsos
Hi everyone, I recently needed to compute classification accuracy measures (completeness, correctness, quality) for a journal paper. So I took some time to write the following utility: http://users.ntua.gr/tzotsos/code/gdal_accuracy.py I would be very happy if it could be included in gdal

[gdal-dev] Using the GDAL/OGR Java bindings with the OSGeo4W environment

2011-04-24 Thread MarvinCO
Hi, I have installed GDAL and GDAL for Jave with the OSGeo4W installer. I am using an Eclipse project and have set the JRE that was installed by the OSGeo4W installer as the JRE to use in my project. I have also added the gdal.java from OSGeo4W (in the lib directory) to the java class path. Now

Re: [gdal-dev] Using the GDAL/OGR Java bindings with the OSGeo4W environment

2011-04-24 Thread Even Rouault
Marvin, I think you just have to add the directory where gdaljni.dll, ogrjni.dll, etc.. are to your system PATH, or if you don't want to alter it, to the java.library.path JVM variable. Ah, and you don't need to call System.loadLibrary(gdal18); It should be loaded implicitely when the GDAL

[gdal-dev] Re: Using the GDAL/OGR Java bindings with the OSGeo4W environment

2011-04-24 Thread MarvinCO
Hi Even, thanks. I have now done that. Could only do that via Add External Class Folder and by choosing C:\OSGeo4W\bin. In addition to that, I expanded the JRE System Library entry (which is set to C:\OSGeo4W) and set the Native Library location to C:\OSGeo4W\bin (which is where those DLLs are

Re: [gdal-dev] Re: Using the GDAL/OGR Java bindings with the OSGeo4W environment

2011-04-24 Thread Even Rouault
Le dimanche 24 avril 2011 21:46:45, MarvinCO a écrit : Hum, ok, I've now tested a bit OSGeo4W and it appears that there's a packaging error in the java-1.6.0_17-1.tar.bz2 package that includes an ancient version of GDAL 1.4 and its binding libraries, which then conflicts with the gdal-java