<?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>idea Determine if line has true curves via SQL (SDE.ST_GEOMETRY in Oracle) in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idi-p/1140291</link>
    <description>&lt;P&gt;Currently, it's not possible to&amp;nbsp;determine if a SDE.ST_GEOMETRY line has true curves&amp;nbsp;&lt;STRONG&gt;via SQL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For example, select lines where the SHAPE contains at least one true curve:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1643897738553.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33011i2BF700379A6F66D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1643897738553.png" alt="Bud_0-1643897738553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could ESRI consider adding a function to SDE.ST_GEOMETRY (Oracle) for this purpose?&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SDE.ST_HasCurves()&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 08:52:29 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-03-02T08:52:29Z</dc:date>
    <item>
      <title>Determine if line has true curves via SQL (SDE.ST_GEOMETRY in Oracle)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idi-p/1140291</link>
      <description>&lt;P&gt;Currently, it's not possible to&amp;nbsp;determine if a SDE.ST_GEOMETRY line has true curves&amp;nbsp;&lt;STRONG&gt;via SQL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For example, select lines where the SHAPE contains at least one true curve:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1643897738553.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33011i2BF700379A6F66D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1643897738553.png" alt="Bud_0-1643897738553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could ESRI consider adding a function to SDE.ST_GEOMETRY (Oracle) for this purpose?&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SDE.ST_HasCurves()&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idi-p/1140291</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-02T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if line has true curves via SQL (SDE.ST_GEOMETRY in Oracle)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idc-p/1149482#M2738</link>
      <description>&lt;P&gt;In the meantime, I wonder if this would be a possible workaround:&lt;/P&gt;&lt;P&gt;1. Create a field in the feature class called &lt;EM&gt;HAS_CURVES&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;2. Populate the field in real-time/when a user creates or modifies a feature -- using a Calculation Attribute Rule.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Compare&amp;nbsp;&lt;FONT face="courier new,courier" color="#0000FF"&gt;$feature.shape_length&lt;/FONT&gt;, which is the true length, including true curves&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;vs.&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&lt;SPAN&gt;Length($feature)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, which is the pre-densified length, where true curves have been converted into straight segments.&lt;BR /&gt;&lt;A href="https://i.stack.imgur.com/ilJrg.png" target="_blank" rel="noopener"&gt;https://i.stack.imgur.com/ilJrg.png&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;If there is a difference between those two values, then that tells us that the line has curves. Use a&amp;nbsp;Calculation Attribute Rule to set the HAS_CURVES field to "Y".&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;3. That field would be available to SQL. So we could query on it as needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Disclaimer: It's possible that comparing the those lengths might not work in all scenarios (due to rounding complications, etc.). Testing would be needed. As the idea suggests, it would be a lot more robust to have a&amp;nbsp;SDE.ST_HasCurves() function in ST_GEOMETRY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Related:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/hascurve-arcade-geometry-property/idc-p/1149417" target="_self"&gt;&lt;SPAN&gt;Idea: hasCurve Arcade geometry property&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/424884/calculate-length-of-line-without-using-length-function-and-without-densifying-c" target="_self"&gt;Calculate length of line without using length function (and without densifying curves)&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/385736/select-sde-st-geometry-polylines-that-have-arcs" target="_self"&gt;Select SDE.ST_GEOMETRY polylines that have arcs?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2022 18:43:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idc-p/1149482#M2738</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-06-05T18:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if line has true curves via SQL (SDE.ST_GEOMETRY in Oracle)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idc-p/1374783#M3597</link>
      <description>&lt;P&gt;An untested idea from a colleague:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Since the data is stored in the st_geometry field you might be able to interrogate it for a flag value that indicates a true curve (slightly hacky, but might work) or look at the size of the blob and compare that to the number of points in the shape.&amp;nbsp; There should be a correlation between the number of points and the size of the blob (but the points are compressed, so it isn’t 1:1), but if it’s greatly larger than what the size for the point array storage needs, it’s likely there is additional info in the blob (like true curves, annotation, or dimensions).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 26 Jan 2024 10:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/determine-if-line-has-true-curves-via-sql-sde-st/idc-p/1374783#M3597</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-26T10:45:26Z</dc:date>
    </item>
  </channel>
</rss>

