>> ESRI Product Board (Arcview, etc.)
Thread views: 7728 *View all threadsNext thread*Threaded Mode

(Stranger )
10/21/09 12:40 PM
ESRI Arc Engine Raster reading Report this article as Inappropriate to us !!!Login to Reply

I want to use Visual Studio 2008 and C# to read an elevation point from a raster layer.  The raster layer is from a file provided by ESRI called "ETOPO2(2 min) - USGS.lyr" and came with the ESRI EDN DVDs.   When I use the OnMouseMove event on the axMapControl I can return the latitude and longitude as decimal degrees from the map and display these on a status bar.

I have not been able to correctly return the elevation pixel value from the raster layer.  If I use the Identify tool and select the raster layer it does report back the elevation point as the Pixel value.   I would like to show the elevation value in a status bar along with the latitude and longitude when the mouse is moved over the map.  

Any help or sample code would be great.



*View all threadsNext thread*Threaded Mode
Jump to


Teledyne Optech
Interdrone 2018

Internet Business Systems © 2018 Internet Business Systems, Inc.
25 North 14th Steet, Suite 710, San Jose, CA 95112
+1 (408) 882-6554 — Contact Us, or visit our other sites:
AECCafe - Architectural Design and Engineering EDACafe - Electronic Design Automation TechJobsCafe - Technical Jobs and Resumes  MCADCafe - Mechanical Design and Engineering ShareCG - Share Computer Graphic (CG) Animation, 3D Art and 3D Models
  Privacy PolicyAdvertise