<?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 How to count number of adjacent polys in a second layer in Agriculture Questions</title>
    <link>https://community.esri.com/t5/agriculture-questions/how-to-count-number-of-adjacent-polys-in-a-second/m-p/608241#M171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a project to prioritize open space (OS) for protection. One of the criteria we are using is the number of adjacent protected parcels to an unprotected one - the more adjacent parcels of&amp;nbsp; already protected open space the better the connectivity.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two layers - one of protected OS and one of unprotected OS. I am trying to count the number of adjacent polys of protected OS to each parcel of unprotected OS. I can identify the adjacent protected OS parcels using&amp;nbsp; "search within distance" of 75' to allow for cross stream and road adjacencies.&amp;nbsp; However I cannot find a way to count the number of protected OS parcels that fall within the 75'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. running ArcGIS Pro 2.6.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Oct 2020 20:54:58 GMT</pubDate>
    <dc:creator>peterdorward</dc:creator>
    <dc:date>2020-10-10T20:54:58Z</dc:date>
    <item>
      <title>How to count number of adjacent polys in a second layer</title>
      <link>https://community.esri.com/t5/agriculture-questions/how-to-count-number-of-adjacent-polys-in-a-second/m-p/608241#M171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a project to prioritize open space (OS) for protection. One of the criteria we are using is the number of adjacent protected parcels to an unprotected one - the more adjacent parcels of&amp;nbsp; already protected open space the better the connectivity.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two layers - one of protected OS and one of unprotected OS. I am trying to count the number of adjacent polys of protected OS to each parcel of unprotected OS. I can identify the adjacent protected OS parcels using&amp;nbsp; "search within distance" of 75' to allow for cross stream and road adjacencies.&amp;nbsp; However I cannot find a way to count the number of protected OS parcels that fall within the 75'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. running ArcGIS Pro 2.6.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2020 20:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/agriculture-questions/how-to-count-number-of-adjacent-polys-in-a-second/m-p/608241#M171</guid>
      <dc:creator>peterdorward</dc:creator>
      <dc:date>2020-10-10T20:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to count number of adjacent polys in a second layer</title>
      <link>https://community.esri.com/t5/agriculture-questions/how-to-count-number-of-adjacent-polys-in-a-second/m-p/608242#M172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out a solution, and thought I would share it in case anyone else gets stuck like I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I have two layers - one of protected OS and one of unprotected OS. I am trying to count the number of adjacent polys of protected OS to each parcel of unprotected OS.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;A bit circuitous, but&amp;nbsp;the following&amp;nbsp;derives the desired answer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Generate Near Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Input Features = Unprotected_OS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Near Feature = Protected_OS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Output = Unprotected_OS_Near_Protected&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Search Radius = 75’ (to allow for roads &amp;amp; streams)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Uncheck “Find only closest feature”&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The new table will have one feature (row) for each parcel of Protected_OS adjacent to each Unprotected_OS parcel. Unprotected_OS parcels not adjacent to Protected_OS will have no entries. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The number of adjacent Protected_OS parcels is calculated using Frequency&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Input = Unprotected_OS_Near_Protected&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Output = Unprotected_OS_Near_Protected_Count&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Frequency Field = IN_FID (the OBJECTID of Unprotected_OS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Add FREQUENCY back into Unprotected_OS using Join Field&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Input = Unprotected_OS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Input Join Field = OBJECTID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Join Table = Unprotected_OS_Near_Protected_Count&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Join Table Field = IN_FID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Transfer Field = FREQUENCY &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;(which is the number of adjacent polys in Protected_OS for each poly of Unprotected_OS)&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 16:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/agriculture-questions/how-to-count-number-of-adjacent-polys-in-a-second/m-p/608242#M172</guid>
      <dc:creator>peterdorward</dc:creator>
      <dc:date>2020-10-15T16:13:51Z</dc:date>
    </item>
  </channel>
</rss>

