2

Using ArcGLobe I'm attempting to display elevation data.

I'm using Digital Terrain Elevation Data (DTED) data and trying to load it in the following fashion.

IRasterLayer rasterLayer = new RasterLayerClass();
rasterLayer.CreateFromFilePath(myFilePath);
Globe.AddLayerType(rasterLayer , esriGlobeLayerType.esriGlobeLayerTypeElevation , true);

Nothing shows up on the globe. Thoughts? Ideas?

underdark
  • 84,148
  • 21
  • 231
  • 413
ist_lion
  • 511
  • 1
  • 4
  • 16

2 Answers2

3

Your first test it to see if you can add the data through the standard ArcGlobe UI. If you can't add the data there, then there are other problems.

James Schek
  • 1,072
  • 6
  • 9
-2

This was a combination of bad DTED data and exageration not being set.

ist_lion
  • 511
  • 1
  • 4
  • 16
  • 1
    Shouldn't you give James the points then? I mean, you probably woud not have been able to open the data on ArcGlobe if it was bad. – Ragi Yaser Burhum Apr 26 '11 at 04:30
  • I used other data and it still wasn't showing. So while he was somewhat correct (bad data) the Exageration was the real answer. – ist_lion Apr 26 '11 at 12:29