How to calculate the Euclidean distance from many elements to an origin

In certain occasions we need to calculate the distances from a series of elements to another one that we will call ‘origin’. The Euclidean distance geoprocess available in gvSIG Desktop allows us to do it automatically. And, from there, we could know for example which elements are farther from a certain distance from the origin, which is the closest element to the origin or the farthest one.

The Euclidean, or Euclidean distance, is the “ordinary” distance between two points of a Euclidean space, that is, the length of the straight line between those two points.

The operation, as shown in the video of this post, is extremely simple. Basically we have to indicate the source layer and the layer with the elements whose distance we want to calculate from the origin.

This entry was posted in english, gvSIG Desktop and tagged , , . Bookmark the permalink.

3 Responses to How to calculate the Euclidean distance from many elements to an origin

1. Nice, been thinking about improving a project. Inspiration.

2. Oops, hit post too soon. Pages like this https://www.distantias.com/distance-calculator-kenya.htm want to show a map with a central location and lots of lines fanning out to other towns using the longitude and latitude