Create new weighted raster from DEM and polygons

385
1
01-31-2020 03:01 PM
DaveHunt
New Contributor III

I am attempting to create a new, weighted raster from the combination of a regional DEM and a polygon shapefile.  I've attached an image - the DEM is the background - the red/yellow region -- and the black polygons are from the shapefile.

What I am attempting to achieve is a new raster where the cell values represented by the polygons are 1 and everything else is zero.  I would like the new raster to have the same extent as the original DEM.

I've tried a few approaches, using Clip to "cut" out the polygons and then Raster Calculator Con function to set various cells to zero but it seems very convoluted.  Wondering if there is a cleaner approach?  

Thanks in advance.

Dave

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

Con

Conditional evaluation with Con—Help | Documentation 

Con—Help | Documentation 

As for extents, you can set that and cell size and snap raster in the Environments tab of any tool in ArcToolbox