Re: [gdal-dev] Cannot load Java GDAL native library in web application with error in link library?

2017-05-23 Thread yuchan
for anyone has same problem as me, you can see the answer here: http://fahdshariff.blogspot.de/2011/08/changing-java-library-path-at-runtime.html for the option 2 with the change directly in code and you need to put the gdal library folder as input. Option 2: Add path to usr_paths Instead of havin

Re: [gdal-dev] Cannot load Java GDAL native library in web application with error in link library?

2017-05-23 Thread yuchan
Unfortunately, Tomcat runs in same computer, user which I set the environment variable, so I still need to find out a way for making GDAL can run in web application in Java. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Cannot-load-Java-GDAL-native-library-in-web-applica

Re: [gdal-dev] Cannot load Java GDAL native library in web application with error in link library?

2017-05-23 Thread yuchan
Thanks Ian, However, we want to deploy this application in other kinds of web application not only Tomcat so it is really complicated to have to modify Tomcat. I also tried to set LD_LIBRARY_PATH=/usr/lib/java/gdal/:$LD_LIBRARY_PATH in ~/.bashrc and then execute it with source ~/.bashrc where I c

[gdal-dev] Cannot load Java GDAL native library in web application with error in link library?

2017-05-23 Thread yuchan
Hello, I'm using GDAL library java as a dependency in Java web application with Maven dependency: org.gdal gdal 1.11.1 It contains a jar file and runs the native codes in C++ underneath which I had to install from packages in Centos. All these shared libraries a

[gdal-dev] How can I translate MODIS04_L2 AOT as ENVY Modis conversion toolkit?

2013-07-11 Thread yuchan
Hello every body. I've a MODIS04 L2, and I want to extract band 8:Image_Optical_Depth_Land_And_Ocean. I use Quantum GIS to open this band, because Quantum GIS see this is not coordinates so this allow me to select projection as below: +proj=utm +zone=50 +ellps=WGS84 +datum=WGS84 +units=m +no_defs