<?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 Identify Curves in Python with Describe in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idi-p/931969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be great if python could identify curves in polylines and polygons with the describe function.&amp;nbsp; I have several applications where curves (Bezier curves) need to be densified for the tools (widgets) in the applications to work correctly.&amp;nbsp; When processing this data it would be nice to be able to log all the features that needed to be densified because they had Bezier curves, especially if a feature caused the processing tool to crash so I would be able to focus in quickly on the problematic geometry.&lt;BR /&gt;&lt;BR /&gt;In the forums people have suggested to convert the feature class to a shapefile first and then compare the original feature class to the shapefile to identify the curves, but this is a cumbersome process that seems like it could be simplified if the Bezier curves could just be identified in the original feature class.

&lt;!-- content transformation source ID: 087E00000004K6D --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 19:25:49 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2012-08-28T19:25:49Z</dc:date>
    <item>
      <title>Identify Curves in Python with Describe</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idi-p/931969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be great if python could identify curves in polylines and polygons with the describe function.&amp;nbsp; I have several applications where curves (Bezier curves) need to be densified for the tools (widgets) in the applications to work correctly.&amp;nbsp; When processing this data it would be nice to be able to log all the features that needed to be densified because they had Bezier curves, especially if a feature caused the processing tool to crash so I would be able to focus in quickly on the problematic geometry.&lt;BR /&gt;&lt;BR /&gt;In the forums people have suggested to convert the feature class to a shapefile first and then compare the original feature class to the shapefile to identify the curves, but this is a cumbersome process that seems like it could be simplified if the Bezier curves could just be identified in the original feature class.

&lt;!-- content transformation source ID: 087E00000004K6D --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 19:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idi-p/931969</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2012-08-28T19:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Curves in Python with Describe</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/931970#M3115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# --- for posterity, c0 is a polygon circle with a piece cut off&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; json

c0
&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;Polygon object at &lt;SPAN class="number token"&gt;0x15b885eb860&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x15b87f800a8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;

j &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; json&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;loads&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;c0&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;JSON&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

has_curves &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; np&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;any&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'curve'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; list&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;j&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;keys&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

has_curves
&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now if you want to count the number of curves, you have to dig into the dictionary a bit more...&lt;/P&gt;&lt;P&gt;Just add this or equivalent to arcpy.da.Describe !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/931970#M3115</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Curves in Python with Describe - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/1250630#M22973</link>
      <description>&lt;P&gt;Thank you for sharing your idea for a feature that could identify curves in polylines and polygons with the Describe function. I understand that you have several applications where curves (Bezier curves) need to be densified for the tools (widgets) in the applications to work correctly, and it would be useful to be able to log all the features that needed to be densified because they had Bezier curves.&lt;/P&gt;&lt;P&gt;I wanted to let you know that there is already a &amp;lt;arcpy.geometry&amp;gt;.hasCurves property in arcpy that returns True if the geometry object has curves. This property can be used to check if a feature class has curves or not.&lt;/P&gt;&lt;P&gt;I wanted to know if this satisfies your needs in place of a Describe function?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 23:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/1250630#M22973</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2023-01-23T23:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Curves in Python with Describe - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/1381803#M28478</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are closing this idea, as there is already an &amp;lt;arcpy.geometry&amp;gt;.hasCurves property in arcpy that returns True if the geometry object has curves. If you have any concerns about this decision, please feel free to let us know by responding below. Thank you for you understanding.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 19:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/identify-curves-in-python-with-describe/idc-p/1381803#M28478</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2024-02-13T19:17:01Z</dc:date>
    </item>
  </channel>
</rss>

