Re: [R-sig-Geo] help to creating a points subset with R: Cut points shapefaile with a buffer polygon shapefile

2009-02-25 Thread Roger Bivand
On Wed, 25 Feb 2009, Paul Hiemstra wrote: Hi, Have you tried the overlay command in the sp package? Exactly. The questioner had asked me offlist (the list is a much better choice, it does 24/7, which I don't), and the answer is: library(rgdal) buff <- readOGR(".", "buff_canopy_subset") can

[R-sig-Geo] RSAGA .asc morphology loop question

2009-02-25 Thread Tim Sippel
I'm using RSAGA (version 0.9-4) to calculate rate of change (slope) on a series of .asc files. I'm getting en error message saying it can't open the grid. My code follows: library(RSAGA) # data directory containing my .asc files to calculate slope on wd.in<-"C:\\my.data.dir" setwd(wd.in) env<-rsa

Re: [R-sig-Geo] help to creating a points subset with R: Cut points shapefaile with a buffer polygon shapefile

2009-02-25 Thread Paul Hiemstra
Hi, Have you tried the overlay command in the sp package? cheers, Paul Alessandro schreef: Hi All Researcher, Thanks for help and suggestions. I have a points shapefile (soil) with one column [H] and a circular buffer polygons (plots) with a column [ID identify. Ex: 1,2,3 etc etc]. I

[R-sig-Geo] help to creating a points subset with R: Cut points shapefaile with a buffer polygon shapefile

2009-02-25 Thread Alessandro
Hi All Researcher, Thanks for help and suggestions. I have a points shapefile (soil) with one column [H] and a circular buffer polygons (plots) with a column [ID identify. Ex: 1,2,3 etc etc]. I wish to clip the points shapefile with the buffer and obtain a new points shape file (only the

Re: [R-sig-Geo] Timezone boundaries (for adding to world map)?

2009-02-25 Thread Roger Bivand
On Wed, 25 Feb 2009, Roger Bivand wrote: On Tue, 24 Feb 2009, Martin Maechler wrote: "RB" == Roger Bivand on Fri, 20 Feb 2009 09:55:52 +0100 (CET) writes: RB> On Wed, 18 Feb 2009, Greg Snow wrote: >> There is a shapefile (works well with maptools and sp packages) with a >> wo

Re: [R-sig-Geo] variance estimation (gstat, geoR, automap)

2009-02-25 Thread Pilar Tugores Ferra
Thanks you all! I'll have a look and see if I can have access to the reference material you provided me! Cheers Mª Pilar Tugores Ferrà PhD Student Instituto Español de Oceanografía Centro Oceanográfico de Baleares Muelle de Poniente s/n 07015 Palma de Mallorca Baleares, España Telf.: (34) 971 4

Re: [R-sig-Geo] Timezone boundaries (for adding to world map)?

2009-02-25 Thread Roger Bivand
On Tue, 24 Feb 2009, Martin Maechler wrote: "RB" == Roger Bivand on Fri, 20 Feb 2009 09:55:52 +0100 (CET) writes: RB> On Wed, 18 Feb 2009, Greg Snow wrote: >> There is a shapefile (works well with maptools and sp packages) with a >> world map and time zone information at: >> h

Re: [R-sig-Geo] stratified random sampling

2009-02-25 Thread Dylan Beaudette
On Wed, Feb 25, 2009 at 12:53 AM, Roger Bivand wrote: > On Tue, 24 Feb 2009, Heuvelink, Gerard wrote: > >> Dear list, >> >> The stratified random sampling problem that I submitted a few days ago has >> already been solved, with the help of several of you, notably Edzer Pebesma. >> Edzer came up wi

Re: [R-sig-Geo] topographic maps

2009-02-25 Thread Roger Bivand
On Wed, 25 Feb 2009, Hans-Jörg Bibiko wrote: Dear all, I have a tiny problem, I'd like to draw a map showing topographic information (like in a normal atlas) and on top of this map some polygons, points, etc. given by long, lat values. I tried the geomapdata ETOPO5 in conjuction with GEOTOP

[R-sig-Geo] topographic maps

2009-02-25 Thread Hans-Jörg Bibiko
Dear all, I have a tiny problem, I'd like to draw a map showing topographic information (like in a normal atlas) and on top of this map some polygons, points, etc. given by long, lat values. I tried the geomapdata ETOPO5 in conjuction with GEOTOPO which actually works fine but the point i

[R-sig-Geo] AsciiGridPredict() returns error message

2009-02-25 Thread Frauke Barthold
Dear List, I am requesting help for the application of AsciiGridPredict() in the yaImpute package. I am trying to spatially predict my Y variable using a randomForest Model. It seems to be a straightforward function but I am getting error messages that I do not understand. My Y variable

Re: [R-sig-Geo] problem with readOGR

2009-02-25 Thread José M. Blanco Moreno
Thank you for the info. I will try to handle this issue with the data provider, since it will be safer for ALL (current and prospective) users. BTW: My excuses for the second broken shapefile... it was not my intention! José M. ___ R-sig-Geo mailing l

Re: [R-sig-Geo] problem with readOGR

2009-02-25 Thread Roger Bivand
On Wed, 25 Feb 2009, "José M. Blanco Moreno" wrote: Dear list members, I have been trying to import a shapefile, but I am facing the following problem: readOGR('.','SOU-0') Error en ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_field_name_encoding) : Multiple # dimensio

[R-sig-Geo] problem with readOGR

2009-02-25 Thread José M. Blanco Moreno
Dear list members, I have been trying to import a shapefile, but I am facing the following problem: > readOGR('.','SOU-0') Error en ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_field_name_encoding) : Multiple # dimensions: 2:1364727026 > ogrInfo('.','SOU-0') Error en og

Re: [R-sig-Geo] stratified random sampling

2009-02-25 Thread Roger Bivand
On Tue, 24 Feb 2009, Heuvelink, Gerard wrote: Dear list, The stratified random sampling problem that I submitted a few days ago has already been solved, with the help of several of you, notably Edzer Pebesma. Edzer came up with the following solution: WARNING!! This is only conditionally co

Re: [R-sig-Geo] variance estimation (gstat, geoR, automap)

2009-02-25 Thread Virgilio Gomez Rubio
Hi, In addition to the list provided by Paul, I would like to add Geostatistics for Environmental Scientists, 2nd Edition Richard Webster, Margaret A. Oliver I have used it in courses for agricultural and environmental engineers and it worked well. I think that the balance between mathematical