I'm happy I succeeded in calculating shortest distance! nncross () is great and distmap () really cool! Thank you all! :)
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 -----Mensaje original----- De: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] En nombre de Alex Mandel Enviado el: 20 May 2009 14:33 CC: r-sig-geo@stat.math.ethz.ch Asunto: Re: [R-sig-Geo] shortest distance from points to polylines 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à This is more straightforward if you use GRASS. v.distance I seem to recall a library to allow you to connect and run GRASS commands from R, but maybe google or someone can elaborate. http://grass.osgeo.org/ Alex _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo 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@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo