<?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: Can't convert NoData to 0  in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750136#M10845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is 0 a valid class? are there any nodata cells in the inputs? examine its histogram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 18:51:44 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-04-27T18:51:44Z</dc:date>
    <item>
      <title>Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750135#M10844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 14px;"&gt;I have a NDVI image from MODIS product. Detailed information of this raster file is shown in the picture below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;IMG alt="1.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/196249_1.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 14px;"&gt;I wanted to convert NoData (&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 14px;"&gt;-3.4028234663e+038) &lt;/SPAN&gt;value into 0 and keep other values unchanged. Then I used Con and IsNull statements on raster calculator. But it didn't work, the NoData value of output image is still the same with before it was. Here is the calculation: Con(IsNull("NDVI.tif"), 0, "NDVI.tif").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I used other ways to change NoData to 0 ie exporting the original raster file, using Set Null tool, changing data type. None of them worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to replace NoData values with 0? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for all comments in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750135#M10844</guid>
      <dc:creator>Zihan_Lin</dc:creator>
      <dc:date>2016-04-27T18:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750136#M10845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is 0 a valid class? are there any nodata cells in the inputs? examine its histogram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:51:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750136#M10845</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-04-27T18:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750137#M10846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or run the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/is-null.htm"&gt;IsNull &lt;/A&gt;tool and if your output raster has any 0s it means that you have NoData.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 19:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750137#M10846</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2016-04-27T19:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750138#M10847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value in the properties is just the code used in that raster dataset for NoData cells (if any exist).&lt;/P&gt;&lt;P&gt;Because it is listed there does not mean you necessarily have any NoData cells.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 03:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750138#M10847</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-04-28T03:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750139#M10848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same experience, using the conditional function (Con(IsNull("NDVI.tif"), 0, "NDVI.tif"), doesn't help if there are no NoData values in your raster (which can be checked several ways). The problem here is simply the way NoData is defined in the raster properties of the file. If it is defined as '-3.4028234663e+038' this can indeed give execution problems in several operations further down the line (I suppose because this NoData value is read from the raster properties and used someway, somehow. However, an easy solution to this all is exporting your raster (right click -&amp;gt; Data / Export Data) and change the value of the field 'NoData as' to another value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750139#M10848</guid>
      <dc:creator>AlfredWagtendonk</dc:creator>
      <dc:date>2017-06-06T04:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't convert NoData to 0</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750140#M10849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If [NoData] is defined as '-3.4028234663e+038' this can indeed give execution problems in several operations further down the line&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Depending on your workflow and the raster formats you are using the defaults sometimes&amp;nbsp;don't do what you need, so:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-raster.htm"&gt;Copy Raster&lt;/A&gt; tool includes a NoData_value parameter.&lt;/LI&gt;&lt;LI&gt;The &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/nodata.htm"&gt;NoData environment setting&lt;/A&gt; controls how NoData gets mapped in by most raster tools. (The help for a tool tells you which env settings are used by a particular tool.)&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 17:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-t-convert-nodata-to-0/m-p/750140#M10849</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-06T17:15:18Z</dc:date>
    </item>
  </channel>
</rss>

