Re: [R-sig-Geo] operations with grassgis

2010-08-25 Thread Roger Bivand
On Tue, 24 Aug 2010, Ricardo Rodríguez wrote: hi all am new to the use of R-cran, I have a question that you can carry objects grassgis calculations or the results of a particular process. thanks for the help and attention Please first read the Spatial task view on your CRAN mirror carefully,

[R-sig-Geo] SpatialGridDataFrame to SpatialPixelDataFrame

2010-08-25 Thread Dorothea Lemke
Dear list, I have problems to coerce a SpatialGridDataFrame object to a SpatialPixelDataFrame. I 've calculated a kerneldensity (splancs) and I want to convert the results from the SpatialGridDataFrame to a SpatialPixelDataFrame. My R-code: library (maptools) library (splancs) library (rgdal)

Re: [R-sig-Geo] SpatialGridDataFrame to SpatialPixelDataFrame

2010-08-25 Thread Roman Luštrik
Your df variable should have coordinates in it and in the form of a matrix or SpatialPoints (from ?SpatialGridDataFrame: points coordinates, either as numeric matrix or as object of class SpatialPoints-class). Based on the code you provided, I would guess that you have a few columns to spare, and

Re: [R-sig-Geo] SpatialGridDataFrame to SpatialPixelDataFrame

2010-08-25 Thread Nikhil Kaza
You have a typo. It is SpatialPixelsDataFrame. note the s Nikhil Kaza Asst. Professor, City and Regional Planning University of North Carolina nikhil.l...@gmail.com On Aug 25, 2010, at 4:43 AM, Dorothea Lemke wrote: Dear list, I have problems to coerce a SpatialGridDataFrame object to a

[R-sig-Geo] Workshop on handling and analyzing spatio-temporal data in R, 21-22 Mar 2011

2010-08-25 Thread Edzer Pebesma
Dear all, The institute for geoinformatics of the university of Münster is happy to announce a two-day workshop on handling and analyzing spatio-temporal data in R. You'll find the full announcement and description on http://www.opengeostatistics.org/ Workshop goals are: (1) to meet other R

Re: [R-sig-Geo] matrix distances

2010-08-25 Thread jeremy.raw
There are a two ways that I am aware of to generate a matrix of point-to-point distances computed by traversing a network of roads: 1. One well-tested and reasonably fast solution is the igraph package on CRAN, using the shortest.paths function 2. There is a more specialized (and still

Re: [R-sig-Geo] matrix distances

2010-08-25 Thread Barry Rowlingson
On Wed, Aug 25, 2010 at 3:55 PM, jeremy@dot.gov wrote: There are a two ways that I am aware of to generate a matrix of point-to-point distances computed by traversing a network of roads: 1. One well-tested and reasonably fast solution is the igraph package on CRAN, using the

[R-sig-Geo] Label only 2 (min max) contour lines using Lattice's contourplot() ?

2010-08-25 Thread Jorgy Porgee
Good day all, I hope someone can help. I'm new to the contourplot() function and because the contour plots I'm making have very close contour lines, I'd like to label only the minimum and maximum values. Is there a straight forward way of doing this? Thus far, I've tried setting the labels

Re: [R-sig-Geo] Spatial data tower of babel

2010-08-25 Thread Barry Rowlingson
On Wed, Aug 25, 2010 at 1:53 PM, Edzer Pebesma edzer.pebe...@uni-muenster.de wrote: Barry, what exactly did you try out before you posted? Your claim is not completely true: geoR has a function as.geodata.SpatialPointsDataFrame, so you can do, for instance: library(geoR) data(meuse) # from

Re: [R-sig-Geo] Spatial data tower of babel

2010-08-25 Thread Robert J. Hijmans
I think that such a package would be very useful. It could have a single function like convert(x, 'AnotherClass') The package would only need to depend on sp, all the other packages would be suggested such that you do not need to install the packages you do not use. Robert On Wed, Aug 25,

[R-sig-Geo] Using SEVs in GAMs

2010-08-25 Thread jtm6
Hello, Can anybody give an explanation of why spatial eigenvectors (SEVs) such those produced by ME() in package spdep can not be used in general additive models (gams)and only in linear models? I think I understand generally why (the SEVs are orthogonal and linearly independent) but I would

Re: [R-sig-Geo] Spatial data tower of babel

2010-08-25 Thread Robert J. Hijmans
Rather something like this in the simplest form; i.e. using an S4 method for inheritance, and passing it on to other packages as much as possible. setMethod('convert', signature(x='ANY', class='character'), function(x, class, ...) { y - try( as(x, class), silent=TRUE ) if (class(y)

[R-sig-Geo] Monte Carlo simulation and random habitat selection

2010-08-25 Thread elaine kuo
Dear List, I am trying to predict species distributions using MADIFA (Calenge et al. 2008). However, the codes (Monte Carlo simulation) are not familiar to me, and they seem unavailable in package adehabitat. (similar to the response from the authors) Please kindly help and thank you in advance.

Re: [R-sig-Geo] Monte Carlo simulation and random habitat selection

2010-08-25 Thread Turner Rolf
Elaine Kuo wrote: Dear List, I am trying to predict species distributions using MADIFA (Calenge et al. 2008). However, the codes (Monte Carlo simulation) are not familiar to me, and they seem unavailable in package adehabitat. (similar to the response from the authors) Please kindly help and