Select to view content in your preferred language

Extract data based on cell value

911
3
08-27-2012 04:41 AM
ShaneCarey
Deactivated User
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
Deactivated User
or:


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