Thanks to both! Even for plotting a large grid, these are good options for speeding that up where the full resolution isn't needed...
On Thu, May 26, 2011 at 9:52 AM, Andy Bunn <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] [mailto:r-sig-geo-bounces@r- >> project.org] On Behalf Of Roger Bivand >> Sent: Tuesday, May 24, 2011 2:03 PM >> To: Nick Matzke >> Cc: [email protected] >> Subject: Re: [R-sig-Geo] coarsening a grid >> >> 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? > > aggregate() in raster is useful/fast as well. > > >> >> 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: [email protected] >> >> _______________________________________________ >> R-sig-Geo mailing list >> [email protected] >> https://stat.ethz.ch/mailman/listinfo/r-sig-geo > > _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
