<?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] How to insert row in PostgreSQL using ST_GeographyFromText - Postgis? in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397502#M8666</link>
    <description>Hi all,&amp;nbsp; 
&lt;BR /&gt;I have a job like two pictures below. 
&lt;BR /&gt;I have : 
&lt;BR /&gt;+ input: excel file (id, longitude, latitude) 
&lt;BR /&gt;+ output: postgresql's table (id , location ) and data type of " 
&lt;B&gt;location"&lt;/B&gt;column is " 
&lt;B&gt;geometry"&lt;/B&gt; 
&lt;BR /&gt;When inserting new record &amp;nbsp;I have to call function " 
&lt;B&gt;ST_GeographyFromText&lt;/B&gt;" 
&lt;I&gt;&lt;B&gt;in database&lt;/B&gt;&lt;/I&gt; ( ex:&amp;nbsp;INSERT INTO out_put_table VALUES (1,ST_GeographyFromText('POINT(106.667010 10.776100)')::geometry); &amp;nbsp;) 
&lt;BR /&gt;My question: can I call function "ST_GeographyFromText" in 
&lt;B&gt;tmap&lt;/B&gt; (when mapping data) ? if not, could you give me several solutions ? 
&lt;BR /&gt;I reviewed: tPostgresqlSP, tPostgresqlRow component (but I think It can not use in this scenario) 
&lt;BR /&gt;Many thanks. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB92.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143327iB9FE6AFA9CB78513/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB92.png" alt="0683p000009MB92.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB6I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155827i807EAC3F18A73707/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB6I.png" alt="0683p000009MB6I.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:28:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:28:26Z</dc:date>
    <item>
      <title>[resolved] How to insert row in PostgreSQL using ST_GeographyFromText - Postgis?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397502#M8666</link>
      <description>Hi all,&amp;nbsp; 
&lt;BR /&gt;I have a job like two pictures below. 
&lt;BR /&gt;I have : 
&lt;BR /&gt;+ input: excel file (id, longitude, latitude) 
&lt;BR /&gt;+ output: postgresql's table (id , location ) and data type of " 
&lt;B&gt;location"&lt;/B&gt;column is " 
&lt;B&gt;geometry"&lt;/B&gt; 
&lt;BR /&gt;When inserting new record &amp;nbsp;I have to call function " 
&lt;B&gt;ST_GeographyFromText&lt;/B&gt;" 
&lt;I&gt;&lt;B&gt;in database&lt;/B&gt;&lt;/I&gt; ( ex:&amp;nbsp;INSERT INTO out_put_table VALUES (1,ST_GeographyFromText('POINT(106.667010 10.776100)')::geometry); &amp;nbsp;) 
&lt;BR /&gt;My question: can I call function "ST_GeographyFromText" in 
&lt;B&gt;tmap&lt;/B&gt; (when mapping data) ? if not, could you give me several solutions ? 
&lt;BR /&gt;I reviewed: tPostgresqlSP, tPostgresqlRow component (but I think It can not use in this scenario) 
&lt;BR /&gt;Many thanks. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB92.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143327iB9FE6AFA9CB78513/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB92.png" alt="0683p000009MB92.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB6I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155827i807EAC3F18A73707/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB6I.png" alt="0683p000009MB6I.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397502#M8666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to insert row in PostgreSQL using ST_GeographyFromText - Postgis?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397503#M8667</link>
      <description>I resolved by using tPostgresqlRow (do not use tMap)&amp;nbsp;
&lt;BR /&gt;t_connection &amp;nbsp;&amp;nbsp;------(subjob ok)------ t_excel_input &amp;nbsp;------(main)------ t_PostgresqlRow &amp;nbsp;------(subjob ok)------ t_PostgresqlCommit
&lt;BR /&gt;t_PostgressqlRow query (basic setting) : "insert into out_put_value (id, location) values (" + row1.id + "," + "ST_GeographyFromText(" + " ' " + "POINT(" + row1.longitude + " " + row1.latitude + ")" + " ' " + ")::geometry" + " ) ;" 
&lt;BR /&gt;&amp;nbsp;Thanks for reading.</description>
      <pubDate>Fri, 10 Oct 2014 04:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397503#M8667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-10T04:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to insert row in PostgreSQL using ST_GeographyFromText - Postgis?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397504#M8668</link>
      <description>&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;hi mrjody,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;are you tested you solution ? how&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;t_PostgressqlRow&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp; can know row1.id?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Tanks.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 15 Oct 2014 12:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397504#M8668</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-10-15T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to insert row in PostgreSQL using ST_GeographyFromText - Postgis?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397505#M8669</link>
      <description>@nono1: yes, of course I tested. 
&lt;BR /&gt;t_excel_input component: it is refered to an excel file with three columns (id, longitude, latitude) 
&lt;BR /&gt;"How t_PostgresqlRow can know row1.id?" --&amp;gt; it depend on Talend mechanism. 
&lt;BR /&gt;You can read from:&amp;nbsp; 
&lt;BR /&gt;1/&amp;nbsp; 
&lt;A href="http://www.vikramtakkar.com/2013/05/example-to-execute-multiple-sql-queries.html" target="_blank" rel="nofollow noopener noreferrer"&gt;link 1&lt;/A&gt; 
&lt;BR /&gt;2/&amp;nbsp; 
&lt;A href="http://www.dataprix.net/en/blogs/respinosamilla/more-examples-talend-executing-sql-statements-constructed-runtime" target="_blank" rel="nofollow noopener noreferrer"&gt;link 2&lt;/A&gt; 
&lt;BR /&gt;Regard.</description>
      <pubDate>Tue, 21 Oct 2014 10:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/resolved-How-to-insert-row-in-PostgreSQL-using-ST/m-p/2397505#M8669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:51:36Z</dc:date>
    </item>
  </channel>
</rss>

