<?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: ST_Transform matching datums.... ? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606063#M16248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2011 20:48:32 GMT</pubDate>
    <dc:creator>CARLOSSARMIENTO</dc:creator>
    <dc:date>2011-03-31T20:48:32Z</dc:date>
    <item>
      <title>ST_Transform matching datums.... ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606062#M16247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ST_GEOMETRY to create points for old GPS data. The machines used NAD27 state plane VI (0406).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dataset for all of the rest of the data in the geodatabase is NAD83 state plane VI (0406). In comparing the strings for these two it looks like the datums do not match. So there is no way to translate as a 1:1 from one to the other. However... is there some magical projection I can use as an interim step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example of what I am trying to do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&amp;gt; column SR_NAME format A50&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&amp;gt; select srid,sr_name from sde.st_spatial_references;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRID SR_NAME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;---------- --------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 GCS_WGS_1984&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 NAD_1983_UTM_Zone_11N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 WGS_1984_UTM_Zone_11N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 NAD_1927_StatePlane_California_VI_FIPS_0406&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 NAD_1983_StatePlane_California_VI_FIPS_0406_Feet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&amp;gt; select sde.st_astext(sde.st_transform(sde.st_point('point(1 1)',0), 5) ) from dual ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE.ST_ASTEXT(SDE.ST_TRANSFORM(SDE.ST_POINT('POINT(11)',0),5))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EMPTY&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&amp;gt; select sde.st_astext(sde.st_transform(sde.st_point('point(1 1)',5), 0) ) from dual ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE.ST_ASTEXT(SDE.ST_TRANSFORM(SDE.ST_POINT('POINT(11)',5),0))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;POINT&amp;nbsp; ( -121.48874115 0.00000275)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now to use the projections I need: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&amp;gt; select sde.st_astext(sde.st_transform(sde.st_point('point(1 1)',2), 4) ) from dual ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-20603: Spatial References are not compatible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 788&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 2600&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any input on how to know when a projection datum matches might help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 19:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606062#M16247</guid>
      <dc:creator>RobRader</dc:creator>
      <dc:date>2010-06-24T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Transform matching datums.... ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606063#M16248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 20:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606063#M16248</guid>
      <dc:creator>CARLOSSARMIENTO</dc:creator>
      <dc:date>2011-03-31T20:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Transform matching datums.... ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606064#M16249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;State planes are extremely hard to work with. The limitation of ST_Transform to only be able to work with the same exact datum, meant it would not do what was needed in my case. I had to write an external tool for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of what will work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create one projection and a feature class with a single point in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create a second projection, exact same but shift the easting and northing by a couple of thousand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ST_TRANSFORM will then be able to shift the data for you to the new projection accounting for the new easting and northing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears to be extremely limited to this simple use case. If the datum is the same and the work to be completed by the tranform is more in line with a "data shift" you should work. They might want to rename it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- just noticed the esri icon next to my name. I used to be an employee, but now work for Telvent. So please do not take my comments as an official statement after 2009. All old posts were as an employee, but no longer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 14:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/st-transform-matching-datums/m-p/606064#M16249</guid>
      <dc:creator>RobRader</dc:creator>
      <dc:date>2011-04-01T14:19:30Z</dc:date>
    </item>
  </channel>
</rss>

