Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: reverse vincenty


From   H Wright <hwright16@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: reverse vincenty
Date   Tue, 5 Oct 2010 14:41:18 -0700

Hello,

I have been using the vincenty function to calculate 
distances between latitudes and longitudes.  I would now like to find 
points that are X miles from a given coordinate.  

Is anyone aware of a function that would calculate a latitude  of a new point if all other inputs are know?

For example :  

vincenty 41.75499 -124.194   ? -124.194, hav(5)    

So I  want to know the latitude of the point 5 miles away on the same longitude?  


I looked at the code in the vincenty ado file and it is beyond my mathematical ability to calculate this number myself.

Thank you. 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index