<?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: Replacing existing feature geometry with Python API in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579239#M11097</link>
    <description>&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 20:01:26 GMT</pubDate>
    <dc:creator>ZhongmingAn</dc:creator>
    <dc:date>2025-01-27T20:01:26Z</dc:date>
    <item>
      <title>Replacing existing feature geometry with Python API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579128#M11092</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a hosted online feature service containing a polygon layer with just a circle. Now I have a more complicated geometry (more circles) and want to replace the original geometry with the new geometry without touching any of the attributes. How do I achieve that with python api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 15:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579128#M11092</guid>
      <dc:creator>ZhongmingAn</dc:creator>
      <dc:date>2025-01-27T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing existing feature geometry with Python API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579139#M11093</link>
      <description>&lt;P&gt;You can edit a feature's geometry using the same &lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.edit_features" target="_self"&gt;edit_features()&lt;/A&gt; workflow as you would for editing its attributes, except you are updating its SHAPE property, instead of one or more of the fields in the attribute property. Some helpful resources for editing features and how polygon geometries are specified are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/python/latest/guide/editing-features/#updating-features" target="_self"&gt;Updating features&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/python/latest/guide/part2-working-with-geometries/#creating-polygon-objects" target="_self"&gt;Creating Polygon objects&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579139#M11093</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2025-01-27T16:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing existing feature geometry with Python API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579239#M11097</link>
      <description>&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/replacing-existing-feature-geometry-with-python/m-p/1579239#M11097</guid>
      <dc:creator>ZhongmingAn</dc:creator>
      <dc:date>2025-01-27T20:01:26Z</dc:date>
    </item>
  </channel>
</rss>

