<?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 SDE.ST_TRANSFORM ERROR in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-st-transform-error/m-p/237348#M9124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get the following error when trying to transform points stored in ST_GEOMETRY EPSG 32198 into WGS 84 EPSG 4326:&lt;/SPAN&gt;&lt;BR /&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 720&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 2623&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All our data is stored in EPSG 32198 and according to spatialreference.org (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://spatialreference.org/ref/epsg/32198/prettywkt/" rel="nofollow" target="_blank"&gt;http://spatialreference.org/ref/epsg/32198/prettywkt/&lt;/A&gt;&lt;SPAN&gt;) this projection is based on datum NAD83 ESPG 4269.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like ST_TRANSFORM is having a hard time to convert NAD 83 EPSG 4269 based projection (like 32198) into WGS 84 EPSG 4326. Which I believe to be a very simple task for any GIS software. The conversion between them, at least in North America should be straight forward. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weird isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The work around I found was to use NAD 83 EPSG 4269.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.st_x(sde.st_transform(a.SHAPE,4269)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.st_Y(sde.st_transform(a.shape,4269)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it worked!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this can help someone!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 13:16:28 GMT</pubDate>
    <dc:creator>Jean-BernardGariépy</dc:creator>
    <dc:date>2013-02-19T13:16:28Z</dc:date>
    <item>
      <title>SDE.ST_TRANSFORM ERROR</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-st-transform-error/m-p/237348#M9124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get the following error when trying to transform points stored in ST_GEOMETRY EPSG 32198 into WGS 84 EPSG 4326:&lt;/SPAN&gt;&lt;BR /&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 720&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 2623&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All our data is stored in EPSG 32198 and according to spatialreference.org (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://spatialreference.org/ref/epsg/32198/prettywkt/" rel="nofollow" target="_blank"&gt;http://spatialreference.org/ref/epsg/32198/prettywkt/&lt;/A&gt;&lt;SPAN&gt;) this projection is based on datum NAD83 ESPG 4269.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like ST_TRANSFORM is having a hard time to convert NAD 83 EPSG 4269 based projection (like 32198) into WGS 84 EPSG 4326. Which I believe to be a very simple task for any GIS software. The conversion between them, at least in North America should be straight forward. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weird isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The work around I found was to use NAD 83 EPSG 4269.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.st_x(sde.st_transform(a.SHAPE,4269)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.st_Y(sde.st_transform(a.shape,4269)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it worked!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this can help someone!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 13:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-st-transform-error/m-p/237348#M9124</guid>
      <dc:creator>Jean-BernardGariépy</dc:creator>
      <dc:date>2013-02-19T13:16:28Z</dc:date>
    </item>
  </channel>
</rss>

