Re: [R-sig-Geo] readVECT6 error in spgrass6 (CVS version)

2009-04-20 Thread Roger Bivand
On Mon, 20 Apr 2009, William McCoy wrote: Roger, Great. I used the rgdal from CVS and that works fine. The spgrass6 cvs has also been updated to guard against using an argument to readOGR in rgdal not present in earlier versions. Roger Thanks, Bill Roger Bivand wrote: On Mon, 20 Apr

Re: [R-sig-Geo] creating polygons

2009-04-20 Thread Don MacQueen
This is a pretty general question, and there are potentially many ways to do it. One way to get started would be to follow the example(s) in the help page for the overlay() function in the sp package. -Don At 1:26 PM -0400 4/20/09, Alina Sheyman wrote: I have a list of made-up districts an

Re: [R-sig-Geo] readVECT6 error in spgrass6 (CVS version)

2009-04-20 Thread William McCoy
Roger, Great. I used the rgdal from CVS and that works fine. Thanks, Bill Roger Bivand wrote: On Mon, 20 Apr 2009, William McCoy wrote: I am trying to duplicate the example of T. Hengl given in his message of 2 Apr 2009 regarding "Running analysis on DEMs using GRASS (from R?)". I have

Re: [R-sig-Geo] readVECT6 error in spgrass6 (CVS version)

2009-04-20 Thread Roger Bivand
On Mon, 20 Apr 2009, William McCoy wrote: I am trying to duplicate the example of T. Hengl given in his message of 2 Apr 2009 regarding "Running analysis on DEMs using GRASS (from R?)". I have retrieved the latest CVS version (as of last night) of spgrass6 (v. 0.6-5). I am running on a 32-bi

Re: [R-sig-Geo] Converting Tessellation objects into shape files

2009-04-20 Thread Adalberto Pineda
Adrian, Thanks a lot for sharing your script. I was trying to write my own function but your code saved me a lot of time. It worked just fine. I just have one question. I couldn't find the function is.tess. Where is it? -- Adalberto Pineda. -Original Message- From: Adrian Badde

[R-sig-Geo] readVECT6 error in spgrass6 (CVS version)

2009-04-20 Thread William McCoy
I am trying to duplicate the example of T. Hengl given in his message of 2 Apr 2009 regarding "Running analysis on DEMs using GRASS (from R?)". I have retrieved the latest CVS version (as of last night) of spgrass6 (v. 0.6-5). I am running on a 32-bit Intel Fedora 10 system. Everything seem

Re: [R-sig-Geo] Building rgdal 0.6-7 on Mac

2009-04-20 Thread Corey Sparks
Roger, Here's the strange thing: it works! I assumed that the error on install was fatal and nothing was built, but the bloody thing functions! The 0.6-5 version I had before was built under 2.8.1, and following your suggestion, I tried to install 0.6-5 in R 2.9.0 and it gave the same err

Re: [R-sig-Geo] Building rgdal 0.6-7 on Mac

2009-04-20 Thread Rich Grenyer
On Linux i386 and x86_64, and Windows i386, everything looks OK. I built 0.6-7 from source this morning on i386-apple-darwin8.11.1 without problem, linking to the Kyngesbury frameworks; it didn't fail with that error. Rich ___ R-sig-Geo mailing

Re: [R-sig-Geo] Building rgdal 0.6-7 on Mac

2009-04-20 Thread Roger Bivand
On Mon, 20 Apr 2009, Corey Sparks wrote: Dear list, I've just built my new version of R 2.9.0 and installed my packages. sessionInfo() R version 2.9.0 Patched (2009-04-20 r48365) i386-apple-darwin9.6.0 locale: C attached base packages: [1] stats graphics grDevices datasets utils m

[R-sig-Geo] Building rgdal 0.6-7 on Mac

2009-04-20 Thread Corey Sparks
Dear list, I've just built my new version of R 2.9.0 and installed my packages. > sessionInfo() R version 2.9.0 Patched (2009-04-20 r48365) i386-apple-darwin9.6.0 locale: C attached base packages: [1] stats graphics grDevices datasets utils methods base I use rgdal for reading and

[R-sig-Geo] creating polygons

2009-04-20 Thread Alina Sheyman
I have a list of made-up districts and corresponding zip codes. Based on that I want to define my own polygons (for each district) and then use them to create a map. Does anyone know how I would go about defining these? thank you [[alternative HTML version deleted]]

[R-sig-Geo] Re : Lattice with autocorrelation and predetermined values

2009-04-20 Thread Simon Chamaillé
Many thanks Virgilio for your initial suggestion and Roger for clarifications and further suggestions. Both SAR and SAM look attractive, and I'll give them a go. If any other valuable information are gained on the way I'll post them under this thread. Thanks again. simon __

Re: [R-sig-Geo] Lattice with autocorrelation and predetermined values

2009-04-20 Thread Roger Bivand
On Sun, 19 Apr 2009, Virgilio Gomez Rubio wrote: Dear Simon, Perhaps you could model your data using a multivariate Normal with spatial autocorrelation (using a SAR or CAR specification). In this way, you can fix some of the values and then simulate the rest. You can tune the autocorrelation c

Re: [R-sig-Geo] I've a problem with krige and would appreciate any thoughts...

2009-04-20 Thread Edzer Pebesma
The problem is that for universal kriging prediction, you need IDSaco values at the prediction locations. So, you need to make the prediction locations grid (newdata) a SpatialGridDataFrame that has these values on each prediction location (grid node). -- Edzer Peter S. Hayes wrote: > Hello list,