By Crop89


2016-02-21 20:43:16 8 Comments

I have two raster files:

Raster 1 has 7974 grids (coarser resolution) with Rowid, Value and Count.

Raster 2 is finer resolution and each grid has values either 1 or 0.

What I want to do is to find the number of 1s in each coarser grid (Raster 1). I assumed I could do this using zonal statistics (zonal sum). I used the following settings:

Input raster or feature zone data: Raster 1

Zone field: Value

Input value raster: Raster 2

Statistics type: Sum

This should just sum up all the 1s falling under the coarser resolution and give me what I need. However, when I run it, it returns me a raster file with only two values: 1 and 0 for each of my coarser grid. What is it that I am doing wrong here?

0 comments

Related Questions

Sponsored Content

1 Answered Questions

0 Answered Questions

Zonal statistics results in some NULL values in QGIS?

1 Answered Questions

1 Answered Questions

2 Answered Questions

[SOLVED] Zonal sum not working?

1 Answered Questions

1 Answered Questions

1 Answered Questions

1 Answered Questions

[SOLVED] Zonal Statistics Tool on raster

0 Answered Questions

Reshape Matrix and perform Zonal Statistics in Matlab

Sponsored Content