<?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: iterate feature selection and determine whether to append it to another feature class in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147211#M378</link>
    <description>&lt;P&gt;Solved my own problem using a combination of Logical tools (If Spatial Relationship Is, If Field Value Is)&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/examples-of-using-logical-tools-in-modelbuilder.htm#ESRI_SECTION1_46903073A36D4E928AAFC0F0AE5240EC" target="_blank"&gt;Examples of using logical tools in ModelBuilder—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 20:21:18 GMT</pubDate>
    <dc:creator>SarahHartholt</dc:creator>
    <dc:date>2022-02-23T20:21:18Z</dc:date>
    <item>
      <title>iterate feature selection and determine whether to append it to another feature class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147089#M375</link>
      <description>&lt;P&gt;I've been mulling over some ideas about how to add another process to a model I've created that contains an iterator. My model currently uses a series of arcade expressions to calculate attribute values in a point feature class. Next, I would like to do the following:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;see if the value in the &lt;EM&gt;IssueLicense&lt;/EM&gt; field is 'yes'&lt;/P&gt;&lt;P&gt;2. if &lt;EM&gt;IssueLicense == 'yes',&amp;nbsp;&lt;/EM&gt;see if the point falls within 5m of a point in another point feature class (LicenseApproved)&lt;/P&gt;&lt;P&gt;3. append the point to a new feature class if there are no LicenseApproved points within 5m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice on tools/calculations that I could potentially use would be appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 18:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147089#M375</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2022-02-23T18:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: iterate feature selection and determine wheather to append it to another feature class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147107#M376</link>
      <description>This does not sound like a one-at-a-time thing, this is something you can do with an entire feature class.&lt;BR /&gt;1. Create a feature layer from the point using the Create Feature Layer tool with the sql expression IssueLicense = 'Yes'&lt;BR /&gt;2. Select Layer by Location to select points not within 5m of an AddressPoint (within a distance, invert selection)&lt;BR /&gt;3. Use the Append tool to add points.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2022 17:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147107#M376</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2022-02-23T17:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: iterate feature selection and determine whether to append it to another feature class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147133#M377</link>
      <description>&lt;P&gt;The process needs to be created within my current model since its existence in my&amp;nbsp;&lt;U&gt;LicenseApproved&lt;/U&gt; feature class is directly related to the value assigned to the&amp;nbsp;&lt;EM&gt;IssueLicense&lt;/EM&gt; attribute (yes, no) of the other points in my&amp;nbsp;&lt;U&gt;AddressPoint&lt;/U&gt; feature class.&lt;/P&gt;&lt;P&gt;This is how my model currently works:&lt;/P&gt;&lt;P&gt;1. iterate&amp;nbsp;&lt;U&gt;AddressPoint&lt;/U&gt; feature class&lt;/P&gt;&lt;P&gt;2. calculate the number of licenses (&lt;U&gt;LicenseApproved&lt;/U&gt; feature class) that already exist within the neighbouhood and populate the&amp;nbsp;&lt;EM&gt;LicenseCount&lt;/EM&gt; attribute field&lt;/P&gt;&lt;P&gt;3. calculate the &lt;EM&gt;IssueLicense &lt;/EM&gt;field (if more than 20% of homes in the neighbourhood already have a license&amp;nbsp;&lt;EM&gt;IssueLicense&lt;/EM&gt; = 'no', if less than 20% of homes already have a license&amp;nbsp;&lt;EM&gt;IssueLicense&lt;/EM&gt; = 'yes')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; &lt;STRONG&gt;append the point&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;to my&amp;nbsp;&lt;U&gt;LicenseApproved&lt;/U&gt; feature class if&amp;nbsp;&lt;EM&gt;IssuedLicense&lt;/EM&gt; = 'yes' and is not within 5m of an existing point in the&amp;nbsp;&lt;U&gt;LicenseApproved&lt;/U&gt; feature class&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I don't include step 4, licenses will be approved for too many addresses. i.e. in a neighborhood of 10 homes, home A is approved for a license (1/10 = 10%). If home B applies for a license they should be denied (home A &amp;amp; B = 2/10 homes in the neighborhood with a license = 20%). BUT if home A has not been appended to the&amp;nbsp;&lt;U&gt;LicenseApproved&lt;/U&gt; feature class the calculation in step 3 will not know that the license for home A exists and will give one to home B.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 20:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147133#M377</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2022-02-23T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: iterate feature selection and determine whether to append it to another feature class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147211#M378</link>
      <description>&lt;P&gt;Solved my own problem using a combination of Logical tools (If Spatial Relationship Is, If Field Value Is)&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/examples-of-using-logical-tools-in-modelbuilder.htm#ESRI_SECTION1_46903073A36D4E928AAFC0F0AE5240EC" target="_blank"&gt;Examples of using logical tools in ModelBuilder—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 20:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/iterate-feature-selection-and-determine-whether-to/m-p/1147211#M378</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2022-02-23T20:21:18Z</dc:date>
    </item>
  </channel>
</rss>

