[R-sig-Geo] [FORGED] Selecting spatial points within spatial line segments
Rolf Turner
r.turner at auckland.ac.nz
Thu Feb 9 00:06:33 CET 2017
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
More information about the R-sig-Geo
mailing list