[FORGED] Selecting spatial points within spatial line segments
Thank you very much Rolf. Manuel 2017-02-08 17:06 GMT-06:00 Rolf Turner <r.turner at auckland.ac.nz>:
On 09/02/17 02:56, Manuel Sp?nola wrote:
Dear list members, I have a spatial line (a road) segmented in 500-meters segments. I also have spatial points (roadkills) and I want to select the points related to each segment in the line. The points do not touch (intersect) the line, but are close to it. How can I do this in R?
The project2segment() function from the spatstat package will probably do what you want. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
*Manuel Sp?nola, Ph.D.* Instituto Internacional en Conservaci?n y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspinola at una.cr <mspinola at una.ac.cr> mspinola10 at gmail.com Tel?fono: (506) 8706 - 4662 Personal website: Lobito de r?o <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]]