[R-sig-Geo] rgdal for iOS mavericks build (R 3.1.0)

2014-04-16 Thread Manuel Spínola
Dear list members, I am using R 3.1.0 mavericks build but I noticed that rgdal is not available yet. Any idea when will be available? Best, Manuel -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia CO

Re: [R-sig-Geo] Help to estimate Anisotropy Parameters

2014-04-16 Thread Jon Olav Skoien
Mario, The issue with the current version of intamap is that the anisotropy detection method is too slow and too memory consuming for larger data sets. The old version used a method based on the akima package, but this was discontinued because of incompatible licenses (akima is strictly non-c

[R-sig-Geo] nearest neighbour between locations in two data sets

2014-04-16 Thread Gabriele Cozzi
Dear list, I have two data sets sets: - one with lon lat coordinates of relocation events from GPS radio collared animals and - one with lon lat coordinates of villages. For each animal relocation (n = 50'000 ), I want to compute the distance to the nearest village (n = 40). I am failing to find

Re: [R-sig-Geo] spplot of SpatialGridDateFrame (sparsely populated with data) fails

2014-04-16 Thread Edzer Pebesma
After some off-list communication, this pointed to several bugs in sp, which have now been corrected (patch committed to r-forge). On 03/27/2014 12:59 PM, rola...@uni-muenster.de wrote: > Hello R-users! > > I want to plot SpatialGridDataFrames with spplot() and I get some strange / > unexpected /

Re: [R-sig-Geo] nearest neighbour between locations in two data sets

2014-04-16 Thread Sasha Cuerda
Gabriele, Check out the nncross function within spatstat. Should be what you are looking for. Sasha On Wed, Apr 16, 2014 at 10:20 AM, Gabriele Cozzi wrote: > Dear list, > > I have two data sets sets: > - one with lon lat coordinates of relocation events from GPS radio collared > animals and > -

Re: [R-sig-Geo] nearest neighbour between locations in two data sets

2014-04-16 Thread Gabriele Cozzi
Sasha, thanks a lot for the quick answer, it is exactly what I needed and works fine. My bad, I must have failed to see it when checking the spatstat manual G On Wed, Apr 16, 2014 at 4:39 PM, Sasha Cuerda wrote: > Gabriele, > > Check out the nncross function within spatstat. Should be what yo

[R-sig-Geo] import iml with readOGR

2014-04-16 Thread Gabriele Cozzi
Dear all, I am trying to import a kml (polygon) into R following the suggestions from: http://gis.stackexchange.com/questions/58131/how-to-efficiently-read-a-kml-file-into-r and https://stat.ethz.ch/pipermail/r-sig-geo/2010-May/008355.html the code I run is the following: S <- readOGR(“~/Doc

Re: [R-sig-Geo] import iml with readOGR

2014-04-16 Thread Frede Aakmann Tøgersen
Hi I'm not close to my R right now. Can you explain to me what you think your second argument to readORG does? Br. Frede Sendt fra Samsung mobil Oprindelig meddelelse Fra: Gabriele Cozzi Dato:16/04/2014 19.11 (GMT+01:00) Til: r-sig-geo Emne: [R-sig-Geo] import iml with read

Re: [R-sig-Geo] rgdal for iOS mavericks build (R 3.1.0)

2014-04-16 Thread Roger Bivand
On Wed, 16 Apr 2014, Manuel Spínola wrote: Dear list members, I am using R 3.1.0 mavericks build but I noticed that rgdal is not available yet. Any idea when will be available? Thanks for the heads-up - this is not something the rgdal maintainer or developers can answer (also I have no OSX

Re: [R-sig-Geo] rgdal for iOS mavericks build (R 3.1.0)

2014-04-16 Thread Manuel Spínola
Thank you very much Roger. I will do that. Best, Manuel 2014-04-16 11:23 GMT-06:00 Roger Bivand : > On Wed, 16 Apr 2014, Manuel Spínola wrote: > > Dear list members, >> >> I am using R 3.1.0 mavericks build but I noticed that rgdal is not >> available yet. Any idea when will be available?

[R-sig-Geo] Multilevel spatial regression models, with spatial structure at the first level only

2014-04-16 Thread Ferdinand Bersse
Dear list, Is there a way to fit in R a multilevel model that accounts for the spatial proximity/neighborhood that may exist between the cases in the first level? I have found some older questions in R lists related to this issue, but all related to fitting more complex models and usually with s

Re: [R-sig-Geo] import kml with readOGR

2014-04-16 Thread Gabriele Cozzi
Hi, my understanding is that the second argument correspond to the kml layer name, which is not necessarily the file name. However it is in my case, I suppose (think). >From opening my file with a text editor I get: Sarikamis.kml The two arguments should correspond to the arguments: dsn= data so

Re: [R-sig-Geo] import kml with readOGR

2014-04-16 Thread Roger Bivand
On Wed, 16 Apr 2014, Gabriele Cozzi wrote: Hi, my understanding is that the second argument correspond to the kml layer name, which is not necessarily the file name. However it is in my case, I suppose (think). From opening my file with a text editor I get: Sarikamis.kml Try first OGRListL

Re: [R-sig-Geo] import kml with readOGR

2014-04-16 Thread Gabriele Cozzi
Dear Roger, thank you very much for the input. I still seem not to be able to import my .kml file (which, for clarity, is called ‘Sarikamis’) On Wed, Apr 16, 2014 at 8:57 PM, Roger Bivand wrote: > On Wed, 16 Apr 2014, Gabriele Cozzi wrote: > > Hi, >> >> my understanding is that the second

Re: [R-sig-Geo] import kml with readOGR

2014-04-16 Thread Gabriele Cozzi
Apologise for posting again. I kept trying and the solution is as follow (the same name for the two objects dsn= and layer= totally confused me) readOGR(dsn="Sarikamis.kml", layer="Sarikamis.kml”) Again, thanks a lot for the help. Best, Gabriele On Wed, Apr 16, 2014 at 10:13 PM, Gabriel

[R-sig-Geo] gstat Statistical measures of goodness fit of variogram model

2014-04-16 Thread Moshood Agba Bakare
Dear All, The statistical measures of goodness of fit of variogram model to experimental variogram is often determined by Sums of squares error (SSErr) function of gstat library.Am I right to define this statistic to be summation of the product of weighting factor and squared of difference between

[R-sig-Geo] Counting overlapping polygons in a given area

2014-04-16 Thread Andrew Bernj
Hi, I am used to work with ArcGIS but I am new to R spatial functionalities. So, I have been searching in the archives of this list, but did not find a previous question exaclty on what I have to accomplish. It is the following. I have two shapefiles, one with US city and town divisions, where ea