[R-sig-Geo] shortest distance from points to polylines

Marcelino de la Cruz marcelino.delacruz at upm.es
Wed May 20 12:43:29 CEST 2009


Hi Pilar,

One option could be converting  your point data 
to ppp and your  polyline to psp objects in spatstat.

Then, use nncross.


Cheers,


Marcelino


At 12:16 20/05/2009, Pilar Tugores Ferra wrote:

>Hi list!
>I need computing shortest distance from points 
>to a polyline layer (coast line).
>I've been searching all the morning a function 
>in R that can do this but couldn't find anything!
>Is there any R function that do this? Or can 
>anybody give me some hint about how it could be done?
>Kind regards!
>Pilar
>
>
>Mª Pilar Tugores Ferrà
>PhD Student
>Instituto Español de Oceanografía
>Centro Oceanográfico de Baleares
>Muelle de Poniente s/n
>07015 Palma de Mallorca
>Baleares, España
>Telf.: (34) 971 401561
>
>La información contenida en este e-mail y sus 
>ficheros adjuntos es totalmente confidencial y 
>no debería ser usado si no fuera usted alguno de 
>los destinatarios. Si ha recibido este e-mail 
>por error, por favor avise al remitente y 
>bórrelo de su buzón o de cualquier otro medio de 
>almacenamiento.   This email is confidential and 
>should not be used by anyone who is not the 
>original intended  recipient. If you have 
>received this e-mail in  error please inform the 
>sender and delete it from  your mailbox or any other storage mechanism.
>
>_______________________________________________
>R-sig-Geo mailing list
>R-sig-Geo at stat.math.ethz.ch
>https://stat.ethz.ch/mailman/listinfo/r-sig-geo

________________________________

Marcelino de la Cruz Rot

Departamento de  Biología Vegetal
E.U.T.I. Agrícola
Universidad Politécnica de Madrid
28040-Madrid
Tel.: 91 336 54 35
Fax: 91 336 56 56
marcelino.delacruz at upm.es



More information about the R-sig-Geo mailing list