Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: calculating latitude and longitude of nearby point
From
"Dimitriy V. Masterov" <[email protected]>
To
[email protected]
Subject
Re: st: calculating latitude and longitude of nearby point
Date
Thu, 9 Jun 2011 14:40:45 -0400
Robert's code works very well. I forgot to convert the lon1 to radians
in calculating lon2, and to convert the new coordinates back to signed
decimal degrees.
Many thanks.
DVM
*
* 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/