<?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 Allow updating geometry in Field Calculator in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idi-p/935652</link>
    <description>&lt;P&gt;Lets say I have two feature class,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Points A. All the points have a unique point_id.&lt;/P&gt;&lt;P&gt;- Points B, these points have an ID that matches the point_id in the Points A class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can join these two tables using the point_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to update the geometry of the points A feature class with the geometry with points B. This would be trivial in an SQL server...It would be very useful in ArcGIS file geodatabases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    UPDATE Point_A a
    INNER JOIN Point_B
    ON a.point_id=b.point_id
    SET A.geom=B.geom;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this could apply to any type of geometry also.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 23:45:54 GMT</pubDate>
    <dc:creator>GreggRoemhildt1</dc:creator>
    <dc:date>2022-03-02T23:45:54Z</dc:date>
    <item>
      <title>Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idi-p/935652</link>
      <description>&lt;P&gt;Lets say I have two feature class,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Points A. All the points have a unique point_id.&lt;/P&gt;&lt;P&gt;- Points B, these points have an ID that matches the point_id in the Points A class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can join these two tables using the point_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to update the geometry of the points A feature class with the geometry with points B. This would be trivial in an SQL server...It would be very useful in ArcGIS file geodatabases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    UPDATE Point_A a
    INNER JOIN Point_B
    ON a.point_id=b.point_id
    SET A.geom=B.geom;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this could apply to any type of geometry also.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 23:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idi-p/935652</guid>
      <dc:creator>GreggRoemhildt1</dc:creator>
      <dc:date>2022-03-02T23:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/935653#M4125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This be done using Python. You can do an arcpy.da.UpdateCursor (point a) and store the point_id as a variable. Then nest an arcpy.da.SearchCursor on the second feature class (point b), with an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If point_id1 == point_id2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometery1 = geometry2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the link to UpdateCursor. And note, "&lt;SPAN style="color: #222222; font-family: Roboto-Regular, HelveticaNeue, Arial, sans-serif; font-size: 14px;"&gt;Geometry properties can be accessed by specifying the token &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Roboto-Regular, HelveticaNeue, Arial, sans-serif; font-size: 14px;"&gt;SHAPE&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Roboto-Regular, HelveticaNeue, Arial, sans-serif; font-size: 14px;"&gt;@ in the list of fields."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/updatecursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/updatecursor-class.htm"&gt;UpdateCursor—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 23:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/935653#M4125</guid>
      <dc:creator>AnthonyClark3</dc:creator>
      <dc:date>2016-07-27T23:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1244983#M22649</link>
      <description>&lt;P&gt;The workflow described can be accomplished starting in Pro 3.1, but not using the Calculate Field tool. The Append tool has a new geometry update mode and parameters to configure how the update should be made. This was covered in this newer Idea:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/gp-tool-to-batch-replace-geometries-from-one-fc-to/idi-p/1139522" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-ideas/gp-tool-to-batch-replace-geometries-from-one-fc-to/idi-p/1139522&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewFlater_0-1672770303061.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59671i02F2A69959D6264C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewFlater_0-1672770303061.png" alt="DrewFlater_0-1672770303061.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 18:25:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1244983#M22649</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2023-01-03T18:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1276826#M24343</link>
      <description>&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/gp-tool-to-batch-replace-geometries-from-one-fc-to/idi-p/1139522" target="_self"&gt;GP tool to batch-replace geometries from one FC to another (via related IDs)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 20:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1276826#M24343</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-09T20:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1276829#M24344</link>
      <description>&lt;P&gt;Just to clarify:&lt;/P&gt;&lt;P&gt;This idea is called &lt;EM&gt;"Allow updating geometry in Field Calculator"&lt;/EM&gt;. But I wonder if that title is misleading. At first glance, that title&lt;SPAN&gt;&amp;nbsp;makes it sound like it's not possible to update a FC's geometry using the Field Calculator. But we&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;EM&gt;can&lt;/EM&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;update the geometry of FC using the field calculator:&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-1681071701006.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67550i0A2619D26F2FC929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1681071701006.png" alt="Bud_0-1681071701006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That works as expected.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;What we &lt;U&gt;&lt;EM&gt;can't&lt;/EM&gt;&lt;/U&gt; do is update a FC's geometry using the geometry from a &lt;U&gt;&lt;EM&gt;different&lt;/EM&gt;&lt;/U&gt; FC. At least not using the Field Calculator.&lt;/P&gt;&lt;P&gt;Reason: When we join to a different FC, the SHAPE column from that FC doesn't get brought in as a joined field. So, it's not a valid input.&lt;/P&gt;&lt;P&gt;But in Pro 3.1, it can be done using a different tool: the Append tool.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1125"&gt;@DrewFlater&lt;/a&gt;&amp;nbsp;Is that correct?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 20:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1276829#M24344</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-09T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1279399#M24503</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;your summary is correct. ArcGIS in general has a hard limitation that any table can only have one Shape column. I talked to a few developers and our system would destabilize if we lifted a limitation that two Shape columns could be in one table as a result of a join or other process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Append/Upsert enhancement you explained is an easy solution for this problem, or you can write a few lines of Python code using a search and update cursor to read one feature geometry then write/calculate/update the geometry of another feature based on it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 19:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1279399#M24503</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2023-04-17T19:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Allow updating geometry in Field Calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1279427#M24504</link>
      <description>&lt;P&gt;Ok. Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1125"&gt;@DrewFlater&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 20:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/allow-updating-geometry-in-field-calculator/idc-p/1279427#M24504</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-17T20:08:55Z</dc:date>
    </item>
  </channel>
</rss>

