<?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: How to set range in arcgis model builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854053#M980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 08:14:45 GMT</pubDate>
    <dc:creator>AyokunleAdebisi</dc:creator>
    <dc:date>2020-02-03T08:14:45Z</dc:date>
    <item>
      <title>How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854045#M972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am builder model that users will be able to select&amp;nbsp; values of year in range i.e 5 or 10years interval. The Year picklist will look like this in the tool. How can I do this in ArcGIS model builder ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/478476_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 18:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854045#M972</guid>
      <dc:creator>AyokunleAdebisi1</dc:creator>
      <dc:date>2020-01-16T18:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854046#M973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could&amp;nbsp;create a text string&amp;nbsp;variable, set it as a parameter, and in the Model Options parameters, use a filter to create the list of choices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the Calculate Value tool to convert that string to a SQL expression, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"YEAR &amp;gt;= {} AND YEAR &amp;lt;= {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%Year Range%"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"%Year Range%"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression would yield for your first choice "1967-1971":&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;YEAR &lt;SPAN class="operator token"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1967&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;AND&lt;/SPAN&gt; YEAR &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1971&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 13:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854046#M973</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2020-01-17T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854047#M974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply @&lt;A _jive_internal="true" data-avatarid="1884" data-externalid="" data-online="false" data-presence="null" data-userid="3355" data-username="curtvprice" href="https://community.esri.com/people/curtvprice" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;" target="_blank"&gt;Curtis Price&lt;/A&gt;&amp;nbsp;I did as you instructed and it worked, but however i did same for Months in the year i.e instead of using YEAR, I use MONTH&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN style="border: 0px; color: #000000; background: rgba(255, 255, 255, 0.5); font-weight: inherit; font-size: 14px; "&gt;MONTH &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #f5f2f0;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #990000;"&gt;JANUARY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #f5f2f0; color: #000000; "&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="background-color: #f5f2f0; color: #000000; "&gt; MONTH &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #f5f2f0;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #990000;"&gt;APRIL

But it shows empty output, what could be wrong? or it can only be used for numeric but not text or what could be the issue?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854047#M974</guid>
      <dc:creator>AyokunleAdebisi1</dc:creator>
      <dc:date>2021-12-12T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854048#M975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is working but it selects alphabetically i.e&amp;nbsp; if I select from April it will select&amp;nbsp; all values of month from A-S, but if I select from January to April, it returns null because J does come before A.. how can i solve this to make it select January to April or September to December to return a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 20:53:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854048#M975</guid>
      <dc:creator>AyokunleAdebisi</dc:creator>
      <dc:date>2020-02-02T20:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854049#M976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A value list filter for the parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 21:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854049#M976</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-02T21:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854050#M977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i understand your question...Yes&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 21:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854050#M977</guid>
      <dc:creator>AyokunleAdebisi</dc:creator>
      <dc:date>2020-02-02T21:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854051#M978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/classes/filter.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/classes/filter.htm"&gt;Filter—ArcPy classes | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 21:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854051#M978</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-02T21:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854052#M979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not well skilled in python...it would be best to it in modelbuilder if possible..Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 21:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854052#M979</guid>
      <dc:creator>AyokunleAdebisi</dc:creator>
      <dc:date>2020-02-02T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854053#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 08:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854053#M980</guid>
      <dc:creator>AyokunleAdebisi</dc:creator>
      <dc:date>2020-02-03T08:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to set range in arcgis model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854054#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I think it is working but it selects alphabetically i.e&amp;nbsp; if I select from April it will select&amp;nbsp; all values of month from A-S, but if I select from January to April, it returns null because J does not come before A.. how can i solve this to make it select January to April or September to December to return a value.@Curtis Price .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 11:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-set-range-in-arcgis-model-builder/m-p/854054#M981</guid>
      <dc:creator>AyokunleAdebisi</dc:creator>
      <dc:date>2020-02-03T11:23:36Z</dc:date>
    </item>
  </channel>
</rss>

