I'm working on a university project based on ARCGIS .NET SDK (I use C#). Now, I'm able to add maps and draw lines and stuff... I want to add a .dt0 DTED file to axMapControl and add a function to MouseDown to MessageBox elevation (height) of mapX,mapY. I googled "A LOT" and got confused. In the end, I managed to add DTED layer using RasterLayer.CreateFromFile but it adds a brown square 😐 Can anyone has a snippet code for add DTED file (.dt0 or even maybe .dt1, .dt2)?
By the way, I got IRasterDataset by rasterworkspace.OpenRasterDataset("n42.dt0") and DTED Level 0 is available for everyone. You can download it for free.