Clip by Raster Value?

Discussion created by mryan13 on Nov 15, 2011
Latest reply on Nov 16, 2011 by jskinner-esristaff

Is there a way to clip a points file based upon a raster VALUE using script? The code below works to clip all points within 'rasterFile'. But rasterFile contains values of both 1 and 0, and I would like to specifically clip where rasterFile has a value of 1.

Thanks for any help!

import arcgisscripting
gp = arcgisscripting.create()

gp.Clip_analysis("points", "rasterFile", "outputFile")