Adding two rasters together
#1
Posted 21 December 2010 - 02:55 PM
I have two raster datasets that have cost-surface values (0-20). They both have the same extent (i.e. county boundary). The difference between the two is that one raster is a grid of land use and is continuous across the whole county. The other raster only represents public lands. Although it has the same extent as the whole county, there are some areas where the raster has no cells (i.e. private lands).
I am creating a cost surface and want to add the two together. When I do this using raster calculator, the resulting grid only occurs where both datasets overlap. Am I taking the wrong approach to adding the two grids together? Any suggestions?
thanks in advance,
Josh
#2
Posted 21 December 2010 - 03:09 PM
Good afternoon. I know this is simple but am missing something obvious.
I have two raster datasets that have cost-surface values (0-20). They both have the same extent (i.e. county boundary). The difference between the two is that one raster is a grid of land use and is continuous across the whole county. The other raster only represents public lands. Although it has the same extent as the whole county, there are some areas where the raster has no cells (i.e. private lands).
I am creating a cost surface and want to add the two together. When I do this using raster calculator, the resulting grid only occurs where both datasets overlap. Am I taking the wrong approach to adding the two grids together? Any suggestions?
thanks in advance,
Josh
Figured it out..
Areas of private lands were valued as no-data. I reclassified these to equal 0. This way when I added the two together the no-data cells were effectively ignored.
Any other work arounds people would suggest?
cheers,
josh
#3
Posted 21 December 2010 - 03:11 PM
Adam Wilbert
CartoGaia.com & AdamWilbert.com
Lynda.com author of "Access 2013 Essential Training"
#4
Posted 21 December 2010 - 03:13 PM
Laura
#5
Posted 21 December 2010 - 03:33 PM
Any other work arounds people would suggest?
New in ArcGIS 10 is the ability to Ignore_NoData in your analysis.
For instance, in your case, you wanted to Sum the rasters.
Use the Cell Statistics (Spatial Analyst) tool.
There will be a parameter in there called 'ignore_nodata' where you can toggle the inclusion or exclusion of nodata values from your overlay.
#6
Posted 22 December 2010 - 12:39 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

United States
Back to top

Canada









