<?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_Intersects error in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477210#M27162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) Have you applied any service packs (SP2 is terminal for 9.3.1) or patches to either environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Is the Unix version running the exact same SP/patch as on Windows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Does the Oracle listener point to the same DLL as the LIBRARY paths within the instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2012 15:29:44 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-08-17T15:29:44Z</dc:date>
    <item>
      <title>St_Intersects error</title>
      <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477209#M27161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, we have installed arcgis 9.3.1 on oracle 10g database on Windows server 2003&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i've created following query to find all records form tableA which territory intersects with tableB terrirotry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select a.ObjectID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from SDEOWNER.tableA a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inner join SDEOWNER.tableB b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; on SDE.ST_Intersects (b.Shape, a.Shape) = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On our test environment query runs well, but on our clients test database (same settings: 9.3.1 and Oracle 10g except runs on Unix environment) query returns following error message: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-29902: error in executing ODCIIndexStart() routine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06521: PL/SQL: Error mapping function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06522: /u01/sde/sdeexe93/lib/libst_shapelib.so: undefined symbol: Gen_Cell_Array&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 943&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.SPX_UTIL", line 2901&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.SPX_UTIL", line 3146&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_DOMAIN_METHODS", line 291&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;29902. 00000 -&amp;nbsp; "error in executing ODCIIndexStart() routine"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Cause:&amp;nbsp;&amp;nbsp;&amp;nbsp; The execution of ODCIIndexStart routine caused an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Action:&amp;nbsp;&amp;nbsp; Examine the error messages produced by the indextype code and&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;&amp;nbsp;&amp;nbsp; take appropriate action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have any thoughts what could cause this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 13:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477209#M27161</guid>
      <dc:creator>IngaMeirane</dc:creator>
      <dc:date>2012-08-17T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: St_Intersects error</title>
      <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477210#M27162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) Have you applied any service packs (SP2 is terminal for 9.3.1) or patches to either environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Is the Unix version running the exact same SP/patch as on Windows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Does the Oracle listener point to the same DLL as the LIBRARY paths within the instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477210#M27162</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-08-17T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: St_Intersects error</title>
      <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477211#M27163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Windows and Unix versions both have SP2 installed.&amp;nbsp; I don't quite understand what do you mean by 'LIBRARY paths within the instance'? I guess i should mention that other ST_Shapelib functions (like st_area, st_min, st_max) on clients (Unix) server are working well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also ran such query trying to join different table (lets call it tableC), got the same error message. Then i tried to switch ST_Intersects arguments from ST_Intersects (c.Shape, a.Shape) to ST_Intersects (a.Shape, c.Shape) and query executed successfully, but unfortunately such change didn't work with tableB.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 08:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477211#M27163</guid>
      <dc:creator>IngaMeirane</dc:creator>
      <dc:date>2012-08-20T08:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: St_Intersects error</title>
      <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477212#M27164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it varies by table, you should make sure they all have spatial indexes constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When ST_GEOMETRY is added to Oracle, a LIBRARY is created.&amp;nbsp; Incorrect or incompatible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;library references (from an incorrect upgrade) could cause DLL errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The order of the parameters on an ST_INTERSECTS is important -- it dictates which&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table's spatial index is used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 10:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477212#M27164</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-08-20T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: St_Intersects error</title>
      <link>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477213#M27165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Turns out that our client had forgotten to install Arcgis service packs on their machine, after they applied those the problem is gone. Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 10:46:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-intersects-error/m-p/477213#M27165</guid>
      <dc:creator>IngaMeirane</dc:creator>
      <dc:date>2012-08-30T10:46:52Z</dc:date>
    </item>
  </channel>
</rss>

