Assigning values from one raster to another

477
1
01-04-2011 02:24 PM
PhilLeckman1
New Contributor
Hi -

I have a raster showing locations of beaches along a reservoir that is currently all classified with a single integer value. I need to assign elevation values to my beach zones from a much more extensive underlying DEM. I could always convert the beach raster to a polygon, then clip the DEM to the polygon extent, but I would rather eliminate that step of the process. Is there a way to assign DEM values to match the extent of my beach raster without such a conversion?
0 Kudos
1 Reply
curtvprice
MVP Esteemed Contributor
Hi -

I have a raster showing locations of beaches along a reservoir that is currently all classified with a single integer value. I need to assign elevation values to my beach zones from a much more extensive underlying DEM.


You didn't say which version of ArcGIS you're using, but this kind of think is easily done using map algebra in its various incarnations, for example, if your beach areas are value 1,

Con(BeachRas == 1, DemRas)

will create a raster that is nodata everwhere but on the beaches, and in the beach areas you will have elevation values.
0 Kudos