<?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 [resolved] SRID is not set properly with tPostgresqlOutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235092#M24232</link>
    <description>&lt;P&gt;hello,&lt;BR /&gt;I have a job which read a csv file and insert all lines in a postgreSQL 9.1.8 + postgis 2.0 database.&lt;BR /&gt;First I used component sPostgisOutput to do the job. It worked pretty well but there was an issue which annoyed me : sPostGisOutput drop table before to recreate it. The problem is that I have a date column in csv file which must be insert in a timestamp column of the postgres table. But Talend doesn't support timestamp, so when postgis drop table, it recreate a table with date column instead of timestamp column.&lt;BR /&gt;I found that tPostgresOutput could handle Geometry type now. So I tried to replace sPostgis component with tPostgresOutput component, but there are none lines insert in database. I have this error instead :&lt;BR /&gt;"L'élément du batch 0 INSERT INTO "public"."t_measure" ("id","irsn_id","name","date_measure","value_measure","average_measure","valid","the_geom","validation") VALUES (0,1336,AGEN-IRSN - 47 ,2012-11-27 18:40:41.000000 +01:00:00,87.8,90.6179,0,GeomFromText(POINT (0.6347733736038208 44.216209411621094), 0),Validé) a été annulé. Appeler getNextException pour en connaître la cause."&lt;BR /&gt;With PgAdmin III, I found that insert doesn't work because SRID set is 0 instead of 4326.&lt;BR /&gt;But in my job, s2DPointReplacer output is with SRID "EPSG:4326" as well.&lt;BR /&gt;So I don't understand where is my mistake. &lt;BR /&gt;Do I missed some tPostgresOutput configuration?&lt;BR /&gt;Should I use sPostGis instead and find a way to have my timestamp as well? &lt;BR /&gt;Any advice will be appreciate.&lt;BR /&gt;Thanks.&lt;BR /&gt;PS : I'm very newby with Talend...&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAGu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157537i073D7159F9F7EECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAGu.jpg" alt="0683p000009MAGu.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 12:05:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:05:23Z</dc:date>
    <item>
      <title>[resolved] SRID is not set properly with tPostgresqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235092#M24232</link>
      <description>&lt;P&gt;hello,&lt;BR /&gt;I have a job which read a csv file and insert all lines in a postgreSQL 9.1.8 + postgis 2.0 database.&lt;BR /&gt;First I used component sPostgisOutput to do the job. It worked pretty well but there was an issue which annoyed me : sPostGisOutput drop table before to recreate it. The problem is that I have a date column in csv file which must be insert in a timestamp column of the postgres table. But Talend doesn't support timestamp, so when postgis drop table, it recreate a table with date column instead of timestamp column.&lt;BR /&gt;I found that tPostgresOutput could handle Geometry type now. So I tried to replace sPostgis component with tPostgresOutput component, but there are none lines insert in database. I have this error instead :&lt;BR /&gt;"L'élément du batch 0 INSERT INTO "public"."t_measure" ("id","irsn_id","name","date_measure","value_measure","average_measure","valid","the_geom","validation") VALUES (0,1336,AGEN-IRSN - 47 ,2012-11-27 18:40:41.000000 +01:00:00,87.8,90.6179,0,GeomFromText(POINT (0.6347733736038208 44.216209411621094), 0),Validé) a été annulé. Appeler getNextException pour en connaître la cause."&lt;BR /&gt;With PgAdmin III, I found that insert doesn't work because SRID set is 0 instead of 4326.&lt;BR /&gt;But in my job, s2DPointReplacer output is with SRID "EPSG:4326" as well.&lt;BR /&gt;So I don't understand where is my mistake. &lt;BR /&gt;Do I missed some tPostgresOutput configuration?&lt;BR /&gt;Should I use sPostGis instead and find a way to have my timestamp as well? &lt;BR /&gt;Any advice will be appreciate.&lt;BR /&gt;Thanks.&lt;BR /&gt;PS : I'm very newby with Talend...&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAGu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157537i073D7159F9F7EECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAGu.jpg" alt="0683p000009MAGu.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235092#M24232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SRID is not set properly with tPostgresqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235093#M24233</link>
      <description>Hi,
