<?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: Model Builder - Select by Location and Update Attribute in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059261#M637</link>
    <description>&lt;P&gt;Thanks again&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp; sorry but need to ask a very basic question. How do you set up the "Selecting Features" and "Input Features" at the start of your example model? I have been trying them as variables but can't get the same output that you are seeing in the geoprocessing screenshot.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 00:58:21 GMT</pubDate>
    <dc:creator>DeanHowell1</dc:creator>
    <dc:date>2021-05-19T00:58:21Z</dc:date>
    <item>
      <title>Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058408#M630</link>
      <description>&lt;P&gt;I am trying to figure out what would seem a fairly normal GIS Process but put into a model so can be replicated.&lt;/P&gt;&lt;P&gt;1. Select feature by location i.e. pointing to a feature on the map&lt;/P&gt;&lt;P&gt;2. Update an attribute of the selected feature only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone show me how to do this please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 07:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058408#M630</guid>
      <dc:creator>DeanHowell1</dc:creator>
      <dc:date>2021-05-17T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058421#M631</link>
      <description>&lt;P&gt;one of the "Related" questions to the right of you post contains some useful links.&amp;nbsp; For example...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/modelbuilder-questions/modeling-select-by-location/td-p/814528" target="_blank"&gt;Solved: Modeling Select By Location - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 09:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058421#M631</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-17T09:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058445#M632</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;, yes I have seen that post but still can't get a simple process to work =&amp;gt; select features in layer and update the field of the selected feature(s).&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058445#M632</guid>
      <dc:creator>DeanHowell1</dc:creator>
      <dc:date>2021-05-17T11:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058459#M633</link>
      <description>Most tools that take a layer as input will only operate on selected rows, so the Calculate Field tool in a model would do it.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2021 12:36:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058459#M633</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-05-17T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058730#M634</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1325"&gt;@curtvprice&lt;/a&gt;&amp;nbsp;but I am still stuck on the selection of features, so I am guessing the selection of features needs to be done outside the model, then run the model to update the attributes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 21:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058730#M634</guid>
      <dc:creator>DeanHowell1</dc:creator>
      <dc:date>2021-05-17T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058963#M635</link>
      <description>&lt;P&gt;Dean,&lt;/P&gt;&lt;P&gt;You can automate all that you have discussed in model builder.&lt;/P&gt;&lt;P&gt;Firstly when asking questions about model builder on any forum, include images of your model or even share it, as at the moment everyone is second guessing what they think you are talking about. Also you don't even indicate which software you are using! ArcMap or ArcPro? Tag your question it helps us to help you...&lt;/P&gt;&lt;P&gt;Have a model of nothing more than a select by location feeding into a field calculate. As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1325"&gt;@curtvprice&lt;/a&gt;&amp;nbsp; says all tools honour selections. Of cause you can shoot yourself in the foot, if no selection is created then the field calculate will apply to all rows in your data and potentially overwrite important data.&amp;nbsp;&lt;EM&gt;Something to be aware of, I only have a few toes left&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Typically the select by location takes a layer to do the selection (which it self may have a selection on it). If you want to interactively draw a polygon on the screen that then becomes the geometry that does the selecting you need to expose the parameter as a FeatureSet. You need to expose it as a parameter so it allows you to interact with it and use it to draw a temporary polygon on your map.&lt;/P&gt;&lt;P&gt;So using ArcPro as by way of example (you can do this in ArcMap) here is the model, note some of the parameters have a "P" indicating they are model tool parameters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_0-1621348819067.png" style="width: 593px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13526i9AEAEAC711CD5358/image-dimensions/593x363?v=v2" width="593" height="363" role="button" title="DuncanHornby_0-1621348819067.png" alt="DuncanHornby_0-1621348819067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The model running as a tool looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_1-1621348917037.png" style="width: 619px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13527i33A6A51C2B9A0AEA/image-dimensions/619x563?v=v2" width="619" height="563" role="button" title="DuncanHornby_1-1621348917037.png" alt="DuncanHornby_1-1621348917037.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Clicking on the pencil icon allows you to draw any geometry and it is that that feeds into the select tool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 14:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1058963#M635</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-05-18T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059223#M636</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp;, thanks for the advice and the model example. I would normally include screenshots in the forums but in this case I had no idea where to start as all the examples on the Esri help pages are using entire layers as input for clips etc. Thanks again&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 22:34:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059223#M636</guid>
      <dc:creator>DeanHowell1</dc:creator>
      <dc:date>2021-05-18T22:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059261#M637</link>
      <description>&lt;P&gt;Thanks again&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp; sorry but need to ask a very basic question. How do you set up the "Selecting Features" and "Input Features" at the start of your example model? I have been trying them as variables but can't get the same output that you are seeing in the geoprocessing screenshot.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 00:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059261#M637</guid>
      <dc:creator>DeanHowell1</dc:creator>
      <dc:date>2021-05-19T00:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder - Select by Location and Update Attribute</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059334#M638</link>
      <description>&lt;P&gt;In the model right click on the tool itself (square box) and choose Create Variable&amp;gt;From Parameter to show it on the model. Then to turn it into a parameter to allow you to change the value to anything, right click on the input and select parameter. You then run the model directly from the toolbox (so open it not edit it).&lt;/P&gt;&lt;P&gt;I think its worth your time reading up on modelbuilder in the help file or attend a training course. Getting proficient in modelbuilder will unlock all sorts of doors for you in geoprocessing and in my opinion the first steps to learning scripting.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 08:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-select-by-location-and-update/m-p/1059334#M638</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-05-19T08:56:57Z</dc:date>
    </item>
  </channel>
</rss>

