<?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: Error using sde.ST_INTERSECTION in Oracle in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578344#M32749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd contact Tech Support (after installing 10.1sp1 and all relevant patches).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 11:35:04 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-10-22T11:35:04Z</dc:date>
    <item>
      <title>Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578339#M32744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have Arc 10.1 SDE geodatabase install in Oracle 11g.&amp;nbsp; I have two feature classes created with ST geometry.&amp;nbsp; I have the following select statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; SELECT nfslandunitid,nfslandunittype,nffid,nfslandunitname,'Alabama',region,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sde.ST_INTERSECTION(ru.shape,st.shape)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; FROM EDW_ALPGPU_ST st, edw_nfslandunit_st ru&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; WHERE ru.objectid = 270&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; AND st.objectid = 3666;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[1]: ORA-06530: Reference to uninitialized composite&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[1]: ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 3108&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[1]: ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 2463&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have an idea what is going on?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 16:30:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578339#M32744</guid>
      <dc:creator>DavidO_Hara</dc:creator>
      <dc:date>2013-08-20T16:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578340#M32745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess you may be running in the same configuration issues Vince pointed out in &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/90785-ST_AsText-returns-quot-ORA-20006-Error-generating-text-from-shape-%28-1%29-quot"&gt;this thread&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the reference Vince pointed out in that other thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39119"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/39119&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And see this 10.1 Help page for how to solve this (configuration needed on your Oracle database server):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002n00000091000000"&gt;Configuring the Oracle extproc to access the geodatabase with SQL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You essentially need to "tell" Oracle that there are additional (ESRI) libraries it can use to access the SQL functions specific for ST_Geometry. If you don't do this, you will still be able to use ST_Geometry in your database, but not all of the spatial functions like the ST_INTERSECTION you attempted to use, as Oracle will not have knowledge of what to do with these statements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 09:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578340#M32745</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-08-21T09:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578341#M32746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You really need to contact Tech Support.&amp;nbsp; Upgrading to the terminal SP wouldn't hurt either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 18:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578341#M32746</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-21T18:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578342#M32747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Who solved the problem, seek help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 06:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578342#M32747</guid>
      <dc:creator>xuexiaolong</dc:creator>
      <dc:date>2013-10-22T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578343#M32748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You really need to contact Tech Support.&amp;nbsp; Upgrading to the terminal SP wouldn't hurt either.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how to solve this problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 06:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578343#M32748</guid>
      <dc:creator>xuexiaolong</dc:creator>
      <dc:date>2013-10-22T06:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578344#M32749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd contact Tech Support (after installing 10.1sp1 and all relevant patches).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 11:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578344#M32749</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-10-22T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578345#M32750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was getting this same error when using ST_INTERSECTION, turns out the datasets had a different spatial reference.&amp;nbsp; Both datasets had the same coordinate system according to ArcCatalog, but when queried with ST_SRID I was getting different numbers.&amp;nbsp; ST_INTERSECTS did not have a problem with the discrepancy, but ST_INTERSECTION did.&amp;nbsp; Adding ST_TRANSFORM to get the numbers matching seems to have solved the problem.&amp;nbsp; Hope this helps somebody in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 18:05:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578345#M32750</guid>
      <dc:creator>RyanLuedey</dc:creator>
      <dc:date>2014-05-30T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578346#M32751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This appears to be the following issue under investigation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMTAxNDYx"&gt;NIM101461: When feature classes with different SRIDs are used in an ST_intersection query, it fails with the message 'ORA-06530: Reference to uninitialized composite.' &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is to use st_transform as rluedey mentiones.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 12:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578346#M32751</guid>
      <dc:creator>ForrestJones</dc:creator>
      <dc:date>2014-06-04T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error using sde.ST_INTERSECTION in Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578347#M32752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was getting the same error and correcting the spatial reference also worked for me (so I'm one of those "..somebody in the future" &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;Thanks!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, in my case, the two datasets were using the same projection system, but, as the tolerance and resolution were different, they had different 'internal' SDE SRID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed it not through the ST_TRANSFORM but by creating a new feature class, importing the SRS from the other feature class I was intersecting it with, importing the field mapping from the original feature class and then loading the original objects into the new feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-sde-st-intersection-in-oracle/m-p/578347#M32752</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-09-26T14:15:11Z</dc:date>
    </item>
  </channel>
</rss>

