Skip to content

Selecting spatial points within spatial line segments

3 messages · Rolf Turner, Manuel Spínola

#
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?

Best,

Manuel
#
On 09/02/17 02:56, Manuel Sp?nola wrote:
The project2segment() function from the spatstat package will probably 
do what you want.

cheers,

Rolf Turner
#
Thank you very much Rolf.

Manuel

2017-02-08 17:06 GMT-06:00 Rolf Turner <r.turner at auckland.ac.nz>: