[R-sig-Geo] [FORGED] Selecting spatial points within spatial line segments

Manuel Spínola mspinola10 at gmail.com
Thu Feb 9 18:21:44 CET 2017


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



More information about the R-sig-Geo mailing list