<?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: conditional function for webgis geoprocessing widget in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397769#M13535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I have already found this page and I suppose I need time to get into the logic of conditional in python, since there is no another way. &lt;BR /&gt;Thanks a lot, FC Basson &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 12:02:11 GMT</pubDate>
    <dc:creator>AnastasiaPatera</dc:creator>
    <dc:date>2016-06-01T12:02:11Z</dc:date>
    <item>
      <title>conditional function for webgis geoprocessing widget</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397767#M13533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I want to make a webgis geoprocessing tool. I use modelbuilder because I am a beginner in python language. What I want to do is to apply a function separately on 10 raster files&amp;nbsp; with raster calculator. I am ok up to there. The complicated issue is that I want the user to decide what function will be applied on each raster from the menu of two, named "cost" or "benefit". It is obvious that I need a conditional function but I can't find a compatible one with my problem. &lt;/P&gt;&lt;P&gt;Thank you in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 10:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397767#M13533</guid>
      <dc:creator>AnastasiaPatera</dc:creator>
      <dc:date>2016-06-01T10:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: conditional function for webgis geoprocessing widget</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397768#M13534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a String type parameter in your model, then in the model properties you can set the parameter filter to a value list, from which you can pick the raster process type.&amp;nbsp; This will allow the user to make the choice, but then it seems there is no other option that to write a script tool to do the if-then-else logic: &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Using_If_Then_Else_logic_for_branching/002w00000022000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/Using_If_Then_Else_logic_for_branching/002w00000022000000/"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/206473_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 11:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397768#M13534</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-06-01T11:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: conditional function for webgis geoprocessing widget</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397769#M13535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I have already found this page and I suppose I need time to get into the logic of conditional in python, since there is no another way. &lt;BR /&gt;Thanks a lot, FC Basson &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 12:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/conditional-function-for-webgis-geoprocessing/m-p/397769#M13535</guid>
      <dc:creator>AnastasiaPatera</dc:creator>
      <dc:date>2016-06-01T12:02:11Z</dc:date>
    </item>
  </channel>
</rss>

