<?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 Field Calculator — Get attribute of touching feature from different FC in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idi-p/1661551</link>
    <description>&lt;P&gt;I have a POINTS FC and a POLYGONS FC.&lt;/P&gt;&lt;P&gt;In POINTS, I want to use the field calculator to populate a POINTS.ASSET_ID field with the ASSET_IDs from POLYGONS, where a point touches a polygon. The spatial relationship is 1:1.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In other words, I want to get the ASSET_ID from the intersecting polygon and use it to populate the ASSET_ID field in the point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to do this all within a simple field calculation, not using multiple GP tools and joins.&lt;/P&gt;&lt;P&gt;I would also like this to work for cases where the ID fields don’t have the same name.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 22:15:10 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2025-10-28T22:15:10Z</dc:date>
    <item>
      <title>Field Calculator — Get attribute of touching feature from different FC</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idi-p/1661551</link>
      <description>&lt;P&gt;I have a POINTS FC and a POLYGONS FC.&lt;/P&gt;&lt;P&gt;In POINTS, I want to use the field calculator to populate a POINTS.ASSET_ID field with the ASSET_IDs from POLYGONS, where a point touches a polygon. The spatial relationship is 1:1.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In other words, I want to get the ASSET_ID from the intersecting polygon and use it to populate the ASSET_ID field in the point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to do this all within a simple field calculation, not using multiple GP tools and joins.&lt;/P&gt;&lt;P&gt;I would also like this to work for cases where the ID fields don’t have the same name.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idi-p/1661551</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-10-28T22:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator — Get attribute of touching feature from different FC</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1661600#M36578</link>
      <description>&lt;P&gt;You can do this with Arcade in Calculate Field. Given the names you have above and with the Field Name of the calculate field tool being ASSET_ID on the Points layer:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var polygons = FeatureSetByName($datastore, "POLYGONS",['ASSET_ID'], true);
var polygonFeature = First(Intersects(polygons, $feature));
if (!IsEmpty(polygonFeature))
{
  return DefaultValue(polygonFeature, 'ASSET_ID', "9999");
}
else {
  return "9999";
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 23:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1661600#M36578</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2025-10-28T23:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator — Get attribute of touching feature from different FC</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1662028#M36585</link>
      <description>&lt;P&gt;You could also implement this as an attribute rule on the point class using the &lt;A href="https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/generate-spatial-join-attribute-rule.htm" target="_blank" rel="noopener"&gt;Generate Spatial Join Attribute Rule GP tool&lt;/A&gt;, this way, if your point were ever to move, the ID field would update automatically to reflect the new polygon intersection.&amp;nbsp; Ensuring the rule triggers on updates to the shape field only will keep the rule from firing unnecessarily.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 19:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1662028#M36585</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-10-29T19:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator — Get attribute of touching feature from different FC</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1675588#M37142</link>
      <description>&lt;P&gt;Try this arcade Code to solve&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Get the polygon feature class
var polys = FeatureSetByName(
    $datastore,
    "POLYGONS",          // &amp;lt;-- polygon FC name
    ["ASSET_ID"],        // &amp;lt;-- polygon field to pull from
    true
);

// Find polygons intersecting the current point
var match = Intersects(polys, $geometry);

// Since relationship is 1:1, get the first polygon
var poly = First(match);

// Populate point ASSET_ID
return IIf(IsEmpty(poly), null, poly.ASSET_ID);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2026 18:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/field-calculator-get-attribute-of-touching-feature/idc-p/1675588#M37142</guid>
      <dc:creator>PandiyanKesavan</dc:creator>
      <dc:date>2026-01-01T18:44:57Z</dc:date>
    </item>
  </channel>
</rss>

