Extract Raster Values

Running programmatically

Extracts cell values from a Raster dataset into a field of the input Point feature dataset.

Inputs:

Outputs:

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ExtractRasterValues
<input dataset> A String representing the input Point feature dataset.
<reference raster> A String - the full name of the reference Raster dataset.
<field name> A String - the field name of the field in the input Point dataset to be populated with the extracted values.

Running the function

ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")

Language Syntax
Python subprocess.call([ETSPath, "ExtractRasterValues", "input dataset", "reference raster", "field name"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "ExtractRasterValues" "input dataset" "reference raster" "field name"
.NET using ETSOutX.dll ExtractRasterValues(input dataset, reference raster, field name)
ArcPy arcpy.ExtractRasterValues("input dataset", "reference raster", "field name")

Notes:

(Go to TOP)