Re: [R-sig-Geo] How can I plot a shapefile with geom_map from ggplot2

2012-07-30 Thread Manuel SpĂ­nola
Thank you very much, I tried Jan example with my data and it works. Best, Manuel 2012/7/25 Jan Verbesselt > Hi Barry, > > Just a small addition based on your example. > ## fortify(columbus,region="id") ## did not work for me > # but this works: > library(spdep) > example(columbus) > columbus@

[R-sig-Geo] Trouble building rgeos 0.2-7 on R-2.15.1 under Suse Linux 64bit

2012-07-30 Thread robert denham
Dear R Users, I'm having trouble building rgeos from source under linux. I have R-2.15.1, and rgeos 0.2-7, it appears to build ok, but fails the final install check: ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/e

Re: [R-sig-Geo] RE : determining suitable lakes for landing

2012-07-30 Thread Barry Rowlingson
On Mon, Jul 30, 2012 at 5:16 PM, bastien.ferland-raym...@mrnf.gouv.qc.ca wrote: > Thanks Barry for your interest in my problem. It is indeed an interesting > problem at the same time as a complex one. > > I've tried your code and it works for two lakes so far. It's seems like a > very good bas

[R-sig-Geo] RE : determining suitable lakes for landing

2012-07-30 Thread Bastien.Ferland-Raymond
Thanks Barry for your interest in my problem. It is indeed an interesting problem at the same time as a complex one. I've tried your code and it works for two lakes so far. It's seems like a very good base for what I want to do. I'll modify it a little to speed it up. First by removing the

Re: [R-sig-Geo] determining suitable lakes for landing

2012-07-30 Thread Barry Rowlingson
On Mon, Jul 30, 2012 at 1:52 PM, Rowlingson, Barry wrote: >> Anybody have an idea how to place the rectangle and discriminate those lakes? To save pasting masses of code in here, I've put a random rectangle tester in a gist: https://gist.github.com/3207893 that does a stupid brute-force appro

[R-sig-Geo] How to select random (contiguous) shapes

2012-07-30 Thread Leonardo Monasterio
Dear all, My aim is to test the robustness of a regression that has a dummy for a set of contiguous (rook) polygons. I need to generate random sets of pseudo-regions, i.e. contiguous polygons randomly selected, and then check if the regression results are robust. I would like to create this pseudo

Re: [R-sig-Geo] a question on lattice contourplots

2012-07-30 Thread Giuseppe Calamita
Martin Ivanov wrote > > > As an alternative, is it possible to fill the regions between the > contour lines in the following plot: > levelplot(volcano, at=heights, col.regions=terrain.colors(6), > contour=TRUE, region=FALSE) > without plotting the contourlines themselves? > ... > well, re

Re: [R-sig-Geo] determining suitable lakes for landing

2012-07-30 Thread Barry Rowlingson
On Mon, Jul 30, 2012 at 1:11 PM, bastien.ferland-raym...@mrnf.gouv.qc.ca wrote: > Dear R gurus, > > I'm facing a challenge that I have a good feeling you could help me with. So > far I'm stuck right at the beginning so I don't have any example to show you. > Here is what I'm trying to do: > >

[R-sig-Geo] determining suitable lakes for landing

2012-07-30 Thread Bastien.Ferland-Raymond
Dear R gurus, I'm facing a challenge that I have a good feeling you could help me with. So far I'm stuck right at the beginning so I don't have any example to show you. Here is what I'm trying to do: I have a polygon shape of lakes for which I have to be able to automatically determine if th