<?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: Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647852#M11608</link>
    <description>&lt;P&gt;How does a standard&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/intersect.htm" target="_blank" rel="noopener"&gt;Intersect (Analysis)—ArcGIS Pro | Documentation&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/pairwise-intersect.htm" target="_blank"&gt;Pairwise Intersect (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;compare speed-wise?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would get a new featureclass with both sets of fields.&amp;nbsp; Rather than using a field calculator to update a field, perhaps deleting unnecessary fields might be faster (with a rename if it is really necessary)&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-field.htm" target="_blank" rel="noopener"&gt;Delete Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/alter-field-properties.htm" target="_blank" rel="noopener"&gt;Alter Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2025 09:53:41 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-09-04T09:53:41Z</dc:date>
    <item>
      <title>Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647848#M11607</link>
      <description>&lt;P&gt;I have a large point feature class (&amp;lt;2Mill features) and a polygon feature class consisting of multiple polygon features.&lt;/P&gt;&lt;P&gt;The points and polygons overlap.&lt;/P&gt;&lt;P&gt;I'd like to write the polygon field values into their overlapping point features.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Point feature A lies within polygon feature B -&amp;gt; Write respective value from polygon field "name" into point field "area_name".&lt;/P&gt;&lt;P&gt;What is the fastest way to do this with a python script?&lt;/P&gt;&lt;P&gt;So far i have tried two python scripts:&lt;/P&gt;&lt;P&gt;- Spatial Join (Intersect) -&amp;gt; Join the output with the point feature class -&amp;gt; transfer values using field calculator (from joined field "name" to field "area_name") -&amp;gt; remove join&lt;/P&gt;&lt;P&gt;- Iterate over the polygon (using cursor), in each iteration create a new layer of the current polygon (in memory) -&amp;gt; select overlapping points using location based selection -&amp;gt; write values into selected points&lt;/P&gt;&lt;P&gt;Both methods take too long.&lt;/P&gt;&lt;P&gt;I was thinking about using a Spatially Enabled Dataframe, would this get my task done faster?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647848#M11607</guid>
      <dc:creator>Philip_Sarnecki</dc:creator>
      <dc:date>2025-09-04T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647852#M11608</link>
      <description>&lt;P&gt;How does a standard&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/intersect.htm" target="_blank" rel="noopener"&gt;Intersect (Analysis)—ArcGIS Pro | Documentation&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/pairwise-intersect.htm" target="_blank"&gt;Pairwise Intersect (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;compare speed-wise?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would get a new featureclass with both sets of fields.&amp;nbsp; Rather than using a field calculator to update a field, perhaps deleting unnecessary fields might be faster (with a rename if it is really necessary)&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-field.htm" target="_blank" rel="noopener"&gt;Delete Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/alter-field-properties.htm" target="_blank" rel="noopener"&gt;Alter Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647852#M11608</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-09-04T09:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647856#M11611</link>
      <description>&lt;P&gt;Oh sorry, i forgot to mention, the original point feature class cannot be replaced. It may be edited but the file itself cannot be deleted or replaced&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 10:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647856#M11611</guid>
      <dc:creator>Philip_Sarnecki</dc:creator>
      <dc:date>2025-09-04T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647857#M11612</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/504696"&gt;@Philip_Sarnecki&lt;/a&gt;&amp;nbsp;you may get better performance using an Update Cursor rather than the field calculator.&amp;nbsp; Ex:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

pointFC = r"C:\temp\test.gdb\points"
polygonFC = r"C:\temp\test.gdb\polygons"

# Perform Spatial Join
spatialJoinFC = arcpy.SpatialJoin_analysis(.....)

# Create lookup dictionary
nameDict = {}
with arcpy.da.SearchCursor(spatialJoinFC, ["uniqueId", "area_name"]) as cursor:
    for row in cursor:
        nameDict[row[0]] = row[1]
del cursor

# Update point feature class
with arcpy.da.UpdateCursor(pointFC, ["uniqueId", "name"]) as cursor:
    for row in cursor:
        row[1] = nameDict[row[0]]
        cursor.updateRow(row)
del cursor&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Sep 2025 10:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647857#M11612</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2025-09-04T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Large Point Feature Class: Fastest Way To Transfer Field Values From Overlapping Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647901#M11613</link>
      <description>&lt;P&gt;Dictionaries and Update Cursors are also my preferred approach when updating a dataset based on another, avoiding joins and field calculator.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/large-point-feature-class-fastest-way-to-transfer/m-p/1647901#M11613</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2025-09-04T13:10:34Z</dc:date>
    </item>
  </channel>
</rss>

