[FORGED] Selecting spatial points within spatial line segments
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