[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

[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

[gdal-dev] Re: GDAL/OGR Java bindings very slow in reading point coordinates of feature geometries

2011-03-26 Thread MarvinCO
Thanks, Even, I have just filed an enhancement request ticket for the getPoints() method in GDAL Trac, meanwhile I will use the Wkb workaround. I didn't know there is such a workaround, but I'll be looking forward to trying it. Thanks Marvin -- View this message in context:

[gdal-dev] GDAL/OGR Java bindings very slow in reading point coordinates of feature geometries

2011-03-25 Thread MarvinCO
I have noticed that copying all points of a polygon (of a polygon feature) can be very costly in my implementation. This must be due to the fact that there is only one method for doing this: org.gdal.ogr.Geometry.GetPoint() This means that at every invocation of GetPoint, Java has to make a

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-28 Thread MarvinCO
Hey, any new ideas anyone? As I said, I have tried what you suggested, but it's still not working. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/UnsatisfiedLinkError-with-gdal14-tp5759026p5781993.html Sent from the GDAL - Dev mailing list archive at Nabble.com.

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-22 Thread MarvinCO
I'm sorry, nothing has helped so far. I found out via Dependency Walker, that obviously there are a few DLLs that gdal14 depends on: ieframe.dll shlwapi.dll urlmon.dll I found all of them and placed them into my jre\bin directory. However, that still doesn't solve my problem. Still getting the

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-22 Thread MarvinCO
No, no reason at all. I didn't know there's any other binary version out there, only found the one I had been using so far via the official download link from the GDAL home page. I just downloaded the version from your page now. Why isn't that link on the GDAL home page? I did that now, updated

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-22 Thread MarvinCO
Interesting to note, too, that Dependency Walker now still reports the same DLLs as having missing functions, though I still have them in my jre/bin: http://osgeo-org.1803224.n2.nabble.com/file/n5764820/gdal.png -- View this message in context:

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-22 Thread MarvinCO
Is it necessary to call System.loadLibrary() on ALL DLLs? I thought Windows takes care of loading the dependent libraries automatically. Anyway, the whole thing - again - works via Eclipse. It's only launching my app by the Python script that throws the UnsatisfiedLinkException. -- View this

[gdal-dev] Re: UnsatisfiedLinkError with gdal14

2010-11-21 Thread MarvinCO
Which are the common DLL search locations? Eclipse doesn't give me any clue about how its starts the JVM, and which additional locations it may ask the JVM to search automatically. Process monitor also doesn't really give me any clue, it shows me mainly files from the System32 folder, which

[gdal-dev] UnsatisfiedLinkError with gdal14

2010-11-20 Thread MarvinCO
Hey, I am trying to write a Java application that uses GDAL on Windows 7. I am using the Java bindings of GDAL together with the gdal DLLs from the GDAL download page. I hope you are familiar with the distributions I'm using: GDAL DLLs: imageio-ext-1.0.5-windows32-dlls/* GDAL Java bindings:

[gdal-dev] UnsatisfiedLinkError with gdal14

2010-11-20 Thread MarvinCO
Hey, I am trying to write a Java application that uses GDAL on Windows 7. I am using the Java bindings of GDAL together with the gdal DLLs from the GDAL download page. I hope you are familiar with the distributions I'm using: GDAL DLLs: imageio-ext-1.0.5-windows32-dlls/* GDAL Java bindings: