VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Distance Calculation

Corey Behrends  (1 Submission)   Math/Dates   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This code shows how to use Visual Basic to calculate great circle distance (distance between 2 points using decimal latitudes and longitudes).

Inputs
see code

Assumes
1. This code does not figure in differences in altiude 2. In order to use this code you must have the latitude and longitude in decmal form.

Returns
Returns the distance in the desired units between 2 points

API Declarations
NONE

Rate Distance Calculation (9(9 Vote))
Distance Calculation.bas

Distance Calculation Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters