Re: [R-sig-Geo] convert spatstat owin-object to splancs

2009-04-08 Thread Adrian Baddeley
Marco Helbich wrote: I have the following problem: my dataset contains some events (points) and a studyarea, I used some spatstat functions and now I want to use the bandwidth estimation mse2d() in the splancs package. My problem is to convert the spatstat owin-object (studyarea) to use it in

Re: [R-sig-Geo] (no subject)

2009-04-08 Thread x wong
Thank you very much, that is very helpful. x.w. On Wed, Apr 8, 2009 at 12:47 PM, rick reeves wrote: > Assuming that this dataset fits within the confines of R, this could be > done with sp package: spdistsN1() function > See attached sample solution: > > > http://nceas.ucsb.edu/scicomp/GISSem

Re: [R-sig-Geo] (no subject)

2009-04-08 Thread rick reeves
Assuming that this dataset fits within the confines of R, this could be done with sp package: spdistsN1() function See attached sample solution: http://nceas.ucsb.edu/scicomp/GISSeminar/UseCases/AssignClosestPointsR/AssignClosestPointsR.html Hope this helps! RR Jonathan Greenberg wrote: It se

Re: [R-sig-Geo] (no subject)

2009-04-08 Thread Jonathan Greenberg
It seems that a raster-based approach would make more sense, rather than the hugely computationally inefficient approach you are suggesting -- how about using a least cost path or euclidean distance approach? Both are available in many GIS packages (ArcMap, GRASS GIS, etc...) --j x wong wrot

[R-sig-Geo] different samples size for each polygon and raster question

2009-04-08 Thread Michael Denslow
Dear r-sig-geo, I would like to generate random points within each of several polygons. I would like for the sample size of each point sample to be different for each polygon. I would then like to overlay a grid or raster to visualize these point over the entire study area. In other words have

[R-sig-Geo] (no subject)

2009-04-08 Thread x wong
dear all, I have a raster GIS map converted to points. Now, I am trying to calculate the nearest neighbor distance for every point to a cluster of points within this map. Since the number of points is more than two millions, I am wondering whether there is a computation efficient way to do this.

Re: [R-sig-Geo] problem to module MERGE GRID in RSAGA

2009-04-08 Thread gianni lavaredo
Dear R Users and Thanks Tomislav My problem is in this RSAGA module to load all file "_10" (_11, _12, _13) and merge together The real data-base has not an order name and I have more over 100 files (this is an example to understand) DEM2644147_10.sgrd DEM2644147_11.sgrd DEM2644147_12.sgrd DEM264