<?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 How do I interpolate a raster file? in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330334#M1990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've downloaded 90 m SRTM elevation data but the raster data contains "holes" of no data that I would like to fill in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to directly interpolate a raster image?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked quite a bit, but I've been unable to find a way.&amp;nbsp; As a work around I've converted the raster file to a collection of point values and attempted to interpolate that, but this always leads to "System Error (0): Unexpected Error.&amp;nbsp; Failed to Execute."&amp;nbsp; I've attempted working with a smaller extents (perhaps still too large), but I still get the same error.&amp;nbsp; The interpolation method that I was attempting to use was spline, so I selected IDW, thinking that it might be less computationally intensive, but I still get the same problem, even when I reduce the resolution greatly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to directly interpolate a raster image, or must it be converted to a point or TIN file first?&amp;nbsp; How big can a file be without causing trouble?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any suggestions that you might have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2011 12:35:22 GMT</pubDate>
    <dc:creator>RichardBecker</dc:creator>
    <dc:date>2011-06-13T12:35:22Z</dc:date>
    <item>
      <title>How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330334#M1990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've downloaded 90 m SRTM elevation data but the raster data contains "holes" of no data that I would like to fill in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to directly interpolate a raster image?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked quite a bit, but I've been unable to find a way.&amp;nbsp; As a work around I've converted the raster file to a collection of point values and attempted to interpolate that, but this always leads to "System Error (0): Unexpected Error.&amp;nbsp; Failed to Execute."&amp;nbsp; I've attempted working with a smaller extents (perhaps still too large), but I still get the same error.&amp;nbsp; The interpolation method that I was attempting to use was spline, so I selected IDW, thinking that it might be less computationally intensive, but I still get the same problem, even when I reduce the resolution greatly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to directly interpolate a raster image, or must it be converted to a point or TIN file first?&amp;nbsp; How big can a file be without causing trouble?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any suggestions that you might have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 12:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330334#M1990</guid>
      <dc:creator>RichardBecker</dc:creator>
      <dc:date>2011-06-13T12:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330335#M1991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you considered the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z00000050000000.htm"&gt;Fill&lt;/A&gt;&lt;SPAN&gt; tool?&amp;nbsp; It is used to fill in gaps in the data within certain parameters.&amp;nbsp; This should create the complete DEM that you are looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 10:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330335#M1991</guid>
      <dc:creator>JeffreySwain</dc:creator>
      <dc:date>2011-06-14T10:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330336#M1992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would use something along the line of this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CON(isnull([raster]), FOCALMEAN([raster], rectangle,4,4), [raster])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change the size of the rectangle.&amp;nbsp; I am sure someone probably has a better way than this, but it generally works well for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&amp;nbsp; Just realized this was posted in the 3D Analyst forums, not Spatial Analyst.&amp;nbsp; My suggestions requires Spatial Analyst extension (as does the Fill tool suggested previously).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd edit to add syntax for ArcGIS 10:&amp;nbsp; Con(IsNull("raster"),FocalStatistics("raster",NbrRectangle(4,4),"MEAN"),"raster")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 12:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330336#M1992</guid>
      <dc:creator>PatrickTaurman</dc:creator>
      <dc:date>2011-06-14T12:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330337#M1993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Patrick, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use the script you provided above to fill in NoData masks I blazed into a single raster image in ArcGIS 10, and it keeps giving me the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000539: Error running expression: rcexec() &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;("esri.Envelope") The operation was attempted on an empty geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010298: Unable to allocate memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010067: Error in executing grid expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this simply indicating an error with my processing capacity or is there something more that you can identify?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 03:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330337#M1993</guid>
      <dc:creator>MarcMonbouquette</dc:creator>
      <dc:date>2011-07-12T03:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330338#M1994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Marc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of python do you have installed?&amp;nbsp; What was the exact syntax you were using in the raster Calculator?&amp;nbsp; Where are you outputting to (file geodatabase, sde, disk)?&amp;nbsp; What output format if outputting to disk (tiff, img, etc)?&amp;nbsp; How large is the raster you are trying to run this on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 12:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330338#M1994</guid>
      <dc:creator>PatrickTaurman</dc:creator>
      <dc:date>2011-07-12T12:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330339#M1995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Patrick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was actually able to run the script successfully this morning.&amp;nbsp; I think the problem was that I had 3 separate inputs of the same raster image going into the raster calculator tool (one for each time "raster" is listed in the script, most likely) in the model builder, and when I opened it up today it only had one input file going in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that being said, the results from the successful run have led me to another question.&amp;nbsp; The NoData gaps I am trying to fill in are all different sizes, some of which might be around 100 cells in length in a given direction.&amp;nbsp; The raster file created from the script started to fill in the gaps, but it only worked to fill in a thin border around many of the gaps because of the 4x4 NbrRectangle size.&amp;nbsp; Is there a way that the rectangle can grow itself based on the size of the gaps, or to keep the focal window moving and averaging until it fills in all of the NoData cells?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 15:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330339#M1995</guid>
      <dc:creator>MarcMonbouquette</dc:creator>
      <dc:date>2011-07-12T15:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330340#M1996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There isn't any way I know to make this "grow" until it fills the NoData.&amp;nbsp; The only thing I can think to do is either increase the size, or run it multiple times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 15:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330340#M1996</guid>
      <dc:creator>PatrickTaurman</dc:creator>
      <dc:date>2011-07-14T15:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpolate a raster file?</title>
      <link>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330341#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you checked out and of the void-filled SRTM products? For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://srtm.csi.cgiar.org/"&gt;http://srtm.csi.cgiar.org/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 19:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/how-do-i-interpolate-a-raster-file/m-p/330341#M1997</guid>
      <dc:creator>ChrisBater</dc:creator>
      <dc:date>2011-07-14T19:39:01Z</dc:date>
    </item>
  </channel>
</rss>

