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
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
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
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
4 matches
Mail list logo