<?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 Create spatial join on the fly in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1351328#M75347</link>
    <description>&lt;P&gt;I have 2 layers . One is an administrative boundary (polygon) and the other is a centroid of houses (points).&lt;/P&gt;&lt;P&gt;I want to calculate the number of houses *automatically* as soon as the polygon has been finished and drawn up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can I achieve that? I am using Arcgis Pro 3.1&lt;/P&gt;&lt;P&gt;QGIS has this capability&amp;nbsp;&lt;A href="https://geogear.wordpress.com/2015/01/14/spatialjoin-v1-0/" target="_blank"&gt;https://geogear.wordpress.com/2015/01/14/spatialjoin-v1-0/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 06:06:48 GMT</pubDate>
    <dc:creator>yockee</dc:creator>
    <dc:date>2023-11-20T06:06:48Z</dc:date>
    <item>
      <title>Create spatial join on the fly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1351328#M75347</link>
      <description>&lt;P&gt;I have 2 layers . One is an administrative boundary (polygon) and the other is a centroid of houses (points).&lt;/P&gt;&lt;P&gt;I want to calculate the number of houses *automatically* as soon as the polygon has been finished and drawn up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can I achieve that? I am using Arcgis Pro 3.1&lt;/P&gt;&lt;P&gt;QGIS has this capability&amp;nbsp;&lt;A href="https://geogear.wordpress.com/2015/01/14/spatialjoin-v1-0/" target="_blank"&gt;https://geogear.wordpress.com/2015/01/14/spatialjoin-v1-0/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1351328#M75347</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2023-11-20T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create spatial join on the fly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1351660#M75385</link>
      <description>&lt;P&gt;Hi - you need to set up an immediately calculation attribute rule:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/calculation-attribute-rules.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/calculation-attribute-rules.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which will run some Arcade code when a new feature is inserted into your geodatabase feature class. The Arcade code to run will get a Count of the Intersects because the new $feature and the house centroid points layer made into a feature set.&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-count-points-in-polygons/td-p/523659" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-count-points-in-polygons/td-p/523659&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 20:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1351660#M75385</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2023-11-20T20:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create spatial join on the fly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1352870#M75489</link>
      <description>&lt;P&gt;It does not work. There is error: "Invalid Expression. Error Line 1:&amp;nbsp;&lt;SPAN&gt;Object Not Found. $map&lt;/SPAN&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is what I have tried:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var features = FeatureSetByName($map,'mylayer', ['*'], true);&amp;nbsp; (&lt;/EM&gt;I also tried&amp;nbsp;&lt;EM&gt;FeatureSetById)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$feature.atribute1 = Count(features);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have '&lt;EM&gt;mylayer&lt;/EM&gt;' as one of the layer on my layer list and '&lt;EM&gt;atribute1&lt;/EM&gt;' as one of the colomn name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using Arcgis Pro 3.1.0 and all data are in File Geodatabase&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 07:32:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1352870#M75489</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2023-11-23T07:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create spatial join on the fly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1353875#M75597</link>
      <description>&lt;P&gt;I have my polygon feature class and point feature class (Point_1) in the same geodatabase. And set up this immediate calculation attribute rule on inserts. So when I draw a new polygon, it automatically calculates the number of intersecting points and puts it into the count_from_att_rule field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewFlater_0-1701128377452.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87252i4144BCE8364E0A92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewFlater_0-1701128377452.png" alt="DrewFlater_0-1701128377452.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var points = FeatureSetByName($datastore, "Point_1")
var countPoints = Count(Intersects(points, $feature))
return countPoints&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Nov 2023 23:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-spatial-join-on-the-fly/m-p/1353875#M75597</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2023-11-27T23:40:46Z</dc:date>
    </item>
  </channel>
</rss>

