<?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: Find polylines with true curves in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277810#M4368</link>
    <description>&lt;P&gt;The field calculate using Python in ArcGIS Pro 2.9.5. We were going in circles trying to figure out/select which segments were arcs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again! Worked as expected.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 14:33:40 GMT</pubDate>
    <dc:creator>Nellzor</dc:creator>
    <dc:date>2023-04-12T14:33:40Z</dc:date>
    <item>
      <title>Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141766#M3449</link>
      <description>&lt;P&gt;In ArcMap 10.7.1 (Oracle 18c SDE.ST_GEOMETRY):&lt;/P&gt;&lt;P&gt;Using a geoprocessing tool, is there a way to identify polylines that have true curves?&lt;/P&gt;&lt;P&gt;I know there is a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/polyline.htm#:~:text=geometry%20has%20a%20curve" target="_self"&gt;hasCurves Geometry property&lt;/A&gt; in ArcPy for ArcGIS Pro. But I don't have access to Pro yet. And regardless, I'd rather use a GP tool for this, than ask my users to use a custom script.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 19:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141766#M3449</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-02-08T19:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141901#M3451</link>
      <description>&lt;P&gt;sadly, not, except for converting to a shapefile and compare the geometry lengths&lt;/P&gt;&lt;P&gt;If they differ, then the curve was densified and converted to segments which would have a slightly different length&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/shapefiles/geoprocessing-considerations-for-shapefile-output.htm#GUID-B845DF9F-78C9-439F-9674-2BFEEFF8D58E" target="_blank"&gt;Geoprocessing considerations for shapefile output—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 23:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141901#M3451</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-08T23:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141970#M3454</link>
      <description>&lt;P&gt;demonstrating with polygons... The differences for small shapes may not differ much, but they do differ&lt;/P&gt;&lt;P&gt;point counts go up to.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="densification.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33453iD1BAE89A07798ED9/image-size/large?v=v2&amp;amp;px=999" role="button" title="densification.png" alt="densification.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 04:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1141970#M3454</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-09T04:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1144481#M3462</link>
      <description>&lt;P&gt;Here's one way of doing it — similar to what Dan showed above.&lt;BR /&gt;(it &lt;EM&gt;does&lt;/EM&gt; involve Python, not strictly GP tools)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Create a copy of the polyline FC in a FGDB.&lt;/P&gt;&lt;P&gt;2. Optional: Delete unneeded fields using the Delete Field GP tool.&lt;/P&gt;&lt;P&gt;3. Add new fields: Points_Before, Points_After, and Has_Curve.&lt;/P&gt;&lt;P&gt;4. Use Python in the field calculator to populate Points_Before. The Python is:&amp;nbsp;&lt;EM&gt;&lt;U&gt;!shape!.pointcount&lt;/U&gt;&lt;/EM&gt;. Source:&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000011230" target="_self"&gt;How To: Count the vertices for line or polygon features in ArcMap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;5. Convert the curves to straight segments via using the Densify GP tool. I used the Angle option: 10 degrees.&lt;/P&gt;&lt;P&gt;6.&amp;nbsp;Use Python in the field calculator to populate Points_After.&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. Use Select by Attributes to select lines where&amp;nbsp;&lt;EM&gt;&lt;U&gt;Points_Before &amp;lt;&amp;gt; Points_After&lt;/U&gt;&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. Use the field calculator to populate the selected records in the&amp;nbsp;Has_Curve field. That field is now a static flag that indicates if a line has a curve or not.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;In hindsight, using straight python might have been easier:&lt;/P&gt;&lt;P&gt;Use Python in the Field Calculator on a custom Has_Curves field:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;def has_curves(geom):
    geom_orig = geom
    geom_densified = geom.densify("ANGLE", 10000, 0.174533)
    if geom_orig.pointCount != geom_densified.pointCount:
        return "Y"
    else:
        return None&lt;/PRE&gt;&lt;HR /&gt;&lt;PRE&gt;has_curves( !SHAPE! )&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1644983122597.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34067i74CF6C13B641A5D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1644983122597.png" alt="Bud_1-1644983122597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1644983861256.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34069i53273A00877B034E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1644983861256.png" alt="Bud_0-1644983861256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1144481#M3462</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-12T14:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1257195#M4298</link>
      <description>&lt;P&gt;First run the Split Line At Vertices.&amp;nbsp; Then add a field to the result called curveCount.&amp;nbsp; Then Calculate Geometry to it using the Number of Curves option. The result will be 1 for curve or 0 for not curve.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 20:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1257195#M4298</guid>
      <dc:creator>JamiePetersen</dc:creator>
      <dc:date>2023-02-10T20:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277796#M4366</link>
      <description>&lt;P&gt;This worked PERFECTLY. Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277796#M4366</guid>
      <dc:creator>Nellzor</dc:creator>
      <dc:date>2023-04-12T14:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277805#M4367</link>
      <description>&lt;P&gt;Out of curiosity, what technique did you use? The first option I mentioned, or the second "in hindsight" option?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277805#M4367</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-12T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find polylines with true curves</title>
      <link>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277810#M4368</link>
      <description>&lt;P&gt;The field calculate using Python in ArcGIS Pro 2.9.5. We were going in circles trying to figure out/select which segments were arcs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again! Worked as expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/find-polylines-with-true-curves/m-p/1277810#M4368</guid>
      <dc:creator>Nellzor</dc:creator>
      <dc:date>2023-04-12T14:33:40Z</dc:date>
    </item>
  </channel>
</rss>

