|
Posted by Uffe Kousgaard on May 19, 2006, 12:26 pm
Please log in for more thread options
http://williams.best.vwh.net/avform.htm#LL
Watch out, since ALL parameters need to be radians - also your X miles.
tc is the true course: 0, pi/2, pi and 3*pi/2 for the 4 directions.
> All, I've been charged with the task of generating a grid covering
> certain states where each grid is X square miles.
>
> To do this I need to take a point x1,y1 and add X mile(s) E/W and X
> mile(s) N/S. Does anyone out there have a function that will accept a
> point in lat/lon, a distance in miles, and a direction (N/S/E/W) only
> and return a lat/lon of the new point?
>
> tia,
>
> CG
>
|