Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the distance between two geographical locations along a rhumb line
ResourceFunction["RhumbLineDistance"][loc1,loc2] finds the rhumb line distance between locations loc1 and loc2. | |
ResourceFunction["RhumbLineDistance"][loc] finds the rhumb line distance from Here to loc. |
Find the rhumb line distance to Null Island with 0 latitude and 0 longitude:
In[1]:= |
Out[1]= |
Find the rhumb line distance between the North and South Poles:
In[2]:= |
Out[2]= |
Find the rhumb line distance to the Empire State Building:
In[3]:= |
Out[3]= |
Use UnitConvert and the option "SIBase" to convert the output to meters:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License