<?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_AsText returns &amp;quot;ORA-20006: Error generating text from shape (-1)&amp;quot; in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688814#M39041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to configure the listener to use the EXTPROC library for shape support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You seem to have done this with 10.0, but not 9.3. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is there any restriction for ST_AsText() in the 9.3 version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is this a known issue, and do we have any fix for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a configuration error, which is applicable to all releases.&amp;nbsp; A google on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the error message locates &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39119"&gt;this KB document&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is curious that you would ask about fixes when there are two years of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;patches which have not been applied to your system (the terminal patch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set for 10.0 was SP5).&amp;nbsp; 10.0 is four months from "Mature" support status,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so it's unlikely there wil be any more patches. 9.3 has been in Mature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status for over a year, and will be retired in December.&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, 19 Aug 2013 11:21:33 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-08-19T11:21:33Z</dc:date>
    <item>
      <title>ST_AsText returns "ORA-20006: Error generating text from shape (-1)"</title>
      <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688813#M39040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE version:- 9.3 SP1 32-bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle Version: - Oracle 10.2.0.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a line shape with 24142 points, when we execute the query �??Select LENGTH(SDE.ST_AsText(SHAPE)) from &amp;lt;table name&amp;gt; where id=&amp;lt;id&amp;gt;�?� the below error occurs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Error] Execution (1: 1): ORA-20006: Error generating text from shape (-1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 70&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 68&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But with ArcSDE 10 SP1 64-bit, the query returns the result without any error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is there any restriction for ST_AsText() in the 9.3 version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is this a known issue, and do we have any fix for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vargese.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 10:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688813#M39040</guid>
      <dc:creator>VargeseAntony</dc:creator>
      <dc:date>2013-08-19T10:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: ST_AsText returns "ORA-20006: Error generating text from shape (-1)"</title>
      <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688814#M39041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to configure the listener to use the EXTPROC library for shape support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You seem to have done this with 10.0, but not 9.3. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is there any restriction for ST_AsText() in the 9.3 version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Is this a known issue, and do we have any fix for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a configuration error, which is applicable to all releases.&amp;nbsp; A google on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the error message locates &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39119"&gt;this KB document&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is curious that you would ask about fixes when there are two years of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;patches which have not been applied to your system (the terminal patch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set for 10.0 was SP5).&amp;nbsp; 10.0 is four months from "Mature" support status,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so it's unlikely there wil be any more patches. 9.3 has been in Mature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status for over a year, and will be retired in December.&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, 19 Aug 2013 11:21:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688814#M39041</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-19T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: ST_AsText returns "ORA-20006: Error generating text from shape (-1)"</title>
      <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688815#M39042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If EXTPROC is not configured, it should give me error like "PL/SQL Error loading External library", again the same error should occur for every shape, I have other shapes for which the query executes successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vargese.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 11:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688815#M39042</guid>
      <dc:creator>VargeseAntony</dc:creator>
      <dc:date>2013-08-19T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: ST_AsText returns "ORA-20006: Error generating text from shape (-1)"</title>
      <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688816#M39043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;9.3 SP1 was released in March 2009.&amp;nbsp; There were five upgrades of the geometry &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libraries between then and 10.0sp1 (and twelve leading to 10.2). Upgrading for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;each snapshot from 9.3.1(final) to 10.0sp1 until the geometry works is probably&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the easiest way to figure out where the behavior of that particular shape changed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;though Tech Support might be able to pinpoint it with effort.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your best action would probably be to stand up an 9.3.1sp2 instance and to see&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; if the library fix occured before the architecture change at 10.0.&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, 19 Aug 2013 16:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688816#M39043</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-19T16:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: ST_AsText returns "ORA-20006: Error generating text from shape (-1)"</title>
      <link>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688817#M39044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Retrieving shape with large number of points is an issue in 9.3 version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After upgrading to 9.3.1, the issue is not seen anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vargese&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 02:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-astext-returns-quot-ora-20006-error-generating/m-p/688817#M39044</guid>
      <dc:creator>VargeseAntony</dc:creator>
      <dc:date>2013-09-03T02:37:07Z</dc:date>
    </item>
  </channel>
</rss>

