Re: [R-sig-Geo] matching points by their coordinates

2009-01-20 Thread Marcelino de la Cruz
At 08:49 20/01/2009, Roger Bivand wrote: On Mon, 19 Jan 2009, Struve, Juliane wrote: Dear list members, I would like to look for attributes (e.g. distance from the shore) of spatial points in other data sets (e.g. dist_shoreDF) after matching the points in fishlocationDF and

Re: [R-sig-Geo] Spatial data analysis in MATLAB / Comparison of MATLAB vs R

2009-01-20 Thread Barry Rowlingson
2009/1/20 Tomislav Hengl t.he...@uva.nl: I am preparing to teach spatial data analysis at BSc level (environmental and Earth sciences). The study programme is completely based on MATLAB, which means that I will also need to adjust (I do not have much experience with MATLAB). If you

Re: [R-sig-Geo] contour lines on a plot

2009-01-20 Thread Maxime Pauwels
Dear Virgilio and José, Congratulations for the way you succeed in putting contourline at the good place, although I'm not sure I understood the solution. I'm almost able to draw myplot... but not yet. The problem is that I can not use contourlines on a dataframe. I attache my datafile to

Re: [R-sig-Geo] New release of rgdal

2009-01-20 Thread Roger Bivand
On Fri, 16 Jan 2009, Roger Bivand wrote: To all rgdal users! The new rgdal release (0.6-1) is not yet stable in some respects, some of which are showing up as we go. Do not update to this release for production work yet, but do update if you are willing to help sort out problems. The

Re: [R-sig-Geo] Spatial data analysis in MATLAB / Comparison of MATLAB vs R

2009-01-20 Thread Tomislav Hengl
Dear Barry, Thanks for your reply. Funnily enough, I got the same reply from the module coordinator - you will enjoy learning MATLAB. I have accepted to do everything in MATLAB (I do not have much choice really). Then, I might also try Scilab afterwards and controlling Scilab from R. I will

[R-sig-Geo] Passing a parameter from R to r.mapcalc ?

2009-01-20 Thread Agustin Lobo
Hi! I have an script in R that mostly controls the flow of grass commands through system() I've got stuck at: for (k in mistat[,1]){ system(r.mapcalc 'mancha = if(manchas.clmp==k,1,0)') is there any way I could pass the value of k to r.mapcalc? I was thinking on using the

Re: [R-sig-Geo] [GRASS-stats] Passing a parameter from R to r.mapcalc ?

2009-01-20 Thread Roger Bivand
On Tue, 20 Jan 2009, Agustin Lobo wrote: Hi! I have an script in R that mostly controls the flow of grass commands through system() I've got stuck at: for (k in mistat[,1]){ system(r.mapcalc 'mancha = if(manchas.clmp==k,1,0)') is there any way I could pass the value of k to

[R-sig-Geo] NAs returned as from and to IDs in gabrielneigh function in the spdep package

2009-01-20 Thread Dan Putler
Hi, The issue is as in the subject. I'm running R 2.8.1 with spdep 0.4-29, tripack 1.2-11, sp 0.9-14, maptools 0.6-13, spam 0.15-2, and Matrix 0.999375-17 under Linux (I'm still on Ubuntu Dapper). In addition to gabrielneigh returning NAs for from and to point IDs, when the resulting graph object

[R-sig-Geo] Need help in using spdep package for running spatial models

2009-01-20 Thread Giam Xingli
Title: Need help in using spdep package for running spatial models Hi everyone, I am new to spatial modeling using R, and I will be grateful for any tip. I have an ArcGIS shapefile database of ~800 regions (consisting of ~5000 polygons) in geographic projection (lat-long). I have a