Alex, It depends. If you change the resolution directly, with "res", you will loose the cell values because it affects the number of rows and columns. This is not the case if you change it indirectly via "extent" (because in that case the number of cells stays the same). You can also use "aggregate" or "disaggregate" to change to resolution and compute new cell values. Robert
On Tue, Sep 21, 2010 at 5:44 AM, Alaios <ala...@yahoo.com> wrote: > Hello everyone, > I would like to ask you something concerning how resolution works in raster > layers. > Lets say that I have a raster layer of 100x100 cells. How resolution changes > the > way data are stored in this matrix? > Could you please shed some light in this? > > I would like to thank you in advance for your help > Best Regards > Alex > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo