<?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: Setting raster NoData value in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350125#M20067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anna&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use SetNull or CopyRaster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, NoData values are treated as Nulls and are ignored in calculations and operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 19:25:56 GMT</pubDate>
    <dc:creator>SteveLynch</dc:creator>
    <dc:date>2012-04-18T19:25:56Z</dc:date>
    <item>
      <title>Setting raster NoData value</title>
      <link>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350124#M20066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering how I can change the NoData value of a raster dataset? When I created the raster from an XY table (text file) ArcMap set the NoData value to the default -3.40282346639e+038. However, I am trying to calculate zonal statistics for the raster dataset and want NoData values to be ignored in the calculations. Missing values are set to -9999 in the original dataset so I need to have these values ignored. How can I change this? Is it possible to set the NoData value when I create the raster or can it only be done afterwards?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried using the Con and Set Null tools in Spatial Analyst to change the NoData value but without success. One problem I've had using these tools is that when I open the SQL window to write the expression no fields show up. My raster dataset has fields "stretched value" and "pixel value", I've tried typing these into SQL, but the output is a strange 'stripy' raster with big blocks missing. Any help appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 06:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350124#M20066</guid>
      <dc:creator>AnnaUkkola</dc:creator>
      <dc:date>2012-04-18T06:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting raster NoData value</title>
      <link>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350125#M20067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anna&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use SetNull or CopyRaster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, NoData values are treated as Nulls and are ignored in calculations and operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 19:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350125#M20067</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2012-04-18T19:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting raster NoData value</title>
      <link>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350126#M20068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. I managed to use Copy Raster for some datasets to change the NoData value but it doesn't work for all of them. For one dataset it simply won't change the NoData value or sets it to another number I did not specify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I still have problems using the SetNull tool because no fields show up in the SQL Query Builder. The identify tool shows two fields, 'Stretched value' and 'Pixel value', so I tried writing "Pixel value"=-999 as the expression but that did not work either, or for some datasets it creates a strange stripy raster with blocks missing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you have any further ideas how to fix this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 08:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350126#M20068</guid>
      <dc:creator>AnnaUkkola</dc:creator>
      <dc:date>2012-04-26T08:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting raster NoData value</title>
      <link>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350127#M20069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ArcMap add your raster and then try Spatial Analyst Tools -&amp;gt; Map Algebra -&amp;gt; Raster Calculator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here you can try to run CON or SetNULL commands even if standard toolbox tools don't display fields to query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;SetNull("FloatingPointRaster" = -9999, "FloatingPointRaster")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;Con("FloatingPointRaster" != -9999, "FloatingPointRaster")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 10:46:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/setting-raster-nodata-value/m-p/350127#M20069</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-04-26T10:46:05Z</dc:date>
    </item>
  </channel>
</rss>

