Re: [R-sig-Geo] error message rgdal: dimensions do not match

2006-07-03 Thread karl . sommer
I am encountering a error message when attempting to do "inverse distance kriging" or variogram calculations. The error is always the same ERROR: dimensions do not match: locations 1513600 and data 611452. What puzzles me is the fact that I am using the same code as I have successfully used with

[R-sig-Geo] Line width in sp maps

2006-07-03 Thread Vladimir Batagelj
Hi, I am trying to change the line width in (shape) maps produced using sp package, but without success. All my attempts with lwd parameter failed. I found a brute force solution to save the map in EPS and change the linewidth there - but I would expect that there is a regular solution. best reg

Re: [R-sig-Geo] universal kriging in gstat

2006-07-03 Thread Alí Santacruz
Thanks Edzer, Yes, I found that the answer was very simple: as you say, we can use the coordinates() method. Best regards, Alí Santacruz >From: "Edzer J. Pebesma" <[EMAIL PROTECTED]> >To: Alí Santacruz <[EMAIL PROTECTED]> >CC: r-sig-geo@stat.math.ethz.ch >Subject: Re: [R-sig-Geo] universal k

Re: [R-sig-Geo] universal kriging in gstat

2006-07-03 Thread Edzer J. Pebesma
Alí Santacruz wrote: > Dear list members, > > I am trying to perform universal kriging in gstat, and according to the help > of 'krige' function, the names of the coordinates of 'newdata' argument must > be the same as defined in 'locations'. > I suspect it is time to update this documentation

Re: [R-sig-Geo] distance calculation; meuse.grid

2006-07-03 Thread Roger Bivand
On Mon, 3 Jul 2006, Adrian Baddeley wrote: > > [EMAIL PROTECTED] writes: > > > I was wondering if there is a way in "R" or "sp" to calculate shortest > > distance from a given object such as a river, similar to the data example > > "meuse.grid" under the gstat package. > > In package 'spatstat

[R-sig-Geo] distance calculation; meuse.grid

2006-07-03 Thread Adrian Baddeley
[EMAIL PROTECTED] writes: > I was wondering if there is a way in "R" or "sp" to calculate shortest > distance from a given object such as a river, similar to the data example > "meuse.grid" under the gstat package. In package 'spatstat' there is a function distmap() designed for this purpose.

Re: [R-sig-Geo] distance calculation; meuse.grid

2006-07-03 Thread Roger Bivand
On Mon, 3 Jul 2006 [EMAIL PROTECTED] wrote: > > Hello > > I was wondering if there is a way in "R" or "sp" to calculate shortest > distance from a given object such as a river, similar to the data example > "meuse.grid" under the gstat package. I was wondering how the "dist" > variable in the "