I have a raster of the entire united states with 30 meter by 30 meter pixel size. Each pixel has a value of either 0 or 1, with 1 defining a certain type of landcover.
I need to find the percent of 1's within 1 km by 1 km areas gridded across the entire raster so that I know for each 1 sq km, what percent of it is the landcover I'm interested in.
Despite a lot of googling, I am unsure about how to proceed. Mostly how to create the grid. It looks like once I have that I could use
v.rast.stats in GRASS. But maybe I'm way off.
As a result, I don't have a specific error I'm encountering, but rather do not understand the tools well enough to know how to proceed to get my desired output.