<?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: Arcade - Calculate Field From Intersecting Feature in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcade-calculate-field-from-intersecting-feature/m-p/701337#M4782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try running the intersect on the point feature buffer geometry:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;var fsParcelIntersect &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Intersects&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fsparcel&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Buffer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"meter"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2020 10:49:59 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2020-11-05T10:49:59Z</dc:date>
    <item>
      <title>Arcade - Calculate Field From Intersecting Feature</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-calculate-field-from-intersecting-feature/m-p/701336#M4781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize, I'm not very good with scripting/coding.&amp;nbsp; I'm trying to calculate an address point's parcel ID from an intersecting parcel using this short script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;var fsParcel = FeatureSetByName($datastore, "ParcelBoundaries", ["Parcel_Number"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;var fsParcelIntersect = Intersects(fsparcel, $feature)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;var ParcelID = First(fsParcelIntersect)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;return ParcelID.Parcel_Number&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to run it against 61 address points, they all come out with the same parcel ID.&amp;nbsp; I have a feeling it might have to do with the varParcelID using the First function, but I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 19:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-calculate-field-from-intersecting-feature/m-p/701336#M4781</guid>
      <dc:creator>JoshSaad1</dc:creator>
      <dc:date>2019-10-21T19:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Calculate Field From Intersecting Feature</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-calculate-field-from-intersecting-feature/m-p/701337#M4782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try running the intersect on the point feature buffer geometry:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;var fsParcelIntersect &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Intersects&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fsparcel&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Buffer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"meter"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 10:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-calculate-field-from-intersecting-feature/m-p/701337#M4782</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2020-11-05T10:49:59Z</dc:date>
    </item>
  </channel>
</rss>

