<?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 Trying to query using the st_pointonsurface funtion in SDE in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/trying-to-query-using-the-st-pointonsurface/m-p/785751#M1780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Trying to get the st_pointonsurface function working in my sql query.&lt;/P&gt;&lt;P&gt;Using ArcGIS 10.1 and sde in an Oracle 11g database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT sde.st_astext(sde.st_pointonsurface(p.SHAPE))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM CD31_ENG_2017_PCL_TEMP p;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORA-20003: ST_Geometry type must be an ST_LINESTRING type.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 1620&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help says I need a polgon input to the function, so the ST_LINESTRING type is puzzling.&lt;/P&gt;&lt;P&gt;I have two polygons in feature class. Other functions work on the objects, such as ST_CENTROID, &amp;nbsp;but not ST_POINTONSURFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help really appreciated.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 12:53:08 GMT</pubDate>
    <dc:creator>chris_cawser</dc:creator>
    <dc:date>2016-09-19T12:53:08Z</dc:date>
    <item>
      <title>Trying to query using the st_pointonsurface funtion in SDE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/trying-to-query-using-the-st-pointonsurface/m-p/785751#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Trying to get the st_pointonsurface function working in my sql query.&lt;/P&gt;&lt;P&gt;Using ArcGIS 10.1 and sde in an Oracle 11g database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT sde.st_astext(sde.st_pointonsurface(p.SHAPE))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM CD31_ENG_2017_PCL_TEMP p;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORA-20003: ST_Geometry type must be an ST_LINESTRING type.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 1620&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help says I need a polgon input to the function, so the ST_LINESTRING type is puzzling.&lt;/P&gt;&lt;P&gt;I have two polygons in feature class. Other functions work on the objects, such as ST_CENTROID, &amp;nbsp;but not ST_POINTONSURFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help really appreciated.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 12:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/trying-to-query-using-the-st-pointonsurface/m-p/785751#M1780</guid>
      <dc:creator>chris_cawser</dc:creator>
      <dc:date>2016-09-19T12:53:08Z</dc:date>
    </item>
  </channel>
</rss>

