Cyndy

saving point values in a raster as a result of a CON statement

Discussion created by Cyndy on Jun 13, 2013
Hi all,

I'm trying to figure out how to do this programmatically:  I have a Python script in which I'd like to, essentially, keep track of values in a raster that correspond to points in a feature class.  I perform a Con conditional where in which I change the values of a raster based on their correspondence to a point feature class that's been converted to a raster, ie:

outCon = Con(IsNull(PointFeaturesRaster), Raster(OriginalRaster), 1.0) 


I need to change the values of the point locations in the raster to 1.0, but I want to also preserve what the OriginalRaster values are in those locations.  Am I making this clear enough?   What is the most elegant way to go about this?

Outcomes