<?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: How to write polygon value to point feature class based on geometric intersection in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1691552#M102435</link>
    <description>&lt;LI-CODE lang="python"&gt;getZone(!Shape!)

------------------------------------------------------

import arcpy

def getZone(point_geom):
    polygon_layer = "polygon_layer"  # just the layer name as it appears in ArcGIS Pro
    
    with arcpy.da.SearchCursor(polygon_layer, ["SHAPE@", "field_name"]) as cursor:
        for row in cursor:
            if row[0].contains(point_geom):
                return row[1]
    return None&lt;/LI-CODE&gt;&lt;P&gt;Calculated the field using Python.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2026 18:53:53 GMT</pubDate>
    <dc:creator>ScumBagsSurfer</dc:creator>
    <dc:date>2026-03-19T18:53:53Z</dc:date>
    <item>
      <title>How to write polygon value to point feature class based on geometric intersection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1690724#M102356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to write polygon values to a point feature class based on an intersection of geometries.&lt;/P&gt;&lt;P&gt;My polygon feature class is called 'Locations' with the intended field to copy being 'Location'.&lt;/P&gt;&lt;P&gt;The point feature class is called 'Record'.&lt;/P&gt;&lt;P&gt;My two feature classes are hosted feature classes on AGOL, with the point being collected with Survey123.&lt;/P&gt;&lt;P&gt;I have started to try and do it through field calculating in ArcGIS Pro, but if it is possible in Data Pipelines or FME automatically taht would be good too&lt;/P&gt;&lt;P&gt;// 1. Connect to the polygon layer via Portal()&lt;BR /&gt;var polygonFS = FeatureSetByPortalItemId(&lt;BR /&gt;Portal(),&lt;BR /&gt;"YOUR_PORTAL_ITEM_ID_HERE", // Replace with your polygon layer's item ID&lt;BR /&gt;0 // Layer index (0 = first layer)&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;// 2. Find the polygon that intersects the current point feature&lt;BR /&gt;var matchedPolygon = First(Intersects(polygonFS, $feature));&lt;/P&gt;&lt;P&gt;// 3. Return the polygon's attribute value&lt;BR /&gt;if (IsEmpty(matchedPolygon)) {&lt;BR /&gt;return null; // No polygon found&lt;BR /&gt;} else {&lt;BR /&gt;return matchedPolygon["YOUR_POLYGON_FIELD_NAME"]; // Replace with your field name&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 03:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1690724#M102356</guid>
      <dc:creator>ScumBagsSurfer</dc:creator>
      <dc:date>2026-03-16T03:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to write polygon value to point feature class based on geometric intersection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1690752#M102358</link>
      <description>&lt;P&gt;As you have posted your question in the ArcPro group I will assume you are seeking an Arcpro solution. Simply add the 2 layers to your map and run the &lt;A href="https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/add-spatial-join.htm#" target="_self"&gt;Add Spatial Join&lt;/A&gt; tool and make sure&amp;nbsp;&lt;SPAN&gt;Permanently Join Fields is checked on if you want the field from your polygon dataset to be permanently transferred into your point dataset.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 10:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1690752#M102358</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2026-03-16T10:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to write polygon value to point feature class based on geometric intersection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1691552#M102435</link>
      <description>&lt;LI-CODE lang="python"&gt;getZone(!Shape!)

------------------------------------------------------

import arcpy

def getZone(point_geom):
    polygon_layer = "polygon_layer"  # just the layer name as it appears in ArcGIS Pro
    
    with arcpy.da.SearchCursor(polygon_layer, ["SHAPE@", "field_name"]) as cursor:
        for row in cursor:
            if row[0].contains(point_geom):
                return row[1]
    return None&lt;/LI-CODE&gt;&lt;P&gt;Calculated the field using Python.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 18:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-write-polygon-value-to-point-feature-class/m-p/1691552#M102435</guid>
      <dc:creator>ScumBagsSurfer</dc:creator>
      <dc:date>2026-03-19T18:53:53Z</dc:date>
    </item>
  </channel>
</rss>

