Distance Calculation

Kenneth Brody kenbrody at spamcop.net
Tue Nov 1 10:58:17 PDT 2016


On 11/1/2016 1:28 PM, Rami Mantoura via Filepro-list wrote:
> Hi All,
>
> Has anyone done the distance calulation in FP and is willing to share?
>
> I am looking to get the distance between 2 points where I have the
> Longitude and latitude for each loacation.
[...]

Look up the "Haversine formula":

     https://en.wikipedia.org/wiki/Haversine_formula

"The haversine formula is an equation important in navigation, giving 
great-circle distances between two points on a sphere from their longitudes 
and latitudes."

-- 
Kenneth Brody


More information about the Filepro-list mailing list