Raster 'Minus' tool misses cells?

5572
13
Jump to solution
02-03-2015 11:24 AM
ClayLaHatte
New Contributor

Hi,

I am trying to subtract two rasters in Arcmap 10.1 (see attached image); one is an elevation raster (multicolored blue to red), the other contains sparsely spaced individual cells (points raster, smaller dark green and brown cells in the attached image). These sparsely spaced raster cells come from running the 'Point to Raster' tool on a point shapefile.

The 'Minus' tool (as well as subtracting the rasters via Raster Calculator) omits some cells in the solution (there is no resulting cell at the locations of some of the point raster source cells.

The resulting cells after running the 'Minus' tool are in bright green in the attached imaged. Notice there are 5 pont cells, but only 2 of them show a result after the 'Minus' operation.

I have tried making the points raster cell size various sizes, but so far nothing is working correctly.

Any ideas as to why this would happen? A solution?

0 Kudos
1 Solution

Accepted Solutions
XanderBakker
Esri Esteemed Contributor

It is, but the result might be more difficult to interpret. If you need to use the cell sizes you are using, then there should be a result. In there is not (as in your case) this might be due to the environment setting (extent smaller than the inputs, resulting in a raster containing only part of your data).

You may also want to consider the extract values to points to “join” the values from the other raster to the points and perform the minus in the attribute table of the points

View solution in original post

0 Kudos
13 Replies
ClayLaHatte
New Contributor

Anyone? Beuller?

0 Kudos
LisaTurner
Occasional Contributor II

Hey Clay,

You might want to move this question into one of the groups so that the right people see it.

Lisa

0 Kudos
ClayLaHatte
New Contributor

Thanks. I'll try. I can't make sense of this 'forum' layout. Any suggestion on a particular group?

Clay

0 Kudos
LisaTurner
Occasional Contributor II

I would guess this one GIS would be a good place to start and someone in there might be better able to help you.

0 Kudos
ClayLaHatte
New Contributor

Great. Thanks.

0 Kudos
XanderBakker
Esri Esteemed Contributor

The right place would be Spatial Analyst

ClayLaHatte
New Contributor

Thanks.

0 Kudos
XanderBakker
Esri Esteemed Contributor

When you rasterize your point, take a close look at the environments settings. These define how you points will be rasterized. When you are going to combine the points in raster format with another raster, you should consider setting the environment setting to match to the existing raster. See this help topic: ArcGIS Help (10.2, 10.2.1, and 10.2.2)

Extent, Snap Raster and Cell Size should match the extisting raster.

0 Kudos
ClayLaHatte
New Contributor

So, in essence, it is not possible to subtract rasters with different cell sizes?

0 Kudos