<?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: DA Cursor Transfer of Shape Field Geometry is Not Working Correctly in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712180#M55230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running the script within an editor session did not make a difference.&amp;nbsp; The geomety vertices are not changing beyond positioning themselves relative to&amp;nbsp;a new centroid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that I needed to change the field list for&amp;nbsp;both the SearchCursor and the UpdateCursor&amp;nbsp;to use the SHAPE@ field (the shape field geometry) instead of the SHAPE field (the field name, which apparently only affects the Centroid).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Dec 2019 00:41:22 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2019-12-14T00:41:22Z</dc:date>
    <item>
      <title>DA Cursor Transfer of Shape Field Geometry is Not Working Correctly</title>
      <link>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712177#M55227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use a relate to select the features in the feature class I want to update and delete them, and then use the Append tool to insert the features from the source feature class, the geometry matches exactly.&amp;nbsp;However, this changes the original ObjectIDs of the features in the updated feature class, which I wanted to avoid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The features shown below that are semi-transparent blue with red outlines&amp;nbsp;have the source geometry I want to transfer and features that are orange&amp;nbsp;with grey outlines are the features I want to&amp;nbsp;change&amp;nbsp;before I have done any update.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="476229" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/476229_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The features shown below&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are the result of deleting the original features and using the Append tool.&amp;nbsp; The geometry matches exactly, but the ObjectIDs&amp;nbsp;have changed&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="476226" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/476226_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;I have written several versions of a script designed to preserve the ObjectIDs and transfer the geometry in the Shape field of one feature class using an da.UpdateCursor&amp;nbsp;from the Shape field in another&amp;nbsp;that match&amp;nbsp;on the values&amp;nbsp;of another field using&amp;nbsp;both a Dictionary populated by a &lt;SPAN&gt;da.SearchCursor&amp;nbsp;and directly from&amp;nbsp;&lt;/SPAN&gt;a&amp;nbsp;da.SearchCursor, but the geometry that is transferred is not the same as the&amp;nbsp;source&amp;nbsp;geometry.&amp;nbsp; I have tried variations of the script that used or did not use the Spatial Reference parameter of one or both cursors, but that does not fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The features shown below&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are the result of using a da.UpdateCursor to transfer the geometry.&amp;nbsp; The ObjectIDs have not changed and the geometries&amp;nbsp;have&amp;nbsp;changed, but the transferred geometries&amp;nbsp;are not identical to the source geometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="476228" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/476228_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this and come up with a solution that both preserves the original OBJECTIDs and correctly transfers geometry that is identical with the source geometry?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is one of the scripts I tried.&amp;nbsp; The script completes without error and the geometry of the updated feature class is being changed, but the output geometry is not identical to the source geometry as shown above.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; time &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; strftime  
  
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Start script: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%Y-%m-%d %H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
  
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy  

desc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"Y:\GISData\rfairhur\Layers\Transform_Parcel_Layers\Transform_Parcel_Layers.gdb/ZONING_POST_DESERT_EXTRACT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
  
sourceFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Y:\GISData\rfairhur\Layers\Transform_Parcel_Layers\Transform_Parcel_Layers.gdb/ZONING_POST_DESERT_EXTRACT"&lt;/SPAN&gt;

sourceFieldsList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'OIDLIST'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'SHAPE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
  
&lt;SPAN class="comment token"&gt;# Use list comprehension to build a dictionary from a da SearchCursor  &lt;/SPAN&gt;
valueDict &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; r &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sourceFC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sourceFieldsList&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; spatial_reference&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;desc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatialReference&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;  
  
updateFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Y:\GISData\rfairhur\Layers\Transform_Parcel_Layers\Transform_Parcel_Layers.gdb/ZONING_POST_DESERT_CURSOR"&lt;/SPAN&gt;  
  
updateFieldsList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'OIDLIST'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'SHAPE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;  

count &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;  

