Re: [R] GIS operations

2011-12-23 Thread Paul Hiemstra
On 12/20/2011 12:54 PM, Antonio Rodriges wrote: > Hello, > > Is there a way to find points in SpatialPoints which lie inside a given > Polygon? > Hi, Take a look at the over function from the sp-package. Paul -- Paul Hiemstra, Ph.D. Global Climate Division Royal Netherlands Meteorological Inst

Re: [R] GIS operations

2011-12-23 Thread Antonio Rodriges
Hello, Maybe this will help: There is "rgeos" package with gContains, gCovers, etc. It is a full implementation of Java Topology Suite http://cran.r-project.org/web/packages/rgeos/rgeos.pdf -- Kind regards, Antonio Rodriges __ R-help@r-project.org ma

Re: [R] GIS operations

2011-12-20 Thread Rolf Turner
On 21/12/11 01:54, Antonio Rodriges wrote: Hello, Is there a way to find points in SpatialPoints which lie inside a given Polygon? You could try: * load package "spatstat" * convert your SpatialPoints object to an object of class "ppp" * convert your polygon to an object of class

[R] GIS operations

2011-12-20 Thread Antonio Rodriges
Hello, Is there a way to find points in SpatialPoints which lie inside a given Polygon? -- Kind regards, Antonio Rodriges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p