<?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: Spatial lookup or join with points &amp;amp; polygons in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342061#M74480</link>
    <description>&lt;P&gt;There are several ways to do this. I recommend creating a python script to be most efficient. You can use the select by location tool to select all the points within a specific polygon and export those feature out as a separate feature class (export to memory, if you don't want a feature class output). Then, you would use the table by table tool to export it out as the output type you desire (e.g. csv, stand-alone table, etc). This should only take a few lines in python, but you can also do it manually. You can do this in a loop if you need to do this for multiple polygons.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 15:42:04 GMT</pubDate>
    <dc:creator>tzz_12</dc:creator>
    <dc:date>2023-10-26T15:42:04Z</dc:date>
    <item>
      <title>How to use attribute rules with points &amp; polygons</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342003#M74469</link>
      <description>&lt;P&gt;I have a point layer of several points &amp;amp; several polygons. I need to link these by finding out all the points that are in x polygon. I need Pro to lookup the polygon that a point resides in &amp;amp; to write this value out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Point A is in Polygon B. The output feature will be recorded as Polygon B.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below returns a geometry error on line 4&lt;/P&gt;&lt;P&gt;The polygon layer is called ExportedCentreAreas which is stored in my personal geodb.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.JPG" style="width: 415px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84269i6498CC718832C3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.JPG" alt="error.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// load the other featureset
var fs = FeatureSetByName($datastore, "ExportedCentreAreas")
// get the first feature from fs that intersects the current $feature
var f = First(Intersects(fs, $feature))
// abort if we didn't find something
if(f == null) { return }
// return the intersecting feature's value
return f.Children_s_Centre_Cluster&lt;/LI-CODE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 13:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342003#M74469</guid>
      <dc:creator>AndrewReynoldsDevon</dc:creator>
      <dc:date>2023-10-27T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial lookup or join with points &amp; polygons</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342061#M74480</link>
      <description>&lt;P&gt;There are several ways to do this. I recommend creating a python script to be most efficient. You can use the select by location tool to select all the points within a specific polygon and export those feature out as a separate feature class (export to memory, if you don't want a feature class output). Then, you would use the table by table tool to export it out as the output type you desire (e.g. csv, stand-alone table, etc). This should only take a few lines in python, but you can also do it manually. You can do this in a loop if you need to do this for multiple polygons.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342061#M74480</guid>
      <dc:creator>tzz_12</dc:creator>
      <dc:date>2023-10-26T15:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial lookup or join with points &amp; polygons</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342518#M74526</link>
      <description>&lt;P&gt;The points are postcodes &amp;amp; the polygons are named areas. The end result I need to have is a list of postcodes which have looked up the named polygon that they reside in&amp;nbsp; then to add this value as a field called named polygon. Therefore it's more of a spatial lookup?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342518#M74526</guid>
      <dc:creator>AndrewReynoldsDevon</dc:creator>
      <dc:date>2023-10-27T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial lookup or join with points &amp; polygons</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342539#M74528</link>
      <description>&lt;P&gt;could attribute rules be used here?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 08:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-use-attribute-rules-with-points-amp/m-p/1342539#M74528</guid>
      <dc:creator>AndrewReynoldsDevon</dc:creator>
      <dc:date>2023-10-27T08:32:17Z</dc:date>
    </item>
  </channel>
</rss>

