<?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 Model builder tool to extract nth-order neighbors from an initial selection in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/model-builder-tool-to-extract-nth-order-neighbors/m-p/511048#M29014</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 want to be create feature classes that correspond to the nth-order neighbor of an initial polygon. I want to integrate the procedures into a tool with the help of Model builder (for teaching purposes).&lt;/P&gt;&lt;P&gt;For now, I can create a 1st order-neighbor selection from the initial polygon (with Select layer by location tool) and make a feature class with it (with Make feature class and Copy feature tools).&lt;/P&gt;&lt;P&gt;As I try to insert "For" iterations and as I try to use that 1st order-neighbor selection to create a feedback loop, I keep having different problems (only one shape is created, nothing is created, arcgis crashes).&lt;/P&gt;&lt;P&gt;I am intermediate-beginner level, so maybe I'm aiming the wrong way.&lt;/P&gt;&lt;P&gt;Could someone help me?&lt;/P&gt;&lt;P&gt;PS1: I don't mind having a separate shape as my initial polygon or simply selecting one polygon in the input feature (test_neighbor)&lt;/P&gt;&lt;P&gt;PS2: I'm looking for 3 iterations at least&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of feature class I want to extract neighbors from (test_neighbor) and initial selection (selection) :&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="439404" class="image-2 jive-image" height="181" src="https://community.esri.com/legacyfs/online/439404_pastedImage_2.png" width="338" /&gt;&lt;/P&gt;&lt;P&gt;Example of working model but with no feedback, with result (on the right):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="241" src="https://community.esri.com/legacyfs/online/439416_pastedImage_1.png" width="430" /&gt;&lt;IMG class="image-5 jive-image" height="167" src="https://community.esri.com/legacyfs/online/439418_pastedImage_3.png" width="251" /&gt;&lt;/P&gt;&lt;P&gt;Example of model with feedback (not working):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/439417_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2019 22:22:33 GMT</pubDate>
    <dc:creator>Jean-PhilippeMarchand</dc:creator>
    <dc:date>2019-03-13T22:22:33Z</dc:date>
    <item>
      <title>Model builder tool to extract nth-order neighbors from an initial selection</title>
      <link>https://community.esri.com/t5/data-management-questions/model-builder-tool-to-extract-nth-order-neighbors/m-p/511048#M29014</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 want to be create feature classes that correspond to the nth-order neighbor of an initial polygon. I want to integrate the procedures into a tool with the help of Model builder (for teaching purposes).&lt;/P&gt;&lt;P&gt;For now, I can create a 1st order-neighbor selection from the initial polygon (with Select layer by location tool) and make a feature class with it (with Make feature class and Copy feature tools).&lt;/P&gt;&lt;P&gt;As I try to insert "For" iterations and as I try to use that 1st order-neighbor selection to create a feedback loop, I keep having different problems (only one shape is created, nothing is created, arcgis crashes).&lt;/P&gt;&lt;P&gt;I am intermediate-beginner level, so maybe I'm aiming the wrong way.&lt;/P&gt;&lt;P&gt;Could someone help me?&lt;/P&gt;&lt;P&gt;PS1: I don't mind having a separate shape as my initial polygon or simply selecting one polygon in the input feature (test_neighbor)&lt;/P&gt;&lt;P&gt;PS2: I'm looking for 3 iterations at least&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of feature class I want to extract neighbors from (test_neighbor) and initial selection (selection) :&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="439404" class="image-2 jive-image" height="181" src="https://community.esri.com/legacyfs/online/439404_pastedImage_2.png" width="338" /&gt;&lt;/P&gt;&lt;P&gt;Example of working model but with no feedback, with result (on the right):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="241" src="https://community.esri.com/legacyfs/online/439416_pastedImage_1.png" width="430" /&gt;&lt;IMG class="image-5 jive-image" height="167" src="https://community.esri.com/legacyfs/online/439418_pastedImage_3.png" width="251" /&gt;&lt;/P&gt;&lt;P&gt;Example of model with feedback (not working):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/439417_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 22:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/model-builder-tool-to-extract-nth-order-neighbors/m-p/511048#M29014</guid>
      <dc:creator>Jean-PhilippeMarchand</dc:creator>
      <dc:date>2019-03-13T22:22:33Z</dc:date>
    </item>
  </channel>
</rss>

