Hi,
I'm not sure that I fully understand your problem, so forgive me if my
suggestion is irrelevant :
maybe you should have a look to function geod.dist , in the oce package.
Hope this helps. Olivier
porzycka wrote:>
> Hello,
> I have been worked with R for 3 weeks. I have one problem. I could not
> find the answer on it on web pages. I do not know how to measure the
> shortes distance between point (Lon/Lat) and line. I used spatstat package
> and distmap() but I want to calculate these distances only for particular
> points without generate distance map.
>
> Thank you for all hints.
> S.Porzycka
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context:
http://www.nabble.com/R---how-to-measure-the-distance--tp20879418p20897078.html
Sent from the R help mailing list archive at Nabble.com.