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}}


