<?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: Intersect not working for a new feature. in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624800#M1790</link>
    <description>&lt;P&gt;Try swapping the arguments in the intersects and see if that changes things. Sometimes I find that will often do the trick.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 19:50:19 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2025-06-18T19:50:19Z</dc:date>
    <item>
      <title>Intersect not working for a new feature.</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624722#M1787</link>
      <description>&lt;P&gt;Hello, I am creating a rule that will set the value in a field called 'tail_length' to 60 if a new feature intersects a point called "pole", and 100 if it does not. However when I create a new point, it always sets the value to 100 even if it intersects a pole. Any insights?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var poles = FeaturesetByName($datastore, "Poles");
var ints = Intersects(poles,Geometry($feature));
if(Count(ints) &amp;lt; 0){
    return 60; }
else {
    return 100;}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Jun 2025 15:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624722#M1787</guid>
      <dc:creator>rsnider43</dc:creator>
      <dc:date>2025-06-18T15:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect not working for a new feature.</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624728#M1788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/895667"&gt;@rsnider43&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You set your argument features to less than 0. Try switching it to == 0 and that should fix your issue. An easier way to write it is.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var poles = FeaturesetByName($datastore, "Poles");
var ints = Intersects(poles,Geometry($feature));
iif( Count(ints) &amp;gt; 0, 60, 100 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 17:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624728#M1788</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2025-06-18T17:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect not working for a new feature.</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624760#M1789</link>
      <description>&lt;P&gt;Hey I did try that with snapping enabled, unfortunately it still puts out a value of 100 even when it is intersecting a pole.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 17:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624760#M1789</guid>
      <dc:creator>rsnider43</dc:creator>
      <dc:date>2025-06-18T17:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect not working for a new feature.</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624800#M1790</link>
      <description>&lt;P&gt;Try swapping the arguments in the intersects and see if that changes things. Sometimes I find that will often do the trick.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 19:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/intersect-not-working-for-a-new-feature/m-p/1624800#M1790</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2025-06-18T19:50:19Z</dc:date>
    </item>
  </channel>
</rss>

