Re: [R-sig-Geo] Still error exporting ascii grid generated by DTM grid, please any suggestions?

2009-11-30 Thread Paul Hiemstra
Hi, Did you try to export the data using writeGDAL (rgdal-package)? Does this generate the same problem? cheers, Paul Tobin Cara wrote: Hello, I am still receiving a bizarre error: Error in write.asciigrid(data_int_ked[1], name1) : Asciigrid does not support grids with non-square cells

Re: [R-sig-Geo] convert points into SHP polygons

2009-11-30 Thread Bjarke Christensen
Jane (rusers.sh) wrote Does anybody know how to convert points to the SHP polygons? OR whether we can generate some SHP polygons randomly in R? ##Example## win-owin(c(0,1),c(0,1)) pp - runifpoint(10) #generate 10 points #i want to change these 10 points into 10 SHP polygons,something like

Re: [R-sig-Geo] 'Customizing' spsample

2009-11-30 Thread Paul Hiemstra
Jean-Paul Kibambe Lubamba wrote: Hello everybody, I am using 'spsample' to derive points along a line and it works perfectly by doing the following : xx - readShapeLines(line2,proj4string=CRS(+proj=utm +zone=34 +datum=WGS84)) sppts - spsample(xx, n=50, type=random) plot(sppts) However, I was

Re: [R-sig-Geo] Indicator Kriging R/gstat

2009-11-30 Thread Tomislav Hengl
Dear Pete, Edzer, If this is of any help, few years ago we have played with using auxiliary maps to interpolate categorical variables (multi-indicators?). The results are reported in: Hengl T., Toomanian N., Reuter H.I., Malakouti M.J. 2007. Methods to interpolate soil categorical variables

Re: [R-sig-Geo] Assessing residual spatial autocorrelation in a Poisson or Negative Binomial model

2009-11-30 Thread Sam Field
Karen, The approach I have taken to this problem in the past, is to fit a Poisson - Normal model and use the normal variation in the Poisson means to capture spatial dependence. Essentially, conditional on the random effects and predictors, the outcome is assumed to be an independently drawn

Re: [R-sig-Geo] Collocated Cokriging of snow height data

2009-11-30 Thread Edzer Pebesma
Stefan Zollinger wrote: Hi I am trying to spatially interpolate snow height data of about 100 stations in a mountain range. In addition, I have a large DEM (SRTM, 90 meters resolution, 2.5 million cells) which also serves as an interpolation raster (just like meuse.grid). As the snow

Re: [R-sig-Geo] plotting vector of direction magnitude

2009-11-30 Thread Samuel Veloz
Thanks Jim, The vectorField function is exactly what I needed. Thanks to everyone else for quick responses. Sam On Mon, Nov 30, 2009 at 12:11 AM, Jim Lemon j...@bitwrit.com.au wrote: Sam Velozsdve...@ucdavis.edu wrote: I have a file of points with x/y coordinates and columns for

Re: [R-sig-Geo] Collocated Cokriging of snow height data

2009-11-30 Thread Ashton Shortridge
On Monday 30 November 2009 10:05:20 Edzer Pebesma wrote: Stefan Zollinger wrote: Any advice or help will be highly appreciated I can see that this section of the book is indeed very dense; introductions to collocated cokriging are (IIRC) Pierre Goovaerts book and perhaps GSLIB literature.