<?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: Error exporting postgis table to shapfile in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265390#M44944</link>
    <description>Hi Jérôme, 
&lt;BR /&gt;You can not handle Geometric objects with tPostgreSQL* components. 
&lt;BR /&gt;Indeed, you should use sPostgis* components to handle geometry columns in SDI 1.2.0. 
&lt;BR /&gt;In the new upcoming release, the 1.3.0, you will be able to use tPostgreSQL* components using the "Geometry" type for your geometry columns. 
&lt;BR /&gt;So for now, you will have to wait until 1.3.0 or to switch to sPostgis* components. 
&lt;BR /&gt;FYI, the 1.3.0 release is coming very soon! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;Mathieu</description>
    <pubDate>Mon, 27 Oct 2008 12:46:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-27T12:46:54Z</dc:date>
    <item>
      <title>Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265386#M44940</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;when i run my job, i have this message :&lt;BR /&gt;Starting job PG_TO_SHP at 14:04 24/10/2008.&lt;BR /&gt; connecting to socket on port 4801&lt;BR /&gt; connected&lt;BR /&gt;Exception in component sShapefileOutput_1_SO&lt;BR /&gt;java.lang.IndexOutOfBoundsException: Index: 1, Size: 0&lt;BR /&gt; at java.util.ArrayList.add(Unknown Source)&lt;BR /&gt; at org.geotools.feature.DefaultFeatureTypeFactory.add(DefaultFeatureTypeFactory.java:43)&lt;BR /&gt; at org.geotools.feature.FeatureTypeBuilder.addType(FeatureTypeBuilder.java:392)&lt;BR /&gt; at testpg.pg_to_shp.PG_TO_SHP.sPostgisInput_1_PGProcess(PG_TO_SHP.java:410)&lt;BR /&gt; at testpg.pg_to_shp.PG_TO_SHP$1.run(PG_TO_SHP.java:1174)&lt;BR /&gt;java.lang.IndexOutOfBoundsException: Index: 1, Size: 0&lt;BR /&gt; at java.util.ArrayList.add(Unknown Source)&lt;BR /&gt; at org.geotools.feature.DefaultFeatureTypeFactory.add(DefaultFeatureTypeFactory.java:43)&lt;BR /&gt; at org.geotools.feature.FeatureTypeBuilder.addType(FeatureTypeBuilder.java:392)&lt;BR /&gt; at testpg.pg_to_shp.PG_TO_SHP.sPostgisInput_1_PGProcess(PG_TO_SHP.java:410)&lt;BR /&gt; at testpg.pg_to_shp.PG_TO_SHP$1.run(PG_TO_SHP.java:1174)&lt;BR /&gt;1391 milliseconds&lt;BR /&gt; disconnected&lt;BR /&gt;Job PG_TO_SHP ended at 14:04 24/10/2008. &lt;BR /&gt;i need some helps to resolve this error.&lt;BR /&gt;Regards,&lt;BR /&gt;Jérôme Rolland&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265386#M44940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265387#M44941</link>
      <description>Hi Jérôme, hum still quite hard to figure out what's wrong with only this message.&lt;BR /&gt;Could you make a first test: connect your postgres input component to a tLogRow component and see what happens ? tLogRow output everything in the run job console. If that's ok, then it's a problem on the output one.&lt;BR /&gt;HTH.&lt;BR /&gt;Francois</description>
      <pubDate>Mon, 27 Oct 2008 07:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265387#M44941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-27T07:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265388#M44942</link>
      <description>Hi francois,&lt;BR /&gt;Like you preconize i tested with tLogRow, it's ok&lt;BR /&gt;two screenshot  with no errors and a third with errors&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Jérôme</description>
      <pubDate>Mon, 27 Oct 2008 10:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265388#M44942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-27T10:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265389#M44943</link>
      <description>Hi francois, 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; All the screenshots now : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;regards,</description>
      <pubDate>Mon, 27 Oct 2008 10:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265389#M44943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-27T10:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265390#M44944</link>
      <description>Hi Jérôme, 
