<?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 Attributes in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754663#M24682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved this myself in the end if anyone may be interested..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe not the slickest of models as no iterators involved but it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select by attributes (analysis) set output to use in memory results&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input results to Calculate field tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Repeat the select and calculate for the various group selections and finally merge all the calculate field results into a new feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 15:10:25 GMT</pubDate>
    <dc:creator>MarkYoung</dc:creator>
    <dc:date>2013-05-08T15:10:25Z</dc:date>
    <item>
      <title>Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754660#M24679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class where I wish to select various values from a field. Once those values are selected I wish to populate another field with a corresponding certain value using calculate field. How can I simply select attributes in a feature class without exporting to another feature class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 13:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754660#M24679</guid>
      <dc:creator>MarkYoung</dc:creator>
      <dc:date>2013-05-08T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754661#M24680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your only doing it the one time don't bother with model builder simply so it with select by attributes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when you perform it in model builder it does not export a new feature class.&amp;nbsp; simply to the select by attributes.&amp;nbsp; it will make your selection then perform the calculate function on the appropriate attributes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I have a feature class where I wish to select various values from a field. Once those values are selected I wish to populate another field with a corresponding certain value using calculate field. How can I simply select attributes in a feature class without exporting to another feature class?&lt;BR /&gt;Thanks&lt;BR /&gt;Mark&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754661#M24680</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-05-08T14:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754662#M24681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a number of different values which consist of (for example), Mon1 Mon2 Mon3 these relate to collection routes which have their own collection calendars, the calendars can be linked to via a URL which I would like to populate a field with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On that note, if there is a way to iterate through the other sets of values like Tues1 Tues2 Tues3 etc etc and populate those subsequent groups with their corresponding URL that would be great. I tried to look at iterate by row selection but I can't see how to build in a query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I have tried to do so far is load the feature class to model builder, input to the select (analysis) tool specifying my selection Mon1 Mon2 Mon 3 then link that result to a calculate field tool where the URL is entered in the expression field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs but when I look at my feature class there are no results in the website field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754662#M24681</guid>
      <dc:creator>MarkYoung</dc:creator>
      <dc:date>2013-05-08T14:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754663#M24682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved this myself in the end if anyone may be interested..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe not the slickest of models as no iterators involved but it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select by attributes (analysis) set output to use in memory results&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input results to Calculate field tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Repeat the select and calculate for the various group selections and finally merge all the calculate field results into a new feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:10:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754663#M24682</guid>
      <dc:creator>MarkYoung</dc:creator>
      <dc:date>2013-05-08T15:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754664#M24683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;Solved this myself in the end if anyone may be interested..&lt;BR /&gt;Maybe not the slickest of models as no iterators involved but it works.&lt;BR /&gt;&lt;BR /&gt;Select by attributes (analysis) set output to use in memory results&lt;BR /&gt;Input results to Calculate field tool&lt;BR /&gt;&lt;BR /&gt;Repeat the select and calculate for the various group selections and finally merge all the calculate field results into a new feature class.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You did not need to do any Select by Attribute if you had created a single Field Calculator expression that used a Select Case structure.&amp;nbsp; The Output field would be your URL field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parser: VB Script&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Codeblock: checked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Codeblock:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;If IsNull([Route_ID] Then &amp;nbsp; Output = [URL_Field] ' Don't change URL field value Else &amp;nbsp; Select Case [Route_ID] &amp;nbsp;&amp;nbsp;&amp;nbsp; Case "Mon1", "Mon2", "Mon3" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = "The URL for Monday" &amp;nbsp;&amp;nbsp;&amp;nbsp; Case "Tue1", "Tue2", Tue3" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = "The URL for Tuesday" &amp;nbsp;&amp;nbsp;&amp;nbsp; ' Etc. &amp;nbsp;&amp;nbsp;&amp;nbsp; Case Else &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = [URL_Field] ' Don't change URL field value &amp;nbsp; End Select End If&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression: Output&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 12:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754664#M24683</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-05-09T12:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Select By Attributes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754665#M24684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply - I will try and implement the field calculator for the additional up and coming rounds..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 14:17:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-select-by-attributes/m-p/754665#M24684</guid>
      <dc:creator>MarkYoung</dc:creator>
      <dc:date>2013-05-09T14:17:52Z</dc:date>
    </item>
  </channel>
</rss>

