|
Hello all, I have rasters in a fine resolution, with values of 1 and null. I need to create, in a coarser resolution, new rasters where each cell gets the total number of non-null pixels from the fine resolution raster that are within the coarse pixel. The clunky method I worked out uses r.out.xyz and r.in.xyz. Starting in the fine resolution, I export all (non-null) cell locations with r.out.xyz. Then I switch to the coarse resolution and do r.in.xyz with method=n. Seems to work, but is there anything better, more elegant? Thanks, Micha --
Micha Silver
Arava Drainage Authority +972-523-665918 |
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
