Select to view content in your preferred language

Truncated Spatial Results from Cell Statistics tool using SUM statistic.

1354
2
Jump to solution
12-27-2020 07:28 PM
Labels (1)
LaurieKurilla1
Regular Contributor

BACKGROUND:  I have 12 rasters, each of which I have reclassified (using RECLASSIFY tool).  That is, each pixel of each raster has a value of  0 or 1 depending on the presence or absence of a particular value in each raster layer.  Then I use Cell Statistics to sum all 12 rasters.  This provides me with an output raster with the summed values, which is then a classification map.

PROBLEM:  I found that the output was truncated spatially.  That is, instead of showing the entire region (in this case Asia), it is showing a rectangular subset.   I went back and looked at each individual raster and redid some of them to ensure they were all in the right format.  But no luck.  Then I tried doing a pairwise Cell Statistic run with only two raster layers at a time and some other types of tests.   

There are just a few layers when added will create this truncated result.  So there must be something to do with extent of the layer which doesn't cause a display problem when displayed alone.  These are all projected in Mercator Sphere.  If it is the 'extent' where would this have been defined and can I change it?  Any other suggestions?

Thank you!

2 Solutions

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Cell size, raster extent and snap raster should all be specified.  Every tool has an Environments tab... most often it is missed and it is the most important one.

cell_statistics.png


... sort of retired...

View solution in original post

LaurieKurilla1
Regular Contributor

Brilliant!  I have poked around in Parameters and Environments tabs a couple of times over the past months but never took the time to really investigate their meaning and importance.  I bow to you Dan Patterson!  Within 15 minutes I was able to achieve what I could not after about 50 hours of frustration.

Thank you, thank you, thank you.

Laurie

View solution in original post

2 Replies
DanPatterson
MVP Esteemed Contributor

Cell size, raster extent and snap raster should all be specified.  Every tool has an Environments tab... most often it is missed and it is the most important one.

cell_statistics.png


... sort of retired...
LaurieKurilla1
Regular Contributor

Brilliant!  I have poked around in Parameters and Environments tabs a couple of times over the past months but never took the time to really investigate their meaning and importance.  I bow to you Dan Patterson!  Within 15 minutes I was able to achieve what I could not after about 50 hours of frustration.

Thank you, thank you, thank you.

Laurie