Perhaps have a look at the sp package and especially the over function.

Br. Frede


Sendt fra Samsung mobil


-------- Oprindelig meddelelse --------
Fra: Leonid Shvartser
Dato:27/03/2014 20.27 (GMT+01:00)
Til: r-help@r-project.org
Emne: [R] index polygons

Hello,
I need to compare a polygon with a set of other polygons.
I'd like to index polygons with a grid in order not to compare definitely 
distant ones.
How can I do this?
I need

1.       Transform polygons to cells

2.       Find cell neighbors (defined cell distance) for a polygon

Thanks
Leonid
The information contained in this communication is inten...{{dropped:11}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to