Re: [R-sig-Geo] Step characteristics on raster maps

2010-10-05 Thread Tomislav Hengl
Hi Basile, If you work with large data, then you should definitively consider using SAGA GIS. Here are some examples: -- # download gridded data: download.file(http://geomorphometry.org/sites/default/files/volcano_maungawhau.zip;, destfile=paste(getwd(),

[R-sig-Geo] syntax problem with r.mapcalculator

2010-10-05 Thread Aubrey Moore
I created a raster map, R20101001, using v.surf.rst. The interpolation overshoots and dips below zero in a few areas. I'd like to use r.mapcalculator, called from spgrass6, to replace all negative values with zeros. But I can't seem to get the syntax right. The following fails and

[R-sig-Geo] How to calculate a cross-correlogram based on Morans I

2010-10-05 Thread Jens Floeter
Dear list members, i need a hint - i am stuck on my search for a function. I would like to calculate cross-correlograms between two variables (predator and prey densities) and use this as an index of spatial overlap. I used the spdep pakcage and use e.g. sp.correlogram(xy.data.nb, prey,

Re: [R-sig-Geo] xml package not install

2010-10-05 Thread Rainer Stuetz
On Mon, Oct 4, 2010 at 10:15 PM, Ricardo Rodríguez ricardorodo...@gmail.com wrote: hi all, I have problems with  installation of package 'XML'  and I need as rgdal not working with grass for lack of this package suggestions. * installing *source* package ‘XML’ ... checking for

Re: [R-sig-Geo] syntax problem with r.mapcalculator

2010-10-05 Thread Roger Bivand
On Tue, 5 Oct 2010, Aubrey Moore wrote: I created a raster map, R20101001, using v.surf.rst. The interpolation overshoots and dips below zero in a few areas. I'd like to use r.mapcalculator, called from spgrass6, to replace all negative values with zeros. But I can't seem to get the

[R-sig-Geo] Syntax for reading Ploting Satellite Image using raster library

2010-10-05 Thread Malik Shahzad
I need help how to read IKNOS image using R raster library and then plot\show that image. (very basic question, sorrry for this). with Best Regards, Malik Shahzad Doctoral Student Asian Institute of Technology (AIT) Bangkok, Thailand +66-8-7676-5616

Re: [R-sig-Geo] Raster package writeRaster format=NCF

2010-10-05 Thread steven mosher
Elizabeth, Are you using a raster stack or a raster brick? i've written out 'bricks successfully. Robert (maintainer) is Out of the office for a bit if you havent tried it using a brick, give that a go. On Mon, Oct 4, 2010 at 8:20 PM, Elizabeth Crisfield ea...@psu.edu wrote: I have read a 10

Re: [R-sig-Geo] Syntax for reading Ploting Satellite Image using raster library

2010-10-05 Thread steven mosher
What is the format of the data? if the file is in a standard format, please see the raster or brick command they will allow you to read direct from the file, with no trouble. plot() just works as plot() is defined as a method for a raster layer and for a brick if you happen to have a multi band

Re: [R-sig-Geo] syntax problem with r.mapcalculator

2010-10-05 Thread Aubrey Moore
Thanks, Roger Your suggested incantation is the correct syntax for Windows. execGRASS(r.mapcalculator, flags = c(overwrite), parameters=list(outfile=result, amap=ddev, formula=\if(A0,0,A)\)) - Aubrey On 10/5/2010 7:56 PM, Aubrey Moore wrote: I created a raster map, R20101001, using