<?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 Selecting polygons that intersect with 5 or less points in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/selecting-polygons-that-intersect-with-5-or-less/m-p/1289873#M69252</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This might be a simple problem, but I keep getting stuck.&lt;/P&gt;&lt;P&gt;So, I have many polygons (about 500). A mass amount of points overlaps these polygons. I want to select only the polygons that intersect with less than 5 points (0 to 5). Once I select these polygons I want to remove them from the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have read up on the SQL (&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/perform-a-sql-count-in-calculate-field/td-p/1133936" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/perform-a-sql-count-in-calculate-field/td-p/1133936&lt;/A&gt;) just an example, and seem to keep running into problems. I feel like this should be an easy solution, but I keep getting stuck!&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 23:16:37 GMT</pubDate>
    <dc:creator>RoryEscobedo</dc:creator>
    <dc:date>2023-05-16T23:16:37Z</dc:date>
    <item>
      <title>Selecting polygons that intersect with 5 or less points</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/selecting-polygons-that-intersect-with-5-or-less/m-p/1289873#M69252</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This might be a simple problem, but I keep getting stuck.&lt;/P&gt;&lt;P&gt;So, I have many polygons (about 500). A mass amount of points overlaps these polygons. I want to select only the polygons that intersect with less than 5 points (0 to 5). Once I select these polygons I want to remove them from the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have read up on the SQL (&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/perform-a-sql-count-in-calculate-field/td-p/1133936" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/perform-a-sql-count-in-calculate-field/td-p/1133936&lt;/A&gt;) just an example, and seem to keep running into problems. I feel like this should be an easy solution, but I keep getting stuck!&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 23:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/selecting-polygons-that-intersect-with-5-or-less/m-p/1289873#M69252</guid>
      <dc:creator>RoryEscobedo</dc:creator>
      <dc:date>2023-05-16T23:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting polygons that intersect with 5 or less points</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/selecting-polygons-that-intersect-with-5-or-less/m-p/1289925#M69259</link>
      <description>&lt;P&gt;You could probably do it with Arcade, too.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var pts = FeatureSetByName($map, 'points layer name')

var xs_pts = Intersects($feature, pts)

return Count(xs_pts)&lt;/LI-CODE&gt;&lt;P&gt;The resulting count would give you the ability to select by attribute and delete.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 02:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/selecting-polygons-that-intersect-with-5-or-less/m-p/1289925#M69259</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-05-17T02:29:46Z</dc:date>
    </item>
  </channel>
</rss>

