<?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: Replace Nulls in floating point rasters in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22942#M328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any way to guard against Nulls occuring when I use the Polygon to Raster Conversion Tool?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you convert to raster, set the extent so no areas in the extent (a square) are entirely covered by your input polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any way to replace Null values in floating point rasters?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Con and IsNull are local operators, they cannot fill in NoData cells, unless you have a single value you want to use (like zero), which I don't think is what you're after here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have single cells you want to fill in with a 3x3 neighborhood mean, here's an approach that would work in the Raster Calculator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Con(IsNull("inraster"), FocalStatistics("inraster",NbrRectangle(3,3,"CELL"),"MEAN"))
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:56:04 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2021-12-10T20:56:04Z</dc:date>
    <item>
      <title>Replace Nulls in floating point rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22940#M326</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;Is there anyway to replace Null values in floating point rasters? I need to preserve at least 3 decimal points for accuracy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see a couple of methods such as using IsNull and Con but I understand they work with integers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, Is there any way to guard against Nulls occuring when I use the Polygon to Raster Conversion Tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All polygons (many hundreds of them) had values in the value field when I created the raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for any advice on either of these queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ernest&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2013 13:21:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22940#M326</guid>
      <dc:creator>ErnestDunwoody</dc:creator>
      <dc:date>2013-06-29T13:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Nulls in floating point rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22941#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you try Con and IsNull?&amp;nbsp; they work with any grid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2013 14:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22941#M327</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2013-06-29T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Nulls in floating point rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22942#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any way to guard against Nulls occuring when I use the Polygon to Raster Conversion Tool?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you convert to raster, set the extent so no areas in the extent (a square) are entirely covered by your input polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any way to replace Null values in floating point rasters?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Con and IsNull are local operators, they cannot fill in NoData cells, unless you have a single value you want to use (like zero), which I don't think is what you're after here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have single cells you want to fill in with a 3x3 neighborhood mean, here's an approach that would work in the Raster Calculator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Con(IsNull("inraster"), FocalStatistics("inraster",NbrRectangle(3,3,"CELL"),"MEAN"))
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:56:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/replace-nulls-in-floating-point-rasters/m-p/22942#M328</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-10T20:56:04Z</dc:date>
    </item>
  </channel>
</rss>

