Hello,

I currently developping a aviation base map for my GPS.

To do this, I need to calculate the coordinate of a point given a point of

origin on the earth a bearing and a distance.

I don't really want to know how to do it; I just want to calculate it. So a

library (preferably in perl) would be great.

Do you know where I can find this? All my searches on google were

unsuccessful.

If you know any other place where I could ask this question, I would be

glad.

Thanks,

Regis

Go to the National Geodetic Survey's web site at www.ngs.noaa.gov and

use the "geodesic direct" computation. That will get you answers

without all the details. There are dozens of publications available

there for downloading that can also drown you in the details ...

Cliff Mugnier

LOUISIANA STATE UNIVERSITY

Hi, Regis,

As Cliff says, check out

www.ngs.noaa.gov

Under the NGS Geodetic Tool Kit button find

"Inverse/Forward/Invers3D/Forwrd3D"

You will find the Fortran (IV?} source of the Vincenty

Forward (a.k.a. Direct) algorithm to

obtain lat2/long2

given lat1/long1, distance and bearing.

The "3D" versions also account for altitudes

above/below the reference surface.

The Forward algorithm is also built into

my freeware GCGC program along with the more common

Inverse algorithm (lat1/long1, lat2/long2

to obtain distance bearings 1-2 and 2-1).

It will accept decimal degree n/s/w/e input.

The executable and [Fortran 77] source code

are found at my website below.

Converting forward/direct to perl should

be straightforward. If you do, could you pass

along the perl version?

The best online tutorial on distance and bearing calculations,

with worked examples, is Ed Williams's Aviation Formulary.

http://www.yqcomputer.com/

Have fun.

Cheers,

Ron McConnell

XXXX@XXXXX.COM

N 40?46' 57.9" W 74?41' 21.9"

FN20ps77GU46 [FN20ps77GV75]

http://www.yqcomputer.com/ ~rcmcc

1. How can I determine if a point is a given distance from a second point?

2. Using a k-d tree to find all points within distance r of a given point

3. Point on sphere greatest distance from given points

4. Coordinates for point C of an equilateral triangle given points A and B

5. finding coordinate points between two coordinate points

6. Lat/Lon Origination Coordinates, Bearing, Distance....Destination Coordinates?

7. converting a point known by 4 distances to xyz coordinates?

8. Calculating x and y coordinates of a point over a distance

9. converting a point known by 4 distances to xyz coordinates?

10. plotting cluster of points only using euclidean distance (no coordinates known)

11. converting a point known by 4 distances to xyz coordinates?

12. Number separator origin point placed in points

13. Calculate distance between many points and one certain point

14. point intersection (distance of a point to a line)

15. tunnel point to point vs physical point to point

3 post • Page:**1** of **1**