Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am new to ArcGIS and not familiar with it. I want to interpolate heights in a DEM file using ArcGIS? Is it possible? Actually, I want to write a C# code that will read the height from DEM file for given coordinates, and if the height is missing then I will perform interpolation and return the height. I want to use ArcGIS interpolation algorithms instead of writing my own.

share|improve this question
1  
Usually a DEM is already "interpolated", meaning it is a continuous raster surface, what format is yours in? If it's an ascii text file commonly called USGS DEM format or similar all you might need to do is run the DEM to Grid or Ascii to Grid tools (in the Conversion Tools toolbox) to create an interpolated surface. –  matt wilkie May 10 '11 at 7:15
    
@matt, the DEM file is in USGS DEM format and not already interpolated. I do not want to draw or display it on ArcGIS. I want to read its contents in a C# program and apply interpolation programatically using ArcGIS interpolation algorithms. –  RK01 May 10 '11 at 8:11
1  
This question appears to be almost a duplicate of gis.stackexchange.com/questions/5675/… . That question contains most of the solution in its very statement! –  whuber May 10 '11 at 14:50
    
The USGS DEM file format is an interchange format and not designed to be used in place. It's a medium to transfer from one place (program) to another. The process of creating a grid from the .dem file, using the conversion tools, will result in a continuous surface - a model with no gaps (but can include "nodata" cells) - which you can then run your C# code against. I don't think the ArcGIS API will operate directly against the .dem file. –  matt wilkie May 10 '11 at 16:01
    
@Matt, is it possible to use ArcGIS interpolation functions, if present in its API, to do interpolation against data acquired from the .dem file? For instance, I'm getting heights from .dem file and if height value is missing against certain coordinates, I can use ArcGIS API to interpolate and return me the missing height. –  RK01 May 16 '11 at 9:26

2 Answers 2

you don't need to interpolate your dem . dem means digital elevation model . you can interpolate contours or points that have elevation field . you should use topo to raster tool in arctoolbox to convert contour to dem .

topo to raster

share|improve this answer
    
What if I have a missing value in my DEM file? –  RK01 May 10 '11 at 10:59
    
you can remove your missing value if you know location of missing value in dem . you can use extract by mask tool to extract the region without missing value and remove missing value in dem . –  wetland May 10 '11 at 11:30
    
I need to interpolate to compensate for the missing points. And I need to do that programatically, using C# and ArcGIS API's. –  RK01 May 10 '11 at 13:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.