Select to view content in your preferred language

Raster 'Minus' tool misses cells?

5704
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
13 Replies
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

0 Kudos
ClayLaHatte
New Contributor

Interesting. When I try "Join" on a raster, nothing happens when I select that from the context menu.

I am remaking my rasters to insure they all line up and have the same cell size. That should solve the issue. I hope.

Thanks.

0 Kudos
XanderBakker
Esri Esteemed Contributor

I was refering to this tool: Extract Values to Points (Spatial Analyst)

ArcGIS Help (10.2, 10.2.1, and 10.2.2)

0 Kudos
ClayLaHatte
New Contributor

Aah. Ok. I'll look into it. Thanks.

0 Kudos