desc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"Y:\GISData\rfairhur\Layers\Transform_Parcel_Layers\Transform_Parcel_Layers.gdb/ZONING_POST_DESERT_CURSOR"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;UpdateCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;updateFC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; updateFieldsList&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; spatial_reference&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;desc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatialReference&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; updateRows&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;  
    desc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"Y:\GISData\rfairhur\Layers\Transform_Parcel_Layers\Transform_Parcel_Layers.gdb/ZONING_POST_DESERT_EXTRACT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; updateRow &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; updateRows&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;  
        &lt;SPAN class="comment token"&gt;# store the Join value of the row being updated in a keyValue variable  &lt;/SPAN&gt;
        keyValue &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; updateRow&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;  
         &lt;SPAN class="comment token"&gt;# verify that the keyValue is in the Dictionary  &lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; keyValue &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; valueDict&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            expression &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"OIDLIST = '"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; keyValue &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"'"&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sourceFC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sourceFieldsList&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; where_clause&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;expression&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; spatial_reference&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;desc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatialReference&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; sourceRows&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; sourceRow &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; sourceRows&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                     &lt;SPAN class="comment token"&gt;# transfer the value stored under the keyValue from the dictionary to the updated field.  &lt;/SPAN&gt;
                    updateRow&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sourceRow&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
                    count &lt;SPAN class="operator token"&gt;+=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
            updateRows&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;updateRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;updateRow&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; count &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;50&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Fixed "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;count&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" Zone Features: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%Y-%m-%d %H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Fixed "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;count&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" Zone Features: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%Y-%m-%d %H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;del&lt;/SPAN&gt; valueDict  
  
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Finished script: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%Y-%m-%d %H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&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;/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;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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712177#M55227</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-12T06:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: DA Cursor Transfer of Shape Field Geometry is Not Working Correctly</title>
      <link>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712178#M55228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there different spatial references involved, or are all features in the same SR to start with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 23:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712178#M55228</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-12-13T23:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: DA Cursor Transfer of Shape Field Geometry is Not Working Correctly</title>
      <link>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712179#M55229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are in the same Spatial Reference to strat with, which is why I tried it with and without the spatial reference parameter.&amp;nbsp; The output feature class had representations in effect, so I tried exporting the features to eliminate the representations.&amp;nbsp; However, I just noticed that ObjectID 11375&amp;nbsp;had 135 vertices in both before and after the update, while the source feature had only 56 vertices.&amp;nbsp; So the original geometry appears to just have been moved to a new centroid, rather than updating the&amp;nbsp;entire geometry.&amp;nbsp; This occurred with or without the representations being in effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the vertices of the source feature.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="386" src="https://community.esri.com/legacyfs/online/476240_pastedImage_1.png" width="604" /&gt;&lt;/P&gt;&lt;P&gt;Here are the vertices of the output feature prior to update (with representations in effect).&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="358" src="https://community.esri.com/legacyfs/online/476242_pastedImage_3.png" width="590" /&gt;&lt;/P&gt;&lt;P&gt;Here are the vertices of the output feature after the cursor updated it (without representations in effect).&amp;nbsp; The geometry vertices did not change, only the location of the feature centroid.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="351" src="https://community.esri.com/legacyfs/online/476241_pastedImage_2.png" width="578" /&gt;&lt;/P&gt;&lt;P&gt;The script has not used an edit session to do the update.&amp;nbsp; I will try doing the cursor update within an editor session to see if that affects the geometry vertices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2019 00:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712179#M55229</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-12-14T00:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: DA Cursor Transfer of Shape Field Geometry is Not Working Correctly</title>
      <link>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712180#M55230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running the script within an editor session did not make a difference.&amp;nbsp; The geomety vertices are not changing beyond positioning themselves relative to&amp;nbsp;a new centroid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that I needed to change the field list for&amp;nbsp;both the SearchCursor and the UpdateCursor&amp;nbsp;to use the SHAPE@ field (the shape field geometry) instead of the SHAPE field (the field name, which apparently only affects the Centroid).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2019 00:41:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/da-cursor-transfer-of-shape-field-geometry-is-not/m-p/712180#M55230</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-12-14T00:41:22Z</dc:date>
    </item>
  </channel>
</rss>

