<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SDI sOGRInput no ogrjni in java.library.path in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246411#M31940</link>
    <description>Hello Luc,&lt;BR /&gt;Check that your GDAL/OGR is build with Java. All information I've been using for testing are available here :&lt;BR /&gt;&lt;A href="http://trac.osgeo.org/gdal/wiki/GdalOgrInJava" rel="nofollow noopener noreferrer"&gt;http://trac.osgeo.org/gdal/wiki/GdalOgrInJava&lt;/A&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Francois</description>
    <pubDate>Wed, 19 Oct 2011 10:03:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-10-19T10:03:46Z</dc:date>
    <item>
      <title>SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246408#M31937</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I am playing around with TOS and SDI trying to use sOGRInput:&lt;BR /&gt;Using a simple shape file and I get the following error &lt;BR /&gt;Native library load failed.&lt;BR /&gt;java.lang.UnsatisfiedLinkError: no ogrjni in java.library.path&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.RegisterAll()V&lt;BR /&gt;Any idea? (TOS 4.2.3 sdi 4.2)&lt;BR /&gt;Does using OGR require additional configuration?&lt;BR /&gt;What is the GDAL/OGR version included with SDI4.2?&lt;BR /&gt;Could the Talend SDI component be configured to use a "standalone" GDAL/OGR deployment (one that is installed independently from Talend SDI?&lt;BR /&gt;tx&lt;BR /&gt;Luc&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246408#M31937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246409#M31938</link>
      <description>Hello Luc, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi&lt;BR /&gt;I am playing around with TOS and SDI trying to use sOGRInput:&lt;BR /&gt;Using a simple shape file and I get the following error &lt;BR /&gt;Native library load failed.&lt;BR /&gt;java.lang.UnsatisfiedLinkError: no ogrjni in java.library.path&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.RegisterAll()V&lt;BR /&gt;Any idea? (TOS 4.2.3 sdi 4.2)&lt;BR /&gt;Does using OGR require additional configuration?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Before running the job, you need to set the path to GDAL/OGR libs in 
