Re: [R-sig-Geo] time-weighted kernel density interpolation

2011-03-30 Thread stepen . condors
Many thanks for these references / library Clément - they are very useful. Best Stepen On 25/03/2011, at 7:59 PM, Clément Calenge wrote: > I am not sure, but wouldn't the function kernelkcbase from the package > adehabitatHR fit your needs? it implements the product kernel estimator over > sp

Re: [R-sig-Geo] Creating a spatial grid from table and x & y break vectors?

2011-03-30 Thread Michael Sumner
If image(gridData) works, then image(xbrks, ybrks, gridData) should work as well, and plot with the correct spatial coordinates - this assumes that xbrks and ybrks correspond to the dimensions of gridData - either exactly (the centres) or longer by one element (the corners). In the sp package you

[R-sig-Geo] Creating a spatial grid from table and x & y break vectors?

2011-03-30 Thread stepen . condors
Hi all, I have the following datasets and am trying to generate a spatial grid which can be plotted (somewhat like the object created by spatstat's quadratcount): Dataset 1: A table containing a known number of cells, each value relating to the intensity at a given cell. > str(gridData) table

[R-sig-Geo] Creating a spatial grid from table and x & y break vectors?

2011-03-30 Thread stepen . condors
Hi all, I have the following datasets and am trying to generate a spatial grid which can be plotted (somewhat like the object created by spatstat's quadratcount): Dataset 1: A table containing a known number of cells, each value relating to the intensity at a given cell. > str(gridData) table

[R-sig-Geo] Help: creating owin{spats​​tat} objects from GIS data

2011-03-30 Thread Axel Urbiz
Dear List, I'm trying to create an object of class "owin" (observation window) in the package spatstat from GIS mapping data. Here's an example of my problem. Everything goes well until the last line of code. I get the error message shown at the bottom: library(spatstat) library(sp) library(mapto

[R-sig-Geo] Beta testing with the Spatial task view on R 2.13?

2011-03-30 Thread M. Edward (Ed) Borasky
I'm doing some beta testing with R 2.13. When I tried to install the Spatial task view, it threw an error: Error in split.default(X, group) : first argument must be a vector In addition: Warning message: In .get_pkgs_from_ctv_or_repos(views = views, coreOnly = coreOnly, : CRAN task view Spati

Re: [R-sig-Geo] Identifying regions on the boundary

2011-03-30 Thread Roger Bivand
On Wed, 30 Mar 2011, Barry Rowlingson wrote: 2011/3/30 Virgilio Gómez-Rubio : Barry, What you propose is what I would do too. Another approach is to display the adjacency matrix as a graph (i.e., vertices for the "location" of the country and edges for the connections between them). I would sa

Re: [R-sig-Geo] Identifying regions on the boundary

2011-03-30 Thread Barry Rowlingson
2011/3/30 Virgilio Gómez-Rubio : > Barry, > > What you propose is what I would do too. Another approach is to display > the adjacency matrix as a graph (i.e., vertices for the "location" of > the country and edges for the connections between them). I would say > that all the countries whose vertex

Re: [R-sig-Geo] Identifying regions on the boundary

2011-03-30 Thread Virgilio Gómez-Rubio
Barry, What you propose is what I would do too. Another approach is to display the adjacency matrix as a graph (i.e., vertices for the "location" of the country and edges for the connections between them). I would say that all the countries whose vertex can be surrounded by edges will be land-lock

[R-sig-Geo] Identifying regions on the boundary

2011-03-30 Thread Barry Rowlingson
Given a region divided into polygons, how can I find which polygons have any edges that are not neighbouring other polygons? For example, if the region is Africa and the polygons are countries, I want to find the land-locked and non-landlocked countries. My first idea is to create a large rect

Re: [R-sig-Geo] Circles as polygons?

2011-03-30 Thread Pieter Botha
Thanks Alex I am looking at the spDists function at the moment, if my points of interest lies at a distance smaller than the accuracy of the reading I have a match. Somewhat simpler approach maybe :-) On 30 Mar 2011, at 2:48 PM, Alexandre Villers wrote: > Hi, > > Have a look at the disc() func

Re: [R-sig-Geo] Circles as polygons?

2011-03-30 Thread Alexandre Villers
Hi, Have a look at the disc() function in spatstat. I guess you can then either do what you aim at directly with spatstat, or after converting spatstat objects to sp class with maptools appropriate functions. HTH Alex On 30/03/2011 15:39, Pieter Botha wrote: Hi I have a SpatialPointsDataF

[R-sig-Geo] Circles as polygons?

2011-03-30 Thread Pieter Botha
Hi I have a SpatialPointsDataFrame, originating from location readings from an Android device. These readings are received as latitude / longitude as well as an accuracy reading in meters. An csv dump of the SpatialPointsDataFrame can be downloaded here: http://www.ploemp.com/opla/statp.csv I

Re: [R-sig-Geo] Minor tick marks in spplot

2011-03-30 Thread Sébastien Durand
Thanks for your help... I am still unable to generate those minor ticks marks but my knowledge in Lattice is greatly improving. I have hope and if I find a solution I will come and post it here. Thanks. ___ R-sig-Geo mailing list R-sig-Geo@r-project.