<?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: [Postgres+SDE] ST_Transform with different spatial references in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625614#M35374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not familiar with a way to automate the re projection process with SQL.&amp;nbsp; The project tool is available with the arcpy python library if you need to automate the process.&amp;nbsp; There is a python sample contained in the 10.3 documentation.&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/project.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/project.htm"&gt;Project—Help | ArcGIS for Desktop&lt;/A&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 16:07:44 GMT</pubDate>
    <dc:creator>CarrieDavis</dc:creator>
    <dc:date>2015-04-08T16:07:44Z</dc:date>
    <item>
      <title>[Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625603#M35363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3 style="margin-bottom: 0.2em; font-size: 14px; font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Hi everyone, I need help !!&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm under PostgreSQL with ArcSDE and I have to reproject a data from WGS84 to RGF93 (French system with a different geographic coordinate system than WGS84)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is maybe here : &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/na/006z0000009s000000/" title="http://resources.arcgis.com/en/help/main/10.2/index.html#/na/006z0000009s000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; ​&lt;/P&gt;&lt;P&gt;But on this page, there is no explanation for my problem with PostgreSQL ?!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone has a solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot for answers !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 12:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625603#M35363</guid>
      <dc:creator>FlorianCADOZ</dc:creator>
      <dc:date>2015-04-03T12:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625604#M35364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible to reproject using the Project tool in ArcGIS Desktop.&amp;nbsp; You will need to establish a data connection with your Postgres (sde) or POSTGIS database and select to use a Geographic Transformation such as RGF_1993_To_WGS_1984_1 to transform the data from WGS94 to GCS_RGF_1993.&amp;nbsp; Transformations are available out of the box and there is a list of options for RGF93 under Projected Coordinate Systems &amp;gt; National Grids &amp;gt; France.&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000007m000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000007m000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt;&amp;nbsp; This process will require you to write to a new feature class to update the xy values.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ProjectTool.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/82567_ProjectTool.JPG" style="width: 620px; height: 352px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625604#M35364</guid>
      <dc:creator>CarrieDavis</dc:creator>
      <dc:date>2015-04-06T20:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625605#M35365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carrie,&lt;/P&gt;&lt;P&gt;Thx for your answer but I need to project from WGS84 (SRID : 4326) to GCS_RGF_1993 (SRID : 2154)...not form 2154 to 4326... And in ArcGIS, this projection is more difficult because the transformation is :&lt;/P&gt;&lt;P&gt;WGS_1984_To_NTF_NTv2 + NTF_To_RGF_1993_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, I'm using an ETL for scheduling some SQL Queries, those queries are launched from this ETL into an SDE database under postgres. That's why I'm not searching for an answer with ArcGIS but with ArcSDE and the ST_Transform query ! BUT, this query doesn't work under postgres for source and destination spatial references do not have the same geographic coordinate system...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS, for this problem, the transformation used is WGS_1984_To_NTF_NTv2 + NTF_To_RGF_1993_1 but I don't know how to use it with ArcSDE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot for your answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625605#M35365</guid>
      <dc:creator>FazertyCazerty</dc:creator>
      <dc:date>2015-04-07T07:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625606#M35366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a so called "composite" transform, a sort of 2 stage process. And this will work using the project tool.&lt;/P&gt;&lt;P&gt;But sometimes, Arc makes some strange guesses as to correct composites.&lt;/P&gt;&lt;P&gt;But as you want this to happen in Postgres...&lt;/P&gt;&lt;P&gt;A quick check of the book (geographic_tansformations.pdf, in the documentation folder of the install), says there is a direct way to go from WGS84 to RGF_1993, it has WKID (I presume this is the same as a SRID) of 1671.&lt;/P&gt;&lt;P&gt;But looking at the parameters for this, they are all 0 (zero). So RGF is already "functionally" equivalent. They are the same.&lt;/P&gt;&lt;P&gt;So you may not have to do anything to your data, to get them to overlay properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625606#M35366</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-04-07T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625607#M35367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your anwser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already take a look into the geographic_transformations_10.1.pdf (didn't find the 10.3 version), and the transformation with the WKID 1671 is for RGF_1993_To_WGS_1984_1...me I need to go from WGS84 to RGF93 !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I'm not sure that I can specify a geogtrans_id (WKID) with Postgres...It's said there : &lt;A href="http://resources.arcgis.com/fr/help/main/10.2/index.html#/na/006z0000009s000000/" title="http://resources.arcgis.com/fr/help/main/10.2/index.html#/na/006z0000009s000000/"&gt;Aide ArcGIS (10.2, 10.2.1 et 10.2.2)&lt;/A&gt; (Take a look on the second sample)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe it's okay for the overlay but I need to put everything in L93 for the consistency of my database !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625607#M35367</guid>
      <dc:creator>FazertyCazerty</dc:creator>
      <dc:date>2015-04-07T14:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625608#M35368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian,&lt;/P&gt;&lt;P&gt;that's the name of it. Arc ( and I would hope SDE) knows how to use them backwards and forwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625608#M35368</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-04-07T14:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625609#M35369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, if they are "functionally equivalent", ie they overlay. Just redefine the WGS84 based data to be RGF. No transform is necessary anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625609#M35369</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-04-07T14:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625610#M35370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah but the problem is the same :&lt;/P&gt;&lt;P&gt;Under Postgres : No transformation available when source and destination spatial references do not have the same geographic coordinate system...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 15:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625610#M35370</guid>
      <dc:creator>FazertyCazerty</dc:creator>
      <dc:date>2015-04-07T15:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625611#M35371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I should use an SDE fonction like set SRID 2154 on every 4326 data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 15:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625611#M35371</guid>
      <dc:creator>FazertyCazerty</dc:creator>
      <dc:date>2015-04-07T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625612#M35372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would look at the data first!&lt;/P&gt;&lt;P&gt;Does it make sense? Does it (the WGS84 based data) overlay nicely with other RGF defined data?&lt;/P&gt;&lt;P&gt;And, I thought the WKID / SRID was 1671.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 15:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625612#M35372</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-04-07T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625613#M35373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears as though you're using an SDE geodatabase within PostgreSQL. Please correct me if I'm wrong. If you are, using the ST_TRANSFORM is not recommended, as it does not update all of the required SDE repository tables. To correctly change the spatial references, you should use tools available within ArcGIS Desktop to accomplish that task. Please see the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST_TRANSFORM&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/manage-data/using-sql-with-gdbs/st-transform.htm" title="http://desktop.arcgis.com/en/desktop/latest/manage-data/using-sql-with-gdbs/st-transform.htm"&gt;ST_Transform—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:01:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625613#M35373</guid>
      <dc:creator>StevenEmbree_II</dc:creator>
      <dc:date>2015-04-07T23:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625614#M35374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not familiar with a way to automate the re projection process with SQL.&amp;nbsp; The project tool is available with the arcpy python library if you need to automate the process.&amp;nbsp; There is a python sample contained in the 10.3 documentation.&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/project.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/project.htm"&gt;Project—Help | ArcGIS for Desktop&lt;/A&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625614#M35374</guid>
      <dc:creator>CarrieDavis</dc:creator>
      <dc:date>2015-04-08T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625615#M35375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Neil Ayres :&lt;/P&gt;&lt;P&gt;No it doesn't overlay because : the origin data are lon/lat in WGS84 (SRID : 4326), my database is in L93 (SRID : 2154) and I would like to inject the origin data (in WGS84) into a layer (in L93), so yes it makes sense to reproject the lon/lat from WGS84 (SRID : 4326) to L93 (SRID : 2154), maybe with a transformation like WGS84_1984_To_RGF_1993 or the transformation used in ArcGIS which is WGS_1984_To_NTF_NTv2+NTF_To_RGF_1993_1 but certainly not RGF_1993_To_WGS_1984 (SRID-transformation : 1671) because if for reproject from WGS84 to RGF93, i'm not sure that if the 1671-transformation worked, ArcMap would prefer to use the WGS_1984_To_NTF_NTv2+NTF_To_RGF_1993_1 transformation rather than the RGF_1993_To_WGS_1984 which looks simpler...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Steven Embree II :&lt;/P&gt;&lt;P&gt;Yes I'm using ArcSDE within Postgresql, but I have to use the SQL/SDE queries without using ArcMap because my goal is to schedulling some tasks like : Creating point from lon/lat WGS84 data --&amp;gt; Reprojecting it in L93 --&amp;gt; Insert it into my sde/PG database...&lt;/P&gt;&lt;P&gt;I don't understand you're message, are you telling me that the sde queries malfunction ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Carrie Davis :&lt;/P&gt;&lt;P&gt;No my script is in Java and it lunch some queries in XPath and SQL sometimes, on the other side, I really don't know Python and I really would like to do this in SQL...&lt;/P&gt;&lt;P&gt;Is it me or this transformation is not possible in SQL with the sde.st_transform under Postgres ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx everyone for your reponses&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625615#M35375</guid>
      <dc:creator>FazertyCazerty</dc:creator>
      <dc:date>2015-04-09T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: [Postgres+SDE] ST_Transform with different spatial references</title>
      <link>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625616#M35376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct.&amp;nbsp; Applying a transformation is not possible with the ST_transform.&amp;nbsp; Sorry to inform you that this would limit your ability to do this re-project in SQL.&amp;nbsp; There is a Java API but this is not my expertise.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/api-reference/" title="https://developers.arcgis.com/java/api-reference/"&gt;ArcGIS Runtime for Java 10.2.4 API Reference&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 18:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgres-sde-st-transform-with-different-spatial/m-p/625616#M35376</guid>
      <dc:creator>CarrieDavis</dc:creator>
      <dc:date>2015-04-09T18:22:59Z</dc:date>
    </item>
  </channel>
</rss>