&lt;BR /&gt;'Advanced Settings' of the run job tab, and add JVM settings 
&lt;BR /&gt;-Djava.library.path=/path/to/your/ogr/gdal/gdal-1.8.0/lib/ 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;What is the GDAL/OGR version included with SDI4.2?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;None. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Could the Talend SDI component be configured to use a "standalone" GDAL/OGR deployment (one that is installed independently from Talend SDI?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It is. GDAL is not provided in TOS spatial package. 
&lt;BR /&gt;From my side, I've been testing it for Shapefile, PostGIS, WFS, KML, DXF, Oracle on Linux 
&lt;BR /&gt;HTH. 
&lt;BR /&gt;Francois</description>
      <pubDate>Mon, 17 Oct 2011 07:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246409#M31938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-17T07:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246410#M31939</link>
      <description>Hi Francois 
&lt;BR /&gt;Thanks for your prompt reply. 
&lt;BR /&gt;After adding the Djava.library.path="D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/gdal/java/" 
&lt;BR /&gt;to the advanced settings, the ogrjni.dll is found. 
&lt;BR /&gt;However it complains about the other dependencies not being found now: 
&lt;BR /&gt;Native library load failed. 
&lt;BR /&gt;java.lang.UnsatisfiedLinkError: D:\GdalOgr\release-1600-x64-gdal-1-8-mapserver-6-0\bin\gdal\java\ogrjni.dll: Can't find dependent libraries 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.RegisterAll()V 
&lt;BR /&gt;I have tried to change the Djava.library.path settings in many different ways: 
&lt;BR /&gt;Djava.library.path="D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/gdal/java/;%PATH%" 
&lt;BR /&gt;Djava.library.path="D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/;D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/gdal/java/" 
&lt;BR /&gt;But all with same result. 
&lt;BR /&gt;I assume that the system cannot find the dll which are referred to by the ogrjni.dll, but I hvae no idea which ones these are. 
&lt;BR /&gt;As you can see I am on Windows. 
&lt;BR /&gt;Any other advice you can give me? 
&lt;BR /&gt;Just a general question, is this documented somewhere? I just want to double check I have not overlooked possible information sources before bothering. 
&lt;BR /&gt;Thanks again 
&lt;BR /&gt;Luc</description>
      <pubDate>Wed, 19 Oct 2011 09:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246410#M31939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T09:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246411#M31940</link>
      <description>Hello Luc,&lt;BR /&gt;Check that your GDAL/OGR is build with Java. All information I've been using for testing are available here :&lt;BR /&gt;&lt;A href="http://trac.osgeo.org/gdal/wiki/GdalOgrInJava" rel="nofollow noopener noreferrer"&gt;http://trac.osgeo.org/gdal/wiki/GdalOgrInJava&lt;/A&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Francois</description>
      <pubDate>Wed, 19 Oct 2011 10:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246411#M31940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246412#M31941</link>
      <description>Thansk Francois 
&lt;BR /&gt;I just have it working, forgot that all my GDAL/OGR parameters are always in my batch file. Have updated the system variables accordingly and seems to work now. 
&lt;BR /&gt;tx 
&lt;BR /&gt;Luc</description>
      <pubDate>Wed, 19 Oct 2011 10:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246412#M31941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246413#M31942</link>
      <description>That's great, Luc. Could you post what are the changes you made ? so we could make an how-to on the wiki about how to use sOgrInput component on Linux or Windows. &lt;BR /&gt;Thanks for sharing.&lt;BR /&gt;Best.&lt;BR /&gt;Francois</description>
      <pubDate>Wed, 19 Oct 2011 10:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246413#M31942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T10:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246414#M31943</link>
      <description>Bonjour Francois 
&lt;BR /&gt; 
&lt;BR /&gt;I have taken these from the sdkshell.bat file under the root of the GDAL/OGR files. 
&lt;BR /&gt;SET PATH=%CD%\bin;%CD%\bin;%CD%\bin\gdal\python\osgeo;%CD%\bin\proj\apps;%CD%\bin\gdal\apps;%CD%\bin\ms\apps;%CD%\bin\gdal\csharp;%CD%\bin\ms\csharp;%CD%\bin\curl;%PATH% 
&lt;BR /&gt;SET GDAL_DATA=%CD%\bin\gdal-data 
&lt;BR /&gt;SET GDAL_DRIVER_PATH=%CD%\bin\gdal\plugins 
&lt;BR /&gt;SET PYTHONPATH=%CD%\bin\gdal\python\osgeo 
&lt;BR /&gt;SET PROJ_LIB=%CD%\bin\proj\SHARE 
&lt;BR /&gt;I am not sure if all these are required, could not find immediat more info on the gdal website, but never the less I these always have these in place. 
&lt;BR /&gt;So by creating a user or system environment variable for each of them helped me to get the OGR working. 
&lt;BR /&gt;1. is to add the followings paths to the existing PATH environment variable: 
&lt;BR /&gt;------------------------------------------------------------------------------------------ 
&lt;BR /&gt;Path_to_Gdal_install\bin;Path_to_Gdal_install\bin;Path_to_Gdal_install\bin\gdal\python\osgeo;Path_to_Gdal_install\bin\proj\apps;Path_to_Gdal_install\bin\gdal\apps;Path_to_Gdal_install\bin\ms\apps;Path_to_Gdal_install\bin\gdal\csharp;Path_to_Gdal_install\bin\ms\csharp;Path_to_Gdal_install\bin\curl; 
&lt;BR /&gt;2. create a new environment variable GDAL_DATA: 
&lt;BR /&gt;------------------------------------------------------------ 
&lt;BR /&gt;value: Path_to_Gdal_install\bin\gdal-data 
&lt;BR /&gt;3. create a new environment variable GDAL_DRIVER_PATH: 
&lt;BR /&gt;------------------------------------------------------------ 
&lt;BR /&gt;value: Path_to_Gdal_install\bin\gdal\plugins 
&lt;BR /&gt; 
&lt;BR /&gt;4. create a new environment variable PROJ_LIB: 
&lt;BR /&gt;------------------------------------------------------------ 
&lt;BR /&gt;value: Path_to_Gdal_install\bin\proj\SHARE 
&lt;BR /&gt;5. create a new environment variable PYTHONPATH: 
&lt;BR /&gt;------------------------------------------------------------ 
&lt;BR /&gt;value: Path_to_Gdal_install\bin\gdal\python\osgeo 
&lt;BR /&gt; 
&lt;BR /&gt;And additionally, as you already explained in your first reply: 
&lt;BR /&gt;In 'Advanced Settings' of the run job tab, and add JVM settings 
&lt;BR /&gt;-Djava.library.path="Path_to_Gdal_install/bin/gdal/java;" 
&lt;BR /&gt;for example: 
&lt;BR /&gt;Djava.library.path="D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/gdal/java;" 
&lt;BR /&gt;I hope this helps. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Luc</description>
      <pubDate>Wed, 19 Oct 2011 11:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246414#M31943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T11:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246415#M31944</link>
      <description>Hello,
&lt;BR /&gt;Thanks to Luc and fx I find a way to setup GDAL lib in Talend. I will add all documentation I wrote in the github repository this afternoon.
&lt;BR /&gt;@Luc: add "Djava.library.path="D:/GdalOgr/release-1600-x64-gdal-1-8-mapserver-6-0/bin/gdal/java;"" was not useful for me, are you sure you need it?
&lt;BR /&gt;Y.</description>
      <pubDate>Wed, 16 Jan 2013 13:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246415#M31944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-16T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246416#M31945</link>
      <description>Hello,&lt;BR /&gt;See &lt;A href="https://github.com/talend-spatial/talend-spatial/blob/master/doc/include/en/installation.rst" rel="nofollow noopener noreferrer"&gt;https://github.com/talend-spatial/talend-spatial/blob/master/doc/include/en/installation.rst&lt;/A&gt; for a documentation about this.&lt;BR /&gt;Y.</description>
      <pubDate>Wed, 16 Jan 2013 13:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246416#M31945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-16T13:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDI sOGRInput no ogrjni in java.library.path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246417#M31946</link>
      <description>Plz give me detail instruction to set to path</description>
      <pubDate>Wed, 06 Aug 2014 07:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SDI-sOGRInput-no-ogrjni-in-java-library-path/m-p/2246417#M31946</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-06T07:59:06Z</dc:date>
    </item>
  </channel>
</rss>

