Quantcast
Channel: KNIME RSS
Viewing all articles
Browse latest Browse all 4157

Distance Matrix Calculate: Haversine formula

$
0
0

Hello,

I wanted  to calculate distances between geographic locations given as (latitude, longitude) pairs and I found a solution using Java Distance (attached example workflow). If you want result in miles, change the Earth to 3959 mi (6371 km).

If you are intrested in that topic (or different formulas) visit:
- http://www.movable-type.co.uk/scripts/latlong.html
- http://rosettacode.org/wiki/Haversine_formula
- https://stackoverflow.com/questions/120283/how-can-i-measure-distance-an...

 

Best,
Robert


Viewing all articles
Browse latest Browse all 4157

Trending Articles