Skip to content
Prev 11741 / 29559 Next

Matrix of distances (km) between Coordinates

2011/5/19 Marcelino de la Cruz <marcelino.delacruz at upm.es>:
For small distances near the equator yes! Don't try this if you are
studying polar bears!

 Try rdist.earth in the 'fields' package, or try transforming to a
euclidean coordinate system using spTransform before using dist.

Barry