Jump to content

Does anybody know is it is possible to calculate travelling time from a single point to several others

Samuel Mascarenhas

Recommended Posts

Can you try to use the GreatCircleDistance() function in Spotfire It is described as below:

Returns the shortest distance between two points, calculated on the surface of a unit sphere.

The arguments are the latitude and longitude of the coordinates (lat1, long1, lat2, long2), expressed in degrees.

Multiply the result with the radius of the sphere to get the desired unit. The radius of the earth is ca. 6371 km (3959 miles). The first two examples gives the distance between two cities expressed in kilometers and the third example gives the distance in miles.


6371*GreatCircleDistance(57.717829, 11.990509, 42.355145, -71.057892)

6371*GreatCircleDistance([Latitude], [Longitude], 42.355145, -71.057892)

3959*GreatCircleDistance(57.717829, 11.990509, 42.355145, -71.057892)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...