I am trying to combine two rasters to create a weighted raster to use in some hydrology calculations.
The first raster is a large region (a basin) in which I've set all the cells values to zero.
The second raster was created from a set of small polygons that lie within the extent of the basin (the first raster). All the values within the second raster are set to 1.
I'm trying to combine these two rasters into one raster that has the full extent of the first. When I use the Cell Statistics tool to Sum the rasters, the product raster is only the extent of the "polygons" from the second raster (basically a rectangle around the polygons). The values are correct (1 for the polygons and zero for everything else) but I want a raster returned that is the full extent of the first raster. The Cell Stats tools doesn't seem to allow me to choose an extent.
I've attached an image to help visualize. The blue is the first raster (the basin). The red points are the "polygons" (raster 2), and the black rect shows the extent returned by the Cell Stats summation. I want the extent to be the full extent of the first raster (the blue).
Options on other ways to achieve the same thing?
Thanks!
Dave
Solved! Go to Solution.
in the Environment you need to set the Processing extent = union of (max of)
in the Environment you need to set the Processing extent = union of (max of)
Thanks Steve. I knew I was missing something like this.