3

I have a binary raster (1-0), cell size = 10m.

I would like to generate a 1km raster, where cell values equal the mean value of all cells within a 3 km radius. I know I can use focal statistics to generate a 1km raster from a 1km raster using a window.

But is there any way to calculate the mean of all the 10m cells that fall within a window around each 1km cell (i.e. window being a circular with radius = 3km)?

4
  • Is Block Statistics what you are after?: desktop.arcgis.com/en/arcmap/latest/tools/… – Aaron Sep 3 '20 at 1:02
  • Yes, that will work! Thanks! – Henry Stoetzel Sep 3 '20 at 6:03
  • Actually, now I had a chance to try it. Block statistics won't work! I need each cell to have its own unique (i.e. moving) window. preferably circular. If I use the snap raster and raster analysis environments to snap to another 1km raster, and set the cell size equal to the 1km raster it seems to work. Is there any reason I shouldn't do this? – Henry Stoetzel Sep 5 '20 at 5:34
  • You can specify a circular neighborhood with block statistics. Setting a snap environment is recommended. – Aaron Sep 5 '20 at 13:15
1

Block Statistics will work well for your workflow.

Partitions the input into non-overlapping blocks and calculates the statistic of the values within each block. The value is assigned to all of the cells in each block in the output.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.