<?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: Create a circular arc with ArcPy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1566395#M73296</link>
    <description>&lt;P&gt;Looking at the documentation, &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/" target="_blank" rel="noopener"&gt;Geometry objects | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;An open circular arc is represented by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;c&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property. This is defined by an end point and an interior point.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;  "c": [&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;    [&amp;lt;x&amp;gt;, &amp;lt;y&amp;gt;, &amp;lt;z&amp;gt;, &amp;lt;m&amp;gt;],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;    [&amp;lt;interior_x&amp;gt;, &amp;lt;interior_y&amp;gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;  ]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It appears that the interior point of a circular arc cannot specify a Z or M value, only the end point can.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same behavior with center points and control points exists for elliptic arcs and bezier curves.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 18:47:16 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2024-12-09T18:47:16Z</dc:date>
    <item>
      <title>Create a circular arc with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1564516#M73270</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a circular arc between two points but am not able to find examples or documentation.&lt;/P&gt;&lt;P&gt;I'd also like my circular arcs to also have Z values so they look like an arc extending up a specified Z value.&amp;nbsp; I can create the polylines easy enough, I think, but how to create a circular arcs with the start and end points.&lt;/P&gt;&lt;P&gt;Here is what I am working off of now.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
start_point = arcpy.Point(10, 10, 100 )
end_point = arcpy.Point(20, 20, 200)
arc_geometry = arcpy.Geometry()
arc_geometry.geometry = "circular arc"


point_array = arcpy.Array()
point_array.add(start_point)
point_array.add(end_point)
arc_geometry = arcpy.Polyline(point_array)
&lt;/LI-CODE&gt;&lt;P&gt;Thank you for any suggestions on how to create a circular arc given the start and end points.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Mele&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 01:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1564516#M73270</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2024-12-04T01:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create a circular arc with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1564703#M73278</link>
      <description>&lt;P&gt;The ArcPy Geometry constructors do not support true curves of any kind.&amp;nbsp; You will need to use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/asshape.htm" target="_blank"&gt;AsShape—ArcGIS Pro | Documentation&lt;/A&gt; and feed it an Esri JSON definition based on the syntax from the 'Curve objects' section of &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/" target="_blank"&gt;Geometry objects | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 15:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1564703#M73278</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2024-12-04T15:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create a circular arc with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1566055#M73294</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp; I am able to create curves with the info you sent.&amp;nbsp; &amp;nbsp; The documentation is not clear at all, but you did help get me going in the right direction.&amp;nbsp; &amp;nbsp;My next step is to create the curves with Z, but if I add a Z value to the curve.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;esri_json = {&lt;BR /&gt;&lt;BR /&gt;"curvePaths": [&lt;BR /&gt;[&lt;BR /&gt;[pt1.X, pt1.Y],&lt;BR /&gt;{"c": [[pt2.X, pt2.Y], [midpt.X, midpt.Y]]}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;]&lt;BR /&gt;,&lt;BR /&gt;"spatialReference" : {"wkid" : 2868}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Any thoughts on how to this?&amp;nbsp; &amp;nbsp;I want an circular arc from pt1 to pt2 with Z and an elevation by midpoint&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2024 18:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1566055#M73294</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2024-12-08T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a circular arc with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1566395#M73296</link>
      <description>&lt;P&gt;Looking at the documentation, &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/" target="_blank" rel="noopener"&gt;Geometry objects | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;An open circular arc is represented by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;c&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property. This is defined by an end point and an interior point.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;  "c": [&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;    [&amp;lt;x&amp;gt;, &amp;lt;y&amp;gt;, &amp;lt;z&amp;gt;, &amp;lt;m&amp;gt;],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;    [&amp;lt;interior_x&amp;gt;, &amp;lt;interior_y&amp;gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;  ]&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It appears that the interior point of a circular arc cannot specify a Z or M value, only the end point can.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same behavior with center points and control points exists for elliptic arcs and bezier curves.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 18:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-a-circular-arc-with-arcpy/m-p/1566395#M73296</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2024-12-09T18:47:16Z</dc:date>
    </item>
  </channel>
</rss>

