[R] Distance between points and a polygon?

Hans Gardfjell hans at eg.umu.se
Thu Nov 21 16:39:06 CET 2002


Dear R users,

I know that this could easily be solved within a GIS-package, but 
sometimes it's more convenient to use R. So here's my question anyway...

Does anyone of you know about any R-functions/code that calculates the 
distance between a number points and a polygon or polyline? I have 
looked thru the different libraries that deals with spatial statistics 
but haven't found anything.

Thanks,

Hans Gardfjell
Umeå University, Sweden

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list