<?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: Assign all attributes from a point layer to polygon layer in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1201215#M44151</link>
    <description>&lt;P&gt;Thanks all. My points is not to have to create the attribute fields on the polygon layer manually. Possibly it can be automated...&lt;/P&gt;&lt;P&gt;Spatial join - I was thinking about this. Do you mean the tool in the toolbox or the right-click&amp;gt;join potion on the layer?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 09:53:23 GMT</pubDate>
    <dc:creator>VaL</dc:creator>
    <dc:date>2022-08-10T09:53:23Z</dc:date>
    <item>
      <title>Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200716#M44143</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a point layer with 15 attributes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I digitized a polygon layer - one polygon around each point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I transfer/assign all attributes from the point layer to the polygon layer, based on point completely within polygon?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 08:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200716#M44143</guid>
      <dc:creator>VaL</dc:creator>
      <dc:date>2022-08-09T08:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200724#M44144</link>
      <description>&lt;P&gt;Try spatial join?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 09:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200724#M44144</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2022-08-09T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200754#M44145</link>
      <description>&lt;P&gt;Assuming the fields had the same names, a Field Calculation could use a spatial operation using Arcade.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var pts = FeatureSetByName($map, 'your points layer name')

// get the intersecting point
var pt = First(Intersects($feature, pts))

return pt['field name']&lt;/LI-CODE&gt;&lt;P&gt;You'd have to re-run it for every field, though.&lt;/P&gt;&lt;P&gt;How many point/polygon pairs are we talking about here? You could use the &lt;STRONG&gt;Transfer Attributes&lt;/STRONG&gt; tool in the &lt;STRONG&gt;Modify Features&lt;/STRONG&gt; pane, then it's just&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;click point&lt;/LI&gt;&lt;LI&gt;click polygon&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For each pair. If the field names are different, you can open up the editing settings and define the field mapping between the two layers.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 12:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200754#M44145</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-08-09T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200758#M44146</link>
      <description>&lt;P&gt;For each of the attributes, run the Calculate Field tool on your polygon fc. Switch to Arcade, copy and edit the code below.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// load your points
var point_fc = FeatureSetByName($datastore, "NameOfYourPointFC")
// get the point contained by the polygon
var contained_point = First(Contains($feature, point_fc))
// return null if there is no point
if(contained_point == null)  return null 
// else return the point's attribute
return contained_point.FieldName&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 09 Aug 2022 12:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1200758#M44146</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-08-09T12:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1201215#M44151</link>
      <description>&lt;P&gt;Thanks all. My points is not to have to create the attribute fields on the polygon layer manually. Possibly it can be automated...&lt;/P&gt;&lt;P&gt;Spatial join - I was thinking about this. Do you mean the tool in the toolbox or the right-click&amp;gt;join potion on the layer?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1201215#M44151</guid>
      <dc:creator>VaL</dc:creator>
      <dc:date>2022-08-10T09:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Assign all attributes from a point layer to polygon layer</title>
      <link>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1201284#M44152</link>
      <description>&lt;P&gt;So, just to be clear: the fields don't currently exist on the polygon layer? If that's the case, you may as well do a spatial join. Either do the GP tool and save the new output, or else do the right-click spatial join and save the result to a new layer.&lt;/P&gt;&lt;P&gt;In terms of automation, there are ways to copy portions of one layer's schema to another, but that really only needs to be done once. If your layers are in a geodatabase and you can take advantage of &lt;STRONG&gt;Attribute Rules&lt;/STRONG&gt;, the same expressions posted earlier for calculating fields could be used to populate a polygon's attributes automatically if it were drawn around an existing point.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/assign-all-attributes-from-a-point-layer-to/m-p/1201284#M44152</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-08-10T13:41:52Z</dc:date>
    </item>
  </channel>
</rss>

