[R-sig-Geo] coarsening a grid

Roger Bivand Roger.Bivand at nhh.no
Tue May 24 23:02:51 CEST 2011


On Tue, 24 May 2011, Nick Matzke wrote:

> Hi all,
>
> Maybe this is obvious but I can't seem to find anything on it.
>
> I have loaded and displayed a small DEM grid (6 MB) with readGDAL.
>
> Is there an easy way to coarsen it or downsample it?

You can downsample it when reading in, see the output.dim= argument to 
readGDAL() and its use in the examples there.

Roger

>
> Cheers!
> Nick
>
>
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list