<?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 ST_Geometry spatial functions and different SRIDs in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460717#M26322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have converted our Oracle SDE 10.2.1 database (with service packs, on 11.2.0.3) to ST_GEOMETRY. When I try to use ST_INTERSECTS or ST_WITHIN on featureclasses that have different SRIDs, I instantly get the error that others have gotten as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORA-29902: error in executing ODCIIndexStart() routine&lt;/P&gt;&lt;P&gt;ORA-20001: Unable to retrieve message&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 720&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.SPX_UTIL", line 761&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.ST_DOMAIN_METHODS", line 291&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to intersect (points in polygons) featureclasses with the same SRID, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see other threads mentioning that it was fixed in 11.2.0.2 but we are beyond that. What are the other solutions at this point?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 22:36:59 GMT</pubDate>
    <dc:creator>SteveClark</dc:creator>
    <dc:date>2014-11-05T22:36:59Z</dc:date>
    <item>
      <title>ST_Geometry spatial functions and different SRIDs</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460717#M26322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have converted our Oracle SDE 10.2.1 database (with service packs, on 11.2.0.3) to ST_GEOMETRY. When I try to use ST_INTERSECTS or ST_WITHIN on featureclasses that have different SRIDs, I instantly get the error that others have gotten as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORA-29902: error in executing ODCIIndexStart() routine&lt;/P&gt;&lt;P&gt;ORA-20001: Unable to retrieve message&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 720&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.SPX_UTIL", line 761&lt;/P&gt;&lt;P&gt;ORA-06512: at "SDE.ST_DOMAIN_METHODS", line 291&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to intersect (points in polygons) featureclasses with the same SRID, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see other threads mentioning that it was fixed in 11.2.0.2 but we are beyond that. What are the other solutions at this point?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 22:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460717#M26322</guid>
      <dc:creator>SteveClark</dc:creator>
      <dc:date>2014-11-05T22:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Geometry spatial functions and different SRIDs</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460718#M26323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like a bug. Here are a few things to try/check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- You mention you have the latest 10.2.1 service packs, does this include the &lt;A href="http://support.esri.com/en/downloads/patches-servicepacks/view/productid/66/metaid/2109" title="http://support.esri.com/en/downloads/patches-servicepacks/view/productid/66/metaid/2109"&gt;ArcGIS 10.2.1 for (Desktop, Engine, Server) Utilities and Telecom Update 1 Patch | Samples and Utilities&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Make sure the st_shapelib.dll (or .so on unix) matches the packages in the database. For example, if you updated the geodatabase to 10.2.1 with service packs, make sure you upgraded/updated packages and also updated st library on the database server to the same release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- Does it work if you manually use the st_transform? For example:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="l1"&gt;SELECT SDE.ST_AsText(SDE.ST_Intersects(&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;sde.st_transform&lt;/STRONG&gt;&lt;/SPAN&gt;(a.shape,4326), b.shape)) FROM table1 a, table2 b;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l1"&gt;4- Are you able to send a sql repro case? For example, create two tables, create spatial indexes, insert records, run st_intersects. I can test in-house. You should probably open an incident with tech support too.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 17:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460718#M26323</guid>
      <dc:creator>ForrestJones</dc:creator>
      <dc:date>2014-11-06T17:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Geometry spatial functions and different SRIDs</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460719#M26324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forrest, thank you for your help. I was not aware of the Update1 patch. Between that and copying the new st_shapelib file, that solved the st_intersects issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 21:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-spatial-functions-and-different-srids/m-p/460719#M26324</guid>
      <dc:creator>SteveClark</dc:creator>
      <dc:date>2014-11-17T21:38:15Z</dc:date>
    </item>
  </channel>
</rss>