&lt;BR /&gt;The problem evolved a little. 
&lt;BR /&gt;Now, I set the RFID with sProj, but I always have the error :
&lt;BR /&gt;"L'élément du batch 0 INSERT INTO "public"."t_measure" (,"the_geom") VALUES (,GeomFromText(POINT (0.6347733736038208 44.216209411621094), 4326)) a été annulé. Appeler getNextException pour en connaître la cause."
&lt;BR /&gt;In debug mode, I saw that query generated is 
&lt;BR /&gt;INSERT INTO "public"."t_measure" (,"the_geom") VALUES (,GeomFromText(POINT (0.6347733736038208 44.216209411621094));
&lt;BR /&gt;So the problem is that tPostgresqlOutput didn't set simple quote arround POINT like this :
&lt;BR /&gt;INSERT INTO "public"."t_measure" (,"the_geom") VALUES (,GeomFromText('POINT (0.6347733736038208 44.216209411621094)'); 
&lt;BR /&gt;Is this a bug of tPostgresqlOutput ?
&lt;BR /&gt;If not, what I missed to get it work ?
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 11 Mar 2013 09:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235093#M24233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T09:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SRID is not set properly with tPostgresqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235094#M24234</link>
      <description>Finally I solved the problem by using tPostgresqlRow instead of tPostgresqlOutput.&lt;BR /&gt;I create my SQL insert manually after a tFlowToIterate.</description>
      <pubDate>Mon, 11 Mar 2013 14:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235094#M24234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SRID is not set properly with tPostgresqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235095#M24235</link>
      <description>Hi mpellerin
&lt;BR /&gt;I am facing the same issue. Did you find a working solution with tPostgresqlOutput in the meantime?
&lt;BR /&gt;I am very happy if you could attach a screenshot of your working job with tPostgresqlRow.
&lt;BR /&gt;Many thanks in advance.
&lt;BR /&gt;Best regards,
&lt;BR /&gt; Christoph</description>
      <pubDate>Thu, 02 May 2013 12:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235095#M24235</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-05-02T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SRID is not set properly with tPostgresqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235096#M24236</link>
      <description>(suzuki takayuki)???????????????????????????????????????????????????????????????CAY(??)?2013?10?29?(?)??31?(?)????3?????????????10?31?(?)????????? 2014????????????????????????????????31???????????????CAY?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????OLAibi(????)??????????????????????CINEMA dub MONKS????????????4??????CINEMA dub MONKS?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????……???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????&amp;nbsp;??????????????????????????????????????????????????????????????????????????????????????????????????2014????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????″????????″?????????????????????(????????)?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="http://corpgolf.com/golfwear/tbnew/toryb030.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ??????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.fredtravels.com/shadowbox/gallery/mustang/tbnew/toryb177.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.huidabj.com/Image/tbnew/toryb112.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.jdzzls.com/video/tbnew/toryb018.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ??&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://corpgolf.com/golfwear/tbnew/toryb079.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.kojimacm.com/wcs/_notes/tbnew/toryb167.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ??????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.huidabj.com/Image/tbnew/toryb033.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;??????????????????????????????????????????????????????????????????????????????????? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.kojimacm.com/wcs/_notes/tbnew/toryb163.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://corpgolf.com/golfwear/tbnew/toryb150.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.kojimacm.com/wcs/_notes/tbnew/toryb092.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ??&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://exploreway.net/styles/tbnew/toryb062.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ?? ???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://exploreway.net/styles/tbnew/toryb168.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? iphone???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.huidabj.com/Image/tbnew/toryb133.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ?????&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://corpgolf.com/golfwear/tbnew/toryb035.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ???&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.jdzzls.com/video/tbnew/toryb016.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;?????? ?? ??&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="http://atecourier.com/newss/tbnew/toryb038.htm" rel="nofollow noopener noreferrer"&gt;?????? ??? ??&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://corpgolf.com/golfwear/tbnew/toryb164.htm" rel="nofollow noopener noreferrer"&gt;?????? ? ??&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;tory bank jp</description>
      <pubDate>Thu, 22 May 2014 04:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SRID-is-not-set-properly-with-tPostgresqlOutput/m-p/2235096#M24236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T04:39:21Z</dc:date>
    </item>
  </channel>
</rss>

