Jump to content

 
Photo

Raster Calculator (ArcGIS 10)

- - - - -

  • Please log in to reply
3 replies to this topic

#1
NeverEasy

NeverEasy

    Contributor

  • Validated Member
  • PipPip
  • 28 posts
  • Finland

Hello!

I have 11 rasters that I wish to sum together (R1 + R2 + R3...). They all have the same cell size and extent, however when I add them together many cells which should have a value >0 turn up as nodata. It seems that the cells that have nodata in even one of the rasters turnn out as nodata even after adding the rasters together (for example: 5+2+7+nodata+2+9 = nodata). What would be the easiest way around this?

Thanks!

#2
NeverEasy

NeverEasy

    Contributor

  • Validated Member
  • PipPip
  • 28 posts
  • Finland

Okay, I found instructions that worked myself! http://support.esri....es/detail/34932

So nevermind I guess :)

But if anyone knows a faster way, feel free to share :)

#3
Gretchen Peterson

Gretchen Peterson

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 238 posts
  • United States

If you want NoData to be zero you can use a con expression like:

Con( IsNull( [MyGrid] ), 0, [MyGrid] )

Do this to the grids first before summing them together.

#4
dsl

dsl

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 225 posts
  • Gender:Male
  • Location:Denver
  • United States

Or reclassify your rasters to set NoData as zero...

Cheers,
David




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->