[R-sig-Geo] Smallest distance from one point feature to a point layer
Gustaf Rydevik
gustaf.rydevik at gmail.com
Tue Mar 10 19:06:14 CET 2009
Hi All,
I have two shapefiles with point features, A and B. I've managed to
import them into R with maptools and spatstat.
Now I would like to calculate, for each point in A, the closest
distance to any point in B.
What is the best way to do this?
Many thanks in advance,
Gustaf
--
Gustaf Rydevik, M.Sci.
tel: +46(0)703 051 451
address:Essingetorget 40,112 66 Stockholm, SE
skype:gustaf_rydevik
More information about the R-sig-Geo
mailing list