<?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 do you use SetNull to set a range of values to a single value in a raster? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50554#M686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to be of help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 16:45:59 GMT</pubDate>
    <dc:creator>ChrisDonohue__GISP</dc:creator>
    <dc:date>2015-01-14T16:45:59Z</dc:date>
    <item>
      <title>How do you use SetNull to set a range of values to a single value in a raster?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50551#M683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I open Raster Calculator and run this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SetNull("worldelvtn1ft.tif",1,"VALUE &amp;gt; 0") – sets everything less than 0 to 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, what I would like to do is set all the values from 0 to 50 as 1. i'm hoping there is&amp;nbsp; a simple way of using the &amp;lt; &amp;gt; symbols but i can't figure out the right combination to make it work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also instead of setting it to 1 how do you set it to no data? The help on SetNull is vague and I really can't find a large list of examples. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 15:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50551#M683</guid>
      <dc:creator>DanielAmrine</dc:creator>
      <dc:date>2015-01-14T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use SetNull to set a range of values to a single value in a raster?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50552#M684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think "Con" might be a better way to go than "SetNull" for what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run Con as a tool or in Raster Calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con can also be used like SetNull:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If no input false raster or constant is specified, NoData will be assigned to those cells that do not result in True from the expression.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con (Spatial Analyst)&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000005000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000005000000"&gt;ArcGIS Help 10.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 15:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50552#M684</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-01-14T15:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use SetNull to set a range of values to a single value in a raster?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50553#M685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your reply! Con did work better. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to set the range by using the following expression in Raster Calculator.&lt;/P&gt;&lt;P&gt;Con(("TargetRaster" &amp;lt; 0) &amp;amp; ("TargetRaster"&amp;gt;-100),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This set everything from -100 to 0 as 1 and the rest of the raster was set to Null (No Data). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 15:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50553#M685</guid>
      <dc:creator>DanielAmrine</dc:creator>
      <dc:date>2015-01-14T15:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use SetNull to set a range of values to a single value in a raster?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50554#M686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to be of help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 16:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-do-you-use-setnull-to-set-a-range-of-values-to/m-p/50554#M686</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-01-14T16:45:59Z</dc:date>
    </item>
  </channel>
</rss>

