Extract data based on cell value

726
3
08-27-2012 04:41 AM
ShaneCarey
New Contributor
Hi,

Is it possible to extract data from a raster based on cell value.

Thanks for you help.
Tags (2)
0 Kudos
3 Replies
by Anonymous User
Not applicable
Yes.  You can use the extract by attributes from spatial analyst.

ExtractByAttributes("elevation", "VALUE > 1000") 
0 Kudos
KevinBell
Occasional Contributor III
or:


import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.RasterToPoint_conversion("source.img", "c:/output/source.shp", "VALUE")
0 Kudos
ShaneCarey
New Contributor
Thanks for that
0 Kudos