&lt;BR /&gt;You can not handle Geometric objects with tPostgreSQL* components. 
&lt;BR /&gt;Indeed, you should use sPostgis* components to handle geometry columns in SDI 1.2.0. 
&lt;BR /&gt;In the new upcoming release, the 1.3.0, you will be able to use tPostgreSQL* components using the "Geometry" type for your geometry columns. 
&lt;BR /&gt;So for now, you will have to wait until 1.3.0 or to switch to sPostgis* components. 
&lt;BR /&gt;FYI, the 1.3.0 release is coming very soon! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;Mathieu</description>
      <pubDate>Mon, 27 Oct 2008 12:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265390#M44944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-27T12:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265391#M44945</link>
      <description>Hi Mathieu, 
&lt;BR /&gt;Thanks for your help, 
&lt;BR /&gt;indeed, if I use the sPostgisInput component in the place of tPostgresInput component, 
&lt;BR /&gt;the shapefile is created. 
&lt;BR /&gt; 
&lt;U&gt;But for this, i must specify that my geometry field (&lt;B&gt;wkb_geometry&lt;/B&gt;) is an &lt;I&gt;object type&lt;/I&gt; in the place of an &lt;I&gt;string type&lt;/I&gt;&lt;/U&gt;. 
&lt;BR /&gt;It is the Retrieve Shema command that initialize my geometry field like an 
&lt;I&gt;string type&lt;/I&gt;, why not 
&lt;BR /&gt;like an 
&lt;I&gt;object type&lt;/I&gt; ? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; I am impatient to test the 1.3.0 release... 
&lt;BR /&gt;regards,</description>
      <pubDate>Mon, 27 Oct 2008 13:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265391#M44945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-27T13:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265392#M44946</link>
      <description>Hello, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;U&gt;But for this, i must specify that my geometry field (&lt;B&gt;wkb_geometry&lt;/B&gt;) is an &lt;I&gt;object type&lt;/I&gt; in the place of an &lt;I&gt;string type&lt;/I&gt;&lt;/U&gt;.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yep in SDI 1.2 **ALL** Geometry should be define as a "the_geom" column name of type "Object". Object is a generic Talend Type useful to do more or less everything :/. That's why in 1.3, we added a new Talend type called "Geometry" which has to be used for all your geometry columns. 
&lt;BR /&gt;Columns names are not important. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;It is the Retrieve Shema command that initialize my geometry field like an &lt;I&gt;string type&lt;/I&gt;, why not &lt;BR /&gt;like an &lt;I&gt;object type&lt;/I&gt; ?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;That point also changed in SDI 1.3 as we defined how to map a postgres geometry type to a Talend geometry type and should be supported in all metadata discovery wizard in Talend. Test and comments are welcomed. If you found any side effects on classical Talend component do not hesitate to post on the forum in order to check that this new Geometry type is not causing trouble in more generic talend process. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; I am impatient to test the 1.3.0 release...&lt;BR /&gt;regards,&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Go online 
&lt;A href="http://spatialdataintegrator.org" rel="nofollow noopener noreferrer"&gt;http://spatialdataintegrator.org&lt;/A&gt; 
&lt;BR /&gt;Cheers. 
&lt;BR /&gt;Francois</description>
      <pubDate>Tue, 28 Oct 2008 10:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265392#M44946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-28T10:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting postgis table to shapfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265393#M44947</link>
      <description>Hi francois, 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; i had downloaded the new version, 
&lt;BR /&gt;and indeed version 1.3.0 brings the solution to the points evoked previously. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards,</description>
      <pubDate>Tue, 28 Oct 2008 13:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-exporting-postgis-table-to-shapfile/m-p/2265393#M44947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-28T13:39:07Z</dc:date>
    </item>
  </channel>
</rss>

