Customer Service | Training | Contact Us
You are here: Home > Downloads > ArcScripts > Search Results > Script Details Login | Feedback | Help

Get raster value according to a point coverage (10/07/05)



contact author | download help | add bookmark | view bookmarks
Author SHAN CHEN
File Name RetrievePointValue.zip
Language Visual Basic
Last Modified Mar 21 2007
Status of work Public Domain
Software ArcGIS Desktop
File Size 641.39 kb
Downloads 3164

ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.


Summary
This tool gets the raster value (e.g. Elevation) from a raster layer for a point layer, add one column in the point layer's attribute table.

The default column name is "Elevation".

Logs:
1. (Thanks to Dr. Thomas Gottschalk):
If you use "Add XY Data" to add a point layer, please first convert it to a shape file, then add the newly created shape file to current map, run the script and select the shape file as point layer.(08/18/03)

2. (Thanks to Mr. Samuel Jonathon Yeaman): A calculation error is corrected.(08/25/03)

3. (Thanks to Mr. Adam LaBorde):
If there are points outside the extent of the raster layer, after running this program, these points will be assigned value -9999. (01/10/04)

4. A word document: LayerOrderToolUsage.doc is added. This document is the ArcObject VB dll for ArcGIS usage guide. Although it is for another ArcObject VB dll of mine, the procedures described in it is universal. (01/10/04)

5. Now, an ArcGIS 9.1 compatible version is included (10/07/05). There are two zipped files:
1). RetrievePointValue_for_8.x.zip --> for ArcGIS 8.x
2). RetrievePointvalue_for_9.1.zip --> for ArcGIS 9.1

Notes:
1. Some users found problem using it with the ArcSDE raster layers. Since I don't have SDE to test, I cannot address this issue.
2. The newly created field name is set to be "Elevation". If you want to change it, either change the field name after running the program or change the preset field name in the VB source code and recompile the dll. But do NOT use field name containing white space, it can cause error and this is the reason I won't provide the functionality for the user to input the name: I don't know ALL the naming constrains.

3. Thanks to all the users using it, especially to those who found bugs and kindly informed me. You are more than welcome to contact me with any question/bug of this program. I cannot make it without your help!

4. This is a more universal one (can deal with most of the data types)
http://arcscripts.esri.com/details.asp?dbid=14802